Skip to content

Instantly share code, notes, and snippets.

View jerdog's full-sized avatar
🎸
Rockin' in the free world!

Jeremy Meiss jerdog

🎸
Rockin' in the free world!
View GitHub Profile

Git processes I forget

Sometimes I forget this shit... So easy to hold onto it instead of constantly googling.

Pushing to a new remote repo.md

git init
git add -A
git commit -m ""
git remote add origin git@github.com:jerdog/my-new-project.git
# CircleCI NodeJS Starter Config
version: 2.1
jobs:
test:
docker:
- image: cimg/node:lts
steps:
- checkout
- run:
name: Install dependencies
# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
version: 2.1
orbs:
node: circleci/node@4.1
jobs:
deploy:
docker:
- image: cimg/node:16.6.0
"""
Connect to Orbit API using this module
"""
from invoke import task
from product_el.data_utils import utils # type: ignore
from product_el.snowflake import snow_connect # type: ignore
config = utils.load_config()
@jerdog
jerdog / json2csv.js
Created September 19, 2019 02:35 — forked from jeshuamaxey/json2csv.js
Small script to convert json data to csv
/*
* Small script to convert json data to csv
*/
var fs = require('fs');
var os = require('os');
//name of files
var dataFile = 'data.json';
var outputFile = 'output.csv';
@jerdog
jerdog / github-org-collaborators.js
Last active September 5, 2018 17:18
File to query the GitHub API for all contributors in an organization by each repo in that organization. Uses Webtask.io to run, courtesy of @kukicado.
// must replace:
// {YOUR-ACCESS-TOKEN} with your GitHub API access token
// {YOUR-ORG-NAME} with the GitHub organization to query
// Courtesy of @kukicado
// Running via Webtask.io
let express = require('express');
let Webtask = require('webtask-tools');
let axios = require('axios');
@jerdog
jerdog / openpgp.txt
Created September 2, 2017 03:19
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:17a6238d40012462275a1bbdac51d19efc46d62d]
@jerdog
jerdog / openpgp.txt
Created September 2, 2017 03:19
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:17a6238d40012462275a1bbdac51d19efc46d62d]
@jerdog
jerdog / openpgp.txt
Created September 2, 2017 03:19
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:17a6238d40012462275a1bbdac51d19efc46d62d]
@jerdog
jerdog / jeremylinks.md
Last active September 28, 2017 19:48
Jeremy's links