- Run
sudo chmod 666 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources//IDETextKeyBindingSet.plist
sudo chmod 777 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
#!/usr/bin/env python3 | |
import subprocess | |
import json | |
import argparse | |
from os import listdir | |
filename = "ML2nd-day1-2.mp4" | |
# Source: https://gist.github.com/a5870806ae6f21de271bf9214e523b53 | |
################## | |
# Create Cluster # | |
################## | |
minikube start --memory 6g --cpus 4 | |
################# | |
# Install Istio # |
JSC is the JavaScript engine from Apple's JavaScriptCore (WebKit) as a console application that you can use to run script in the terminal.
For more info visit the JSC's webkit wiki page.
Using jsc is simple, the one issue is that Apple keeps changing the location for jsc. To deal with this issue I just create a symbolic link to the binary:
更佳markdown渲染样式,推荐使用PC web端阅读,查看原文,地址:https://git.io/fhSBj 代码地址:https://github.com/qq519043202/lrc2srt
一个懒惰却在某些方面爱折腾的程序员开始剪辑视频,不想安装任何大型编辑软件(我的破surface也带不动的感觉)
本文不适合:想要正经学习视频编辑的萌新,右转去学一些大型的编辑软件的使用吧~
本文适合:有计算机背景或爱折腾的视频剪辑萌新,要尝试鄙人的lrc转srt脚本或歌词获取脚本的旁友,不愿意装大型软件的视频萌新(?)
import Foundation | |
/** | |
Extension to save/load a JSON object by filename. (".json" extension is assumed and automatically added.) | |
*/ | |
extension JSONSerialization { | |
static func loadJSON(withFilename filename: String) throws -> Any? { | |
let fm = FileManager.default |
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
// MNIST database reader | |
// http://yann.lecun.com/exdb/mnist/ | |
package mnist | |
import ( | |
"fmt" | |
"os" | |
"path/filepath" | |
) |
Keywords: Java, JDK (Java Development Kit), MacOS, Homebrew, Specific Version
This how-to guide covers how to install different versions of the JDK on MacOS with Homebrew.