Skip to content

Instantly share code, notes, and snippets.

Feel the chill

Grzegorz Korba Wirone

Feel the chill
View GitHub Profile
Wirone / .gpg with agent for Git commit signing
Last active Mar 16, 2018
GPG key and agent for Git commit signing
View .gpg with agent for Git commit signing
This is working mix of information found on the Internet.
Most tutorials mention obsolete --write-env-file,
so I use simple eval with whole output redirected to /dev/null
in order to silently spawn GPG agent daemon.
Had to use test command mentioned above so GPG asked for key's passphrase (only once).
Got this working on:
- Kubuntu 16.04
Wirone / Chrome history: select all
Last active Mar 16, 2018
Simple script for selecting all items on Chrome's browsing history
View Chrome history: select all
// Select all results in chrome://history-frame/'input'))
.forEach(function(inp) {
if(inp.type != 'checkbox') { return; }
inp.checked = true;
Wirone / .gitconfig
Last active Dec 13, 2020
GIT & GitFlow aliases for ~/.gitconfig
View .gitconfig
# GIT aliases for ~/.gitconfig file
# @author Grzegorz Korba <>
# Credits: Miscellaneous places on the Internet...
# GitFlow related sections
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature = feature/
Wirone / page.html
Created Feb 17, 2014
CasperJS onbeforeunload: not catched alert issue
View page.html
<!DOCTYPE html>
<title>CasperJS - onbeforeunload issue</title>
<meta name="author" value="Grzegorz 'Wirone' Korba" />
<script type="text/javascript">alert('Just alerting...');</script>
<h1>Page without onbeforeunload</h1>
<a class="next" href="page_onbeforeunload.html">Next</a>