Skip to content

Instantly share code, notes, and snippets.

@jriano
jriano / fllp.md
Last active June 13, 2022 01:20
Florida Learners Permit

To get your florida learner's permit

Requirements

To get a Learners license:

  1. Pass DATA test -> done
  2. Pass the Pass the DMV permit exam
  3. Documentation 3.a Primary identification (certified copy) -> birth certificate 3.b SS card
#!/bin/bash
# By Juan Riaño
# juanriano.com
# Feel free to use as you please, a thank you card (or email) will be appreciated,
# but don't hold me responsible for whacking your grandma's pc.
# This script standirizes file names, it is meant mostly for mp3s or pictures, just
# copy this script inside the folder where the files are located and run it.
@jriano
jriano / Sage PPA
Last active December 11, 2015 03:19
Sage PPA
apt-add-repository -y ppa:aims/sagemath
apt-get update
apt-get install sagemath-upstream-binary
@jriano
jriano / PlayingCard
Created September 2, 2011 10:13
PlayingCard
//Class to repesent a playing-card
// Any card has a SUIT (Clubs, Diamonds, Hearts, Spades)
// Any card has a RANK (2, 3, .. 19, Jack, Queen, King, Ace)
//
public class PlayingCard implements Comparable
{
//Instance Variables
private CardSuit suit;
private CardRank rank;
@jriano
jriano / gist:972820
Created May 15, 2011 01:45
Remove drums sound un Ubuntu 10.10
$ sudo su gdm -c "gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool false"
@jriano
jriano / gist:964172
Created May 10, 2011 09:30
System Wide equalizer
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update && sudo apt-get install pulseaudio-equalizer
ahang_ 10:41pm via web
Virus just hacked my computer and is now taking
over. Fuck.
JakeHerbs 10:26pm via Twitter for BlackBerry®
Tackling a computer virus all night and at 3.25am
guess who won hahaha stupid virus
Ihasafunny 10:23pm via Twitter for iPhone
Emma Watson is the wallpaper on my computer.
@jriano
jriano / gist:726767
Created December 3, 2010 09:30
restart-ubuntu-10.10-sound
# list processes that use sound and get their ids
lsof | grep pcm
# Now let's kill those processes
kill -9 id1 id2 id3
# Now let's kill pulseaudio
pulseaudio --kill
# Pulseaudio restarts automatically, but
# to make sure lets send the start command
pulseaudio --start
# list processes that use sound
lsof | grep pcm
# Now let's kill those processes
kill -9 id1 id2 id3
# Now let's kill pulseaudio
pulseaudio -k
# Let's check that pulseaudio is gone
pulseaudio --check
lsof | grep pcm
kill -9 id1 id2 id3