This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| #include <stdio.h> | |
| typedef struct ll { | |
| int value; | |
| struct ll *next; | |
| } ll; | |
| void print_list(ll *list_head) | |
| { |
| #!/usr/bin/env python | |
| import bz2 | |
| import datetime | |
| import os | |
| import sys | |
| import time | |
| import urllib2 | |
| import warnings |
| # 1500 -> 1.500 | |
| function to_kb { | |
| echo $(bc <<< "scale=3; $1/1000") | |
| } | |
| # 10000 -> 10,000 | |
| function format_number { | |
| printf "%'.3f\n" $1 | |
| } |
The following entities have either sold or leaked personal data about me, including email addresses and phone numbers. Be wary of sharing your data with them.
These entities have either sold or leaked specific unique email addresses of mine to unauthorized parties, such as spammers.
| import sublime | |
| import sublime_plugin | |
| class CursorCommand(sublime_plugin.TextCommand): | |
| saved_cursors_map = {} | |
| def run(self, edit, action="add"): | |
| view = self.view | |
| cursors = view.sel() | |
| view_id = view.id() |
| 13:15 <xQuasar> | HASKELL IS FOR FUCKIN FAGGOTS. YOU'RE ALL A BUNCH OF | |
| | FUCKIN PUSSIES | |
| 13:15 <xQuasar> | JAVASCRIPT FOR LIFE FAGS | |
| 13:16 <luite> | hello | |
| 13:16 <ChongLi> | somebody has a mental illness! | |
| 13:16 <merijn> | Wow...I suddenly see the error of my ways and feel | |
| | compelled to write Node.js! | |
| 13:16 <genisage> | hi | |
| 13:16 <luite> | you might be pleased to learn that you can compile | |
| | haskell to javascript now |
| #!/usr/bin/env python | |
| import binascii, sys, json | |
| import version, tnetstring, flow | |
| from datetime import datetime | |
| def create_har(flows): | |
| return { | |
| "log":{ |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Chart.js Redraw Example</title> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script> | |
| <script type="text/javascript" charset="utf-8" src="chart.min.js"></script> | |
| <script type="text/javascript" charset="utf-8"> | |
| window.chartOptions = { | |
| segmentShowStroke: false, |
| #include <vector> | |
| #include <list> | |
| #include <map> | |
| #include <set> | |
| #include <queue> | |
| #include <deque> | |
| #include <stack> | |
| #include <bitset> | |
| #include <algorithm> | |
| #include <functional> |