I hereby claim:
- I am dgw on github.
- I am dgw (https://keybase.io/dgw) on keybase.
- I have a public key whose fingerprint is FD79 4B46 9B89 955F 2083 4558 7C9E E7B7 D379 F9CC
To claim this, I am signing this object:
@echo off | |
rem Copyright (C): 2010 Voyagerfan5761 | |
rem http://technobabbl.es/ | |
set USERPROFILE=%~dp0 | |
set HOMEDRIVE=%~d0 | |
set HOMEPATH=%~p0 | |
set HOME=%~dp0 | |
set HISTFILE=%USERPROFILE%.bash_history | |
rem set BASHRC=%USERPROFILE%.bashrc |
/* ************************************** * | |
* This is the first sample session, when * | |
* the keyboard and touchpad were not * | |
* detected and didn't work * | |
* ************************************** */ | |
[ 23.875] | |
X.Org X Server 1.9.0 | |
Release Date: 2010-08-20 | |
[ 23.875] X Protocol Version 11, Revision 0 |
<?php | |
/* | |
Plugin Name: Google Authenticator | |
Plugin URI: http://henrik.schack.dk/google-authenticator-for-wordpress | |
Description: Two-Factor Authentication for WordPress using the Android/iPhone/Blackberry app as One Time Password generator. | |
Author: Henrik Schack | |
Version: 0.37 | |
Author URI: http://henrik.schack.dk/ | |
Compatibility: WordPress 3.2.1 | |
Text Domain: google-authenticator |
/* ******************************** *\ | |
* Package Name: Q1P3 * | |
* Description: The code from Quiz * | |
* 1, Problem 3 in the Fall 2011 * | |
* COSI 11A course at Brandeis. * | |
* Purpose: Demonstrating how the * | |
* given expressions really eval. * | |
\* ******************************** */ | |
public class Q1P3 { |
function wsa_the_content_filter( $content ) { | |
if ( is_single() ) { | |
$notes = wsa_endnotes( true ); | |
if ( !empty($notes) ) { | |
$content .= '<div class="wsa-footnotes"><ol>'; | |
foreach($notes as $i => $note) { | |
$num = $i + 1; | |
$content .= sprintf( '<li><a name="wsa-endnote-%d"></a>%s <a href="#wsa-inline-%d" class="wsa-up">▲</a></li>', | |
$num, do_shortcode($note), $num | |
); |
CFile LogFile(sPath); | |
CString sLogDir = LogFile.GetDir(); | |
struct stat ModDirInfo; | |
CFile::GetInfo(GetSavePath(), ModDirInfo); | |
if (!CFile::Exists(sLogDir)) CDir::MakeDir(sLogDir, ModDirInfo.st_mode); | |
if (LogFile.Open(O_WRONLY | O_APPEND | O_CREAT)) |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/php | |
<?php | |
$doc = new DOMDocument(); | |
$doc->load("http://ws.audioscrobbler.com/2.0/user/voyagerfan5761/recenttracks.xml?limit=1"); | |
$arrFeeds = array(); | |
foreach ($doc->getElementsByTagName('track') as $node) { | |
$itemRSS = array ( | |
'artist' => $node->getElementsByTagName('artist')->item(0)->nodeValue, | |
'name' => $node->getElementsByTagName('name')->item(0)->nodeValue, | |
'nowplaying' => ($node->attributes->getNamedItem('nowplaying')) ? true : false |
Change as needed:
TEST_URL
: set to local or remote test serverREAL_WEBHOOK_SECRET
: match secret set in Sopel configurationPAYLOAD
: example has minimal payload required to be processed by the current sopel-github
module (be68263d4aa4ddd6cb790e4e228b9894a3aaace0)NUM_PROCS
: number of simulateous processes to send requestsNUM_REQUESTS
: total number of requests to sendRANDOM_SEED
: change the distribution of valid/invalid requests by updating the starting random seedResults:
.
indicates a valid request sent