Skip to content

Instantly share code, notes, and snippets.

View infinityplusone's full-sized avatar

Jonathan "Yoni" Knoll infinityplusone

View GitHub Profile
@vdavez
vdavez / naics.json
Created March 12, 2024 13:56
SBA Table Size Standards
[
{
"code": 111110,
"description": "Soybean Farming",
"sector": {
"id": 11,
"description": "Agriculture, Forestry, Fishing and Hunting"
},
"subsector": {
"id": 111,
@jaredcunha
jaredcunha / deploy-jekyll.sh
Created May 23, 2018 19:07
If you're using an unsupported 3rd party gem on a Jekyll site you are hosting with GitHub pages…
rm -rf _site
bundle exec jekyll build
cd _site
git init
git remote add origin https://github.com/[username]/[repo_name].git
git checkout -b gh-pages
git add -A
git commit -m "update site"
git push -f origin gh-pages
cd ../
@carlessanagustin
carlessanagustin / Nginx_Cheat_Sheet.md
Last active April 18, 2024 20:18
Nginx Cheat Sheet
@furf
furf / cardFactory.html
Last active August 29, 2015 14:11
Prototypal factory
<!DOCTYPE html>
<html>
<head>
<title>CardFactory</title>
</head>
<body>
<script src="http://code.jquery.com/jquery.js"></script>
<script>
;(function(window, document, $) {
@jonathantneal
jonathantneal / README.md
Last active March 19, 2024 23:31
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
@grenade
grenade / 01-generate-ed25519-ssh-key.sh
Last active April 14, 2024 14:27
generate ed25519 ssh and gpg/pgp keys and set file permissions for ssh keys and config
#!/bin/bash
# generate new personal ed25519 ssh key
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <rthijssen@gmail.com>"
# generate new host cert authority (host_ca) ed25519 ssh key
# used for signing host keys and creating host certs
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network
eval "$(ssh-agent -s)"
@tuzz
tuzz / github.css
Last active April 23, 2024 15:47
Github Markdown Stylesheet
/*
Copyright (c) 2017 Chris Patuzzo
https://twitter.com/chrispatuzzo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@cowboy
cowboy / ba-smallwalker.js
Created May 5, 2011 21:27
Small Walker: A small and simple JavaScript DOM walker
/*!
* Small Walker - v0.1.1 - 5/5/2011
* http://benalman.com/
*
* Copyright (c) 2011 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Walk the DOM, depth-first (HTML order). Inside the callback, `this` is the