Skip to content

Instantly share code, notes, and snippets.

View ankh2054's full-sized avatar

Charles Holtzkampf ankh2054

View GitHub Profile
@ankh2054
ankh2054 / tmux_cheatsheet.markdown
Last active January 7, 2016 10:32 — forked from henrik/tmux_cheatsheet.markdown
tmux cheatsheet

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@ankh2054
ankh2054 / README.md
Created January 13, 2016 07:36 — forked from hofmannsven/README.md
My simply Git Cheatsheet

Keybase proof

I hereby claim:

  • I am ankh2054 on github.
  • I am ankh2054 (https://keybase.io/ankh2054) on keybase.
  • I have a public key ASB-Zebz69l_CdBi_obk9X-6bd8wat87uQeT-Msgj3c77go

To claim this, I am signing this object:

@ankh2054
ankh2054 / reproduce
Created June 2, 2018 08:14
Register a better account name and register your BP
#### Create EOS wallet
`cleos.sh wallet create -n walletname`
Record the password and keep secure.
#### Unlock EOS Wallet
`cleos.sh wallet unlock`
Paste your wallet password
#### Load Generated EOS Account Private Key Into Your Wallet
`cleos.sh wallet import <privkey>`
#### Create New Account From Your Generated Account
#!/bin/bash
trap "echo 'Terminating all processes...'; pkill -P $$; exit 1" SIGINT SIGTERM
# Check for input argument
if [[ -z "$1" ]]; then
echo "Search for vanity keys - Usage: ./vanity.sh STRING [NUM_PROCESSES]"
exit 1
fi
pragma solidity ^0.4.20;
contract RegisterEos {
mapping (address => string) public keys;
event LogRegister (address user, string key);
#!/usr/bin/env bash
# get and unpack golang
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.10.linux-amd64.tar.gz
## create the goApps directory, set GOPATH, and put it on PATH
echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.bash_profile
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
@ankh2054
ankh2054 / 1_google_cloud_storage_backup_tutorial.md
Last active May 15, 2023 21:56 — forked from rnwolf/1_google_cloud_storage_backup_tutorial.md
Tutorial shows how to make backups to Google Cloud Storage.

Google Cloud Storage backup tutorial

Introduction

This tutorial shows how to make backups to Google Cloud Storage. The backups are:

  • automatic
  • stored off site
  • incremental
import React, { useState } from 'react';
import { Navbar, NavbarBrand, Nav, NavbarToggler, Collapse, NavItem, Jumbotron,
Button, Modal, ModalHeader, ModalBody,
Form, FormGroup, Input, Label } from 'reactstrap';
import { NavLink } from 'react-router-dom';
const Header = (props) => {
//Hooks
const [modal, setModal] = useState(false);
const [nav, setNav] = useState(true);
import React, { useState } from 'react';
import { Navbar, NavbarBrand, Nav, NavbarToggler, Collapse, NavItem, Jumbotron,
Button, Modal, ModalHeader, ModalBody,
Form, FormGroup, Input, Label } from 'reactstrap';
import { NavLink } from 'react-router-dom';
const Header = (props) => {
//Hooks
const [modal, setModal] = useState(false);
const [nav, setNav] = useState(true);