Skip to content

Instantly share code, notes, and snippets.

View mamuso's full-sized avatar
🙌
double high five

Manuel Muñoz Solera mamuso

🙌
double high five
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mamuso on github.
  • I am mamuso (https://keybase.io/mamuso) on keybase.
  • I have a public key ASDDRKU92FZGol2xXwsF2Mh64Qq9LBdYd4foXq2Ae1_dUwo

To claim this, I am signing this object:

@mamuso
mamuso / .profile
Last active August 28, 2019 21:33
# PATH SETUP
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export PATH="/usr/local/sbin:$PATH"
export PATH="$HOME/bin:/usr/local/bin:$PATH"
export PATH="$PATH:$HOME/.rvm/bin" # RVM available in PATH
export PATH="$HOME/Code/github/bin:$PATH" # GitHub development
# RUN APPS
alias code="/Applications/Visual\ Studio\ Code\ -\ Insiders.app/Contents/Resources/app/bin/code"
alias calc='bc -l'
require 'miro'
require 'color'
require 'color/rgb/contrast'
Miro.options[:color_count] = 4
Miro.options[:method] = 'histogram'
class Colorify
def get(img)
@mamuso
mamuso / getcolor.rb
Created October 16, 2014 16:54
Picking Colors, Blurring images
require 'rubygems'
require 'bundler/setup'
require 'mini_magick'
require 'color'
require 'miro'
Miro.options[:color_count] = 3
Miro.options[:method] = 'histogram'
@mamuso
mamuso / RAUR!.markdown
Created September 7, 2013 09:47
A Pen by mamuso.
@mamuso
mamuso / songs.scpt
Created June 20, 2012 21:33
Play a sound during multiple slides in keynote with AppleScript
set dontplay to 0
tell application "Keynote"
start from slide 1 of front slideshow
end tell
set volume output volume 80
repeat
tell application "Keynote"
tell front slideshow
@mamuso
mamuso / dabblet.css
Created April 13, 2012 16:53
Untitled
body {
font-family: sans-serif;
}
strong {
display: inline-block;
padding: 4px;
width: 240px;
background: pink;
text-align: right
}
<div id="the_div">
<ul id="the_list">
<li id="the_item">Click me!</li>
</ul>
</div>
<p id="log"></p>
<script type="text/javascript" charset="utf-8">
function log(string){
// Para rectificar con http://gist.github.com/500794
// Part 1.
// Implement a function prototype extension that caches function results for
// the same input arguments of a function with one parameter.
//
// For example:
// Make sin(1) have the result of Math.sin(1), but use a cached value
// for future calls.
//