(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
:
#! /bin/bash | |
# vim: sw=2 ts=2 et ai | |
NUM_OLDEST_BACKUPS_TO_KEEP=1 | |
NUM_RECENT_BACKUPS_TO_KEEP=100 | |
NUM_MONTHS_TO_KEEP_DAILY_BACKUPS=4 | |
AUTOMATIC_REMOVAL_THRESHOLD=40 | |
# Deletes old DB backup files from the folder specified as an argument. | |
# |
Moved to github.com/andreyvit/OCISL.
// UIPickerView_SelectionBarLabelSupport.h | |
// | |
// This file adds a new API to UIPickerView that allows to easily recreate | |
// the look and feel of UIDatePicker labeled components. | |
// | |
// Copyright (c) 2009, Andrey Tarantsov <andreyvit@gmail.com> | |
// | |
// Permission to use, copy, modify, and/or distribute this software for any | |
// purpose with or without fee is hereby granted, provided that the above | |
// copyright notice and this permission notice appear in all copies. |
package jwt | |
import ( | |
"bytes" | |
"crypto/hmac" | |
"crypto/sha256" | |
"crypto/subtle" | |
"encoding/base64" | |
"encoding/json" | |
"errors" |
package accesstokens | |
import ( | |
"crypto/hmac" | |
"crypto/sha256" | |
"crypto/subtle" | |
"encoding/hex" | |
"errors" | |
"strings" | |
"time" |
let puppeteer = require('puppeteer-core') // tested with puppeteer-core 19.7.1 | |
let fs = require('fs') | |
let BROWSER_ENDPOINT = process.env.BROWSER_ENDPOINT | |
if (!BROWSER_ENDPOINT) { | |
console.error("** BROWSER_ENDPOINT not set (expect smt like ws://127.0.0.1:9222/devtools/browser/aaaaaaaa-bbbb-cccc-dddd-ffffffffffff)\n\n" + | |
"To obtain, launch your favorite Chromium-based browser with --remote-debugging-port=9222\n" + | |
"and look at the output. E.g.:\n\n" + | |
" '/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge' --remote-debugging-port=9222\n\n" + | |
"and it's gonna say:\n\n" + |
<?php | |
// FPDI extension that preserves hyperlinks when copying PDF pages. | |
// | |
// (c) 2012, Andrey Tarantsov <andrey@tarantsov.com>, provided under the MIT license. | |
// | |
// Published at: https://gist.github.com/2020422 | |
// | |
// Note: the free version of FPDI requires unprotected PDFs conforming to spec version 1.4. | |
// I use qpdf (http://qpdf.sourceforge.net/) to preprocess PDFs before running through this |
package main | |
import ( | |
"log" | |
"os" | |
"io/ioutil" | |
"encoding/binary" | |
"net/http" | |
"mime" | |
"fmt" |
@import UIKit; | |
typedef void (^RDLCheckboxURLHandler)(NSURL *url); | |
IB_DESIGNABLE | |
@interface ATRichTextCheckbox : UIControl | |
@property (nonatomic, readonly) UIButton *checkbox; |