Skip to content

Instantly share code, notes, and snippets.

View yongqianme's full-sized avatar

yongqianme yongqianme

View GitHub Profile
@yongqianme
yongqianme / image-and-video.md
Created November 22, 2023 20:46 — forked from Kartones/image-and-video.md
image & video (Imagemagick, ffmpeg, webp...) commands
@yongqianme
yongqianme / seo_sem_guide.md
Created November 22, 2023 20:20 — forked from nicolasdao/seo_sem_guide.md
SEO/SEM guide. Keywords: seo sem ux ttfb noindex robots.txt sitemap robots bundle
@yongqianme
yongqianme / Launch Daemon omniEdge
Last active August 9, 2022 01:00 — forked from codeZoner/com.startup.plist
Launch Daemon Start up with Bash Script with omniEdge
# -w flag permanently adds the plist to the Launch Daemon
sudo launchctl load -w /Library/LaunchDaemons/com.omniedge.plist
# -w flag permanently remove the plist to the Launch Daemon
sudo launchctl unload -w /Library/LaunchDaemons/com.omniedge.plist
You can stop the launchctl process by
sudo launchctl stop /Library/LaunchDaemons/com.omniedge.plist
@yongqianme
yongqianme / deploy_flask_lighttpd.py
Created May 5, 2019 04:55 — forked from mahenzon/deploy_flask_lighttpd.py
Flask (Python 3) + flup + Lighttpd project deploy
import os
import stat
import argparse
template_fcgi = '''#!/usr/bin/env python3
from flup.server.fcgi import WSGIServer
from %s import app
class ScriptNameStripper(object):
@yongqianme
yongqianme / ffmpeg.md
Created April 27, 2019 03:33 — forked from dvlden/ffmpeg.md
Convert video files to MP4 through FFMPEG

This is my personal list of functions that I wrote for converting mov files to mp4!

Command Flags

Flag Options Description
-codec:a libfaac, libfdk_aac, libvorbis Audio Codec
-quality best, good, realtime Video Quality
-b:a 128k, 192k, 256k, 320k Audio Bitrate
-codec:v mpeg4, libx264, libvpx-vp9 Video Codec