Skip to content

Instantly share code, notes, and snippets.

View nishnik's full-sized avatar

Nishant Nikhil nishnik

View GitHub Profile
@nishnik
nishnik / fill_it_up.js
Created April 19, 2018 09:32
Feedback - erp
var val = "3"
var radio_buttons = document.querySelectorAll('input[value="' + val +'"]');
var i = 0;
for (i=0; i<radio_buttons.length ; i++){
radio_buttons[i].checked = true;
}
var radio_buttons = document.querySelectorAll('input[value="5' + val +'"]');
var i = 0;
for (i=0; i<radio_buttons.length ; i++){
radio_buttons[i].checked = true;

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: