Skip to content

Instantly share code, notes, and snippets.


Gerardo iiiGerardoiii

  • Monterrey, NL, México
View GitHub Profile
View emuparadise.eptun.user.js
// ==UserScript==
// @name EmuParadise Download Workaround - 1.1.1
// @version 1.1.2
// @description Replaces the download button link with a working one
// @author Eptun
// @match*/*/*
// @require
// @grant none
// ==/UserScript==
scoates / hangout.scpt
Created Oct 2, 2015
Start a Google Hangout in Textual with `/hangout`
View hangout.scpt
on textualcmd(inputString, destinationChannel)
tell application id ""
delay 0.5
if (count of (every window where visible is true)) is greater than 0 then
if URL of active tab of front window is not "chrome://newtab/" then
tell front window
make new tab
end tell
View pomf
#!/usr/bin/env bash
# uploader
# requires: curl
if [[ -n "${1}" ]]; then
if [ -f "${file}" ]; then
jbonney / spotify_keybindings
Created Jun 9, 2013
Spotify - Linux key bindings. From XFCE / Ubuntu keyboard shortcuts configuration, assign the control command to their key.
View spotify_keybindings
"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" XF86AudioPlay
"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" XF86AudioStop
"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" XF86AudioNext
"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" XF86AudioPrevious
You can’t perform that action at this time.