Skip to content

Instantly share code, notes, and snippets.


Sebastián sebastian-palma

Block or report user

Report or block sebastian-palma

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sebastian-palma /
Created Apr 24, 2020 — forked from brendanhay/
Tmux, copy-mode, and OSX shenanigans.

Copy, with line wrapping!

If you've been trying to copy/paste text from a multi-pane tmux session with the mouse, you've probably been pretty pissed at the blissful ignorance a terminal application has of the rodent in your hand.

The alternative, which is quote-unqoute native copy/pasting using copy-mode takes a bit to get used to. So this is one solution for copying and pasting lines from a session with correct line wrapping behaviour, albeit keyboard only.


Since copy-mode has similar concepts of marks, regions, and temp buffers to Emacs .. you'll probably find it straight forward if you're familar with Emacsen. For people using vi-mode in tmux, the same still applies but obviously the default key bindings will differ alot from what I show below.

View | Steam Workshop :: M202 Rocket Launcher | M202A1 Flash | Killing Floor - русский форум | Weapons [Fire Explosives] » - Site on the theme of the game Killing Floor | Сигнальный пистолет или же Светомёт » - Сайт на тему игры Killing Floor | Throwing ax for a berserker » - Site on the theme of the game Killing Floor | Mutator shows damage done » - Site on the theme of the game Killing Floor | Редактирование последней волны с патр


Sing, O goddess, the anger of Achilles son of Peleus, that brought
countless ills upon the Achaeans. Many a brave soul did it send hurrying
down to Hades, and many a hero did it yield a prey to dogs and vultures,
for so were the counsels of Jove fulfilled from the day on which the
son of Atreus, king of men, and great Achilles, first fell out with
one another. 

Create a new project with lein and figwheel:

$ lein new figwheel <project-name>
$ cd <project-name>

Add cider/piggieback to your project profiles dev dependencies:

                                                              Table "public.posts"
   Column    |              Type              | Collation | Nullable |              Default              | Storage  | Stats target | Description
 id          | bigint                         |           | not null | nextval('posts_id_seq'::regclass) | plain    |              |
 information | jsonb                          |           |          |                                   | extended |              |
 created_at  | timestamp(6) without time zone |           | not null |                                   | plain    |              |
 updated_at  | timestamp(6) without time zone |           | not null |                                   | plain    |              |
$ bundle exec rails db:migrate
== 20191101233132 ExtendExecutionDatetimePrecision: migrating =================
-- change_column(:executions, :order_insert_time, :datetime, {:limit=>6})
   -> 0.0912s
== 20191101233132 ExtendExecutionDatetimePrecision: migrated (0.0913s) ========

➜  stack git:(master) ✗ bin/rails db -p
Reading table information for completion of table and column names
View kubectl_manager.rb
# frozen_string_literal: true
require 'open3'
require 'pry'
module Utils
class GemVerifier
def check_needed_gems
require 'tty-prompt'
rescue LoadError

For installing tensorflow-hub using Conda prefer the next way (it installs the 2.0.0 version):

$ conda install -c conda-forge/label/cf201901 tensorflow-hub 
You can’t perform that action at this time.