Skip to content

Instantly share code, notes, and snippets.

View loadlocation.patch
diff --git a/rest/response.go b/rest/response.go
index fb7cbaf..0af3b0e 100644
--- a/rest/response.go
+++ b/rest/response.go
@@ -43,14 +43,12 @@ type Date struct {
// UnmarshalJSON parses datetime strings returned by the transip api
func (tt *Time) UnmarshalJSON(input []byte) error {
- loc, err := time.LoadLocation("Europe/Amsterdam")
- if err != nil {
kevinvalk / issue_collector.html
Last active Jan 28, 2021
Can be used to integrate JIRA issue collector as a iframe form in a page where javascript is not allowed. Call like<JIRA URL>#<ISSUE COLLECTOR ID>.
View issue_collector.html
<!DOCTYPE html>
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
<script type="text/javascript">
function getUrlParameter(name) {
name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');
var results = regex.exec(;
return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
kevinvalk /
Last active Apr 27, 2021 — forked from FlorinAsavoaie/
Updated to better survive crashes and other unexpected behavior.
msysGit to Unix socket proxy
This small script is intended to help use msysGit sockets with the new Windows Linux Subsystem (aka Bash for Windows).
It was specifically designed to pass SSH keys from the KeeAgent module of KeePass secret management application to the
ssh utility running in the WSL (it only works with Linux sockets). However, my guess is that it will have uses for other