Skip to content

Instantly share code, notes, and snippets.

😎
Feel the chill

Grzegorz Korba Wirone

😎
Feel the chill
Block or report user

Report or block Wirone

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
@Wirone
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
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/
Array.prototype.slice.call(document.getElementsByTagName('input'))
.forEach(function(inp) {
if(inp.type != 'checkbox') { return; }
inp.checked = true;
});
@Wirone
Wirone / .gitconfig
Last active Jan 16, 2020
GIT & GitFlow aliases for ~/.gitconfig
View .gitconfig
# GIT aliases for ~/.gitconfig file
# @author Grzegorz Korba <grzegorz.korba@codito.net>
# Credits: Miscellaneous places on the Internet...
# GitFlow related sections
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature = feature/
@Wirone
Wirone / page.html
Created Feb 17, 2014
CasperJS onbeforeunload: not catched alert issue
View page.html
<!DOCTYPE html>
<html>
<head>
<title>CasperJS - onbeforeunload issue</title>
<meta name="author" value="Grzegorz 'Wirone' Korba" />
<script type="text/javascript">alert('Just alerting...');</script>
</head>
<body>
<h1>Page without onbeforeunload</h1>
<a class="next" href="page_onbeforeunload.html">Next</a>
You can’t perform that action at this time.