A tag that includes questions about programming in general.

learn more… | top users | synonyms

9
votes
5answers
10k views

Adding programming code into LaTex / LyX

Maybe I'm just being thick, but I can't find any sensible way to simply paste in my (python) code into latex without losing all the indent information (kinda important for python). Anyone got any ...
6
votes
2answers
4k views

Go to definition of a C function in a different file in Notepad++

While editing a C project on Notepad++ 5.6.7 (Unicode) with the SourceCookifier plugin, I can press Ctrl+Shift+Enter to go to the definition of a function which the cursor is on, but only if it is in ...
6
votes
1answer
339 views

Code signing issues

I have purchased a certificate from godaddy, which is now in .pfx format. I tried to convert it into .cer using Internet Explorer and Firefox. I tried to to sign midlet using converted .cer, but I get ...
4
votes
1answer
2k views

What scripting/programming languages are default on Mac OSX?

I was wondering what programming or scripting languages come pre-installed on OSX? Particularly programs that can be run from the command line. I'm planning on parsing some CSS, and outputting an ...
4
votes
1answer
2k views

How do I remove a certain HTML code from a certain website?

There are some websites which refresh themselves in a very short period. I want to disable this behavior. The code that causes this problem is almost always following line: <meta http-equiv="...
3
votes
1answer
1k views

Correct indentation for selected code with BBEdit

Can I correct the indention of selected code (not my whole page) with BBEdit? So if I had this: <div><div><div> <div><div><div><div> </div> </div&...
3
votes
1answer
19 views

How can I easily find a line of text which is on my website on the code in my server?

There is a line of text on my website which I would like to edit. Is there an easy way for me find/locate the folder and or sub folder where that line of text is located in the code on my server so I ...
2
votes
2answers
176 views

How to fix code examples in Python documentation?

I'm having a strange problem when trying to view the Python documentation. Basically, all code examples cut off the last line of text. The screenshot below illustrates what I mean. The text box isn't ...
2
votes
1answer
112 views

Fancy 3D Code Renderer

I'm looking for an automated tool that takes a file or series of files and creates an image from small sections of the code. Does something like this exist?
2
votes
1answer
2k views

What is the shortcut to select everything between curly braces in Notepad++?

Is there any shortcut in Notepad++ to select all (highlight) codes between the curly braces (start & end)? E.g. Code between if-else, nethod definition, while, for loop etc.
2
votes
1answer
86 views

Transforming Color Codes in VBA

I have a bunch of code in excel macro which includes following pattern ; Sheet1.Cells(i, 1).Interior.ColorIndex = 4 Sheet1.Cells(j, 1).Interior.ColorIndex = 4 As you see, I'm painting some cells ...
2
votes
1answer
166 views

How to get status code of program piped to linux dialog command

I am trying to use Linux dialog to prepare simple installer for Ubuntu. The actual command is: dpkg -i package.deb 2>&1 | dialog --programbox "Installing..." 10 100 I want dialog to ...
2
votes
2answers
145 views

Syntax highlighting for emails

I'm once in a while sending raw code to customers. Is there a tool which adds (inline) styles to code, so that it is easier to read for my customers? A tool which works for gmail and other web-based (...
2
votes
1answer
450 views

Download an entire sites jpegs with wget instead of just thumbnails

