A tag that includes questions about programming in general.

learn more… | top users | synonyms

0
votes
0answers
15 views

Applescript Google Search results [duplicate]

Does anybody have an idea on how i could start a script that extracts google's quick answers to applescript. Like when you google the time in a certain place google will give you a direct answer in a ...
1
vote
1answer
60 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 ...
0
votes
2answers
45 views

Change highlighted section to a specific font style in a txt file

I wanted to know if this would be possible with Notepad++ (even if it means downloading plugins). Suppose I have a .txt file. This .txt file has some sections that contains some sample C++ code. I ...
0
votes
0answers
20 views

TextWrangler: indent comments at same level as code

In TextWrangler, when I comment a line of code using ⌘+/ it add the comment symbol at column 0. Uncommented: print("test") Commented: # print("test") Is it possible to instead configure ...
0
votes
2answers
24 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
1answer
43 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
2answers
128 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
36 views

Is there a way to distinguish between 2 optical drives when opening and closing with PowerShell?

Is there a way to distinguish between my 2 disk drives when executing- $cd = Add-Type -memberDefinition @" [DllImport("winmm.dll", CharSet = CharSet.Ansi)] public static extern int ...
0
votes
1answer
1k 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
32 views

To get Subversion to work with a remote client server, what do I need to do?

What needs to be set up for a Linux server to checkout a Subversion repository from another Linux server? I have a Subversion instance installed with a repository on a server we'll call ...
0
votes
1answer
52 views

Losing line breaks when pasting code into Nitrous

When pasting a bloc of Ruby code from Atom or the Nitrous text editor into the Nitrous console, all line breaks are lost. Multiple lines of code are concatenated into one long string, separated by a ...
1
vote
1answer
220 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 ...
0
votes
1answer
26 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
32 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 ...
0
votes
1answer
49 views

Random Numbers in a Range of Cells

I want to generate random numbers in my model. Every time I run the macro my cells range "G8:H34" have to fill in with different random numbers that should be integers from 0 to 2. I have to generate ...
0
votes
0answers
26 views

Word 2011 for Mac - cannot change Locale ID in field codes

I want to change the locale of field codes like in this problem Change the language of fields in Microsoft Word but I cannot manually alter the field codes. I type in the new code but nothing ...
2
votes
1answer
59 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
124 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
96 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
22 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
1answer
351 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 ...
0
votes
1answer
121 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
241 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
179 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 ...
0
votes
0answers
60 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
81 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
24 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 ...
2
votes
1answer
88 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
70 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
324 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
38 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
136 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
1answer
135 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
84 views

Removing one type of highlighting in Intellij Idea

How to remove this type of highlighting in Intellij Idea?
0
votes
1answer
486 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
82 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
187 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
1k 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
377 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
90 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 ...
4
votes
1answer
1k 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
128 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
269 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
42 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 ...
2
votes
1answer
338 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
463 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
1k 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
245 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
1answer
812 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
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