A tag that includes questions about programming in general.

learn more… | top users | synonyms

2
votes
1answer
16 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 ...
0
votes
3answers
62 views

How did the first Microprocessors knew the meaning of binary codes?

I've been asking myself this question for more than one year and I just decided to ask the question on here. I don't know if it's the right place or not. As far as I know Microprocessors are a ...
0
votes
0answers
18 views

Acer Aspire 5250 3 long beeps 2 short beeps

I have an Aspire 5250 notebook that when I turn it on gives me post followed by 3 long beeps and 2 short ones. It then shows me a garbled screen with all kinds of colors... change the mainboard ?
-2
votes
1answer
21 views

Could you modify a file from a game in this manner?

What I am about to ask is probably going to sound like science fiction, but if I grab a usb, hook it up to my xbox and copy (for example) madden 15 to it. Then I plug it into my computer and open it ...
0
votes
0answers
58 views

How to add PSR2 formatter in Eclipse

I am using eclipse PDT plugin for editing php files. The formatter shows buildin PSR2 But i don't follow some rules like It adds tab to all bank lines automatically It don't add new line before ...
0
votes
1answer
69 views

how can i edit this AHK script to make it toggle?

So I have this script (thanks is due to whoever): lctrl:: { toggle:=!toggle } [color=red]~[/color]lbutton:: { if toggle When holding Ctrl, it prevents the scripts from working. How do I ...
-1
votes
2answers
46 views

How to hide an html page in a very simple way? [closed]

Okay, I am new at creating html pages .... I remember there was such a very easy way to hide a html page without any script or encryption. I remember that you could add to the first something like ...
0
votes
1answer
58 views

How can I change the way VS 2013 formats Razor inline code?

Whenever I format a Razor document (via Ctrl + K, Ctrl + D), sections that have inline code, such as this, are pulled to the left. How can I stop or change it?
0
votes
2answers
63 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 ...
0
votes
1answer
153 views

VBA Lookup by Multiple Criteria - Then Copy & Paste

Currently I have a 2 way database with 10+ fields and 1,000+ rows. Some fields are customer name, car model, year of model, price, date of purchase. I would like to lookup rows of data by multiple ...
8
votes
14answers
561 views

Coding for kids? [closed]

I'm looking for easy, accessible ways for young kids to make and see code work. My memory is being 6 or 7 and being shown by a high school babysitter how to make very simple BASIC programs on my ...
0
votes
0answers
42 views

How to send mail in Lotus Notes 8.5 with Embedded code

Anyone can tell me please : How to send mail in Lotus Notes 8.5 with Embedded code ? I tested with embedded youtube video, and it doesen't work. Thanks in advance
0
votes
1answer
42 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? ...
0
votes
2answers
19 views

Append text into a file while opened in an editor

Here is the scenario: A user creates a new file X.php let's say using nano. The user writes some content, saves the file (Stage S1) but does not exit the nano. He again make some changes and then exit ...
-4
votes
1answer
55 views

How to create user on Reddit programatically? API or Scraping? [closed]

I see that there is an endpoint on the api as /api/register but I found no documentation or even a code sample anywhere. How to use it? A code sample in much appreciated. :)
1
vote
1answer
45 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 ...
1
vote
1answer
49 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 ...
2
votes
1answer
158 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 ...
1
vote
1answer
34 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
71 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 ...
0
votes
0answers
68 views

Different dpi printhead for Zebra 110XiIII Plus from 200dpi to 300dpi

Recently we purchased a 300dpi printhead for our original 200dpi Zebra 110XiIII Plus. Somehow even with 300dpi driver, the printout result is still 33% smaller. Is the printhead swappable to different ...
1
vote
1answer
96 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
1answer
54 views

Removing one type of highlighting in Intellij Idea

How to remove this type of highlighting in Intellij Idea?
0
votes
0answers
101 views

Auto place brackets after methods in Visual Studio 2012

Is there any way to make VS place round brackets after a function/method and position the cursor between them?
0
votes
1answer
335 views

How to expand selection to include enclosing element in Sublime Text 3?

In some IDEs there is a nice feature (named "Expand selection to include enclosing element" in Eclipse). It expands current text selection to 1 level up syntax element. For example, Eclipse does this ...
0
votes
1answer
55 views

How to create a changeset explicitly in RTC scm?

In RTC scm, when I first checkin a file to workspace, a new changeset is created, but subsequent checkin all go into this same changeset, how can I create a second changeset when I checkin another ...
-1
votes
2answers
129 views

Batch command backup in different folders

I am trying to create a backup for assassins creed 3 save game for every x minutes , but the folder & its files overwrites every time ,please suggest me a code so that each backup will be in ...
0
votes
1answer
851 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.
0
votes
1answer
309 views

Shortcut for toggling the space bar's function

I'm trying to make an AutoHotkey script for making Ctrl+Space toggle the space bar's function. The default function is space. When Ctrl+Space is pressed, the function changes to em space. Search em ...
0
votes
1answer
48 views

How to use code repo so that same user from multiple PCs can access it in Netbeans IDE

I am planning to work on a software project using Netbeans-- now I want to work across multiple PCs - how can I set up Netbeans and the Git/Mercurial repo so that I can for eg-- make code changes in ...
2
votes
1answer
717 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 ...
2
votes
2answers
107 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 ...
1
vote
0answers
202 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
1answer
41 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 ...
0
votes
1answer
165 views

Visual Basic Console Application Copy Percentage? [closed]

I am making a Console Application that will copy larger files (up to 2 GB) (with My.Computer.FileSystem.CopyDirectory) and I would like make a percentage indicator. I just want it to show the current ...
2
votes
1answer
287 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
379 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)? ...
0
votes
1answer
921 views

Setting Up “Reply To” button in Lotus Notes

This should be simple but I can't figure it out. I am building a template that a group of people will be sending out. Instead of a button that sends a "Mailto:" command I need one that will REPLY ...
1
vote
0answers
209 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 ...
0
votes
1answer
661 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
0answers
21 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
4
votes
1answer
986 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
101 views

Cobertura Instrumentation

The steps that I followed to instrument the Cobertura instrumenting the sources with cobertura create war and deploy in tomcat started the tomcat Tomcat is showing errors : Mar 22, 2012 4:22:58 PM ...
9
votes
3answers
2k views

Why can't we understand the content of a binary file after compiled?

As far I know, every program consists of a pack of processor instructions with some specific data variables(float, int, char...) to work on the processor registers. So, the first thing that I ...
0
votes
1answer
365 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
1answer
116 views

How can I bind 7 to 8 inches of code printed on paper? [closed]

I currently have ~five inches of printed lines of code, printed on 8.5x11inch paper, three hold punched and stored together in a large five inch binder. However, I want to add some more pages, while, ...
1
vote
4answers
910 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
138 views

Code Snippets storage [closed]

What is the best on-line or off-line storage for your Code Snippets? I am using Snipplr.
1
vote
2answers
158 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 ...