Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
--[[ | |
Resolve Twitch channel and video URLs to the actual media URL | |
Author: furious | |
How to install? https://wiki.videolan.org/Documentation:Building_Lua_Playlist_Scripts | |
Don't forget to remove the old "twitch.luac" plugin | |
OBS: You can choose which quality you want just add ":option" in the url. | |
If the option isn't available it will fallback to the best quality as normal. | |
You can also check the console log to see all available quality options. |
package main | |
import ( | |
"net/http" | |
"io/ioutil" | |
"time" | |
"log" | |
"os" | |
) |
#!/bin/bash | |
DOMAIN=$1 | |
PORT=$2 | |
TYPES=(A CNAME) | |
# resolve zone id | |
ZONE=$(aws route53 list-hosted-zones --query 'HostedZones[?Name==`'$DOMAIN'.`].Id' --output text) | |
if [[ -z "$ZONE" ]]; then | |
echo "Unrecognized domain: $1" >&2 |
#!/usr/bin/sudo ruby | |
# | |
# revealer.rb -- Deobfuscate GHE .rb files. | |
# | |
# This is simple: | |
# Every obfuscated file in the GHE VM contains the following code: | |
# | |
# > require "ruby_concealer.so" | |
# > __ruby_concealer__ "..." |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
# save this file in /etc/default/unicorn_app | |
USER=app_user | |
APP_ROOT=/srv/app | |
RVM_STRING=2.2.4@app_gemset | |
RACK_ENV=production | |
UNICORN_OPTS="-D -c /srv/app/shared/config/unicorn.rb -E production" | |
DAEMON=unicorn |
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### OR take a look at | |
### https://github.com/HotCakeX/Harden-Windows-Security |
# | |
# | |
# The Seedbox From Scratch Script | |
# By Notos ---> https://github.com/Notos/ | |
# | |
# | |
###################################################################### | |
# | |
# Copyright (c) 2013 Notos (https://github.com/Notos/) | |
# |
function styleDelta(a, b) { | |
var aStyles = window.getComputedStyle(a) | |
, bStyles = window.getComputedStyle(b) | |
, delta = {} | |
Object.keys(aStyles).forEach(function(key) { | |
var aVal = aStyles[key] | |
, bVal = bStyles[key] | |
if (aVal != bVal) { |