This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Command artwork converts the ARTWORK of a talented artist Christoph Giesselink | |
// to machine readable format. | |
// | |
// Artwork location: https://hp.giesselink.com/ImageArt/ImageArt.htm | |
/* | |
This program is free software: you can redistribute it and/or modify it under the terms | |
of the GNU General Public License as published by the Free Software Foundation, | |
either version 3 of the License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, but WITHOUT ANY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# List all gofiles with full path in the current package without vendor subdirectory. | |
# Useful for dependency tracking in Makefiles. | |
# License: WTFPL | |
go list -f "{{.Dir}}:{{.GoFiles}}" ./... \ | |
| tr -d '[]' \ | |
| awk 'BEGIN{FS=":"}{n=split($2,files," "); for (i=1; i<=n; i++) { printf ("%s/%s ",$1, files[i]); } ; };' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create or replace package base36 is | |
-- Author : RUSQ | |
-- Created : 07.09.2009 19:07:38 | |
-- Purpose : Encodes/Decodes the base36 encoded number | |
-- Licence : MIT | |
-- Public function and procedure declarations | |
function decode(row_id varchar2) return number; | |
function encode(num number) return varchar2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ================================ | |
; Example of a dynamic task dialog | |
; ================================ | |
; MIT License | |
; | |
; Copyright (c) 2012 rusq | |
; | |
; Permission is hereby granted, free of charge, to any person obtaining a copy | |
; of this software and associated documentation files (the "Software"), to deal | |
; in the Software without restriction, including without limitation the rights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import sys | |
def get_history(): | |
""" | |
Get electrum history without requiring it as a module | |
Returns: | |
(dict) - current electrum wallet history |