sudo pacman -Sy xorg-input
xinput list
xinput disable <ID>
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
@import QuartzCore.QuartzCore; | |
@interface CAMediaTimingFunction (TWTEasingFunctions) | |
+ (instancetype)twt_sineEaseInFunction; | |
+ (instancetype)twt_sineEaseOutFunction; | |
+ (instancetype)twt_sineEaseInOutFunction; | |
+ (instancetype)twt_quadraticEaseInFunction; | |
+ (instancetype)twt_quadraticEaseOutFunction; | |
+ (instancetype)twt_quadraticEaseInOutFunction; | |
+ (instancetype)twt_cubicEaseInFunction; |
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 | |
clear | |
wlanmax=$(ifconfig wlan0 | grep "inet addr:" | cut -d: -f2 | awk '{print $1};' | awk -F. '{print $1"."$2"."$3".1/24"};') | |
echo "Grabbing inet address..." | |
echo "Grabbing gatemask..." | |
nmap -sP $wlanmax | grep "Nmap scan report for" | awk '{system("ssh -t -t -o ConnectTimeout=5 root@"$5)};' | |
echo "Done" |
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
import re | |
import json | |
from half_json.core import JSONFixer | |
def json_fixer(data: str) -> str: | |
# define a mapping of full-width punctuation to half-width punctuation | |
punctuation_map = { | |
"!": "!", |
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
conky.config = { | |
alignment = 'top_left', | |
use_xft = true, | |
xftalpha = 0.8, | |
font = 'Ubuntu Mono:size=12', | |
text_buffer_size = 2048, | |
update_interval = 1.0, | |
total_run_times = 0, | |
background = true, | |
double_buffer = true, |