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 requests | |
URLS = """ | |
http://www.liverpool.com.mx/assets/js/jquery-ui.js | |
http://www.liverpool.com.mx/assets/js/script_main.js | |
http://www.liverpool.com.mx/shopping/assets/js/js_store/mini_login.js | |
http://www.liverpool.com.mx/assets/js/endeca-auto-suggest.js | |
http://www.liverpool.com.mx/assets/js/jquery-1.7.1.min.js | |
http://www.liverpool.com.mx/shopping/assets/js/js_store/fancybox_all_custom.js | |
http://www.liverpool.com.mx/assets/js/modernizr.custom.79639.js |
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/env python | |
""" | |
(c) Menta Network - www.menta.mx | |
Example usage: | |
$LOG=/var/log/inotifywait.log | |
python inotifywait.py \ | |
/srv/www/images \ |
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 base64 | |
import requests | |
API_KEY = 'API_KEY' | |
CHAT_CATEGORY_ID = '56481030' | |
class Gigya(object): |
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
// | |
// This script restarts my shitty modem. | |
// | |
// $ casperjs restartmodem.js --password=thepass | |
// | |
var casper = require('casper').create(), | |
startPage = 'http://192.168.1.254/xslt?PAGE=A08&THISPAGE=A07&NEXTPAGE=A08'; | |
function login(password) { |
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
<html> | |
<head></head> | |
<body> | |
<form> | |
<dl id="f_audio"> | |
<dd> | |
<label for="subtitled"> | |
<input type="checkbox" name="subtitled" id="subtitled" value="1" />Subtitulada | |
</label> |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$local_hostname_prefix = `hostname -s`.strip | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.network :private_network, ip: "192.168.111.222" | |
# This path is declared in ansible/group_vars/all.yml based on |
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
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
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
# | |
# $ python wakeonlan.py 192.168.0.42 00:01:2e:1f:b2:66 | |
# | |
import socket | |
from sys import argv | |
ip, mac_addr = argv[1:3] | |
magic_packet = mac_addr.split(':') | |
magic_packet = ''.join([chr(int(magic_packet[i], 16)) for i in range(6)]) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DVTConsoleDebuggerInputTextColor</key> | |
<string>0 0 0 1</string> | |
<key>DVTConsoleDebuggerInputTextFont</key> | |
<string>Menlo-Bold - 11.0</string> | |
<key>DVTConsoleDebuggerOutputTextColor</key> | |
<string>0 0 0 1</string> |
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 | |
# | |
# USAGE: bash simpletest.sh 1> test_results.txt | |
# | |
URL="http://ss2.clarovideo.com/multimediav81/plataforma_vod/ISM/WMP4H00890MTDP_full/WMP4H00890MTDP_full.ism/QualityLevels(2524000)/Fragments(video=60060000)" | |
# How many times should we request the URL? | |
TOTAL_REQUESTS=20 | |
# How much time to wait between requests? in seconds |