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 | |
/** | |
* PHP IRC Server - PHelPsIRCd | |
* Why? Why not! | |
* @author Ben Phelps | |
* @version 2 | |
* @copyright BenPhelps.me, 15 June, 2011 | |
* @package PHelPsIRCd |
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
<html> | |
<head> | |
<title>Grill</title> | |
<style> | |
body { | |
background: #f7f7f7; | |
width: 500px; | |
margin: 0 auto; | |
font-family: Arial, Helvetica, sans-serif; | |
font-size: 1.1em; |
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 | |
/** | |
* This is a simple script to invite users to your slack | |
* Replace the subdomain and token in the variables below. | |
* Upload a logo called "logo.png" to the same directory for your group | |
* Upload a logo called "slack.png" to the same directory for slack | |
*/ | |
define('SUBDOMAIN','{YOUR SUBDOMAIN HERE}'); | |
define('TOKEN','{YOUR API TOKEN HERE}'); | |
?> |
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 | |
/** | |
* 1. create project at https://console.developers.google.com/project | |
* 2. enable 'Analytics API' under 'APIs & auth' / APIs | |
* 3. create 'NEW CLIENT ID' (OAuth client) under 'APIs & auth' / Credentials | |
* i. select 'Service account' | |
* ii. save generated key file to 'key.p12' | |
* iii. remember CLIENT ID | |
* 4. under GA account add 'Read & Analyze' access to newly generated email (access to GA Account not Property nor View) |
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 |
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 | |
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
<?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
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
#!/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 |