Skip to content

Instantly share code, notes, and snippets.

View marknorgren's full-sized avatar

Mark Norgren marknorgren

View GitHub Profile
@marknorgren
marknorgren / git_talk.md
Last active February 11, 2018 00:13 — forked from tlberglund/gist:3208768
Live Log Script Git

$while true; do clear; tree -a; sleep 1; done

#!/bin/bash
while :
do
    clear
 git --no-pager log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative $1
shutdown.exe /r /t 00 /f
pause
const express = require("express");
const app = express();
app.use(express.static('public'));
app.get("/", function(req, res) {
res.sendFile( __dirname + '/index.html');
});

React Native Live

June 30, 2016

76th Frontend Masters Workshop

Scott Moss

  • @scotups
  • Github - @Hendrixer
  1. Is bitcode enabled?
  2. Build Active Arch only enabled ?
  3. Clear Derived Data?
@marknorgren
marknorgren / minimal-vim.sh
Created March 31, 2016 00:18 — forked from subdigital/minimal-vim.sh
minimal vim setup for linux servers / vms + swift
#! /bin/bash
set -e
if [[ -f ~/.vimrc ]]
then
echo "You already have a ~/.vimrc. Aborting to avoid losing data..."
exit 1
fi
1. Install Vagrant
2. `vagrant up`
3. Vagrantfile
```vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
@marknorgren
marknorgren / .babelrc
Created March 24, 2016 16:21
.babelrc
{
"presets": ["react", "es2015"]
}