Skip to content

Instantly share code, notes, and snippets.

@joebew42
joebew42 / ffmpeg.md
Last active February 17, 2019 23:33

How I edit my own video 🎥

Speed up the video and the audio of 10%, because I am bit slow:

ffmpeg -i 2019-02-17_19-01-22.flv -c:v libx264 -crf 20 -filter_complex "[0:v]setpts=0.9*PTS[v];[0:a]atempo=1.1111111111111112[a]" -map "[v]" -map "[a]" output.mp4

See How to speed up / slow down a video for more detailed information.

Notes from Purple Cow

Purple Cow: Transform Your Business by Being Remarkable

  • create remarkable products that people seek out.
  • no one is going to eagerly adapt to your product.
  • ideas that spread are more likely to succeed than those that don't.
  • services that are worth talking about get talked about.
  • it is useless to advertise to anyone (except interested sneezers with influence).
  • is not marketing done to a product. The marketing is the product, and vice versa.
@joebew42
joebew42 / arch-linux
Last active September 24, 2017 18:06 — forked from njam/arch-linux
Install Arch Linux on XPS 13 9360
# Installation on Dell XPS
# Please also consult official docu:
# https://wiki.archlinux.org/index.php/Installation_Guide
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
# https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550)
# Disable the secure boot
# F2 to enter to UEFI setup, check `disable secure boot` under the `secure boot` section
# Save settings and exit

Setup:

apt-get update; apt-get install nodejs net-tools

Configuration:

export DISPLAY=:99
@joebew42
joebew42 / service-checklist.md
Created December 22, 2016 22:38 — forked from acolyer/service-checklist.md
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
String basePath = 'project-x'
String checkoutAndBuild = 'checkout-and-build'
String integrationTest = 'integration-test'
String deployInTest = 'deploy-test'
String acceptanceTest = 'acceptance-test'
String deployInProduction = 'deploy-production'
folder(basePath) {
description 'Mega project'
}