Skip to content

Instantly share code, notes, and snippets.

@abz89
abz89 / 0-go-os-arch.md
Created April 14, 2022 03:36 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@abz89
abz89 / authentication.js
Created September 24, 2021 08:59 — forked from marshallswain/authentication.js
Example tools for using querystring redirects with Feathers OAuth login.
'use strict';
const authentication = require('feathers-authentication');
const jwt = require('feathers-authentication-jwt');
const local = require('feathers-authentication-local');
const oauth2 = require('feathers-authentication-oauth2');
const GithubStrategy = require('passport-github');
// Bring in the oauth-handler
const makeHandler = require('./oauth-handler');
@abz89
abz89 / Makefile
Created September 18, 2021 15:24 — forked from ThinhPhan/Makefile
Setup Electron Kiosk App On Ubuntu 18.04
.PHONY: install uninstall test set-default
test:
sudo apt install plymouth-x11
sudo plymouthd ; sudo plymouth --show-splash ; for ((I=0; I<10; I++)); do sleep 1 ; sudo plymouth --update=test$I ; done ; sudo plymouth --quit
uninstall:
rm -rv /usr/share/plymouth/themes/first || true
install: uninstall
@abz89
abz89 / ipconfig.php
Last active December 18, 2018 05:24
IP Configurator Helper written by simple PHP for 'mini device' such as: raspberry pi, cubieboard etc
<?php
namespace Abz;
/**
* IP Configurator Helper written by simple PHP
* for 'mini device' such as: raspberry pi, cubieboard etc
*
* USAGES:
* =======