Questions tagged [source-code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
147 votes
11 answers
439k views

How can I embed programming source code in Powerpoint slide and keep code highlighting?

Is it possible to embed programming source code to Powerpoint slide, and keep code highlighting/coloring?
Yousui's user avatar
  • 1,827
30 votes
5 answers
59k views

How do I add formatted code to a Microsoft Word document?

I need to write a document in MS-Word 2007 that contains a lot of examples of VB.NET and C# code. What is the best way of getting the code to look reasonable in the document? What styles etc do ...
Ian Ringrose's user avatar
  • 1,341
22 votes
5 answers
10k views

Is there any way to change Bitbucket code highlighting

I like the code coloring in Github so that keywords gets highlighted when view source code. But in Bitbucket i see very light color and almost no diff between codes , keywords etc. very bad color ...
user2424160's user avatar
15 votes
3 answers
16k views

Notepad++ code outline as Eclipse's outline

Folding and unfolding blocks of code helps, but in bigger files I really want to have the outline overview of a class and its methods. So, is there a plugin or anything for Notepad++ that I can have ...
rafaelxy's user avatar
  • 151
15 votes
2 answers
9k views

Is there a way to have syntax highlighting or code blocks with Evernote?

How do you take notes on code snippets and or command line sequences in Evernote (Mac or PC)? Is there a way to have code blocks like the 'Code Sample' buttons here: example Any way to have colored ...
evan's user avatar
  • 363
13 votes
3 answers
23k views

Are there any plugins for Microsoft Word to format source code samples inside a regular document?

I need to write a technical document in Microsoft Word, with source code samples sprinkled throughout the text. Is there any way, without leaving Microsoft Word (maybe a plugin?), to format the ...
lipton's user avatar
  • 899
11 votes
1 answer
4k views

How do I download a Bazaar branch without installing anything?

I would like to download the source at http://bazaar.launchpad.net/~mysql-clr-team/connectornet/trunk/files/954. I don't see any zip options as I do with other source control systems. How can I ...
user avatar
11 votes
3 answers
7k views

How to auto format code from the command line?

Let's say I have a JavaScript in someRandomFile.js and I want to run a command like: formatMyCode someRandomFile.js Then inside the file it just indent everything in a nice way. I want to do format ...
Clay's user avatar
  • 235
10 votes
4 answers
6k views

Where to find Windows Modern UI apps' source code?

As an amateur web developer I'm intrested in building native apps for Windows 8 with HTML5 and CSS. But It would be nice to see the source code of the apps that I have and which language they are ...
Alfred Larsson's user avatar
9 votes
4 answers
7k views

Is there a way for elegant source code listings in OpenOffice.org Writer?

I have tried to insert source code as listings in OpenOffice.org Writer, but it just doesn't work in an acceptable way. If space is not enough for an line, it breaks that line automatically into the ...
user avatar
8 votes
4 answers
3k views

Beautiful paper prints with Emacs

Is it possible to get beautiful prints in GNU Emacs? By default using M-x print-buffer the output looks ugly, with big fonts and no margin. For source code it would be nice to get a pretty font, ...
sverrejoh's user avatar
  • 183
7 votes
5 answers
12k views

Emacs: displaying list of subroutines/functions/classes in a source file

I have been using a little-known editor called "FTE" (or eFTE) for years; it has a nice utility that can display the list of the subroutines/functions/classes (or any such thing--depending on what ...
Wirawan Purwanto's user avatar
6 votes
1 answer
4k views

Get Source for Arch Linux Package?

In Debian based distributions you can run apt-get source <package_name> to fetch the source code for a package. What is the equivalent for pacman on Arch Linux?
Drew Chapin's user avatar
  • 6,010
5 votes
1 answer
6k views

How to remove a package I compiled and installed manually?

I recently compiled and installed Git on a new install of Mac OS 10.6 but it didn't install the documentation. I now realize I should've used the precompiled package offered here: http://code.google....
macek's user avatar
  • 6,205
5 votes
1 answer
333 views

Any native methods to have Firefox display site source code ("View Page Source") in a dark theme (white on black)?

Does Firefox currently have a native way (perhaps an about:config preference) to display the source code viewer ("View Page Source", view-source:) in a dark theme (white on black)? I ...
End Anti-Semitic Hate's user avatar
5 votes
1 answer
2k views

Set Unique proxy per tab in chromium

I am trying to customize chromium-browser such that each tab in the browser has a unique proxy, so connections from one tab do not appear to come from the same IP as another tab. I used chrome.proxy....
dwnsingh's user avatar
4 votes
4 answers
4k views

Where can I find the source code for the program called useradd?

I am running SLED 11, and I want to understand what the useradd command does and how it does what it does. I know that SLED 11 is built from OpenSuSE 11.1 and I would be more than satisfied with the ...
eleven81's user avatar
  • 15.6k
4 votes
2 answers
2k views

How to change Opera's source search highlighting color?

Opera offers brilliant incremental search while searching ona website but when it comes to source searching ( Right button click -> Source -> Search ) it is not so beautiful. By default : when ...
Patryk's user avatar
  • 1,259
3 votes
3 answers
13k views

Remove comments from file

I'm using PHPStorm and have a very basic problem. I want to remove single/multi/phpdoc comments from my files. I want this process to be one-click and easily undo-able. I've tried looking over the ...
Ejaz's user avatar
  • 436
3 votes
3 answers
555 views

Download GIMP and view the source code on a Mac

I would like to download GIMP (the open source graphics application) onto my Mac. I don't want to run GIMP but rather view the source code. I have a vague understanding of tar balls (.tar.bz2) and don'...
David's user avatar
  • 2,287
3 votes
2 answers
8k views

Is the version of the linux kernel listed in the source some where?

If I'm looking at a version of the linux kernel source code, can I tell which version of the kernel it is? This is code that's currently not running on any platform (so I can't execute commands), ...
Mike's user avatar
  • 1,049
3 votes
1 answer
4k views

Where can the Ubuntu source code be found?

I am trying to find where the source code for Ubuntu is located. I looked on google and found the answer. Apparently it is in the file /usr/src/linux. I have looked for this file but I cannot find it. ...
zjm1126's user avatar
  • 145
3 votes
1 answer
4k views

Can't checkout source from Google Code

I'm trying to check out the project source for MoreLINQ Here's what it says on the site: Non-members may check out a read-only working copy anonymously over HTTP. svn checkout http://morelinq....
roman m's user avatar
  • 1,079
3 votes
2 answers
13k views

Fitting More Code On Printed Page In Notepad++

At the moment, I'm trying to print a snippet of code that is about 1.03 pages long. The last several lines start on the next page. As a result, I waste an entire page, and it's also much harder to ...
azoundria's user avatar
  • 709
3 votes
1 answer
4k views

How to view html source in Thunderbird when "Content-Transfer-Encoding: base64"?

I press Ctrl+U in the Icedove (Thunderbird), and see plaintext. Last two headers are: Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 and the rest data is encoded. How to ...
Vi.'s user avatar
  • 17.2k
3 votes
1 answer
3k views

How to get Linux kernel vermagic from a source tree?

It is used when installing to /lib/modules It is printed after make modules_install Part of it is returned by scripts/setlocalversion. How to just get it without running make modules_install?
Vi.'s user avatar
  • 17.2k
3 votes
0 answers
903 views

No kernel sources available for 4.4.4-301.fc23.x86_64

I am trying to use vagrant on Fedora 23, but it isn't working at all. It isn't working because virtualbox's kernel modules will not install and compile with 4.4.4-301.fc23.x86_64. I installed ...
DMCoding's user avatar
  • 223
3 votes
3 answers
7k views

Looking for a web-based SVN code browser (alternative for Trac); anything like Google Code? [closed]

I'm using Trac as a web interface to an internal SVN repository. The source code browser is not the best one, so I'm looking for an alternative. Ideally, I'd like to have an interface similar to ...
Pavel's user avatar
  • 364
3 votes
0 answers
560 views

Making Google Chrome open Source Code in External Editor

How do I configure Google Chrome to open source files (.c or cpp) in an external editor either using EDITOR variable or emacsclient rather viewing them by itself.
Nordlöw's user avatar
  • 197
3 votes
2 answers
175 views

What is a binfilter?

OpenOffice.org download options page lists a source archive file named "binfilter". What is a binfilter?
Lazer's user avatar
  • 17.7k
3 votes
3 answers
879 views

Indicate wrapping of long code lines in Word 2007

I'm using Word 2007 and inserting code into a document. I have a style with a fixed-width font and light grey background and all, and I use Notepad++ for syntax highlighting. My problem is with ...
WaelJ's user avatar
  • 208
2 votes
4 answers
1k views

How to share malicious source code?

I have a client whose site (not one I developed) is infected by a trojan/malicious code. I have asked him to send me the dirty files in a zip but either Gmail or unzipping is blocking them. I've ...
darma's user avatar
  • 131
2 votes
2 answers
205 views

Notepad++ sources

Is there a way to get Notepad++ source code?
ViliusK's user avatar
  • 1,770
2 votes
2 answers
432 views

Lightweight source code beautifier [closed]

I am looking for a lightweight PHP prettyprint (beautification) tool. In Netbeans, I can Right-click and select Format to format source code. Is there a text editor with the same capability?
hungneox's user avatar
  • 143
2 votes
4 answers
1k views

How to view the final computed CSS, including overrides such as high contrast settings?

Is there any such tool? For example, I want to see all styles applied for BODY tag. I know it does not make it readable. In my case, there are several options which can dynamically change CSS either ...
vpram86's user avatar
  • 2,728
2 votes
1 answer
8k views

Where can I find the source code for TempleOS? [closed]

From a Reddit post, TempleOS creator Terry Davis seems to have had a repository on his website People don't believe I wrote my own compiler. All the source code is on all the distros and on my ...
Evan Carroll's user avatar
  • 8,875
2 votes
4 answers
238 views

Programming in Windows 8

I am a semi-experienced Linux user and I write my software explicitly from command line. If I need a compiler, I simply sudo-apt-get it, if I need to run a code I just execute it from command line and ...
drjrm3's user avatar
  • 1,496
2 votes
1 answer
2k views

Where should I put the source files?

I am starting to develop a custom kernel modules, so I have the two related organizational questions: Where should I put all my source files? I keep the sources in home directory now /home/my-name/...
user avatar
2 votes
1 answer
339 views

How to find source code of specific version of linux tools, i.e. ifconfig

I had a weird situation yesterday when a shell script broke on the machine of colleague. the Script was parsing output from ifconfig, and it would assume that there was no : (colon) after the ...
Thomas Hirsch's user avatar
2 votes
1 answer
7k views

How to collapse or expand source code in vim?

How to collapse or expand source code in vim on HTML, PHP, etc? EDIT: I know the basic folding command but what I need is something much more advance and intelligent such as in Visual Studio. I think ...
Jichao's user avatar
  • 7,460
2 votes
1 answer
212 views

can /usr/src be a sym link?

I want to store all source code of programs I have installed in /usr/src. However, due to size of the drive I made a sym link /usr/src that points to ~/src. That was nice. Unfortunately, that caused ...
lord.didger's user avatar
2 votes
1 answer
1k views

Formatting Latex in vim - issues with line breaks

I use vim's source code formatting features (the = key will format your selection and pressing gg=G will format the entire source code). However, it seems to not format correctly when it encounters ...
vonhogen's user avatar
  • 2,379
2 votes
2 answers
624 views

Code Snippet Manager for Mac

What is the best code snippet manager for OS X? I don't mind paying so if there are really good ones that you have to pay for then I dont mind. I have heard of Snippet and Code Collector Pro. Are ...
RSM's user avatar
  • 433
2 votes
1 answer
733 views

How to uninstall a program that was not installed using the package manager on Linux Mint?

So, I installed Canto Atom/RSS reader using the source from the official website, but it was throwing me errors so I installed it using apt-get (this worked). Now, I want to uninstall the original ...
b-vigilanT's user avatar
2 votes
0 answers
103 views

Automatic package recompilation on apt-get upgrade

Is it possible to achieve the following setup with apt-get on debian based distros, particulary Ubuntu: I need to compile a package from source (like apt-get source ). Before compilation, I need to ...
dimovnike's user avatar
  • 437
2 votes
1 answer
483 views

Changing Opera's source search highlighting color?

I'm running Opera 12.01 and the highlighting color for source searching is a very very faint gray - barely distinguishable. After looking at this thread How to change Opera's source search ...
TriB's user avatar
  • 21
2 votes
1 answer
194 views

How to prevent Live Writer from messing up <code>

I am trying out Windows Live Writer, and it seems to be pretty cool. But, how can I prevent it from encoding characters between <code> tags when switching between Edit and Source? Is there a ...
Svish's user avatar
  • 39.5k
1 vote
6 answers
306 views

Where can I collaborate with my friend on source code in real time?

I mean, other than a conference room :) Using google docs, I can upload any kind of file and view it with other people, watch them edit it in real time, with a live chat happening in the same window. ...
Carson Myers's user avatar
  • 3,101
1 vote
2 answers
455 views

How to prevent Firefox from opening up too many tabs

I wanted to view .cpp source code in FireFox so I selected FireFox as the application to open it with and checked "always do this" but when I clicked the link new tabs kept opening up and wouldn't ...
Celeritas's user avatar
  • 8,229
1 vote
1 answer
3k views

Is there a way to extract the source code from deb or rpm packages?

I find that this would be very useful in certain situations in which I want to install software in a different way, or change flags, or not let the software manager know the program has been installed ...
the_midget_17's user avatar