As configured in my dotfiles.
start new:
tmux
start new with session name:
| <?PHP | |
| /* | |
| * PHP upload for Gyazo - v1.2.1 - 3/13/2011 | |
| * http://benalman.com/news/2009/10/gyazo-on-your-own-server/ | |
| * | |
| * Copyright (c) 2011 "Cowboy" Ben Alman | |
| * Licensed under the MIT license | |
| * http://benalman.com/about/license/ | |
| */ |
As configured in my dotfiles.
start new:
tmux
start new with session name:
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
| services: | |
| # https://github.com/codekitchen/dinghy-http-proxy | |
| http-proxy: | |
| image: codekitchen/dinghy-http-proxy | |
| container_name: http-proxy | |
| privileged: true | |
| environment: | |
| - CONTAINER_NAME=http-proxy | |
| ports: |
| doc="$(which docker-compose)";vers="$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq --raw-output '.tag_name')";machine=$(uname -s| awk '{print tolower($0)}') && sudo curl -L "https://github.com/docker/compose/releases/download/${vers}/docker-compose-${machine}-$(uname -m)" -o "$doc" && sudo chmod +x "$doc" |
[![MIT Licensed][icon-mit]][license] [![Awesome][icon-awesome]][awesome] [![Telegram][icon-chat]][chat]
Ознайомтеся з Git і GitHub.
| sudo sh -c 'apt update; apt upgrade; apt dist-upgrade; apt autoremove; apt purge $(dpkg -l | awk '\''$1=="rc"{print $2}'\''); apt install $(dpkg -l | awk '\''$1=="ii"{print $2}'\''); apt clean; snap refresh; LANG=C snap list --all | awk '\''$6=="disabled"{print $1, $3}'\'' | while read snapname revision; do snap remove "$snapname" --revision="$revision"; done' |
| sudo sync; echo 3 | sudo tee /proc/sys/vm/drop_caches; sudo swapoff -a |
| curl wttr.in |