View keybase.md

Keybase proof

I hereby claim:

  • I am meqif on github.
  • I am meqif (https://keybase.io/meqif) on keybase.
  • I have a public key ASCDp4tdUW_88XdVYhD-VaPIQewOlmuxCD_85cN2-Fc6XAo

To claim this, I am signing this object:

View main.rs
use std::thread;
use std::sync::{Arc, RwLock};
// Represents a reference to a node.
// This makes the code less repetitive to write and easier to read.
type NodeRef<T> = Arc<RwLock<_Node<T>>>;
// The private representation of a node.
struct _Node<T> {
inner_value: T,
View wormery.rb
#!/usr/bin/env ruby
#
# Downloads the entire 'Worm' story and builds an ebook out of it in HTML form,
# ready to be processed by Calibre into whatever format you need.
#
require 'nokogiri'
require 'open-uri'
INDEX_URL = "http://parahumans.wordpress.com/table-of-contents/"
View gulpfile.sample.js
var gulp = require('gulp'),
sass = require('gulp-sass'),
plumber = require('gulp-plumber');
gulp.task('sass', function() {
gulp.src('_scss/*.scss')
.pipe(plumber())
.pipe(sass({
includePaths: ['_scss/includes/']
}))
View pi.c
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <math.h>
#include <omp.h>
/* Estimate pi using the Monte Carlo algorithm */
double pi_thread(int n) {
int n1 = 0;
double x, y;
View curbstomp.py
#!/usr/bin/env python
"""
Simple Naive Bayes tweet classifier.
It analyses a number of tweets of a given user and determines if that user is
a spammer.
"""
from __future__ import division
View chrome.css
body#home { background: none; }
div#left { display: none; width: 0px; }
div#main { padding-left: 100px !important; }
View brushie.rb
#!/usr/bin/env ruby
# encoding: UTF-8
require 'nokogiri'
require 'open-uri'
require 'yaml'
BASE_URL = "http://www.guimaraes2012.pt"
def scrape(url)
View image_extractor.rb
#!/usr/bin/env ruby
#
# TODO: Process thread URL directly without RES help.
require 'nokogiri'
def get_image_urls(filename)
doc = Nokogiri::HTML(File.read(filename))
urls = doc.css('a[type="IMAGE"]').map {|el| el['href']}
View IR_Black.itermcolors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.31090480089187622</real>
<key>Green Component</key>
<real>0.31097450852394104</real>