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
version: '3.3' | |
services: | |
elasticsearch1: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0 | |
environment: | |
ES_JAVA_OPTS: '-Xms256m -Xmx256m' | |
cluster.name: es-cluster | |
node.name: es1 | |
network.bind_host: 0.0.0.0 | |
discovery.zen.minimum_master_nodes: 1 |
import bjoern | |
import os, signal | |
from django.core.wsgi import get_wsgi_application | |
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'app.settings') | |
app = get_wsgi_application() | |
NUM_WORKERS = 8 |
#!/bin/bash | |
# This cleans out absolutely EVERYTHING, unlike `docker system prune` | |
# Stop all running containers | |
docker stop $(docker ps -a -q) | |
# Delete all containers | |
docker rm $(docker ps -a -q) |
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
/_docs/project
)<head> … </head>
On my Macbook Pro (OS X El Capitan) I was having issues on Electron based apps. These apps had visual issues/glitches like blank screens, visual components showing only when hovering or transparent menus.
By opening with these comands, the problems disappeared.
open /Applications/Slack.app/ --args --disable-gpu
open /Applications/Trello.app/ --args --disable-gpu
open /Applications/Whatsapp.app/ --args --disable-gpu
find . -name "package.json" -exec grep -nwE 'babelcli|crossenv|cross-env.js|d3.js|fabric-js|ffmepg|gruntcli|http-proxy.js|jquery.js|mariadb|mongose|mssql.js|nodecaffe|nodefabric|node-fabric|nodeffmpeg|nodemailer-js|nodemailer.js|nodemssql|node-opencv|node-opensl|node-openssl|noderequest|nodesass|nodesqlite|node-sqlite|node-tkinter|opencv.js|openssl.js|proxy.js|shadowsock|smb|sqlite.js|sqliter|sqlserver|tkinter' {} + |
#!/bin/sh | |
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".jsx\{0,1\}$") | |
ESLINT="$(git rev-parse --show-toplevel)/node_modules/.bin/eslint" | |
if [[ "$STAGED_FILES" = "" ]]; then | |
exit 0 | |
fi | |
PASS=true |
var org_str = "j8ck72di"; | |
var session_str = "4734a9fc27f7fee1aa58f66046af6c49"; | |
var base_str = "https://ct-m-fbx.fbsbx.com/fp"; | |
var page_id = "1"; | |
var ip_addr_str = "820139e7306525d7"; | |
var tarpitting_param = ""; | |
var carrier_id_enabled = "false"; | |
var flash_tags = "true"; |
// these are breakpoints made with Neat grids. | |
$medium-screen: new-breakpoint(min-width 640px 12); | |
$bigger-screen: new-breakpoint(min-width 910px 12); | |
$hugest-screen: new-breakpoint(min-width 1200px 12); | |
// to use: put this div at the top of your page | |
// <div id="sizer"></div> | |
#sizer { | |
font-size: 0.5em; |