(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
:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
// Sass exponent support | |
@function exponent($base, $exponent) | |
// reset value | |
$value: $base | |
// positive intergers get multiplied | |
@if $exponent > 1 | |
@for $i from 2 through $exponent | |
$value: $value * $base | |
// negitive intergers get divided. A number divided by itself is 1 | |
@if $exponent < 1 |
#!/bin/bash | |
while read LINE; do | |
curl -o /dev/null --silent --progress-bar --head --write-out '%{http_code} %{time_starttransfer} %{url_effective}\n' "$LINE" >> urls_result.txt | |
done < urls.txt |
# First we cut the video in how many parts we want | |
# Step 1. cut the first part of the video and cut it to a separate file | |
ffmpeg.exe -ss 00:00:00.000 -t 00:02:18.00 -i recording-full.flv -c:v copy -c:a copy recording-full-part1.flv | |
# Step 2. cut the second part from original video | |
ffmpeg.exe -ss 00:03:47.000 -i recording-full.flv -c:v copy -c:a copy recording-full-part2.flv | |
# Step 3. create a file with your cut parts to concat into one video with these contents and name it whatever (i.e. videos.txt): | |
file 'C:\Path\To\recording-full-part1.flv' |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
#!/usr/bin/env node | |
const http = require('https'); | |
const url = process.env.SLACK_URL; | |
let data; | |
process.stdin.resume(); | |
process.stdin.setEncoding('utf8'); |