This file contains 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 | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=1.9 |
This file contains 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 | |
cmd="am startservice \ | |
-n com.google.wifisetup/.WifiSetupService \ | |
-a WifiSetupService.Connect \ | |
-e ssid '$1' \ | |
-e passphrase '$2'" | |
echo $cmd | |
sesh=`screen -list | grep "Attached" | awk '{print $1;}'` | |
echo $sesh |
This file contains 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
Section "Device" | |
Identifier "GPU AMD Radeon R7" | |
Driver "radeon" | |
BusID "PCI:3:0:0" | |
EndSection | |
Section "Device" | |
Identifier "GPU AMD Radeon R9" | |
Driver "radeon" | |
BusID "PCI:1:0:0" |
This file contains 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
function main(){ | |
var td = [ | |
startDate(), | |
power(), | |
115, | |
water() | |
] |
This file contains 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
❯ yay -S lib32-mesa-git | |
:: Querying AUR... | |
:: Checking for conflicts... | |
:: Checking for inner conflicts... | |
==> Package conflicts found: | |
-> Installing lib32-mesa-git will remove: lib32-mesa | |
[Aur: 1] lib32-mesa-git-18.3.0_devel.104495.93b8b987d0-1 |
This file contains 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
bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |
static uint8_t saved_mods = 0; | |
uint16_t temp_keycode = keycode; | |
// Filter out the actual keycode from MT and LT keys. | |
if ((keycode >= QK_MOD_TAP && keycode <= QK_MOD_TAP_MAX) || (keycode >= QK_LAYER_TAP && keycode <= QK_LAYER_TAP_MAX)) { | |
temp_keycode &= 0xFF; | |
} | |
/* uprintf("KL: kc: %u, tk: %u, col: %u\n", keycode, temp_keycode, record->event.key.col); */ |