Vcpkgを使用してQtをインストールする。(e.g. C:\vcpkg
)
cd C:\vcpkg
.\vcpkg install qt5:x64-windows
brew options ffmpeg | |
brew install ffmpeg \ | |
--with-chromaprint \ | |
--with-fdk-aac \ | |
--with-fontconfig \ | |
--with-freetype \ | |
--with-frei0r \ | |
--with-game-music-emu \ | |
--with-libass \ |
Vcpkgを使用してQtをインストールする。(e.g. C:\vcpkg
)
cd C:\vcpkg
.\vcpkg install qt5:x64-windows
wget https://github.com/xtaci/kcptun/releases/download/v20170525/kcptun-linux-amd64-20170525.tar.gz | |
tar xvf kcptun-linux-amd64-20170525.tar.gz | |
sudo mv server_linux_amd64 /usr/local/bin/kcptun_server | |
sudo mv client_linux_amd64 /usr/local/bin/kcptun_client | |
sudo mkdir -p /etc/kcptun | |
sudo bash -c "cat <<EOT > /etc/kcptun/server_conf.json | |
{ | |
\"listen\": \":4321\", | |
\"target\": \"127.0.0.1:8421\", |
#! /usr/bin/env bash | |
#################################################### | |
# Required Libraries | |
# | |
# library name | commands used | verified version | |
# ------------------------------------------------ | |
# ffmpeg | ffmpeg/ffprobe | 3.1.4 3.2 | |
# gpac | mp4box | 0.6.1 | |
# mp4v2 | mp4chaps | 2.0.0 |
# after appcleaner does his magic, do this | |
sudo rm -rf "/Library/Application Support/Paragon Software/" | |
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ |
-- Adapted from these sources: | |
-- http://peterdowns.com/posts/open-iterm-finder-service.html | |
-- https://gist.github.com/cowboy/905546 | |
-- | |
-- Modified to work with files as well, cd-ing to their container folder | |
on run {input, parameters} | |
tell application "Finder" | |
set my_file to first item of input | |
set is_folder to (do shell script "file -b " & quoted form of (POSIX path of my_file)) | |
if is_folder ends with "directory" then |
#!/usr/bin/env bash | |
VERSION=4.0.1 | |
SCRIPT=`basename "$0"` | |
APPNAME="My App" | |
APPICONS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns" | |
OSX_VERSION=`sw_vers -productVersion` | |
PWD=`pwd` | |
function usage { |
#! /bin/sh | |
case "$1" in | |
start) | |
if ( pidof zerotier-one ) | |
then echo "ZeroTier-One is already running." | |
else | |
echo "Starting ZeroTier-One" ; | |
/opt/bin/zerotier-one -d ; | |
echo "$(date) Started ZeroTier-One" >> /opt/var/log/zerotier-one.log ; |
upstream websocket { | |
server localhost:3000; | |
} | |
server { | |
listen 80; | |
server_name localhost; | |
access_log /var/log/nginx/websocket.access.log main; |
// Filename: HttpServer.cs | |
// Author: Benjamin N. Summerton <define-private-public> | |
// License: Unlicense (http://unlicense.org/) | |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Net; | |
using System.Threading.Tasks; |