Skip to content

Instantly share code, notes, and snippets.

View mainiak's full-sized avatar

Jakub Viták mainiak

View GitHub Profile
@mainiak
mainiak / Brewfile
Last active June 29, 2023 03:20
Install K8S tools with Homebrew
#
# git clone https://gist.github.com/f38382326aff1e88af30d8837189940b.git
# cd f38382326aff1e88af30d8837189940b
# brew bundle install
#
tap "homebrew/bundle"
tap "hashicorp/tap"
brew "hashicorp/tap/packer"
@mainiak
mainiak / IPFS_Git.md
Last active June 29, 2023 03:27
IPFS, IPNS, DNSLink, and Git demo

IPFS & Co. demo

Publish Git repository on IPFS

Get Git repository to IPFS

mkdir test
cd test
@mainiak
mainiak / .gitignore
Last active March 25, 2023 18:39 — forked from craig-m-unsw/README.md
Parallels (MacOS M1 host) Packer + Vagrant of Ubuntu 20.04 arm64. Installed with cloud-init and configured with Ansible.
.vagrant
.DS_Store
output-ubuntu-*
*.log
*.box
*~
*.swp

Keybase proof

I hereby claim:

  • I am mainiak on github.
  • I am mainiak (https://keybase.io/mainiak) on keybase.
  • I have a public key ASBN-6JXB8YYHXtrIKEGc6U8es04GDA29zPl5F3dpA8JfQo

To claim this, I am signing this object:

@mainiak
mainiak / introduction.md
Last active September 25, 2020 15:51
HTML introduction, CSS, JS, JavaScript, ECMA, HTML5, SVG
@mainiak
mainiak / .gitignore
Last active September 10, 2015 23:44
webpack vs coffee-script
*.swp
*~
bundle.js
node_modules
@mainiak
mainiak / fun1.js
Last active August 29, 2015 14:03
locking in node.js
#!/usr/bin/env node
var Lock = require('./lock.js');
var lock1 = new Lock();
console.log('lock1.get() #1: ' + lock1.get(function () {
console.log('this will never run');
}));
console.log('lock1.get() #2: ' + lock1.get(function () {
<!DOCTYPE html>
<meta charset="utf-8" />
<title>WebSocket Test</title>
<script language="javascript" type="text/javascript">
var wsUri = "ws://echo.websocket.org/";
var output;
@mainiak
mainiak / .gitignore
Last active December 16, 2015 22:39
node v0.10.5, winston v0.7.1
node_modules