This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "9.1.4", | |
"license": "", | |
"extract_dir": "\\$PLUGINSDIR", | |
"url": "https://electron-dl.todoist.net/windows/Todoist-win32-9.1.4.exe#/dl.7z", | |
"depends": "", | |
"homepage": "https://todoist.com/", | |
"hash": "325A49BBB864F2EBEFE44BD6AB932900A12317C8E17334DC52BD3C0E8D3EE526", | |
"pre_install": [ | |
"Expand-7zipArchive -Path \"$dir\\`$PLUGINSDIR\\app-64.7z\" \"$dir\"", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | |
iwr -useb get.scoop.sh | iex | |
scoop install aria2 | |
scoop config aria2-warning-enabled false | |
scoop install 7zip | |
scoop install git | |
scoop install nodejs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s $1 | xmlstarlet sel -t -v "//*[local-name()='loc']/text()" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from PIL import Image | |
from IPython import display | |
from io import BytesIO | |
def show_array(arr, fmt="png"): | |
arr = np.uint8(arr) | |
f = BytesIO() | |
Image.fromarray(arr).save(f, fmt) | |
display.display( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 -skip_frame nokey video.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 video.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system_profiler -xml SPUSBDataType | subl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system_profiler SPUSBDataType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults read com.apple.dock workspaces-edge-delay | |
defaults write com.apple.dock workspaces-edge-delay -float 0 | |
killall Dock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ioreg -r -k AppleClamshellState | grep "AppleClamshellState" |
NewerOlder