Skip to content

Instantly share code, notes, and snippets.

Coding Around 🌳 🌲 📈 📊 🙃

Luis Puerto luispuerto

Coding Around 🌳 🌲 📈 📊 🙃
View GitHub Profile
ElToro1966 /
Last active Aug 31, 2020 — forked from pachamaltese/
Install R and RStudio on Ubuntu 18.04 with essential libraries for data science. Based on pachamaltese/ (for Ubuntu 17.10). Note: You need to make sure the default library location - /usr/local/lib/R/site-packages - is writable .
# 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
sudo gdebi rstudio-1.2.5001-amd64.deb
printf '\nexport QT_STYLE_OVERRIDE=gtk\n' | sudo tee -a ~/.profile
blackgate /
Last active Oct 15, 2020
Macbook Pro 2011 - Disable AMD GPU
angelamancini / quiver-to-evernote.rb
Created May 20, 2017
Converts Quiver notebook exports to Evernote *.enex files. Only tested with text and code cells. This *was not tested* with any other cell types.
View quiver-to-evernote.rb
# 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|
gem "#{gem}"
rescue Gem::LoadError
`gem install #{gem}`
seandavi /
Last active Jul 6, 2018
Install rstudio server on debian
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
sudo gdebi --non-interactive rstudio-server-1.0.136-amd64.deb
# rstudio will be running on port 8787
gobinathm /
Created Mar 6, 2017
Fix for Remote rejected shallow update not allowed after changing Git remote URL

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.

jweisber / mac-terminal
Last active Dec 11, 2017
Open iTerm from Rstudio: replace /Applications/ (see, which is now out of date).
View mac-terminal
on run argv
set dir to quoted form of (first item of argv)
if application "iTerm" is running then
set wasRunning to true
set wasRunning to false
end if
gwinstanley /
Last active Apr 16, 2020
Script to configure rJava correctly on macOS
#!/usr/bin/env bash
# Script to configure rJava correctly on macOS.
# Check R is available.
RP=$(which R)
if [ $? -ne 0 ]; then
>&2 echo "Unable to find R executable; please ensure it is installed correctly."
exit 1
idleberg /
Last active Oct 6, 2020 — forked from vincentmac/
“Open in Sublime Text” in macOS context-menu

Open in Sublime Text

  • Open Automator
  • Create a new Service
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to /Applications/Sublime\ -n "$@"
  • Set “Pass input” to as arguments
  • Save as Open in Sublime Text
View Sublime Text 3 Build 3103 License Key - CRACK
I use the first
Michael Barnes
Single User License
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
lukas-h /
Last active Oct 21, 2020
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.


  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.  

Translations: (No guarantee that the translations are up-to-date)

You can’t perform that action at this time.