(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| # -*- coding: utf-8 -*- | |
| import asyncio | |
| import uvloop | |
| from aiohttp.web import Application, MsgType, WebSocketResponse | |
| def add_socket(app, socket, user_id): | |
| if user_id in app['connections']: | |
| pass |
| variable "aws_region" { | |
| default = "eu-west-1" | |
| } | |
| variable "domain" { | |
| default = "my_domain" | |
| } | |
| provider "aws" { | |
| region = "${var.aws_region}" |
| a = open("/Users/Ron/words.txt").read().decode("utf8").split() | |
| first_row = ["ק", "ר", "א", "ט", "ו", "ן", "ם", "פ"] | |
| second_row = ["ש", "ד", "ג", "כ", "ע", "י", "ח", "ל", "ך", "ף"] | |
| third_row = ["ז", "ס", "ב", "ה", "נ", "מ", "צ", "ת", "ץ"] | |
| first_row = [x.decode("utf8") for x in first_row] | |
| second_row = [x.decode("utf8") for x in second_row] | |
| third_row = [x.decode("utf8") for x in third_row] | |
| only_first = sorted([(len(x), x) for x in a if all(y in first_row for y in x)]) | |
| only_second = sorted([(len(x), x) for x in a if all(y in second_row for y in x)]) |
| const puppeteer = require('puppeteer'); | |
| (async () => { | |
| const browser = await puppeteer.launch(); | |
| const page = await browser.newPage(); | |
| // Adjustments particular to this page to ensure we hit desktop breakpoint. | |
| page.setViewport({width: 1000, height: 600, deviceScaleFactor: 1}); | |
| await page.goto('https://www.chromestatus.com/samples', {waitUntil: 'networkidle'}); |
First, create a new Jekyll site and corresponding GitHub Pages repository, then test it locally at http://localhost:4000:
$ gem install jekyll bundler
$ jekyll new <REPO>/
Running bundle install in /Users/<USER>/Development/GitHub/<REPO>...