This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test.js | |
let v1 = "wee"; | |
let v2 = "gaah"; | |
function test() { | |
return | |
[v1,v2].join(' '); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<object class="GtkGrid" id="no-network-conn-message"> | |
<property name="visible">True</property> | |
<property name="orientation">vertical</property> | |
<property name="margin-start">15</property> | |
<child> | |
<object class="GtkLabel" id="message1"> | |
<attributes> | |
<attribute name="weight" value="bold" /> | |
<attribute name="scale" value="2.0" /> | |
</attributes> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: tz_world.sqlite | |
tz_world.sqlite: tz_world.zip /usr/bin/spatialite_tool | |
unzip tz_world.zip | |
spatialite_tool -i -shp world/tz_world -t tz_world -d tz_world.sqlite -c CP1252 | |
rm -r world | |
tz_world.zip: /usr/bin/curl | |
curl "http://efele.net/maps/tz/world/tz_world.zip" -o tz_world.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Transportation = { | |
CAR: 0, | |
BIKE: 1, | |
PEDESTRIAN: 2 | |
}; | |
Transportation.toString = function toString(transportation) { | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# I put this in /etc/X11/xinit/xinitrc.d/99-touchpad-fixes.sh | |
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Profile" 2 | |
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 4 | |
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Adaptive Deceleration" 4 | |
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Velocity Scaling" 8 | |
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Finger" 35 45 0 | |
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Coasting Speed" 5 15 |
NewerOlder