Skip to content

Instantly share code, notes, and snippets.

naufragio del desastre linda metafísico de producción oncall compwron

Block or report user

Report or block compwron

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
compwron / ExportKindle.js
Created Dec 21, 2019 — forked from jkubecki/ExportKindle.js
Amazon Kindle Export
View ExportKindle.js
// The following data should be run in the console while viewing the page
// It will export a CSV file called "download" which can (and should) be renamed with a .csv extension
var db = openDatabase('K4W', '3', 'thedatabase', 1024 * 1024);
getAmazonCsv = function() {
// Set header for CSV export line - change this if you change the fields used
var csvData = "ASIN,Title,Authors,PurchaseDate\n";
db.transaction(function(tx) {
compwron /
Created Dec 29, 2016 — forked from rameshbaskar/
Replacing Firefox driver to PhantomJS driver
// Current Implementation - Using FirefoxDriver
public static void before() {
driver = new FirefoxDriver();
admin = new AdminApi();
user = new UserApi(driver);
screen = new ScreenApi(driver);
compwron / .gitconfig
Created Dec 22, 2015 — forked from pksunkara/.gitconfig
Sample of git config file (Example .gitconfig)
View .gitconfig
name = Pavan Kumar Sunkara
email =
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
smtpencryption = tls
smtpserver =
compwron /
Last active Aug 29, 2015 — forked from DanHerbert/
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

If you just want to fix the issue quickly, scroll down to the "solution" section below.

Explanation of the issue

If you're a Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g, you may see an error like this:

$ npm update npm -g
You can’t perform that action at this time.