Skip to content

Instantly share code, notes, and snippets.

@chittti
chittti / crx-getter.sh
Created April 2, 2017 03:20
Bash script to get chrome extension
#!/bin/bash
# Created by Likhith Chitneni (chittti)
# Thanks to Rob Wu for crxviewer (https://github.com/Rob--W/crxviewer)
# This bash script takes in command line arguments too!
# Arguments can be passed in as
# ./crx-getter.sh <extension-ID> <chrome-version> <OS(1-6)> <arch(1-3)> <chrome(1)/chromium(2)> <stable(1)/unknown(2)>
# Only <extension-id> and <chrome-version> are mandatory, the rest default to linux, x86-64, chrome, stable respectively
if [[ $# -eq 0 ]]; then
@loganvolkers
loganvolkers / Byte Formatting for Google Sheets.md
Last active June 26, 2025 10:21
Byte formatting for Google Sheets
@fnky
fnky / ANSI.md
Last active July 13, 2025 15:24
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@und3fined
und3fined / network.md
Last active April 14, 2025 04:55
Sample Network Configuration

Sample Network Configuration

  • IP: 12.34.56.78
  • Netmask: 255.255.255.0
  • Gateway: 12.34.56.1

Important Information

  • In most cases, you should not need to adjust these files. Instances are normally configured using DHCP. You only really need to change these files if you are trying to enable additional IPs.
  • Changing to the examples below will cause problems if you take a snapshot of an instance and restore it. We recommend reverting back to DHCP before taking a snapshot.
---
Gemfile:
optional:
':development':
- gem: 'github_changelog_generator'
git: 'https://github.com/skywinder/github-changelog-generator'
ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018'
condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')"
- gem: 'puppet_litmus'
git: 'https://github.com/puppetlabs/puppet_litmus.git'
@jonlabelle
jonlabelle / ldap_search_filter_cheatsheet.md
Last active July 10, 2025 01:18
LDAP Search Filter Cheatsheet