This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#remotes::install_github("ropensci/cchecks") | |
library(cchecks) | |
myaddress <- whoami::email_address() | |
# cchn_register(myaddress) | |
pkgs <- cch_maintainers(sub("@", "_at_", myaddress))$data$packages | |
msgs <- c("warn", "error") | |
rules <- lapply(pkgs$package, function(pkg) list(package=pkg)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# coding=UTF8 | |
# Author: Iñaki Ucar <[email protected]> | |
# Description: Simple simulation core in Python and M/M/1 queueing example | |
from heapq import heappop, heappush | |
class Simulator(object): | |
"""Simulation environment""" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am Enchufa2 on github. | |
* I am enchufa2 (https://keybase.io/enchufa2) on keybase. | |
* I have a public key whose fingerprint is F432 0B54 CF67 6936 3D02 0832 7EE8 1A3F 563B 3315 | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Fancontrol via Hardware PWM for Raspian | |
Author: 2h4u | |
Date: 19.01.2013 | |
Version 2: | |
Now with dynamic PWM regulation! | |
*/ | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding=UTF8 | |
# Author: Iñaki Ucar <[email protected]> | |
# Description: Dropbox recursive downloader | |
import os, sys | |
from urllib2 import urlopen, unquote | |
from bs4 import BeautifulSoup | |
from subprocess import call |
NewerOlder