- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts (default)
- https://mirror1.malwaredomains.com/files/justdomains (default)
- http://sysctl.org/cameleon/hosts (default)
- https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist (default)
- https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt (default)
- https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt (default)
- https://hosts-file.net/ad_servers.txt (default)
- https://raw.githubusercontent.com/FadeMind/hosts.extras/master/StreamingAds/hosts
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
#Get the repo up to date | |
sudo apt-get update | |
sudo apt-get upgrade | |
#Mount the disk in Virtual Box | |
#Right click on the drive and click, "Open with Root Terminal" | |
#Install Prereqs | |
apt-get install build-essential module-assistant |
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 time | |
import board | |
import neopixel | |
import math | |
import rotaryio | |
import board | |
import digitalio | |
import adafruit_rgbled | |
import busio | |
import adafruit_midi |
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 time | |
import board | |
import neopixel | |
import math | |
import rotaryio | |
import board | |
import digitalio | |
import adafruit_rgbled | |
import busio | |
import adafruit_midi |
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 | |
# 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 | |
# |
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
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 |
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).
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
#!/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", |
- Install ms-sys - if it is not in your repositories, get it here. Or alternatively, make sure lilo is installed (but do not run the liloconfig step on your local box if e.g. Grub is installed there!)
- Check what device your USB media is assigned - here we will assume it is
/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)
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
########## | |
# 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 ... |
NewerOlder