A tag that includes questions about programming in general.

learn more… | top users | synonyms

0
votes
0answers
24 views

Where should authored code be stored on Windows 8.1

Previously, I kept authored code in a folder inside Program Files. By "code" I mean any kind of code you, as a programmer, would write. However, with the new permission model in Windows 8.1, storing ...
1
vote
1answer
3k 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
0answers
17 views

How to disable right click?

How to disable right click on site? I saw it on Free Game Hacks website,it helps to hide some of your code from newbies... how can I make the same?
0
votes
0answers
24 views

log file for RDP connections to send email?

I was wondering if someone could help expand on this code to have it not only log the RDP connections with the time and date and user but to add the mac address, the external IP, and if possible to ...
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 ...
0
votes
1answer
3k 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 ...
-2
votes
1answer
76 views

What type of code is this? [closed]

Not sure if this is the correct community to ask this in, but here goes. One of my colleagues came across this code in the course of using the Quantile Regression with R package. The relevant code ...
0
votes
0answers
71 views

PL2303 Driver (Code 10) on Win 8.1

I'm trying to get a PL2303 driver working on a Win 8.1 Apparently there's already a fix in which I should install the 2008 version of the driver. I've done that, but still the driver still gives out ...
0
votes
1answer
60 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
37 views

How to know by which method did my system boot?

Is there any way of detecting as to whether my system started by manually pressing the power button or did it start because of a Wake-On-LAN packet??Can i store this value somewhere and use it ...
2
votes
1answer
32 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 ...
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
3answers
38 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
0answers
43 views

How do I undo this terminal command?

The following was supposed to stop my f8 key from automatically opening my itunes on my Mac. "#!/usr/bin/env python import sys, os, subprocess launch = True blocker = "" apps = ["Spotify", ...
0
votes
2answers
26 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 ...
1
vote
1answer
126 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
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 ...
0
votes
1answer
52 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
2answers
85 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
43 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
1answer
85 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
163 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
43 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
67 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
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
292 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
37 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
65 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
1answer
38 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
0answers
36 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 ...
0
votes
0answers
125 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
83 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
148 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
1answer
486 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 ...
-2
votes
1answer
25 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 ...
1
vote
1answer
71 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 ...
4
votes
1answer
1k 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 ...
2
votes
1answer
489 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
155 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?
1
vote
0answers
258 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 ...
8
votes
5answers
8k 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 ...
0
votes
2answers
372 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
232 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
68 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
165 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
29 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
100 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
113 views
2
votes
1answer
387 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
40 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 ...