Usage:
Workstation:
curl -L https://files.heywoodlh.io/scripts/linux.sh | bash -s -- workstation --ansible --home-manager
Server:
## This Script is intended to be used for Querying remaining time and resetting Terminal Server (RDS) Grace Licensing Period to Default 120 Days. | |
## Developed by Prakash Kumar (prakash82x@gmail.com) May 28th 2016 | |
## www.adminthing.blogspot.com | |
## Disclaimer: Please test this script in your test environment before executing on any production server. | |
## Author will not be responsible for any misuse/damage caused by using it. | |
Clear-Host | |
$ErrorActionPreference = "SilentlyContinue" | |
## Display current Status of remaining days from Grace period. |
Usage:
Workstation:
curl -L https://files.heywoodlh.io/scripts/linux.sh | bash -s -- workstation --ansible --home-manager
Server:
{ config, pkgs, home-manager, nur, mullvad-browser-home-manager, ... }: | |
let | |
system = pkgs.system; | |
browser = if system == "aarch64-linux" then "firefox" else "mullvad-browser"; | |
noproxies = "localhost,127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,100.64.0.0/10,.ts.net"; | |
socksProxy = "some-socks-proxy.example.ts.net"; | |
socksPort = 1080; | |
browser-settings = if browser == "mullvad-browser" then { | |
"browser.compactmode.show" = true; # enable compact bar |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: second | |
namespace: default | |
labels: | |
app.kubernetes.io/name: second | |
app.kubernetes.io/instance: second | |
spec: |
{ | |
description = "example nixos/nix-darwin/home-manager/nix-droid flake"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
darwin = { | |
url = "github:LnL7/nix-darwin/master"; | |
inputs.nixpkgs.follows = "nixpkgs"; | |
}; | |
home-manager = { |
#!/usr/bin/env bash | |
if ! command -v choose > /dev/null | |
then | |
echo 'Please install choose.' | |
fi | |
if ! command -v buku > /dev/null | |
then | |
echo 'Please install buku.' |
The arsenal, armory & library by Maderas (@hackermaderas, #CyberpunkisNow) 6/8/2019 | |
Original / 1st version here: https://pastebin.com/rMw4WbhX | |
___________________________________________________________________________________ | |
# Basic knowledge requirements for Red Teaming, PenTesting, Hacking & Cybersecurity | |
# These are the basic competencies expected (and tested for during the in-person technical interview) by one of the largest, most visible InfoSec companies # on Earth. | |
#!/usr/bin/env bash | |
# Install F-Droid | |
if adb shell pm list packages | grep -q org.fdroid.fdroid | |
then | |
echo 'F-Droid already installed, skipping.' | |
else | |
echo 'Installing F-Droid.' | |
curl -o /tmp/F-Droid.apk https://f-droid.org/F-Droid.apk | |
adb install /tmp/F-Droid.apk |
apiVersion: k0sctl.k0sproject.io/v1beta1 | |
kind: Cluster | |
spec: | |
hosts: | |
- role: controller+worker | |
ssh: | |
address: 100.89.165.64 | |
user: nathanhywd | |
noTaints: true | |
privateInterface: tailscale0 |
adb-scripts
This repository consists of useful adb scripts/commands for the Samsung Galaxy S8.
Feel free to fork this repository and submit your own scripts.