This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
#!/usr/bin/env bash | |
# memusg -- Measure memory usage of processes | |
# Usage: memusg COMMAND [ARGS]... | |
# | |
# Author: Jaeho Shin <[email protected]> | |
# Created: 2010-08-16 | |
############################################################################ | |
# Copyright 2010 Jaeho Shin. # | |
# # | |
# Licensed under the Apache License, Version 2.0 (the "License"); # |
//g++ -o readbgz readbgz.cc -lboost_iostreams -lz | |
#include <boost/iostreams/filtering_stream.hpp> | |
#include <boost/iostreams/device/file.hpp> | |
#include <boost/iostreams/filter/gzip.hpp> | |
#include <iostream> | |
#include <fstream> | |
#include <cstdlib> | |
#include <vector> |
--- | |
title: "Row bind a list of data.frames with a key" | |
author: "Jenny Bryan" | |
date: "22 August, 2014" | |
output: | |
html_document: | |
keep_md: TRUE | |
--- | |
I posed a question on Twitter (click to see the figure!): |
NOTE: This guide has moved to https://github.com/bpierre/switch-to-vim-for-good
This guide is coming from an email I used to send to newcomers to Vim. It is not intended to be a complete guide, it is about how I switched myself.
My decision to switch to Vim has been made a long time ago. Coming from TextMate 1, I wanted to learn an editor that is Open Source (so I don’t lose my time learning a tool that can be killed), cross platform (so I can use it everywhere), and powerful enough (so I won’t regret TextMate). For these reasons, Vim has always been the editor I wanted to learn, but it took me several years before I did it in a way that works for me. I tried to switch progressively, using the Janus Vim distribution for a few months, then got back to using TextMate 2 for a time, waiting for the next attempt… here is what finally worked for me.
Original gist with comments: https://gist.github.com/bpierre/0a0025d348b6001394e0
""" | |
Optuna example that optimizes a simple quadratic function in parallel using joblib. | |
In this example, we optimize a simple quadratic function. We also demonstrate how to continue an | |
optimization and to use timeouts. | |
We have the following way to execute this example: | |
$ python quadratic_joblib_simple.py |