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
en /etc/rc.local | |
mkdir -p /dev/cgroup/cpu | |
mount -t cgroup cgroup /dev/cgroup/cpu -o cpu | |
mkdir -m 0777 /dev/cgroup/cpu/user | |
echo "1" > /dev/cgroup/cpu/user/notify_on_release | |
echo "/usr/local/sbin/cgroup_clean" > /dev/cgroup/cpu/release_agent | |
en ~/.bashrc |
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
<?php | |
if (isset($_POST['submit'])) { | |
$debug = True; | |
$calle = $_POST['calle']; | |
$interseccion = $_POST['interseccion']; | |
$intersecciones = array( | |
'Peralta Ramos', | |
'Del Valle', |
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/sh | |
# Autor: Tomás González Dowling | |
# Colaboradores: Fernando Ramirez y Facundo Guerrero | |
# Empresa: Comtom Tech Support | |
# Licencia: GPL 3 | |
# Creamos un direcorio temporal | |
unzipdir=$(mktemp -d) |
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
format PE | |
entry main | |
section '.text' code readable executable | |
main: | |
push label_input | |
push _format_output | |
call [printf] | |
add esp, 8 |
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
format PE | |
entry main | |
section '.text' code readable executable | |
main: | |
push label_input | |
push _format_output | |
call [printf] | |
add esp, 8 |
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
format PE | |
entry main | |
section '.text' code readable executable | |
main: | |
mov eax, [esp] | |
xor edi, edi | |
; 32 bit -> 8 nibble | |
; valor inicial de la mascara |
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
format PE | |
entry main | |
section '.text' code readable executable | |
main: | |
push str_intro | |
push format_output | |
call [printf] |
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
How to crack Sublime Text (2 and 3) | |
=== | |
1. Open Sublime in a HEX editor (the executable file) | |
2. Find 43 33 33 42 30 32 | |
3. Replace in the string above 33 42 with 32 42 | |
4. Save | |
5. Enter the license below: | |
—–BEGIN LICENSE—– |
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
""" | |
@version: 0.96(2010-08-29) | |
@note: | |
ABOUT EASYGUI | |
EasyGui provides an easy-to-use interface for simple GUI interaction | |
with a user. It does not require the programmer to know anything about | |
tkinter, frames, widgets, callbacks or lambda. All GUI interactions are | |
invoked by simple function calls that return results. |
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
<?php | |
if (! extension_loaded('mssql')) { | |
//Return an associative array. Used on mssql_fetch_array()'s result_type parameter. | |
define('MSSQL_ASSOC', '1'); | |
//Return an array with numeric keys. Used on mssql_fetch_array()'s result_type parameter. | |
define('MSSQL_NUM', '2'); | |
//Return an array with both numeric keys and keys with their field name. This is the default value for mssql_fetch_array()'s result_type parameter. | |
define('MSSQL_BOTH', '3'); | |
//Indicates the 'TEXT' type in MSSQL, used by mssql_bind()'s type parameter. | |
define('SQLTEXT', '35'); |