I hereby claim:
- I am alexandregz on github.
- I am alexandregz (https://keybase.io/alexandregz) on keybase.
- I have a public key ASA8_JgPdS9iEqCrDLlvfYXMPT-WrwcESEnFu3GJhMfIzQo
To claim this, I am signing this object:
-- Adapted from these sources: | |
-- http://peterdowns.com/posts/open-iterm-finder-service.html | |
-- https://gist.github.com/cowboy/905546 | |
-- | |
-- Modified to work with files as well, cd-ing to their container folder | |
-- | |
-- FINAL VERSION | |
-- Save as "Application" from Automator and Drag&Drop to finder (see peterdowns post) | |
-- |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# global parameters | |
g_tmp_folder="ncdc_tmp"; | |
g_output_folder="ncdc_data"; | |
g_remote_host="ftp3.ncdc.noaa.gov"; | |
g_remote_path="pub/data/noaa"; | |
# Install tmux on Centos release 6.5 | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
tar -xvzf libevent-2.0.21-stable.tar.gz | |
cd libevent-2.0.21-stable | |
./configure --prefix=/usr/local |
#!/bin/sh | |
# | |
# open owntracks recorder. | |
# | |
# Requirements (OSX): | |
# 1) install recorder (brew tap owntracks/recorder && brew install recorder) | |
# 2) vi /usr/local/etc/ot-recorder.sh and add mqtt host/login/pass/... | |
# 3) chmod +x this_script.command | |
# |
#!/usr/bin/env ruby | |
# <bitbar.title>Battery Apple Bluetooth keyboard</bitbar.title> | |
# <bitbar.version>1.0</bitbar.version> | |
# <bitbar.author>Alexandre Espinosa Menor</bitbar.author> | |
# <bitbar.author.github>alexandregz</bitbar.author.github> | |
# <bitbar.desc>Show vagrant images running, from vagrant global-status command</bitbar.desc> | |
# | |
# command from https://github.com/matryer/bitbar-plugins/issues/84 by @keithamus | |
# |
#!/usr/bin/env perl | |
# <bitbar.title>Battery Apple Bluetooth keyboard</bitbar.title> | |
# <bitbar.version>1.0</bitbar.version> | |
# <bitbar.author>Alexandre Espinosa Menor</bitbar.author> | |
# <bitbar.author.github>alexandregz</bitbar.author.github> | |
# <bitbar.desc>Show vagrant images running, from vagrant global-status command</bitbar.desc> | |
# | |
# command from https://github.com/matryer/bitbar-plugins/issues/84 by @keithamus | |
# |
osxfuse
(3.x.x) from https://github.com/osxfuse/osxfuse/releases.ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
#include <stdio.h> | |
#include <math.h> | |
int main() { | |
double s=0; | |
for(int i=1; i<=10000; i++) { | |
s=s+(1/pow(i, 2)); | |
printf("%d %lf %lf %lf\n", i, s, pow(i,2), 1/pow(i,2) ); | |
} |
$ brew install autoconf automake bison27 gd freetype t1lib mariadb gettext zlib mcrypt
curl -L https://github.com/php/php-src/pull/685.diff | patch -p1