Skip to content

Instantly share code, notes, and snippets.

tfnico /
Last active December 22, 2021 13:59
When and how to contact the Git developers

Before you send an email to the Git developers' mailing list

If you are a normal Git user, and you have problems using Git, you can also try:

If you believe you've found a bug in Git for Windows or msysGit (Windows-specific), first check their issue tracker to see if the problem has already been reported. If not, send a message to or visit the online forum version.

tfnico /
Last active September 16, 2020 10:12
Send http request using google-http-client
// Related to
// and
static final HttpTransport HTTP_TRANSPORT = new NetHttpTransport();
public void sendMessage(String url, String params){
final HttpURLConnection connection;
try {
HttpRequestFactory requestFactory = HTTP_TRANSPORT.createRequestFactory();
tfnico /
Last active January 11, 2020 22:57
Working with GitBlit tickets

This is an addendum to GitMinutes #29: James Moger on GitBlit

push HEAD:refs/for/5

This syntax is used for two scenarios.

a. pushing to a ticket that DOES NOT have any commits

b. pushing a rewrite of commits to a ticket that DOES have commits

tfnico / manifest.pp
Last active September 16, 2018 12:56
Puppet recipe for installing Java8 on Debian
class oracle_java8 {
# This follows the recipe from
# adapted with the instructions from
# define a variable for the webupd8team ppa sources list
$webupd8src = '/etc/apt/sources.list.d/webupd8team.list'
exec {'hello':
unless => "/bin/true",
tfnico /
Last active April 12, 2018 21:59
Cross-compiling Rust for raspberry-pi (with system dependencies)

This is a quick guide on how to set up cross-compilation of Rust programs, where you are using Rust libraries that have system level dependencies, like openssl.

We think it's easiest to cross-compile on a 32 bit linux machine. Could be that 64 bit works as well, but since the arm is 32 bit..

Set up cross-compilation according to

It is a bit of work. but make sure you follow the instructions, and keep to the 32 bit options.

tfnico /
Created July 24, 2017 17:14

Keybase proof

I hereby claim:

  • I am tfnico on github.
  • I am tfnico ( on keybase.
  • I have a public key ASDkQGs8RbZYJwhOiWGG4FQnZi7zJlsDf8lgDiDRq3nmKwo

To claim this, I am signing this object:

tfnico / post-receive-email
Created July 27, 2011 06:55 — forked from cmcculloh/post-receive-email
Example of a post receive email file called by a git hook that sends a color coded formatted html email of the git diff
# Copyright (c) 2007 Andy Parkins
# An example hook script to mail out commit update information. This hook
# sends emails listing new revisions to the repository introduced by the
# change being reported. The rule is that (for branch updates) each commit
# will appear on one email and one email only.
# This hook is stored in the contrib/hooks directory. Your distribution
tfnico / console
Last active March 1, 2016 16:19
Phantomjs died while running protractor tests
> node_modules/protractor/bin/protractor src/test/js/e2e/protractor_phantom.js
Starting selenium standalone server...
Selenium standalone server started at
1) homepage should show notification after starting import
tfnico / pom.xml
Last active December 28, 2015 00:19
dummy pom
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="" xmlns=""