Skip to content

Instantly share code, notes, and snippets.

View jprice's full-sized avatar

Josh Price jprice

  • Outlaw IT
  • Tennessee
View GitHub Profile
@jprice
jprice / encoded-20201212150102.txt
Created April 21, 2024 23:52 — forked from thegreatestminer/encoded-20201212150102.txt
MobaXTerm Professional x64 License Key [READ COMMENTS]
UEsDBBQAAAAIABNQjFGCf/GfLgAAACwAAAAHAAAAUHJvLmtleTMqdncpCXQOKDAp9woMzEo1MTVOrHAzTjTLME7VNs1LK8owTjQpcU8tcuLlAgBQSwECFAAUAAAACAATUIxRgn/xny4AAAAsAAAABwAAAAAAAAAAAAAAAAAAAAAAUHJvLmtleVBLBQYAAAAAAQABADUAAABTAAAAAAA=

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

Installing Arch:
sudo vim /etc/pacman.conf
Update packages list: sudo pacman -Syy
run sudo pacman -Syu before installing any software (to update the repositories first)
* Timing issue:
- Change hardware clock to use UTC time:
sudo timedatectl set-local-rtc 0
@jprice
jprice / template
Last active August 29, 2015 14:14 — forked from gistwebdev/template
<VirtualHost *:80>
ServerAdmin template.email
ServerName template.url
DocumentRoot template.webroot
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory template.webroot/>
Installing Arch:
sudo vim /etc/pacman.conf
Update packages list: sudo pacman -Syy
run sudo pacman -Syu before installing any software (to update the repositories first)
* Timing issue:
- Change hardware clock to use UTC time:
sudo timedatectl set-local-rtc 0

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jprice
jprice / README.md
Last active August 29, 2015 14:13 — forked from dergachev/README.md

Vagrant Setup

This tutorial guides you through creating your first Vagrant project.

We start with a generic Ubuntu VM, and use the Chef provisioning tool to:

  • install packages for vim, git
  • create user accounts, as specified in included JSON config files
  • install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository

Afterwards, we'll see how easy it is to package our newly provisioned VM

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jprice
jprice / vhost
Last active August 29, 2015 14:09 — forked from gistwebdev/vhost
#!/bin/bash
#
# Display usage info
vhost-usage() {
cat <<"USAGE"
Usage: vhost [OPTIONS] <name>
-h|--help this screen
-pub to create the webhost root in ~/www/name/public/
-url to specify a local address, default is http://name.local