Skip to content

Instantly share code, notes, and snippets.

@davemkirk
davemkirk / Vagrantfile
Created April 4, 2015 20:23
Jupyter (aka IPython Notebook) Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
Param(
[parameter(Mandatory=$true)]
[String]$tag
)
$OutputEncoding = [System.Text.Encoding]::UTF8
irm "http://qiita.com/tags/$tag/feed" | %{$_.title + "`0" + $_.url} | peco --null | %{start $_}
@kazuki-ma
kazuki-ma / cv_mat_foreach.cpp
Last active April 29, 2022 06:01
test code for cv::Mat::forEach
#include <opencv2/core.hpp>
typedef cv::Point3_<uint8_t> Pixel;
typedef cv::Mat_<Pixel> MatT;
const cv::Size SIZE_FULL_HD(1920, 1020);
void ShowResult(const std::string name, const double time) {
std::cout << cv::format("%40s | %20.10f", name.c_str(), time) << std::endl;
return;
}
@m-nori
m-nori / README.md
Created January 11, 2013 03:09
VirtualBoxで共有フォルダを作る方法

VirtualBoxで共有フォルダを作る方法

共有フォルダをそのまま作るとシンボリックリンクが貼れなかったりするので、以下の方法で作成する。


VirtualBoxマネージャで共有フォルダを作成

Windows側で以下の操作を行う。