Skip to content

Instantly share code, notes, and snippets.

View uribo's full-sized avatar
🍉
fine

Shinya Uryu uribo

🍉
fine
View GitHub Profile
@toshiharu
toshiharu / EvernoteNewNoteFromFile.scpt
Last active December 31, 2015 22:06
OS X の Evernote でインポートフォルダを作る
--
-- [Mac] Evernote auto-import folder for Mac OS X - Evernote - Evernote User Forum
-- https://discussion.evernote.com/topic/29948-evernote-auto-import-folder-for-mac-os-x/
--
-- これを ~/Library/Scripts/Folder Action Scripts/ に置いて、
-- インポートフォルダにしたいフォルダのコンテクストメニューでフォルダアクション設定を行う。
--
on adding folder items to theFolder after receiving theNewItems
repeat with theNewItem in theNewItems
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ksmzn
ksmzn / solarize_dark.sh
Last active June 22, 2017 16:51
Solarized dark color scheme for TeXShop
#!/bin/sh
# solarized dark color scheme
# ref https://github.com/altercation/solarized/issues/167
# Improve color scheme for TeXShop
# background = solarized base03 = 0 43 54
defaults write TeXShop background_R 0.00
defaults write TeXShop background_G 0.169
defaults write TeXShop background_B 0.212
@adriantorrie
adriantorrie / install-julia.sh
Last active February 25, 2020 11:43
Ubuntu 14.04 - Install The Julia Language (julia-lang)
sudo add-apt-repository ppa:staticfloat/juliareleases
sudo apt-get update
sudo apt-cache show julia
sudo apt-get install julia julia-doc -y
julia -E 'Pkg.update()'
julia
@zr-tex8r
zr-tex8r / bxexpl3ptex.sty
Last active December 19, 2018 02:43
LaTeX: To correct the engine detection of expl3 in using pLaTeX
% bxexpl3ptex.sty
%% package declaration
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxexpl3ptex}[2015/07/28 v0.3]
%% hack for \ifpdfprimitive
\let\bxqxp@postproc\relax
\expandafter\ifx\csname ifpdfprimitive\endcsname\relax
\expandafter\@firstofone
@r-linux
r-linux / GetPantsu.Rmd
Last active August 29, 2015 14:12
GetPantsu!!
---
title: "メリー・クリスマス Pantsu"
author: "R_Linux"
date: "2014年12月24日"
output: html_document
---
本コードは『声優統計』第五号付録です。声優統計については、[学会サイト](http://voice-statistics.github.io/)を参照してください。
@hadley
hadley / advise.md
Created February 13, 2015 21:32
Advise for teaching an R workshop

I think the two most important messages that people can get from a short course are:

a) the material is important and worthwhile to learn (even if it's challenging), and b) it's possible to learn it!

For those reasons, I usually start by diving as quickly as possible into visualisation. I think it's a bad idea to start by explicitly teaching programming concepts (like data structures), because the pay off isn't obvious. If you start with visualisation, the pay off is really obvious and people are more motivated to push past any initial teething problems. In stat405, I used to start with some very basic templates that got people up and running with scatterplots and histograms - they wouldn't necessary understand the code, but they'd know which bits could be varied for different effects.

Apart from visualisation, I think the two most important topics to cover are tidy data (i.e. http://www.jstatsoft.org/v59/i10/ + tidyr) and data manipulation (dplyr). These are both important for when people go off and apply

@JoshData
JoshData / build_logins.sh
Last active November 26, 2020 17:59
rstudio multi-user helper
#!/bin/bash
# Start an AWS instance with one of the AMIs provided by:
# http://www.louisaslett.com/RStudio_AMI/
#
# Get this script.
# wget https://gist.githubusercontent.com/JoshData/615aa18cecb8a6596f59/raw/1b43765552862af98cb16d95dd236a81f6c5b464/build_logins.sh
# chmod +x build_logins.sh
#
# Then use this script to create many logins on the system.
@rain1024
rain1024 / tut.md
Last active July 15, 2025 13:19
Install pdflatex ubuntu

PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

  • Install the TexLive base
sudo apt-get install texlive-latex-base
  • Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
@hadley
hadley / ds-training.md
Created March 13, 2015 18:49
My advise on what you need to do to become a data scientist...

If you were to give recommendations to your "little brother/sister" on things that they need to do to become a data scientist, what would those things be?

I think the "Data Science Venn Diagram" (http://drewconway.com/zia/2013/3/26/the-data-science-venn-diagram) is a great place to start. You need three things to be a good data scientist:

  • Statistical knowledge
  • Programming/hacking skills
  • Domain expertise

Statistical knowledge