Skip to content

Instantly share code, notes, and snippets.

View SethCalkins's full-sized avatar

Seth Calkins SethCalkins

View GitHub Profile
@SethCalkins
SethCalkins / wifipass.bat
Created April 12, 2017 00:02 — forked from matejskubic/wifipass.bat
Windows 10 WiFi password
netsh wlan show profiles
netsh wlan show profiles name="%1" key=clear
@SethCalkins
SethCalkins / DockerFix.md
Created January 31, 2017 14:16
Fix for macOS 10.12 Docker Start Problem w/ Helper

sudo launchctl load -wF /Library/LaunchDaemons/com.docker.vmnetd.plist

/Applications/Chatology.app/Contents/MacOS/Chatology:	file format Mach-O 64-bit x86-64

Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
MH_MAGIC_64  X86_64        ALL LIB64     EXECUTE    38       5032   NOUNDEFS DYLDLINK TWOLEVEL PIE
Load command 0
      cmd LC_SEGMENT_64
  cmdsize 72
@SethCalkins
SethCalkins / .md
Created December 11, 2016 07:37
Fix for .app "is damaged and can't be opened"

This is a fix for MAC OS Complaining about Damaged App

Run Following on Application

Example

xattr -rc /Applications/MyApp.app

Source

The best way to store your dotfiles: A bare Git repository

Disclaimer: the title is slightly hyperbolic, there are other proven solutions to the problem. I do think the technique below is very elegant though.

Recently I read about this amazing technique in an [Hacker News thread][1] on people's solutions to store their [dotfiles][2]. User StreakyCobra [showed his elegant setup][3] and ... It made so much sense! I am in the process of switching my own system to the same technique. The only pre-requisite is to install [Git][4].

In his words the technique below requires:

@SethCalkins
SethCalkins / LittleSnitch_Block_List.md
Last active January 5, 2023 05:17
Little Snitch Script to block Ad Servers

Here is a script to take the hosts from From http://pgl.yoyo.org/adservers/ and convert them to rules for Little Snitch.

It has options to grab the entire list or grab new entries past a certain date.

Just grab the output and copy/paste into Little Snitch.

The script is written to block access to any process, any port. You can also delete those lines and it will only block Mail. Or use the options to enter any process, port or protocol you want to block.

@SethCalkins
SethCalkins / Requirements.md
Created October 13, 2016 19:02 — forked from corburn/Requirements.md
Requirements Document

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

SHALL follow the semantic versioning rules as layed out in the Semantic Versioning Specification version 2.0.0 SEMVER.

@SethCalkins
SethCalkins / 0_reuse_code.js
Created August 23, 2016 22:51
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@SethCalkins
SethCalkins / crack_rec.md
Last active March 30, 2017 09:35
OSX Software
一Software Crack Method
  1. Locate the corresponding version of the command
    1. Open a terminal or iterm2
  2. Close the software
  3. Run
  4. Reopen Software
Sublime Text

| Version | Command |

@SethCalkins
SethCalkins / material-theme.itermcolors
Created December 27, 2015 21:40 — forked from xinan/material-theme.itermcolors
Material Theme iTerm2 Port
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.25882352941176467</real>
<key>Green Component</key>
<real>0.21176470588235294</real>