I hereby claim:
- I am BobbyWibowo on github.
- I am bobbywibowo (https://keybase.io/bobbywibowo) on keybase.
- I have a public key whose fingerprint is 39AE 53A2 29C2 4717 57FC 53E7 51C3 A1E1 E22D 26CF
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Current recommended method of adding custom packs to Magane is via the Import tab (PR merged to upstream).
Importable JSON config files of my custom packs can be found here: https://magane.fiery.me/configs/. Please read SUBMISSION_REQUEST.txt if you want to request new packs.
If you have imported any packs in this page previously using the older method, please read Upgrading.
#!/usr/bin/env bash | |
ZONE_ID="" | |
EMAIL="" | |
API_KEY="" | |
LOG_FILE="csfip.log" | |
if [ $# -eq 0 ]; then | |
echo "USAGE : csfip.sh <IP_ADDRESS> [MODE=challenge] [...NOTES=Submitted with csfip.sh]" | |
echo "EXAMPLE : csfip.sh 123.44.55.66 block Spam bot" |
# Colors (Arc Dark) | |
colors: | |
# Default colors | |
primary: | |
background: '0x383c4a' | |
foreground: '0xd3dae3' | |
# Normal colors | |
normal: | |
black: '0x4b5164' |
# If `true`, bold text is drawn using the bright color variants. | |
draw_bold_text_with_bright_colors: true | |
# Colors (Materia Dark) | |
colors: | |
# Default colors | |
primary: | |
background: '0x181818' | |
foreground: '0xeff0f1' |
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "nvidia" | |
Inactive "intel" | |
EndSection | |
Section "Device" | |
Identifier "intel" | |
Driver "modesetting" | |
BusID "PCI:0:2:0" |
// TODO | |
const args = process.argv.slice(2) | |
const size = parseFloat(args[0]) | |
const seedtime = parseFloat(args[1]) | |
let seeders = parseInt(args[2]) | |
;(async () => { | |
if (!args.length) | |
throw new Error('Usage: bph.js <size=GB> <seedtime=H> [seeders]') |
server { | |
listen 80; | |
server_name yoursite.com; | |
# set $google_analytics_id and include the google_analytics file below | |
set $google_analytics_id "UA-12345678-9"; | |
include /usr/local/nginx/conf/google-analytics.conf; | |
location / { | |
# your normal config goes here... |
#!/bin/bash | |
MAX_PATH="/sys/class/backlight/intel_backlight/max_brightness" | |
SET_PATH="/sys/class/backlight/intel_backlight/brightness" | |
MAX=$(cat $MAX_PATH) | |
CUR=$(cat $SET_PATH) | |
CURPERCENT=$(printf '%.2f' $(bc -l <<< "$CUR / $MAX * 100")) | |
printf '%s\n' "Backlight: $CUR/$MAX ($CURPERCENT%)" |