Quantcast
Channel: Recent Gists from brainsik
Browsing latest articles
Browse All 30 View Live
↧

ambient steampunk

gistfile1.txt 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...

View Article


Keep per virtualenv postactivate scripts in WORKON_HOME

postactivate 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...

View Article


Override Python's dict with this for JS style dot notation access :-)

dotdict.py 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...

View Article

hack so mkvirtualenv uses a different interpreter

example.sh 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...

View Article

ANSI colored Python logging

color_log.py 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...

View Article


A simple way for Python cron tasks to exit if another process is currently...

gistfile1.py 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...

View Article

Solves the "coding" challenge at letsrevolutionizetesting.com

curlit.sh 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...

View Article

Monocle Twisted Redis subscriber

monocle_tx_redis_sub.py 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...

View Article


SublimeText 3 Preferences

Preferences.sublime-settings 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...

View Article


My ST3 Python settings

Python.sublime-settings 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...

View Article

Quick logging config for Python shell

get_me_loggin.py 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...

View Article

TLS notes

tls-notes.mdServer configMozilla Operations Security (OpSec) team:Cipher suite: Modern compatibilityGeneral server config: NginxStrong SSL Security on nginxGenerate new Ephemeral Diffie-Hellman (DHE)...

View Article

Reproducing Terraform GH Issue #4488

terraform.log 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...

View Article


Reproducing Terraform GH Issue #5290

terraform.log 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...

View Article

Keybase proof of GitHub identity

keybase.mdKeybase proofI hereby claim:I am brainsik on github.I am brainsik (https://keybase.io/brainsik) on keybase.I have a public key whose fingerprint is 5D80 FC62 9CEF 8FAE 737C DDED 19A1 D142...

View Article


OpenSSL client commands

openssl-cli-notes.mdConnect to TLS endpoint w/SNIecho | openssl s_client -connect $site:$port -servername $site Show certificate expiration datesecho | openssl s_client -connect $site:$port -servername...

View Article

Postfix - secure relaying to smarthost

main.cf 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...

View Article


Command to add a CA to your Java key store

add-ca-to-java.sh 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...

View Article

Stubby config for Quad9

stubby.yml 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...

View Article

Ubiquiti ER-X Notes

ubnt-erx-notes.mdGuidesGeneralMike Potts guideLarry Land guideSpecificAirport guest network VLANCloudflare DDNSBootloader bugThere is an initialization issue in the bootloader for the ER-X causing all...

View Article

Terraform debug output for Issue terraform-providers/terraform-provider-aws#5315

terraform-debug.txt 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...

View Article


Takes a list of VPC names and outputs their ID and CIDR

cidrs.tf 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...

View Article


Minimalist Infrastructure

minimal-infra.mdMinimalismMinimalist infrastructure is the practice of building only what you need with the fewest number of resources. This is a philosophy, not a religion, you shouldn't build bad...

View Article

How to install an older version of a Homebrew forumla

install-tf-11-14.sh 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...

View Article

Installs the AWS Terraform provider to your local plugins directory

install-terraform-provider-aws.sh 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...

View Article


Upload a file to B2 Cloud Storage using SSE-C (customer managed key)

b2-cp.mdGenerate keydd if=/dev/random of=keyfile count=1 bs=32Upload fileEndpoint is found in the bucket details via console.aws --profile=b2 s3 \ cp <src> s3://<bucket>/ \ --sse-c=AES256...

View Article

My trashy CSS to make Obsidian use the fonts I like

font.css 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...

View Article

Create a static HTML archive of a MediaWiki site.

httrack-mediawiki.sh 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...

View Article

Darktide - Armoury Exchange - filter rules

rules.json 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...

View Article



NixOS / Nix notes

README.mdNotes from running NixOS in a local VM.The attached configuration.nix sets users immutable to force managing them through the config. The primary user is added to the wheel group and the wheel...

View Article
Browsing latest articles
Browse All 30 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>