Skip to content

Instantly share code, notes, and snippets.

View hpoul's full-sized avatar
🚴

Herbert Poul hpoul

🚴
View GitHub Profile
image: google/dart:1.22.0
stages:
- build
- deploy
# before_script:
# - apt-get update -qy
# - apt-get install unzip
# - wget https://storage.googleapis.com/dart-archive/channels/stable/release/30107/sdk/dartsdk-linux-x64-release.zip

Keybase proof

I hereby claim:

  • I am hpoul on github.
  • I am hpoul (https://keybase.io/hpoul) on keybase.
  • I have a public key whose fingerprint is 391A D710 FA53 5534 975D 609A 3F55 DC43 BC36 16F4

To claim this, I am signing this object:

@hpoul
hpoul / fiddle.html
Last active August 29, 2015 14:26
Photoshop Asset Generator Layer name generator for android assets http://jsfiddle.net/gh/gist/jquery/edge/4acadb7a1c5e6fbb10e8/
<p>Enter for example: 24x24 test.png</p>
<input type="text" name="basesize" id="basesize" />
<div class="output">
</div>
@hpoul
hpoul / NuProcessProblem.java
Created September 3, 2014 16:12
NuProcess - Possible race condition on linux with fast exiting processes
package playground;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.ExecutionException;
@hpoul
hpoul / worktrail_to_gcal.py
Created August 31, 2014 20:45
Convert WorkTrail work entries CSV files into Google Calendar CSV files / Get your Time Tracking results from https://worktrail.net/ to Google Calendar.
#!/usr/bin/python
# Converts work entries as exported by WorkTrail into a CSV format readable
# by Google Calendar.
#
# WorkTrail format as used in https://worktrail.net/
# -> Reports and Administration -> Work Reports -> Download as CSV
#
# Google Calendar format as described at
# https://support.google.com/calendar/answer/45656?hl=en
@hpoul
hpoul / gist:b7ab5b58c32c7dfd463d
Created August 21, 2014 15:35
NuProcessKillProblem.java
import java.util.concurrent.TimeUnit;
import com.zaxxer.nuprocess.NuAbstractProcessHandler;
import com.zaxxer.nuprocess.NuProcess;
import com.zaxxer.nuprocess.NuProcessBuilder;
public class TestSigAbrtProcess {
public static void main(String[] args) {
/*
@hpoul
hpoul / designer.html
Created June 25, 2014 19:18
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">