pkgbuild --component /Volumes/ApplicationName/*.app --install-location \
/Applications ApplicationName-Version.pkg
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
#!/bin/bash | |
CYAN="$(tput bold; tput setaf 6)" | |
RESET="$(tput sgr0)" | |
clear | |
if command -v python3 > /dev/null 2>&1; then | |
if [ $(python3 -c "print('ye')") = "ye" ]; then | |
clear |
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
#!/bin/bash | |
CYAN="$(tput bold; tput setaf 6)" | |
RESET="$(tput sgr0)" | |
clear | |
if command -v python3 > /dev/null 2>&1; then | |
if [ $(python3 -c "print('ye')") = "ye" ]; then | |
clear |
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
#!/bin/bash | |
CYAN="$(tput bold; tput setaf 6)" | |
RESET="$(tput sgr0)" | |
clear | |
if command -v python3 > /dev/null 2>&1; then | |
if [ $(python3 -c "print('ye')") = "ye" ]; then | |
clear |
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
Show hidden characters
// Файл "tsconfig.json": | |
// - устанавливает корневой каталог проекта TypeScript; | |
// - выполняет настройку параметров компиляции; | |
// - устанавливает файлы проекта. | |
// Присутствие файла "tsconfig.json" в папке указывает TypeScript, что это корневая папка проекта. | |
// Внутри "tsconfig.json" указываются настройки компилятора TypeScript и корневые файлы проекта. | |
// Программа компилятора "tsc" ищет файл "tsconfig.json" сначала в папке, где она расположена, затем поднимается выше и ищет в родительских папках согласно их вложенности друг в друга. | |
// Команда "tsc --project C:\path\to\my\project\folder" берет файл "tsconfig.json" из папки, расположенной по данному пути. | |
// Файл "tsconfig.json" может быть полностью пустым, тогда компилятор скомпилирует все файлы с настройками заданными по умолчанию. | |
// Опции компилятора, перечисленные в командной строке перезаписывают собой опции, заданные в файле "tsconfig.json". |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
List of zsh versions which come built-in to macOS at /bin/zsh
. This is mostly compiled from various internet sources.
OS Version | OS Codename | ZSH Version | ZSH Version String |
---|---|---|---|
10.5 | Leopard | 4.3.4 | zsh 4.3.4 (i386-apple-darwin9.0) |
10.6 | Snow Leopard | 4.3.9 | zsh 4.3.9 (i386-apple-darwin10.0) |
10.7 | Lion | 4.3.11 | zsh 4.3.11 (i386-apple-darwin11.0) |
10.8 | Mountain Lion | 4.3.11 | zsh 4.3.11 (i386-apple-darwin12.0) |
10.9 | Mavericks | 5.0.2 | zsh 5.0.2 (x86_64-apple-darwin13.0) |
10.10 | Yosemite | 5.0.5 | zsh 5.0.5 (x86_64-apple-darwin14.0) |
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
################################################################################ | |
# Prevent OSX calling home # | |
# # | |
# Mix of different /etc/hosts files found over internet, and calls filtered # | |
# using LittleSnitch for months. # | |
# # | |
# OSX sends a huge amount of requests to Cuppertino, even when you don't use # | |
# Spotlight suggestions, iCloud, updates and other services. Even if they are # | |
# disabled. # | |
# # |
To Use the option (⌥) key, set it as meta key
⌃a
: Go to the beginning of the line⌃e
: Go to the end of the line⌃p
: Previous command (Up arrow)⌃n
: Next command (Down arrow)⌃f
: Forward one character⌃b
: Backward one character⌃xx
: Toggle between the start of line and current cursor position