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
#xrandr -q | grep " connected" to find dispplays | |
xrandr --output VGA-1 --brightness 1.1 | |
xrandr --output HDMI-1 --brightness 1.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
sudo apt-get install python3-software-properties | |
sudo apt-get install apt-file | |
sudo apt-file update | |
gksudo gedit /usr/sbin/add-apt-repository | |
----------------------------------------------------------------------------------------------------------------- | |
#!/bin/bash | |
if [ $# -eq 1 ] | |
NM=`uname -a && date` |
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
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key here> |
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 name: volume | |
# Author: glaudistong at gmail.com | |
# depends on: yad, coreutils, pulseaudio | |
ps -ef | grep "yad" | grep -E "Volume [^+\-]" | tr -s " " | cut -d " " -f2 | xargs -i kill "{}" 2>/dev/null | |
DEFAULT_SINK=$(pactl info | grep "Default Sink" | cut -d " " -f3) | |
DEFAULT_SOURCE=$(pactl info | grep "Default Source" | cut -d " " -f3) | |
case "$1" in | |
init) |
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
curl -w '\n' ifconfig.me |
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 | |
############################################################### | |
## ChangeIP.com bash update script | |
############################################################### | |
## Written 3/18/09 by Tom Rinker, released to the Public Domain | |
## Re-write 09/15/2017 by Michael Bierman | |
## I replaced wget with curl so it can work on all macs. | |
## This works with no-ip.com | |
############################################################### |
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 | |
ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//' |
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
//sync file gist |
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
const pool = require('./proxies.js') | |
const useProxy = require('puppeteer-page-proxy') | |
const fs = require('fs') | |
const sh = require('shelljs') | |
const regex = /.*@[a-z]*\.[a-z]{2,3}:\S*/gim | |
const Counts = require('./.count.json') | |
const random_useragent = require('random-useragent'); | |
const argv = require('yargs') | |
.option('source', { | |
alias: 's', |
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
3e6a40dbb2d96e13ca74d18241698ce313ca1c079b04613b2abf0112 |