This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
# | |
# vim: fenc=utf-8 | |
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 | |
# | |
# | |
""" | |
File name: twoo.py |
This file contains hidden or 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 | |
# Locate our phpunit. | |
phpunit=`which phpunit` | |
# Any extra arguments to phpunit should go here. | |
phpunit_args="" | |
# Define a location to save the output. | |
outputlog="/tmp/phpunit_output_`date +%s`.log" |
This file contains hidden or 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 | |
# Preview a Xdefaults color scheme | |
# Usage: themeview.sh [FILE] | |
#### | |
if [[ ! -f "$1" ]]; then | |
echo "Invalid file, $1" | |
exit 1 | |
fi |
This file contains hidden or 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 | |
/** | |
* Small little function to read out The Pirate Bay. | |
* This will look make a search on The Pirate Bay | |
* and return the first result it gets from the HD - Movies category | |
* | |
* Example: | |
* $magnetUrl = getMagnet('Fight Club', 'YIFY'); | |
* | |
* @author Koen Hendriks <[email protected]> |
This file contains hidden or 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 | |
# | |
# by Sairon Istyar, 2012 | |
# distributed under the GPLv3 license | |
# http://www.opensource.org/licenses/gpl-3.0.html | |
# | |
### CONFIGURATION ### | |
# program to use for torrent download | |
# magnet link to torrent will be appended |
This file contains hidden or 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
a = setInterval(function () { | |
window.scrollTo(0,document.body.scrollHeight); | |
$('.not-following .user-actions-follow-button.js-follow-btn').click(); | |
}, 4000); | |
/* changed setinterval to 4k ms - original source here https://medium.com/@karanjthakkar/how-i-grew-from-300-to-5k-followers-in-just-3-weeks-2436528da845 | |
Just browse to someones follower list, hit F12 on chrome and plug this snippet into the console tab and hit enter |
This file contains hidden or 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 | |
/* | |
http://stackoverflow.com/a/11973533/99923 | |
Well, just to show that it is in fact possible to write a POP3 server in PHP, here it is. The server does no authentication--or pretty much anything else. It just keep sending the same message over and over. But it works. Thunderbird was able to retrieve messages from it. Totally useless, but sort of cool. | |
My setup is Apache 2 on Windows with PHP 5.2. | |
*/ | |
// echo something so fopen() would return |
This file contains hidden or 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(!class_exists('Rhaco')) require_once 'rhaco/Rhaco.php'; | |
Rhaco::import('network.http.Browser'); | |
class AmazonReport | |
{ | |
var $base_url = 'https://affiliate.amazon.co.jp'; | |
var $browser; | |
function AmazonReport($email, $password){ |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='UTF-8' /> | |
<style type="text/css"> | |
<!-- | |
.chat_wrapper { | |
width: 500px; | |
margin-right: auto; | |
margin-left: auto; |
This file contains hidden or 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 | |
/** | |
* | |
* SEO report for different metrics | |
* | |
* @category SEO | |
* @author Chema <[email protected]> | |
* @copyright (c) 2009-2012 Open Classifieds Team | |
* @license GPL v3 | |
* Based on seo report script http://www.phpeasycode.com && PHP class SEOstats |
OlderNewer