Skip to content

Instantly share code, notes, and snippets.

View shavo007's full-sized avatar

shane lee shavo007

View GitHub Profile
@vkroz
vkroz / tmux cheatsheet.md
Last active July 6, 2021 15:21 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux for humans

How to get

If tmux is not installed, then install it or buid from sources.

Installing

  • MacOS: brew install tmux
  • CentOS family: yum install tmux
version: '2'
services:
master:
image: elasticsearch:5.0.0-alpha5
command: elasticsearch -Enode.master=true -Enode.data=false -Ecluster.name=cluster-01 -Enode.name="Master of Disaster"
environment:
- ES_JAVA_OPTS=-Xms2g -Xmx2g
ports:
- "9200:9200"
- "9300:9300"
@marcellodesales
marcellodesales / build.gradle
Created January 23, 2015 08:31
Java POJO Code Generation from XSD using Gradle 2.1 (See gradle xjc screen below)
buildscript {
repositories {
maven { url "https://repo.spring.io/libs-release" }
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.10.RELEASE")
//####################### XJC - JDK 1.7/1.8 ####################
@nagakputtagunta
nagakputtagunta / setup_mac.sh
Last active November 19, 2018 05:30
A set of Homebrew and Cask commands to install my core set of applications on a clean install of OS X
#!/bin/sh
# install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# verify homebrew installation
# TODO handle output to figure out whether to processed further
brew doctor
# caskroom
@randomecho
randomecho / australian-postcodes.sql
Last active June 3, 2024 19:24
Australian postcodes (with states and suburb names) geocoded with latitude and longitude.
/*
Taken and cribbed from blog.datalicious.com/free-download-all-australian-postcodes-geocod
May contain errors where latitude and longitude are off. Use at own non-validated risk.
*/
SET NAMES utf8;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP TABLE IF EXISTS postcodes_geo;