start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/sh | |
# | |
# Script for updating spDYN dynamic DNS entries (https://spdyn.de) | |
# | |
# Usage: | |
# - Save this script as $HOME/bin/spDYN_update.sh | |
# - Make it executable: chmod u+x $HOME/bin/spDYN_update.sh | |
# - Create a cron entry (crontab -e) and supply <HOST_NAME> and <UPDATE_TOKEN> | |
# according to your spDYN settings. Example for running every 10 minutes: | |
# */10 * * * * $HOME/bin/spDYN_update.sh <HOST_NAME> <UPDATE_TOKEN> > /dev/null |
#!/bin/sh | |
# Build and install Airwave64 | |
# https://github.com/rodlie - <[email protected]> | |
# | |
CWD=`pwd` | |
AIRWAVE_GIT="https://github.com/phantom-code/airwave" | |
AIRWAVE_COMMIT="8cd3507a46c2f7809a2ef8481cbded7dcbbae8ff" | |
VST_V="369_01_03_2018_build_132" |
########## | |
# Tweaked Win10 Initial Setup Script | |
# Primary Author: Disassembler <[email protected]> | |
# Modified by: alirobe <[email protected]> based on my personal preferences. | |
# Version: 2.20.2, 2018-09-14 | |
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
# Tweak difference: | |
# | |
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ... |
/dev/sdb
. Delete all partitions, create a new one taking up all the space, set type to NTFS (7), and remember to set it bootable:# cfdisk /dev/sdb
or fdisk /dev/sdb (partition type 7, and bootable flag)
#!/usr/bin/env lua | |
-- Awoo Tool by @wolfiestyle | |
-- license: MIT/X11 | |
-- demo: https://twitter.com/wolfiestyle/status/767124329461084161 | |
local lgi = require "lgi" | |
local Gtk = lgi.Gtk | |
local GLib = lgi.GLib | |
local window = Gtk.Window{ | |
title = "awoo tool v0.1-alpha", |
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
ceph -w | |
ceph health detail | |
ceph osd df | |
ceph osd find | |
ceph osd blocked-by | |
ceph osd pool ls detail | |
ceph osd pool get rbd all | |
ceph pg dump | grep pgid | |
ceph pg pgid |
#!/bin/bash | |
# takes desired critical percentage as first argument and | |
# charged percentage as second, both with default values. | |
# example usages: | |
# | |
# framework_powerled_color.sh | |
# framework_powerled_color.sh 10 | |
# framework_powerled_color.sh 10 98 | |
# |