Skip to content

Instantly share code, notes, and snippets.

View santiblanko's full-sized avatar
🎯
Focusing

santiblanko santiblanko

🎯
Focusing
View GitHub Profile
install.packages('CVXR', repos="http://cran.us.r-project.org")
install.packages('quantmod', repos="http://cran.us.r-project.org")
install.packages('mgcv', repos="http://cran.us.r-project.org")
@santiblanko
santiblanko / README.md
Created September 3, 2018 16:56 — forked from brunogaspar/README.md
Install wkhtmltopdf on Ubuntu (14.04 64-bit) or (16.04 64-bit)

Install wkhtmltopdf on Ubuntu

This was tested on:

  • Ubuntu 14.04 x64
  • Ubuntu 16.04 x64

Installation

print(' .:;S;:. .:;.;:. .: ;:. .:;.')
print('S S S / S S S S S S S S;;:')
print(':;S;: :;S;: :;S;: :;S;: :;S;: :: ')
counter = 0
while (1 == 1) {
counter <- counter + 1
Sys.sleep(3)
print(paste(sample(1:10, 1),'Kw/s generated in the last second.'))
e <-matrix(rnorm(6),2,3)
@santiblanko
santiblanko / electron-packager-extra-resource.md
Created August 19, 2018 02:33 — forked from fodra/electron-packager-extra-resource.md
Command to add extra resources in your electron app

This is the example usage of electron-packager that I never found online anywhere else.

To add resource.exe and resource2.dll in the resource folder when you create an installer, this is how you do it with the --extra-resource commandline switch.

--extra-resource

electron-packager . --overwrite --asar --extra-resource="resource1.exe" --extra-resource="resource2.dll" --platform=win32 --arch=ia32 --icon=./frontend/dist/assets/icon.ico --prune=true --out=./build --version-string.ProductName='Hot Pan de sal'

within the backend code you can refer to the files as:

https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-16-04-2
https://articulo.mercadolibre.com.co/MCO-452409278-adaptador-receptor-bluetooth-audio-recargable-carro-_JM
https://blog.openai.com/glow/
https://colab.research.google.com/notebooks/welcome.ipynb