This two launchdaemon scripts provide scheduled updates and upgrade for homebrew packages.
It will run in the following way:
brew update
every day at 12:10brew upgrade
every day at 12:20
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
Place this in bashrc
function gp() {
if [[ $# -gt 0 ]]; then
git pull ${1} $(git branch | cut -d' ' -f2)
else
git pull origin $(git branch | cut -d' ' -f2)
fi
}
Add this line to ./.vscode/settings.json | |
"python.terminal.activateEnvInCurrentTerminal": true |
set theFileContents to (read file "Users:$USER:Desktop:tasks.txt") | |
set theLines to paragraphs of theFileContents | |
repeat with eachLine in theLines | |
tell application "Reminders" | |
set mylist to list "Inbox" | |
tell mylist | |
make new reminder at end with properties {name:eachLine} | |
end tell | |
end tell | |
end repeat |