This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
sed -i 's/\r//g' file.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env/python | |
# directkeys.py | |
# http://stackoverflow.com/questions/13564851/generate-keyboard-events | |
# msdn.microsoft.com/en-us/library/dd375731 | |
import ctypes | |
from ctypes import wintypes | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sumar() { | |
var caja = document.getElementById("fe694"); | |
var selector = document.getElementById("cmb3"); | |
if (selector.value.toLowerCase() != 'reagendar') { // No hacer nada | |
return false; | |
} | |
if (caja.value == ''){ // Le ponemos el valor por defecto | |
caja.value = 0; | |
} | |
caja.value = parseInt(caja.value) + 1 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sumar() { | |
var caja = document.getElementById("fe694"); | |
var selector = document.getElementById("cmb3"); | |
if (selector.value.toLowerCase() != 'reagendar') { // No hacer nada | |
return false; | |
} | |
if (caja.value == ''){ // Le ponemos el valor por defecto | |
caja.value = 0; | |
} | |
caja.value = parseInt(caja.value) + 1 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sumar() { | |
var caja = document.getElementById("fe694"); | |
var selector = document.getElementById("cmb3"); | |
if (selector.value.toLowerCase() != 'reagendar') { // No hacer nada | |
return false; | |
} | |
if (caja.value == ''){ // Le ponemos el valor por defecto | |
caja.value = 0; | |
} | |
caja.value = parseInt(caja.value) + 1 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/time.h> | |
#include <signal.h> | |
#include <stdlib.h> | |
#include <ucontext.h> | |
#include <unistd.h> | |
#include "mythread.h" | |
#include "interrupt.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
* | |
* DirectInput keyboard scan codes | |
* | |
****************************************************************************/ | |
#define DIK_ESCAPE 0x01 | |
#define DIK_1 0x02 | |
#define DIK_2 0x03 | |
#define DIK_3 0x04 | |
#define DIK_4 0x05 |