The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
103 views

Git post-update hook not working properly

If I push to my remote origin repository the post-receive hook should push all to another remote repository on another machine. When I push to my origin the post-receive hook gets triggered but I ...
0
votes
1answer
17 views

How to create SSH Key for git user

If i want to syncronize my remote origin with another remote repository i will have to register a post-update hook. But I will need an ssh key for that. Because my origin repo is owned by git user, ...
0
votes
0answers
79 views

Setting up a git post-update hook

I am using the newest gitlab version on ubuntu server 14.04. There are 2 repositories that should stay in sync. (One on my local Ubuntu Server VM and one on an external Server) If I push my local ...
1
vote
2answers
431 views

How to commit files modified by pre-commit hook in Git

Im struggling for a couple of hours to make git store metadata (permissions/flags/etc) of the files using metastore and I use hooks/pre-commit for this. The script is invoked correctly, and the file ...
0
votes
0answers
51 views

how to hook the start of a virtualbox VM with a script

I would like a script to be runned when I start a virtualbox VM, in order to update the configuration of the VM automatically from some information on the host. This is for testing. If the host is ...
-4
votes
1answer
56 views

Someone is hooking me? [closed]

I have some ticket on customer site I'm dealing with. My application uses 3rd party app (written in Python & c++) which I don't have the code - and in my code is always failing on one server, and ...
0
votes
1answer
214 views

What DLL's does DirectX 5 use?

I know directX 9 uses many DLL's, but the main DLL is d3d9.dll which I can replace with my own one and so "hook" into an application using DirectX 9. I can do the same for directx 8. But I have a game ...
1
vote
1answer
170 views

How to defocus a program without letting it know it is out of WinAPI focus

There is a need for two of us with my friend to use one PC at the same time. I have a gaming PC, 2 screens, a gamepad — sounds like a great multi-user environment, eh? Not so fast. The problem is: ...
-2
votes
1answer
36 views

Spyware monitoring [closed]

There ought to be a simple program that will yes-or-no identify is there is spyware using windows keyboard hooks. Yet I can't find it.
0
votes
1answer
304 views

Why doesn't the Aquamacs text-mode-hook I add in my .emacs file seem to run?

I'm running Aquamacs 2.4 (based on Emacs 23.3.50.1) on my Macbook, OS 10.7.5. I have the following line in my .emacs file: (add-hook 'text-mode-hook 'turn-on-visual-line-mode) I think that this ...
2
votes
3answers
212 views

Monitor programs accessing my keyboard?

As of a few days ago, my computer is behaving 'erratically'. When I am typing, my pointer will randomly move to another place in the text and start typing a semi-random string of characters. ("gvyfn" ...
4
votes
2answers
9k views

How to trick programs into thinking they're running under 32-bit?

Basically I have 3 executables in my Windows 7 64-bit, those are: Loader.exe -> This is a 32-bit exe  x86.exe -> This is a 32-bit exe x64.exe -> This is a 64-bit exe When Loader.exe starts it ...
1
vote
1answer
474 views

How to properly copy/paste code from .pdf to a new file open on terminal?

I have a pdf containing the following code: #!/bin/sh echo echo “**** Pulling changes into Dev [Hub’s post-update hook]” echo case “ $1 ” in If I copy and then paste that code on my terminal, after ...
0
votes
0answers
59 views

Act on scanned barcode with Windows system hook

I have two sets of barcodes which are being read by a scanner (HID device). If the barcode scanned is of type A it should be sent to the app on focus If the barcode scanned is of type B then the ...
1
vote
0answers
65 views

Disable button in a third party application?

Im currently have a linux "kiosk" machine containing a closed-source third party application. The problem is that the third party application has a settings button, that I dont want the users to be ...
30
votes
2answers
20k views

How to launch a command on network connection/disconnection?

I have a wifi connection that requires to authenticate using a web form once the wireless link is established. I know how to automate the authentication with a script that uses curl/curlIE. But how ...
2
votes
2answers
668 views

How can I find which file system hooks are installed on a windows XP pro machine?

I've a suspect that a program I installed (spideroak) didn't completely removed itself on uninstall. How can I check if there are still file system hooks installed? EDIT: Probably spideroak wasn't ...
2
votes
3answers
354 views

Compiz shutdown hook?

I want to check 10+ local Git repositories if they have any unpushed commit, before shutdown. (I always forgot to push them, so later, the next morning I came office and back home again) I think ...
2
votes
1answer
316 views

Can the OS X unlock panel trigger a login hook similar to loginwindow?

I'd like to automatically run a shell script every time I authenticate onto my computer. However, all the info I can find about loginhook and Global LoginItems applies only when authenticating to ...
53
votes
4answers
15k views

Does bash have a hook that is run before executing a command?

In bash, can I arrange for a function to be executed just before running a command? There is $PROMPT_COMMAND, which is executed before showing a prompt, i.e., just after running a command. Bash's ...
3
votes
2answers
2k views

Global git hook

Is it possible to hook all ways of creating git repo? So I can run script when repo is cloned, initialized… (are there any other ways, except moving/copying folder?). My intention is to track all ...
2
votes
2answers
562 views

How to run commands when mac is idle and when it resumes

I want to run script when my mac is idle (for example after 5 minutes or screen saver start time is also ok) and when I resume it from idle state. I know that I can write daemon using ...
2
votes
2answers
137 views

(Vista) Discover what app is reserving a shortcut key?

My problem is this: I've always managed to map WIN+V to foobar2000's "Next song" keyboard shortcut. For some reason, on this new machine, I can't. I've done this before on Vista, so the only thing I ...