Skip to content

Instantly share code, notes, and snippets.

View nulltask's full-sized avatar

Seiya KONNO nulltask

View GitHub Profile
@MoOx
MoOx / gulpfile.js
Last active November 4, 2021 10:19
///
var pkg = require("./package.json")
, rimraf = require("rimraf")
, gulp = require("gulp")
, gutil = require("gulp-util")
, filter = require("gulp-filter")
, plumber = require("gulp-plumber")
, concat = require("gulp-concat")
gulp.task("clean", function() {
@shin1x1
shin1x1 / Vagrantfile
Created December 7, 2013 03:38
Docker on CentOS 6.5
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "opscode-centos65"
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box"
@tcnksm
tcnksm / docker_cheat.md
Last active August 5, 2021 03:59 — forked from wsargent/docker_cheat.md
Docker 虎の巻

Docker 虎の巻

何故Dockerを使うべきか

Why Should I Care (For Developers)

"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."

@millermedeiros
millermedeiros / osx_setup.md
Last active May 7, 2024 08:01
Mac OS X setup

Setup Mac OS X

I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.

I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...

@mogeta
mogeta / Go.md
Last active December 20, 2015 15:29
Go弱の会に向けて資料作成開始。

Go弱向け資料。

この資料はGo弱の会向けに作成中の資料です。 Go強の方がいらっしゃいましたら補足とかもらえると助かります。

/// <summary>
/// NullTask is a task that does nothing in Null Object Pattern fashion
/// </summary>
public class NullTask : Task
{
public NullTask() : base(() => { }) { }
}
@max-mapper
max-mapper / commands.txt
Created July 9, 2013 03:13
commands typed when initially setting up the browserify-cdn VPS ubuntu installation
// root
ls
vim
ls
ls -alh
pwd
mkdir .ssh
cd .ssh
vim known_hosts
@max-mapper
max-mapper / blink-led.js
Last active April 13, 2022 20:30
raspberry pi scripts
@rstacruz
rstacruz / ie.md
Created December 17, 2012 09:25 — forked from anonymous/ie.md
The IE cheatsheet

The IE cheatsheet

Only in IE7+

Selectors:

  • > (descendant)
  • [attr] (attribute)
  • .class1.class2 (multiple classes)
  • ~ (sibling)
@kawaz
kawaz / gmail.sh
Last active March 16, 2020 00:34
gmailでメール送信するシェルスクリプト
#!/bin/bash
user="example@gmail.com"
pass="yourpassword"
to="friend@example.com"
( sleep 1
echo "EHLO `hostname`"
sleep 1
echo "AUTH PLAIN $(echo -en "$user\0$user\0$pass" | base64)"
sleep 1