Skip to content

Instantly share code, notes, and snippets.

Avatar

Alejo Arias alejoar

  • Dotdash
  • Madrid, Spain
View GitHub Profile
View mystery.knightlab.com_solution.sql
select *
from crime_scene_report
where city = 'SQL City'
and date = '20180115'
and type = 'murder'
-- Security footage shows that there were 2 witnesses. The first witness lives at the last house on "Northwestern Dr". The second witness, named Annabel, lives somewhere on "Franklin Ave".
select *
from person
@alejoar
alejoar / touchegg.conf
Created Feb 4, 2017
Touchegg config for Ubuntu
View touchegg.conf
<touchégg>
<settings>
<property name="composed_gestures_time">111</property>
</settings>
<application name="All">
<gesture type="DRAG" fingers="1" direction="ALL">
<action type="DRAG_AND_DROP">BUTTON=1</action>
</gesture>
<gesture type="DRAG" fingers="5" direction="DOWN">
<action type="SEND_KEYS">Control+Alt+Shift+Up</action>
View byzanz-record-region
#!/bin/bash
# Delay before starting
DELAY=10
# Sound notification to let one know when recording is about to start (and ends)
beep() {
paplay /usr/share/sounds/KDE-Im-Irc-Event.ogg &
}