Skip to content

Instantly share code, notes, and snippets.

View manicExpressive's full-sized avatar
💭
Looking for work!

Joshua Blount manicExpressive

💭
Looking for work!
View GitHub Profile
@manicExpressive
manicExpressive / import.py
Created December 9, 2010 04:27
This is the script I wrote to import my blog from sqlite3 to Jekyll formatted files.
import sqlite3
import datetime
import sys
# First we connect to the sqlite db,
# in this case it's sitting in the same
# directory and we're rocking
# python script.py
wampa:siege-2.70 jblount$ ab -n 1000 -c 10 http://joshuablount.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking joshuablount.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
wampa:siege-2.70 jblount$ ab -n 1000 -c 10 http://joshuablount.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking joshuablount.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
wampa:siege-2.70 jblount$ ab -n 1000 -c 10 http://joshuablount.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking joshuablount.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
<form name="signup" action="http://action.freebieber.org/page/signup/external-form-name" method="post" id="signup">
<input placeholder="Email Address" type="email" name="email" id="emailer" />
<button>Free Bieber</button>
</form>
r2:freebieber stickwithjosh$ git remote rm origin
r2:freebieber stickwithjosh$ git remote add origin git@github.com:fightforthefuture/free-bieber.git
r2:freebieber stickwithjosh$ git push origin
r2:Work stickwithjosh$ git clone git@github.com:fightforthefuture/free-bieber.git
Cloning into free-bieber...
remote: Counting objects: 783, done.
remote: Compressing objects: 100% (360/360), done.
remote: Total 783 (delta 395), reused 770 (delta 382)
Receiving objects: 100% (783/783), 6.15 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (395/395), done.
r2:Work stickwithjosh$ cd free-bieber/
ARTISTS
------------------------------------
<div style="text-align: center; margin: 0 auto;">
<a href="http://twitter.com/share?original_referer=http%3A%2F%2Ffightforthefuture.org%2Fpipa%2Fartists%2F&amp;source=tweetbutton&amp;text=Please%20sign%20this%20petition%20to%20stop%20a%20bill%20that's%20so%20crazy%20that%20it%20could%20shut%20down%20Twitter%20and%20Youtube%3A%20"><img alt="Share on Twitter" src="http://fightforthefuture.org/pipa/images/norm_tw.png" /></a> <a href="https://www.facebook.com/sharer.php?u=http%3A%2F%2Ffightforthefuture.org%2Fpipa%2Fartists%2F"><img alt="Share on FB" src="http://fightforthefuture.org/pipa/images/norm_fb.png" /></a></div>
PIPA
------------------------------------
Thanks for reaching out to us at Fight For the Future! Sadly we don't monitor this inbox so here's a few ways you can get in touch with us:
Press
----------------------
For press contacts ONLY please follow up with press@fightforthefuture.org or call: (508) 474-5248
Contact
----------------------
If you'd like to get in touch with someone on staff directly, you can either email us at team@fightforthefuture.org (we don't get back to everyone here, but we try to read all of the messages)
<p><a href="https://www.facebook.com/sharer.php?u=http://americancensorship.org" style="color: rgb(49, 78, 158); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; outline-style: none; outline-width: initial; outline-color: initial; text-decoration: none; " target="_blank"><img height="25" src="http://www.freebieber.org/img/buttons/wide_fb.png" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></a>&nbsp;<a href="https://twitter.com/share?text=OMG%20need%20%23CensorshipEverywhere%20this%20week!%20Congr%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%E2%96%88%20pass%20censor%20%E2%96%88%E2%96%88%E2%96%88%E2%96%88%20THURS.%20Censor%20yr%20posts%20w%2