Skip to content

Instantly share code, notes, and snippets.

@JoshFerge
JoshFerge / delete-chrome
Last active December 18, 2020 19:47
Delete Chrome and Keystone Files
rm -rf /Users/$(whoami)/Library/Google
rm -rf /Users/$(whoami)/Library/LaunchAgents/com.google.keystone.agent.plist
rm -rf /Users/$(whoami)/Library/LaunchAgents/com.google.keystone.xpcservice.plist
rm -rf /Users/$(whoami)/Library/Application Support/Google
rm -rf /Users/$(whoami)/Library/Preferences/com.google.Chrome.plist
rm -rf /Users/$(whoami)/Library/Preferences/com.google.Keystone.Agent.plist
rm -rf /Users/$(whoami)/Library/Caches/com.google.Chrome
rm -rf /Users/$(whoami)/Library/Caches/com.google.Keystone.Agent
rm -rf /Users/$(whoami)/Library/Caches/com.google.SoftwareUpdate
@JoshFerge
JoshFerge / README.md
Created September 27, 2016 04:12 — forked from Jverma/README.md
Bar chart from external JSON file

A simple bar chart build using data from an external JSON file.

function sumArray(array) {
var sum = 0;
for (var i = 0; i < array.length; i++) {
sum += array[i];
}
return sum;
}
console.log(sumArray([1,13,2,1,5]));
@JoshFerge
JoshFerge / README.md
Last active August 29, 2015 14:21 — forked from mbostock/.block
function updateData(urlslist,callback) {
var i = 0;
var json = [];
var g = $.Deferred()
.done(callback);
urlslist.forEach(function(d) {
anno uomo donna
2003 35.3 24.9
2005 37.1 26.9
2006 39.5 29
2007 42.3 31.7
2008 45.8 35
2009 49.8 39.4
2010 54.6 43.6
2011 56.6 46.7
2012 58.3 47
We couldn’t find that file to show.