setw vs. setw -g vs. set vs. set -g
setw -g mouse on
| # p4merge for 64 bit | |
| wget 'https://www.perforce.com/downloads/perforce/r22.1/bin.linux26x86_64/p4v.tgz' | |
| tar zxvf p4v.tgz | |
| sudo cp -r p4v-* /usr/local/p4v/ | |
| sudo ln -s /usr/local/p4v/bin/p4merge /usr/local/bin/p4merge | 
| require 'json' | |
| require 'pry' | |
| require 'uri' | |
| require 'net/http' | |
| class FocusMateNumSessions | |
| # Step 1. Create a file somewhere in your filesystem. | |
| # Call it fm_token_file.txt. Insert the path to the file into the line below | |
| # Make sure to look at the reference .txt file and just paste | |
| # that over. | 
| #!/usr/bin/env sh | |
| # requires: GNU timeout | |
| # code 0 if the current source code is good/old | |
| # code between 1 and 127 (inclusive), except 125, if the current source code is bad/new. | |
| # code 125 should be used when the current source code cannot be tested. | |
| # see https://git-scm.com/docs/git-bisect | |
| # | |
| # Use (after you copied this to bisect-test.sh _outside_ your repository): | |
| # | |
| # git reset --hard | 
| #!/usr/bin/env amm | |
| import java.nio.file.Path | |
| import java.nio.file.Paths | |
| import $ivy.`org.jline:jline:3.19.0` | |
| import org.jline.terminal._ | |
| import org.jline.reader._ | |
| import scala.sys.process._ | |
| import $ivy.`com.github.pathikrit::better-files:3.9.1` | 
| package io.doerfler | |
| /** | |
| * As an alternative consider flatMapConcat and mapConcat of Akka Streams. | |
| */ | |
| abstract class IteratorThatKeepsOnGiving[T] extends Iterator[T] { | |
| private var currentIter: Iterator[T] = Iterator.empty[T] | |
| private var currentElement: Option[T] = None | |
| def nextIterator(lastElement: Option[T]): Iterator[T] | 
setw vs. setw -g vs. set vs. set -g
setw -g mouse on