Skip to content

Instantly share code, notes, and snippets.

Working from home

Robert risico

Working from home
Block or report user

Report or block risico

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
risico /
Last active Dec 17, 2016
alexa top sites crawler python (requests + beautifulsoup4)
import requests
import time
import sys
import json
from bs4 import BeautifulSoup
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0'
risico /
Created Feb 5, 2016 — forked from willwhitney/
Fetch and untile tiled Himawari-8 images from the PNG endpoint, then set them as desktop background on OSX
import requests
import sys
from datetime import datetime, timedelta
import pytz
from PIL import Image
from StringIO import StringIO
import os
import logging
# python
View gist:81c0bd60ed9a96b0ef81
### Keybase proof
I hereby claim:
* I am risico on github.
* I am risico ( on keybase.
* I have a public key whose fingerprint is A416 F294 DEF3 BD6A 9E32 F5B3 5FF5 8FEB E72E 2996
To claim this, I am signing this object:
View gist:9817349
"xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
var t = 16 * Math.random() | 0, n = "x" == e ? t : 3 & t | 8;
return n.toString(16)
View gist:9599215
"always_prompt_for_file_reload": false,
"always_show_minimap_viewport": false,
"animation_enabled": true,
"atomic_save": true,
"auto_close_tags": true,
"auto_complete": true,
"auto_complete_commit_on_tab": false,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin",
View VIm Config
" vim: fdm=marker:
" Recommended for vim >= 7; no guarantee of compatibility with earlier versions
" Lucas Oman <>
" --enable-rubyinterp --prefix=/usr --enable-ruby
" Get latest from:
" load pathogen
call pathogen#runtime_append_all_bundles()
"set t_Co=256
View jsbin.ugAfUne.html
<!DOCTYPE html>
<meta charset=utf-8 />
<title>JS Bin</title>
risico / sort1mb.cpp
Created Oct 28, 2012 — forked from preshing/sort1mb.cpp
Sort one million 8-digit numbers in 1MB RAM
View sort1mb.cpp
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
typedef unsigned int u32;
typedef unsigned long long u64;
// WorkArea
View gist:3635159
U0 ArcExpandBuf(ArcCs *c)
//Use ExpandBuf() unless you know what
//you're doing.
U8 *dst_ptr,*dst_limit;
U64 basecode,lastcode,code;
ArcTableEntry *temp,*temp1;
View Simple JavaScript Countdown
function countdown (num) {
for (var i = 0; i <= num; num--) {
You can’t perform that action at this time.