Skip to content

Instantly share code, notes, and snippets.

View spacekookie's full-sized avatar
🏴
I want for you what you want for me

Katharina Fey spacekookie

🏴
I want for you what you want for me
View GitHub Profile
@jonnyrobbie
jonnyrobbie / os_share.R
Last active October 2, 2017 11:55
Generates plots from netstat on OS or Browser market share
#!/usr/bin/RScript
require(ggplot2)
require(reshape2)
require(gtable)
require(grid)
rm(list=ls())
#https://www.netmarketshare.com/operating-system-market-share.aspx?qprid=9&qpcustomb=0&qpsp=197&qpnp=24&qptimeframe=M
#https://www.netmarketshare.com/browser-market-share.aspx?qprid=1&qpcustomb=0&qpsp=197&qpnp=24&qptimeframe=M
#select the time range as wide as you want and then export to csv either as `osshare.csv` or `browsershare.csv` to your WD.
@XenGi
XenGi / fuckyou.fish
Last active April 8, 2017 17:46
Rage quit support for fish shell
# ~/.config/fish/functions/fuckyou.fish
# usage: fuckyou firefox
# dependencies: toilet
function fuckyou --description "Rage quit support for fish"
killall -9 $argv[1]
if test $status = 0
echo
echo (set_color brred)" (╯°□°)╯"(set_color bryellow)"︵"(set_color FFBF00) (echo $argv[1] | toilet -f term -F rotate)(set_color normal)
echo
else
@sophia-ooo
sophia-ooo / twitter.sh
Created January 1, 2016 04:45
twitter ffmpeg
ffmpeg -i test.mov -vcodec libx264 -vf 'scale=640:trunc(ow/a/2)*2' -acodec aac -vb 1024k -minrate 1024k -maxrate 1024k -bufsize 1024k -ar 44100 -strict experimental -r 30 out.mp4
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "bigint.h"
/* this library provides for a bigint type, which can hold numbers of an unlimited length.
You can add them together as well.*/