Skip to content

Instantly share code, notes, and snippets.

View chmue's full-sized avatar

Christian Mueller chmue

View GitHub Profile
@chmue
chmue / log
Created October 18, 2017 11:21
git-lfs build problems
~ % pacaur -y git-lfs
:: resolving dependencies...
:: looking for inter-conflicts...
AUR Packages (1) git-lfs-2.3.2-1
Repo Packages (5) go-2:1.9.1-1 ruby-hpricot-0.8.6-5 ruby-mustache-1.0.3-2 ruby-rdiscount-2.2.0.1-2 ruby-ronn-0.7.3-5
Repo Download Size: 44.99 MiB
Repo Installed Size: 221.80 MiB
@chmue
chmue / PKGBUILD
Last active October 9, 2015 16:10
# Get download links and md5 sums for latest version of RStudio desktop
cat <<_EOF_ >/dev/null
## R code #############
require(XML)
page = htmlTreeParse("http://www.rstudio.com/products/rstudio/download/",useInternalNodes = T)
links = sapply(getNodeSet(page,'//table[@class="downloads"]/thead/tr/th[text()="Installers"]/../../..//a[contains(@href,".deb")]'),xmlGetAttr,'href')
md5sums = sapply(getNodeSet(page,'//table[@class="downloads"]/thead/tr/th[text()="Installers"]/../../..//a[contains(@href,".deb")]/../..//code'),xmlValue)
print(cbind(links,md5sums))
#######################
_EOF_
@chmue
chmue / PKGBUILD
Last active October 23, 2015 10:47
rstudio-desktop-bin
# Maintainer: Meow < a.li.devtty at gmail dot com >
# Get download links and md5 sums for latest version of RStudio desktop
cat <<_EOF_ >/dev/null
## R code #############
require(XML)
page = htmlTreeParse("http://www.rstudio.com/products/rstudio/download/",useInternalNodes = T)
links = sapply(getNodeSet(page,'//table[@class="downloads"]/thead/tr/th[text()="Installers"]/../../..//a[contains(@href,".deb")]'),xmlGetAttr,'href')
md5sums = sapply(getNodeSet(page,'//table[@class="downloads"]/thead/tr/th[text()="Installers"]/../../..//a[contains(@href,".deb")]/../..//code'),xmlValue)
print(cbind(links,md5sums))
# Creator: Gary van der Merwe <garyvdm@gmail.com>
pkgname=ino
pkgver=0.3.6
pkgrel=3
pkgdesc="Command line toolkit for working with Arduino hardware"
arch=(any)
url="http://inotool.org/"
license=('MIT')
depends=('python2' 'python2-pyserial' 'python2-jinja' 'python2-configobj' 'python2-six'
'arduino' 'picocom' 'avrdude')