Skip to content

Instantly share code, notes, and snippets.


Jim Frenette jimfrenette

View GitHub Profile
jimfrenette / package.json
Created Aug 13, 2018 — forked from coryhouse/package.json
Example of pre and post scripts in package.json
View package.json
"name": "npm-scripts-example",
"version": "1.0.0",
"description": "npm scripts example",
"scripts": {
"prebuild": "echo I run before the build script",
"build": "cross-env NODE_ENV=production webpack",
"postbuild": "echo I run after the build script"
#script extraido de:
#tip for better "resolution" here:
cd /usr/share/fonts/truetype/
#TODO: put validation if folder already exists
sudo mkdir ttf-monaco
jimfrenette /
Created Jan 26, 2018 — forked from MrTrustor/
This script cleans the Docker.qcow2 file that takes a lot of disk space with Docker For Mac. You can specify some Docker images that you would like to keep.
# Copyright 2017 Théo Chamley
# 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:
# The above copyright notice and this permission notice shall be included in all copies or
View ssh-agent-utils.ps1
# SSH Agent Functions
# Mark Embling (
# How to use:
# - Place this file into %USERPROFILE%\Documents\WindowsPowershell (or location of choice)
# - Import into your profile.ps1:
# e.g. ". (Resolve-Path ~/Documents/WindowsPowershell/ssh-agent-utils.ps1)" [without quotes]
# - Enjoy
# Note: ensure you have ssh and ssh-agent available on your path, from Git's Unix tools or Cygwin.
You can’t perform that action at this time.