A tag that includes questions about programming in general.

learn more… | top users | synonyms

0
votes
2answers
285 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 ...
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
294 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
282 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 ...
0
votes
1answer
8 views

How can I get a Git repo to push/pull when the Git server is behind a firewall?

My work place currently has a gitlab server behind their corporate firewall and currently their public dev sites are facing the internet. I can access the gitlab server only when I'm on their vpn. I ...
0
votes
1answer
41 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
71 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
71 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
102 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 ...
0
votes
1answer
164 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
745 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
220 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
1answer
165 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 ...
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 ...
0
votes
1answer
106 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 ...
0
votes
1answer
1k views

Word mergefield wildcard not correctly matching

Below is my mergefield code: { IF { MERGEFIELD Subs_State } = "GA" "blah blah" "{ IF { MERGEFIELD CEOrgStates } = "GA" "blah blah" ""} "} I'm pulling records from a MS Access db. My goal is to check ...
-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
0answers
316 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. ...
0
votes
0answers
19 views

need a ping script.sh that checks pingable ip's on lan and stops at last “alive”

I have a bash script on my Debian 8 32 bit that checks what devices are pingable. simple script name"checkip.sh #!/bin/bash fping -g 192.168.1.1 192.168.1.50 The problem is it continues to check ...
0
votes
0answers
41 views

Using CLion without opening projects

I often find myself writing many short, one file C programs, that are complex enough that I need to debug them. I would love to use CLion to write them (code completion is so much better than in ...
0
votes
0answers
17 views

Shell Scripting - Mac - Emailing

I'm just messing around with shell scripting after doing some in the past, and I have figured out how to Email myself from writing a script by using: mail -s 'Backup status' ...
0
votes
0answers
9 views

Moderated Mediation with a Repeated Measures DV - Is it possible in SAS?

I am working with a data that has repeated measures of DV (repeated measures within subjects). But in addition to that, there is also two between subjects manipulations (a 2 level IV and a 2 level ...
0
votes
0answers
59 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 ...
0
votes
0answers
229 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
0answers
76 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
84 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