Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Pachamaltese pachamaltese

🎯
Focusing
View GitHub Profile
@valegui
valegui / index.html
Created Dec 19, 2016
Clasificación Internacional de Situación en el Empleo Abreviada según Sexo
View index.html
<!doctype html>
<meta charset="utf-8">
<script src="//d3plus.org/js/d3.js"></script>
<script src="//d3plus.org/js/d3plus.js"></script>
<div id="viz"></div>
<script>
var sample_data =[
@valegui
valegui / index.html
Last active Dec 24, 2016
Horas promedio de trabajo doméstico no remunerado
View index.html
<!doctype html>
<meta charset="utf-8">
<script src="//d3plus.org/js/d3.js"></script>
<script src="//d3plus.org/js/d3plus.js"></script>
<div id="viz"></div>
<script>
var data = [
@andrewheiss
andrewheiss / neighbors.R
Created Feb 2, 2016
Calculate which countries share a border
View neighbors.R
# Load libraries
library(dplyr)
library(tidyr)
# Map libraries
# You must install geos (http://trac.osgeo.org/geos/) and
# gdal (http://www.gdal.org/) first.
# Easy to do on OS X: `brew install geos gdal`
# Then install these packages from source
# install.packages(c("rgeos", "rgdal"), type="source")
View hosts
# Enhanced Network Hosts File
# Authored by Carl Bennett <https://carlbennett.me>
#
# How To <https://support.rackspace.com/how-to/modify-your-hosts-file/>
# (I do not endorse Rackspace, the document is simply of decent quality.)
#
# This file is hereby released under the MIT license. A copy of the license can
# be found at: <https://opensource.org/licenses/MIT>
#
View tomorrow_night_eighties_profile.sh
#!/bin/sh
# because gconftool doesn't have "append"
glist_append() {
local type="$1"; shift
local key="$1"; shift
local val="$1"; shift
local entries="$(
{
@jonschlinkert
jonschlinkert / markdown-cheatsheet.md
Last active Sep 18, 2020
A better markdown cheatsheet.
View markdown-cheatsheet.md
@kjoconnor
kjoconnor / md5sums.sh
Created Mar 20, 2012
Create md5sums file for Debian packages
View md5sums.sh
# Assuming you're in the 'debian' directory and the directories (var, usr, etc.) are contained within
find -type f | egrep -v '^\./DEBIAN' | xargs --replace=hh -n1 md5sum "hh" | sed 's/\ \.\///' > DEBIAN/md5sums
You can’t perform that action at this time.