Skip to content

Instantly share code, notes, and snippets.

Przemysław Pawełczyk przemoc

Block or report user

Report or block przemoc

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
cold-logic / Humble-Bundle-Books.js
Created Oct 24, 2017
Export a list of Humble Bundle eBooks
View Humble-Bundle-Books.js
let a = [], b // Setup local vars
console.clear() // Clear the console
// For each item
$(".gameinfo").each(function() {
// Get the title & subtitle
let title = $(this).find('.title').text().trim()
let subtitle = $(this).find('.subtitle').text().trim()
a.push(`${title} - ${subtitle} #Humble`)
// Add the download URLs
kfatehi / hb_all_books_dl.js
Last active Oct 19, 2019 — forked from graymouser/hb_all_books_dl.js
Humble bundle book bundles - download all books at once
View hb_all_books_dl.js
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
this fork downloads all formats and does so without using jquery (since that didnt work for me)
note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this
type “about:plugins” in the address bar and disable chrome's pdf viewer
var pattern = /(MOBI|EPUB|PDF)$/i;
avish / avoid-self-ref-mergeinfo.patch
Created Jun 20, 2012
[PATCH] git svn dcommit: avoid self-referential mergeinfo
View avoid-self-ref-mergeinfo.patch
Date: Wed, 14 Mar 2012 17:45:05 +0200
Subject: [PATCH] git svn dcommit: avoid self-referential mergeinfo
When svn.pushmergeinfo is configured, git svn dcommit tries to automatically populate svn:mergeinfo properties by merging the parent branch's mergeinfo into the committed one on each merge commit. This process can add self-referential mergeinfo lines, i.e. ones that reference the same branch being committed into (e.g. when reintegrating a branch to trunk after previously having merged trunk into it), which are then mishandled by SVN and cause errors in mixed SVN/Git environments.
For more details, see my original report on the issue at [1].
This commit adds a step to git svn dcommit that filters out any mergeinfo lines referencing the target branch from the mergeinfo, thus avoiding the problem.
You can’t perform that action at this time.