A tag that includes questions about programming in general.

learn more… | top users | synonyms

0
votes
0answers
8 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 ...
-2
votes
1answer
52 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
21 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
33 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 ...
0
votes
1answer
56 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 ...
2
votes
1answer
27 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
0answers
6 views

Code modification for an array of numbers to be read from pointer [migrated]

I have the following code: but "value" are many in numbers. I want to arrange all numbers along with max and min. if (value > stats_max) stats_max = value; if (value < stats_min) ...
0
votes
3answers
35 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
41 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
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
91 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
72 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
32 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
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 ...
0
votes
1answer
64 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
146 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
42 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
2k 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
40 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
56 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
274 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
35 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
33 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
55 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
35 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
78 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
137 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
112 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
23 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
446 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
141 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
323 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
204 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
64 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
129 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
28 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
95 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
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 ...
2
votes
1answer
365 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
39 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
146 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
141 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
106 views

Removing one type of highlighting in Intellij Idea

How to remove this type of highlighting in Intellij Idea?
0
votes
1answer
556 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
99 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
216 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
400 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
100 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 ...