Skip to content

Instantly share code, notes, and snippets.

@cormullion
cormullion / julia-hacktoberfest.jl
Last active October 4, 2020 15:12
julia-hacktoberfest.jl
using Luxor, Thebes, Zalgo
leafverts = convert.(Point3D, Point[Point(-22.25390625, 44.8359375), Point(-42.9765625, 26.78515625), Point(-43.40625, 26.03125), Point(-35.67578125, 21.640625), Point(-35.66015625, 21.33984375), Point(-50.12109375, 7.46875), Point(-52.17578125, 4.1328125), Point(-47.66796875, 1.4140625), Point(-47.66015625, 1.17578125), Point(-61.1015625, -27.94140625), Point(-60.84375, -29.23828125), Point(-35.09375, -24.734375), Point(-34.35546875, -25.7109375), Point(-21.59375, -13.56640625), Point(-21.11328125, -13.94921875), Point(-22.65625, -40.26953125), Point(-22.44921875, -40.9609375), Point(-1.359375, -62.5703125), Point(-0.55078125, -62.203125), Point(5.35546875, -82.87109375), Point(5.80859375, -82.890625), Point(10.83203125, -62.71484375), Point(10.69921875, -61.34375), Point(29.7734375, -42.10546875), Point(30.01171875, -41.58203125), Point(24.234375, -13.328125), Point(24.4140625, -13.02734375), Point(36.2734375, -21.5625), Point(37.09375, -21.87109375), Point(57.6875, -23.015625),
@payloadartist
payloadartist / firefox.sh
Last active February 6, 2021 20:42
Enumerate sub-domains, then open them in Firefox automatically. Useful for taking a quick glance at target's assets, and make notes, while doing recon.
# ------Instructions---------
# Install (and configure) subfinder, assetfinder, and httprobe
# go get -v github.com/projectdiscovery/subfinder/cmd/subfinder && go get -v github.com/tomnomnom/httprobe && go get -v github.com/tomnomnom/assetfinder
# cat firefox.sh >> ~/.bashrc
# source ~/.bashrc
# Usage - subf_ff target.tld
# asset_ff target.tld
subf_ff () {
subfinder -d $1 -silent -t 100 | httprobe -c 50 | sort -u | while read line; do firefox $line; sleep 10; done
@jkrumbiegel
jkrumbiegel / distance_grid.jl
Created January 31, 2020 17:34
get a grid of distances and durations between one location and a grid of locations
using HTTP
using Dates
using Printf
using JSON
using DataFrames
using CSV
hbf_location = "53.5527704,10.0065856"
@crazy-max
crazy-max / release.yml
Created December 2, 2019 09:11
Workflow to release a GitHub Action
name: release
on:
push:
branches-ignore:
- '**'
tags:
- 'v*.*.*'
jobs:
@lizthegrey
lizthegrey / attributes.rb
Last active February 24, 2024 14:11
Hardening SSH with 2fa
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'
@simpsoka
simpsoka / Leadership-CI.md
Last active December 20, 2023 15:40
This is a list of questions to check our decision making.

Do I want to die on this hill?

  • Pass: This is morally good and if not handled has long term consequences
  • Fail: This if self serving

Am I including everyone?

  • Pass: My ego is not driving this conversation
  • Fail: The people in this conversation will only tell me I'm right and not push back
@seanh
seanh / html_tags_you_can_use_on_github.md
Last active May 3, 2024 14:57
HTML Tags You Can Use on GitHub

HTML Tags You Can Use on GitHub

Wherever HTML is rendered on GitHub (gists, README files in repos, comments on issues and pull requests, ...) you can use any of the HTML elements that GitHub Flavored Markdown (GFM) provides syntactic sugar for. You can either use the syntactic sugar that GFM (or other GitHub-supported markup language you're using) provides or, since Markdown can contain raw HTML, you can enter the HTML tags manually.

But GitHub also allows you to use a few HTML elements beyond what Markdown provides by entering the tags manually, and some of them are styled with CSS. Most raw HTML tags get stripped before rendering the HTML. Those tags that can be generated by GFM syntactic sugar, plus a few more, are whitelisted. These aren't documented anywhere that I can find. Here's what I've discovered so far:

<details> and <summary>

A `<detai

@tzmartin
tzmartin / Info.plist
Created June 24, 2017 19:31 — forked from nathankerr/Info.plist
Registering a Go app as a protocol handler under Mac OS X
<?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>CFBundleExecutable</key>
<string>myapp</string>
<key>CFBundleIdentifier</key>
<string>com.pocketgophers.myapp</string>
<key>CFBundleURLTypes</key>
<array>
#supson.jl
type ツ; end
_(::Type{ツ}) = ツ
*(::Type{ツ}, ::Function) = ツ
type ⎺; end
Base.:\(::Type{⎺},::Type{ツ}) = ツ
Base.:/(::Type{ツ},::Type{⎺}) = true
⎺\_(ツ)_/⎺ #==> true