start new:
tmux
start new with session name:
tmux new -s myname
import React from 'react'; | |
interface State = { | |
name: string; | |
age: number; | |
alive: boolean; | |
} | |
class App extends PureComponent<{}, State> { | |
public state = { |
@mixin font-face($font-name, $file-name, $weight: normal, $style: normal) { | |
@font-face { | |
font-family: quote($font-name); | |
src: url($file-name + '.eot'); | |
src: url($file-name + '.eot?#iefix') format('embedded-opentype'), | |
url($file-name + '.woff') format('woff'), | |
url($file-name + '.ttf') format('truetype'), | |
url($file-name + '.svg##{$font-name}') format('svg'); | |
font-weight: $weight; | |
font-style: $style; |
function createPriorityQueue() { | |
const highPriorityQueue = createQueue() | |
const lowPriorityQueue = createQueue() | |
return { | |
enqueue(item, isHighPriority = false) { | |
(isHighPriority | |
? highPriorityQueue | |
: lowPriorityQueue | |
).enqueue(item) |
function createStack() { | |
const stack = []; | |
return { | |
push(item) { | |
stack.push(item) | |
}, | |
pop() { | |
return stack.pop() |
function httpAction(action) { | |
const httpActionTemplate = { | |
type: "", | |
endpoint: null, | |
verb: "GET", | |
payload: null, | |
headers: [], | |
} | |
return { |
type Immutable<T> = { | |
readonly [K in keyof T]: Immutable<T[K]>; | |
}; |
(() => { | |
let i = 0; | |
let d = document; | |
let t = 1000; | |
let results = '.jobs-search-results__list'; | |
let item = '.jobs-search-results__list-item'; | |
let footer = '.job-card-container__footer-item'; | |
let get = (s) => d.querySelector(s); |
[ | |
{ | |
"name": "Composer", | |
"ring": "adopt", | |
"quadrant": "tools", | |
"isNew": "TRUE", | |
"description": "Although the idea of dependency management ..." | |
}, | |
{ | |
"name": "Canary builds", |
Last updated September 21, 2022
This Gist explains how to do this using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
There has been a number of comments on this gist regarding some issues around the pinentry-program and M1 Macs. I've finally gotten a chance to try things out on an M1 and I've updated the documentation in 2-using-gpg.md
to reflect my findings.