Skip to content

Instantly share code, notes, and snippets.

View organicnz's full-sized avatar
🏠
Working from home

Tarlan Isaev organicnz

🏠
Working from home
View GitHub Profile

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@shayne
shayne / gist:3086902
Created July 10, 2012 23:27
Add Mac OS X user to "wheel" group (no more sudo passwd)
sudo dscl . -append /groups/wheel GroupMembership <username>
# now `sudo visudo` and remove comment from: %wheel ALL=(ALL) NOPASSWD: ALL
@sixman9
sixman9 / main.lua
Created January 15, 2013 14:27
"Marmalade Quick" lua-based simple Ping Pong game
--[[
Provided by Tim Closs see https://devnet.madewithmarmalade.com/questions/3701/kinematic-bodies-in-marmalade-quick.html
Ping pong game.
Drag the bats up and down, and attempt to keep the ball in play.
The bats and ball are physics "sensor" objects, so generate collision
events but no physical responses.
--]]
local dw = director.displayWidth
@mjhea0
mjhea0 / resume.md
Last active February 22, 2023 06:12
Michael Herman - Sample Projects (last updated 10/20/13)
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 7, 2024 09:29
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@learncodeacademy
learncodeacademy / flightplan-deploy.md
Last active January 7, 2024 11:58
Deploy Node.js Apps with Flightplan

##Setup your server (this would ideally be done with automated provisioning)

  • add a deploy user with password-less ssh see this gist
  • install forever npm install -g forever

##Install flightplan

  • npm install -g flightplan
  • in your project folder npm install flightplan --save-dev
  • create a flightplan.js file
@peterjmag
peterjmag / react-native-talk.md
Last active June 21, 2021 10:13
Let's build a React Native app in 20 minutes - React Berlin #1 (April 2015)
@joaofraga
joaofraga / readme.md
Created November 24, 2015 17:37
Bootable Windows USB from Mac OSX (Terminal)

How to create an Bootable Windows USB from OSX without Bootcamp

You will need

  • USB SSD with at least 8GB
  • Windows .ISO

With this on hands

Open terminal and do the following:

@heri16
heri16 / NetwatchGatewayStates.rsc
Last active December 19, 2021 11:13
Mikrotik RouterOS Script to do proper uplink failover/failback (more reliable than Netwatch)
# Mikrotik RouterOS Script to do proper uplink failover/failback (more reliable than Netwatch).
# Supports both Generic and PPPoE interfaces.
# Policy: read, write, policy, test
### Configuration ###
# Define Names of all Interfaces that will be checked:
:local "interface-names" { "internet-speedy";"internet-biznet" };
@mrlesmithjr
mrlesmithjr / ansible-macos-homebrew-packages.yml
Last active April 29, 2024 10:40
Install MacOS Homebrew Packages With Ansible
---
- name: Install MacOS Packages
hosts: localhost
become: false
vars:
brew_cask_packages:
- atom
- docker
- dropbox
- firefox