Skip to content

Instantly share code, notes, and snippets.

View jimfilippou's full-sized avatar
:copilot:

Dimitrios Filippou jimfilippou

:copilot:
View GitHub Profile
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300i,400,700);
body, table {
padding:50px;
font:14px/1.5 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
color:#555;
font-weight:300;
margin-left: auto;
margin-right: auto;
max-width: 1440px;
/**
* TODO: Write
* @param message
* @returns
*/
export default function Confirmable(message: string) {
return function (target: Object, key: string | symbol, descriptor: PropertyDescriptor) {
const original = descriptor.value;
descriptor.value = function (...args: any[]) {
const allow = confirm(message);
all: windows-amd64 macos-arm64
windows-amd64:
mkdir -p dist
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc go build -o dist/main-windows-amd64.exe main.go
macos-arm64:
GOOS=darwin GOARCH=arm64 go build -o dist/main-macos-arm64 main.go
clean:
- name: Install Docker (including compose)
hosts: all
become: true
tasks:
- name: Update apt cache
apt:
update_cache: yes
- name: Install dependencies via apt