When I try to pull all the jpegs off of this website (http://www.zodiackillerfacts.com/gallery/) using wget: wget -A jpg,jpeg -r http://www.zodiackillerfacts.com/gallery/ it only downloads the ...
2
votes
1answer
5k views

Format code in Bluefish?

I asked a similar question on webmasters.stackexchange.com and was directed here. How do I format code in Bluefish HTML editor? There's auto-indenting, that's easy enough to find. Is there a button ...
2
votes
1answer
421 views

DEC / ASCII codes for ALL mac keys

I have a few questions: 1: Which key codes are used in Terminal? DEC right? 2: How do I find the values of all my keys? Any program I have found to do it for you won't work on function keys which is ...
2
votes
1answer
2k views

Apple keyboard key remapping under Ubuntu

I have an Apple keyboard that I simply love. I now hate my regular keyboard at work. I just have a small problem with the Apple keyboard. There is no "insert" key. The one that is usually Insert on ...
2
votes
1answer
530 views

Excel VBA code Private Sub Worksheet Change Power function not working

I'm making a worksheet where the wind speed defines the potential energy of the location. This value is the basis of a few sheets in the same Excel file. I'm trying to write a code that where I10 is ...
2
votes
1answer
532 views

Programming a little file to change between headset and monitor speakers?

I think there is a way to write a little file in Batch, I believe to change the default sound output system. What's the language that's written in and how can I write it (I am running Windows 7)? ...
2
votes
1answer
298 views

Geany - preserve folding and unfolding of text every time a document is opened

Whenever I open a file in the Geany IDE, I want the file's text to be folded in exactly the same way that the text was folded the last time I was editing it. Is it possible to configure Geany to keep ...
1
vote
4answers
1k views

Does a compiled software contain binary 0 and 1?

I know that after compiling a software or application, its code is converted into the machine language. Does a compiled software contain a binary 0 and 1? What happens after compiling a software? Is ...
1
vote
1answer
216 views

Maintaining format of computer code when posting

I'm trying to post some batch file script so that I can allow members to see the script I need help with. But, it seems when I do, the HTML application does not maintain the format of the script. It ...
1
vote
1answer
269 views

Movement command inside vim functions

I want to display the C function to which current line belongs. I don't want to use any plugin because I work on multiple operating systems with different machine capabilities and configurations. I ...
1
vote
2answers
631 views

Windows DOS Command for Finding folder name with specific characters & select it

Trying to write batch file code for copying contents of a folder with path "C:\ABC" to another folder whose exact name is unknown ( its a Profile data folder of firefox) Profiles of Firefox are ...
1
vote
1answer
413 views

Macro: Insert a new row above a cell containing a different numbers

I have an excel with two columns. Column A contains numbers and column B contains text data. Numbers are continuous like 1 2 3 with several blank cells between them as shown below. For example: 1 ...
1
vote
1answer
551 views

Smart selections (between quotes) for notepad++

def "Abc the quick brown fox jumped over def" print "Hello World" end Suppose my cursor is somewhere between abc and def, how can i make notepad++ select the whole text between the double quotes? ...
1
vote
1answer
81 views

MS Word custom style displays white separator lines

I am trying to setup a custom style within MS Word 2013 that would display code snippets. So far everything is alright, except there are white separator lines on every 2nd line. I have searched quite ...
1
vote
1answer
196 views

Removing one type of highlighting in Intellij Idea

How to remove this type of highlighting in Intellij Idea?
1
vote
1answer
43 views

Need to input four numbers and output a formatted list

I've got a handwritten list of about 500 coordinates for sprites on a sprite map in the form X1 Y1 Width Height I need them outputted into a table with format {X1, Y1, X1+Width, Y1+Height} I would ...
1
vote
1answer
1k views

Where can I find netbeans html code templates?

In Netbeans 7.1 there are no html code templates included on install. Where can I find some basic html templates to download?
1
vote
2answers
189 views

Source code Formatter for Windows Live Writer

I have just downloaded the Windows Live Writer software for blogging purposes but it contains nothing for formatting source code. I have installed many plugins like code snippet, insert code etc. but ...
1
vote
1answer
621 views

Code formated with pre tag copy/paste problem

I have created a blog on Blogger and would like to display some short code snippets in my posts. I used pre tag with some simple formatting (no syntax highlighting). When displayed in browser code ...
1
vote
1answer
192 views

Can anybody say which plugins make this pic vim?

With descriptions and arguments for functions and variables. I need list of plugins which i need to isntall and my language is PHP.
1
vote
1answer
294 views

Extract text from HTML using Applescript

I am looking to extract text from an html using Applescript, here is the code: <div class="vk_bk vk_ans">3:27 PM</div> I want to extract "3:27 PM" which is the result google gives you ...
1
vote
1answer
47 views

Method to view machine or assembly code supporting a raster or vector image

I'd like to be able to view either code for a selected image. For example, if I have an image of a flower, what does it look like to the machine or how would the machine express it using it's machine ...
1
vote
1answer
188 views

Disabling automatic footnotes in Emacs org-mode

I have some LaTeX inside an org-mode file that is wrapping a Ruby code snippet and providing nice color formatting, which looks kind of like this: #+LATEX_HEADER: \usepackage[dvipsnames]{xcolor} #+...
1
vote
0answers
317 views

how to control appearance of code blocks?

I use Emacs org-mode and don't edit TeX directly. Is there a way for me to instruct xelatex on how to interpret my org-mode code blocks? I'd like all my code blocks to appear as block quotes, i.e. ...
1
vote
0answers
22 views

Add code snippets to Notepad++ context menu [duplicate]

Possible Duplicate: Remove/Delete current line in Notepad++ Possible? Basicly i want to add some of my most used commands by modifying shortcuts.xml and contextmenu.xml
0
votes
2answers
29 views

When creating multiple new lines, Sublime only leaves indented the final the line I end up on, and not those above it

In Sublime, when you hit return, it auto-indents the new line, according to syntax. However, if I hit return more than once, going multiple lines down, the previous lines do not remain indented. They ...
0
votes
3answers
47 views

What classification is Unicode in?

What type of code language is Unicode considered? It's not a programming language, and it seems much closer to HTML, so it may be markup, I think, but still... There are some important differences ...
0
votes
1answer
8k views

Error code: 0xc0000225

When I boot my Windows 8 laptop (see details below), it displays this message: Recovery Your PC needs to be repaired A required device isn't connected or can't be accessed. Error code: 0xc0000225 ...
0
votes
1answer
539 views

Redundant CTRL-SPACE proposal in Eclipse

How do I remove the redundant Ctrl-Space proposal in Eclipse? SWT JPA JAX-WS etc. Example: I just need Java standard first time click Ctrl-Space proposal.
0
votes
2answers
247 views

excel vba codes user form

I have created a user form for my work book. I would like the user to navigate their way around the workbook using the button on this user form. Is there any code that I can use to limit the user by ...
0
votes
1answer
54 views

What Code Forces Widescreen in Youtube?

What code do I use to force widescreen and 360p on Youtube? I'm using the following style in Stylish: https://userstyles.org/styles/101312/dark-youtube-light-blue
0
votes
1answer
70 views

Formatting while statement (or for, …) with indent

Can GNU indent be made to format a while (or for, ...) statement to a single line? My indent (GNU indent 2.2.11) outputs this while (a == b) b++; I'd like it to output one single line instead. ...
0
votes
1answer
73 views

PC(s) wont post - Memory Error

I am in the final stages of building two PCs, but upon testing, neither pass POST. When turned on, fans spin and lights flash but there's no BIOS screen and motherboard error related to memory. PC 1 ...
0
votes
1answer
30 views

Parsing by Value / Reference [closed]

My teacher is on the subject of parsing, as I type this. He has defined it as literally passing a value, claiming that they're interchangeable and mean the same thing. He is being FRUSTRATINGLY ...
0
votes
1answer
79 views

Regex for “Delete everything going forward but only up until start of [Expression]” [duplicate]

I am in Notepad++. I have the following data embedded in a large html file. I want to get the variables before the </ix:nonNumeric> at the end of the lines, onto their own lines by themselves so ...
0
votes
1answer
170 views

use code inspections in PHPstorm to review a branch or pull request

If I checkout a branch from VCS I would like to run inspections on all the changes that the branch has made from (for example) master branch. Is this possible? I currently have to: open all ...
0
votes
1answer
49 views

What Is Actually MD5?

Every time i want to download some softwares , it always told about the MD5 below the description or below the download file for the example : https://anonymous-proxy-servers.net/en/jondo.html it has ...