i3 config
exec --no-startup-id compton -b
.config/compton.conf
Read the README! | |
:) |
git branch \ | |
| grep -v '* master' \ | |
| grep UPT \ | |
| elixir -e 'IO.read(:all) |> String.trim("\n") |> fn args -> "git branch -d #{args}" end.() |> to_charlist |> :os.cmd |> IO.puts' |
require 'json' | |
non_rejected = [] | |
rejected = [] | |
macs = [] | |
results = { | |
:rejected_login_count => 0, | |
:rejected_mac_addrs => [], | |
:common_dates => [], |
set -e | |
echo 'main.go' | entr -sr \ | |
'docker stop $(docker ps -aq) && docker-compose up --build' |
i3 config
exec --no-startup-id compton -b
.config/compton.conf
Navigate to Control Panel-->Programs and Features, click on Turn Windows features on or off.
The select TFTP Client from the check list.
Click ok
Navigate to Control Panel-->Network and Internet-->Network and Sharing Center, click on the left pane Change adapter settings.
Select IPv4 line.
# Easily read my website in your terminal | |
curl -s https://selfup.me | grep ,, | cut -c6- | |
# enjoy! |
wmic cpu get loadpercentage | |
wmic cpu get name,CurrentClockSpeed,MaxClockSpeed | |
systeminfo |
# git sync upstream | |
function gsu() { | |
set -e | |
UPSTREAM_CHECK=$(git remote -v | grep upstream || echo '') | |
if [[ $UPSTREAM_CHECK == '' ]] | |
then | |
echo "NO UPSTREAM SET -- ABORTING" | |
exit 1 | |
fi |
extern crate fut; | |
use fut::{open_file_as_string, write_file}; | |
fn main() { | |
let input = open_file_as_string("./fixtures/input.txt"); | |
let inputs = input.split(""); | |
let mut new_contents: Vec<String> = vec![]; |