Skip to content

Instantly share code, notes, and snippets.

View titosemi's full-sized avatar

Josemi Liébana titosemi

View GitHub Profile
# Load Weather
function weather() {
local cache_file='/tmp/weather.txt'
local cache=3600
local update='false'
local modify=''
local now=$(date +%s)
local diff=''
if [[ ! -f "${cache_file}" ]]; then
@titosemi
titosemi / Vagrant
Created December 9, 2014 18:11
Vagrant plugin
# Vm related tasks
################
# Dependencies #
################
function vagrant --description 'Extends vagrant command'
# Extends function waiting pull request https://github.com/bpinto/oh-my-fish/pull/279
_extends $argv
end
@titosemi
titosemi / vimium CSS link hints
Created December 14, 2011 13:52
My Vimium CSS link hists
@titosemi
titosemi / IMStatus.scpt
Created May 17, 2011 11:19 — forked from lantrix/IMStatus.scpt
Applescript to tell Adium, Skype and iChat to change their status simultaneously
-- IMStatus
-- version 2.0, Lantrix (http://techdebug.com)
-- idea conceived from script by Jason Kenison "theWebGuy" Blog at:
-- http://www.jasonkenison.com/blog.html?id=22
(*
Copyright (c) 2008, TechDebug.com
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above