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
https://raw.githubusercontent.com/vosh/scripts/master/pacman | |
https://raw.githubusercontent.com/vosh/scripts/master/rallyx | |
https://raw.githubusercontent.com/vosh/scripts/master/slendy | |
https://raw.githubusercontent.com/vosh/scripts/master/invaders |
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 | |
exec 3<> /dev/tcp/${1:-www.cyberciti.biz}/80 | |
printf "GET / HTTP/1.0\r\n" >&3 | |
printf "Accept: text/html, text/plain\r\n" >&3 | |
printf "Accept-Language: en\r\n" >&3 | |
printf "User-Agent: nixCraft_BashScript v.%s\r\n" "${BASH_VERSION}" >&3 | |
printf "\r\n" >&3 | |
while read LINE <&3 |
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/sh | |
# install pacaur | |
cd | |
sudo pacman -S --noconfirm wget expac git | |
wget https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz | |
tar -xvf cower.tar.gz | |
cd cower | |
makepkg --skipinteg | |
sudo pacman -U cower-14-2-x86_64.pkg.tar.xz |
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
# If the server has ffmpeg: | |
## For the server: | |
ffmpeg -f fbdev -i /dev/fb0 -f avi pipe:1 | nc -l -p 1234 | |
## For the viewer: | |
nc 127.0.0.1 1234 | ffplay -i pipe:0 | |
# If the server doesn't have ffmpeg: | |
## For the server: | |
sudo cat /dev/fb0 | nc -l -p 1234 | |
## For the viewer (replace 1920x1080 with the server's resolution): |
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
/* | |
Grabs a screenshot of the root window. | |
Usage : ./scr_tool <display> <output file> | |
Example : ./scr_tool :0 /path/to/output.png | |
Author: S Bozdag <[email protected]> | |
*/ |
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
@rem *** Disable Some Service *** | |
sc stop DiagTrack | |
sc stop diagnosticshub.standardcollector.service | |
sc stop dmwappushservice | |
sc stop WMPNetworkSvc | |
sc stop WSearch | |
sc config DiagTrack start= disabled | |
sc config diagnosticshub.standardcollector.service start= disabled | |
sc config dmwappushservice start= disabled |
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
pcm.!default { | |
type hw | |
card 0 | |
} | |
ctl.!default { | |
type hw | |
card 0 | |
} |
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
double_buffer yes | |
own_window yes | |
own_window_transparent no | |
own_window_type override | |
own_window_hints sticky | |
draw_borders no | |
alignment top_left | |
update_interval 1 | |
default_color 857d59 | |
own_window_colour 1a1a1a |
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
To Compile and Install i3-gaps: | |
git clone https://github.com/Airblader/i3.git && cd i3 | |
sudo apt-get build-dep i3 | |
sudo make && sudo make install | |
To Fix Titlebars: | |
for_window [class="^.*"] border pixel 0 |
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
sudo grep -lr -e 'd64937' * | sudo xargs sed -i 's/d64937/019875/g' |