I hereby claim:
- I am gary on github.
- I am giams (https://keybase.io/giams) on keybase.
- I have a public key ASCHZYrVj4BBeaCo8zT14xUw7z2xiq7SZYbhusDYCI1_Lwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
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.
sudo apt-get install texlive-latex-base
The reason why you might get certificate errors in Ruby 2.0 when talking HTTPS is because there isn't a default certificate bundle that OpenSSL (which was used when building Ruby) trusts.
Update: this problem is solved in edge versions of rbenv and RVM.
$ ruby -rnet/https -e "Net::HTTP.get URI('https://github.com')"
net/http.rb:917:in `connect': SSL_connect returned=1 errno=0 state=SSLv3
read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
You can work around the issue by installing a certificate bundle that you trust. I trust Mozilla and curl.
| ;; TODO: pull author initials from (user-full-name) | |
| (setq author-initials "EH") | |
| (defun set-pivotal-story-id (id) | |
| "sets current pivotal tracker story id" | |
| (interactive "spivotal-story-id:") | |
| (progn | |
| (setq pivotal-story-id id))) | |
| $VERBOSE = nil | |
| require File.expand_path('../rooby', __FILE__) | |
| Person = Rooby::Class.new 'Person' do | |
| define :initialize do |name| | |
| @name = name | |
| end | |
| define :name do |
| # Shortcut interface to rbenv to quickly pick & switch between Ruby versions. | |
| # Usage: | |
| # rb <version> [19] | |
| # rb <version> [19] <command>... | |
| # rb | |
| # | |
| # A version specifier can be a partial string which will be matched against | |
| # available versions and the last match will be picked. The optional "19" | |
| # argument switches JRuby or Rubinius to 1.9 mode. | |
| # |
| # ~/.osx — http://mths.be/osx | |
| ############################################################################### | |
| # General UI/UX # | |
| ############################################################################### | |
| # Set computer name (as done via System Preferences → Sharing) | |
| scutil --set ComputerName "MathBook Pro" | |
| scutil --set HostName "MathBook Pro" | |
| scutil --set LocalHostName "MathBook-Pro" |
| #!/usr/bin/env bash | |
| mkdir vim | |
| curl https://s3.amazonaws.com/heroku-vim/vim-7.3.tar.gz --location --silent | tar xz -C vim | |
| export PATH=$PATH:/app/vim/bin |
| (defun scratch-js () | |
| "Create or switch to a javascript mode scratch buffer" | |
| (interactive) | |
| (if (not (eq nil (get-buffer "scratch-js"))) | |
| (switch-to-buffer "scratch-js") | |
| (set-buffer (get-buffer-create "scratch-js")) | |
| (js2-mode) | |
| (switch-to-buffer "scratch-js"))) |
| /* | |
| * Yeah, so rake:assets:precompile will fail if this file is ascii, and something | |
| * it imports is utf-8. To fix it, here is a snowman: ☃ (no, really.) | |
| */ |