This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
#!/usr/bin/osascript | |
on run argv | |
set dir to quoted form of (first item of argv) | |
if application "iTerm" is running then | |
set wasRunning to true | |
else | |
set wasRunning to false | |
end if |
#!/bin/bash | |
sudo apt-get install -y libcurl4-openssl-dev libxml2-dev libssl-dev | |
sudo apt-get install -y r-base r-base-dev | |
sudo apt-get install -y gdebi-core | |
wget https://download2.rstudio.org/rstudio-server-1.0.136-amd64.deb | |
sudo gdebi --non-interactive rstudio-server-1.0.136-amd64.deb | |
# rstudio will be running on port 8787 |
# Before running this script, go to Quiver and export all notebooks into json/quiver format | |
# Place them in a folder called `exports` in the same directory as this script. | |
# In terminal, run `ruby quiver-to-evernote.rb` | |
# Check for presence of required gems. | |
# If not present, install the gems | |
["rubygems", "sanitize"].each do |gem| | |
begin | |
gem "#{gem}" | |
rescue Gem::LoadError | |
`gem install #{gem}` |
#!/bin/bash | |
if [ "$1" = "-s" ] || [ "$1" = "--show" ]; then | |
show=true | |
else | |
show=false | |
fi | |
if $show || [ "$1" = "-v" ] || [ "$1" = "--verbose" ]; then | |
verbose=true |
brew install --with-qt5 mkvtoolnix
mkvinfo *.mkv
--audio-tracks
.mkvmerge -o out.mkv -a 2 orig.mkv
# Install R | |
sudo apt update | |
sudo apt install gdebi libxml2-dev libssl-dev libcurl4-openssl-dev libopenblas-dev r-base r-base-dev | |
# Install RStudio | |
cd ~/Downloads | |
wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.2.5001-amd64.deb | |
sudo gdebi rstudio-1.2.5001-amd64.deb | |
printf '\nexport QT_STYLE_OVERRIDE=gtk\n' | sudo tee -a ~/.profile |
Some Time there is a shallow update not allowed issue in your cloned GIT repo.
This means that you have to unshallow your repository. To do so you will need to add your old remote again.
git remote add origin <path-to-old-remote>
After that we use git fetch to fetch the remaining history from the old remote (as suggested in this answer).
git fetch --unshallow origin
And now you should be able to push into your new remote repository.
Known Issues: On High Sierra there are problems related to the screen brightness and sleep issues.