Skip to content

Instantly share code, notes, and snippets.

View whizzalan's full-sized avatar
🎯
Focusing

george chao whizzalan

🎯
Focusing
View GitHub Profile
@ibrahimlawal
ibrahimlawal / LC_CTYPE.txt
Created February 27, 2017 07:02 — forked from jampajeen/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@philipz
philipz / setup.md
Last active January 22, 2017 01:16
Prepare Docker Swarm Environment

#On Local Machine Side ##Install Docker Engine && Docker Machine ###Docker Engine sudo wget -qO- http://get.docker.com/ | sh ###Docker Machine Docker Machine Github

wget https://github.com/docker/machine/releases/download/v0.8.0/docker-machine-`uname -s`-`uname -m` && \
sudo mv docker-machine-`uname -s`-`uname -m` /usr/local/bin/docker-machine && \
sudo chmod +x /usr/local/bin/docker-machine
@daroczig
daroczig / get-data.R
Last active April 4, 2024 20:23
Number of R packages submitted to CRAN
## original idea & report by Henrik Bengtsson at
## https://stat.ethz.ch/pipermail/r-devel/2016-February/072388.html
## This script downloads the list of currently published R packages
## from CRAN and also looks at all the archived package versions to
## combine these into a list of all R packages ever published on
## CRAN with the date of first release.
## CRAN mirror to use
CRAN_page <- function(...) {
@andrie
andrie / 1-RODBC.R
Created October 12, 2015 11:00
Preview of using Revolution R Enterprise inside SQL Server 2016
### Connect to SQL Server using RODBC
library(RODBC)
library(magrittr)
# Connect to SQL Server using RODBC ------------------
sqlHost <- "DAA136209339.sys-sqlsvr.local"
sqlDatabase <- "RevoTestDB"
dsnString <- "driver={SQL Server};server=%s;database=%s;trusted_connection=true"