Skip to content

Instantly share code, notes, and snippets.

View Ranthrall's full-sized avatar
👁️‍🗨️
I may be slow to respond.

Fernando Manfredi Ranthrall

👁️‍🗨️
I may be slow to respond.
  • 08:28 (UTC -03:00)
View GitHub Profile
@Ranthrall
Ranthrall / acidBot_beta.ino
Created August 18, 2016 04:59
AcidBot a robot car prototype
/*
AcidBot Prototype beta 0.8
Basic control of motors.
(c) 2016 - Acidhub <contact@acidhub.click>
CC BY-SA
*/
@Ranthrall
Ranthrall / keybase.md
Created July 11, 2016 20:33
leybase.io if proof

Keybase proof

I hereby claim:

  • I am acidhub on github.
  • I am acidhub (https://keybase.io/acidhub) on keybase.
  • I have a public key whose fingerprint is E599 643B 1D48 0DF9 D8AC F407 5317 2182 9368 E294

To claim this, I am signing this object:

@Ranthrall
Ranthrall / extract.sh
Created July 19, 2015 07:59
Bash universal file extractor
#!/bin/bash
# Default extraction target CWD
exdir="."
_unzip() {
unzip "$1" -d "$exdir"
}
@Ranthrall
Ranthrall / emoji.php
Last active August 29, 2015 14:24
PHP to retrieve emoji from Github API
<?php
function url_get_contents ($url) {
if (!function_exists('curl_init')){
die('CURL is not installed!');
}
$ch = curl_init();
curl_setopt($ch, CURLOPT_USERAGENT,'curl/7.43.0');
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec($ch);