Skip to content

Instantly share code, notes, and snippets.

@t-t-t-t-t
t-t-t-t-t / .zshrc
Created June 29, 2020 22:56
zplug based zsh config file
# install zplug if required
! [[ -d $HOME/.zplug ]] && curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh| zsh
# zplug init
source ~/.zplug/init.zsh
# prezto
zstyle ':prezto:module:prompt' theme adam1
zplug "modules/prompt", from:prezto
zplug "modules/environment", from:prezto
@t-t-t-t-t
t-t-t-t-t / sampleREADME.md
Created April 24, 2020 02:27 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

#!/usr/bin/env bash
# dotfiles utility - https://gist.github.com/Jamesits/9bc4adfb1f299380c79e
# Set $DOTFILES to where you want to put your dotfiles.
# then run dotfiles-init someSoftware,
# and it will move all files starting with `.someSoftware` to the correct location
# then link them back,
# Which will produce a directory structure like:
#
# $ tree -aL 2 ~/Dropbox/Code/config/dotfiles/
@t-t-t-t-t
t-t-t-t-t / NZL_adm1.json
Created March 19, 2020 23:36 — forked from coop16/NZL_adm1.json
New Zealand Sheep Density
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import microbit
# from microbit import *
"""
uber_buttons.py
~~~~~~~~~~
Uber buttons: example to allow 5 input buttons, 2 buttons and 3 pins
"""
"""Four buttons - 2 buttons + 3 more "buttons"!
@t-t-t-t-t
t-t-t-t-t / docker-compose-stack-elasticsearch-fluentd-nginx-kibana.yml
Created February 27, 2020 06:03 — forked from donvito/docker-compose-stack-elasticsearch-fluentd-nginx-kibana.yml
Docker stack compose files I've created. Please feel free to use! Enjoy!
version: "3.3"
services:
elasticsearch:
image: 'docker.elastic.co/elasticsearch/elasticsearch:5.6.1'
ports:
- "9200:9200"
- "9300:9300"
volumes:
- elasticsearchvol:/usr/share/elasticsearch/data
@t-t-t-t-t
t-t-t-t-t / zfsinstall-1-setup.sh
Created February 18, 2020 07:50 — forked from johnramsden/zfsinstall-1-setup.sh
Install scripts for installing Arch Linux on ZFS. Not runnable, just listed commands.
#!/bin/bash
# Check before running, may need intervention
# Pass in the following to the script, or hardcode it.
# Uncomment if hardcoding input.
BOOT_PARTITION="/dev/sdg1"
DISK_1="ata-SanDisk_SDSSDXPS480G_152271401093"
DISK_2="ata-SanDisk_SDSSDXPS480G_154501401266"
POOL="vault"
@t-t-t-t-t
t-t-t-t-t / resticheat.md
Created January 22, 2020 22:23 — forked from perfecto25/resticheat.md
Restic cheatsheet

Restic backup application - commands cheatsheet

Installation & config

  1. add Retic repo
  2. yum install restic

add a Restic credential file to root

vim /root/.restic
@t-t-t-t-t
t-t-t-t-t / awesome-selfhosted-sorted-by-stars.md
Created January 21, 2020 00:23 — forked from kvnxiao/awesome-selfhosted-sorted-by-stars.md
awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.

@t-t-t-t-t
t-t-t-t-t / CopyQ - Search All Tabs.ini
Created January 14, 2020 06:11 — forked from hluk/CopyQ - Search All Tabs.ini
CopyQ - Search All Tabs
[Command]
Name=Search All Tabs
Command="
copyq:
// Name for tab for storing matching items.
var search_tab_name = \"Search\"
// Returns true iff item at index matches regex.
function item_matches(item_index, re)
{