This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_netdev,cache=none,noserverino,actimeo=0,username=,password=,uid=yasushi,gid=yasushi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"bytes" | |
"compress/zlib" | |
"encoding/binary" | |
"io/ioutil" | |
"log" | |
"os" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
NODE_VERSION=${NAVE_VERSION:-0.10.28} | |
NODE_PATH=~/.nave/installed/$NODE_VERSION/lib/node | |
NAVEPATH=~/.nave/installed/$NODE_VERSION/bin | |
PATH=$NAVEPATH:$PATH | |
export PATH NODE_PATH | |
$NAVEPATH/`basename $0` $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ant.importBuild "build.xml" | |
defaultTasks 'crx' | |
def keystore = ant.properties['cert.chromePath']+"/"+ant.properties.name+".p12" | |
def chromeCrx = ant.properties.dist+"/"+ant.properties.name+".crx" | |
import java.security.* | |
import java.security.spec.* | |
import java.nio.ByteBuffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.theoryinpractise.coffeescript.CoffeeScriptCompiler | |
import org.gradle.api.InvalidUserDataException | |
import org.gradle.api.file.FileCollection | |
import org.gradle.api.file.FileVisitDetails | |
import org.gradle.internal.classloader.ClasspathUtil | |
import org.gradle.api.tasks.* | |
import org.gradle.api.logging.LogLevel | |
class TaliosCoffeeScriptCompiler extends SourceTask { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git for-each-ref --sort=-committerdate --format=$'%(committerdate:iso8601)\t%(refname:short)\t%(contents:subject)' refs/heads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# /etc/fstab | |
# Created by anaconda on Tue Jul 8 07:11:07 2014 | |
# | |
# Accessible filesystems, by reference, are maintained under '/dev/disk' | |
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info | |
# | |
/dev/mapper/centos-root / xfs defaults 1 1 | |
UUID=3999c8bf-0ec8-432a-bee3-350014640ab5 /boot xfs defaults 1 2 | |
/dev/mapper/centos-swap swap swap defaults 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
sudo: yes | |
tasks: | |
- yum: name={{ item }} | |
with_items: | |
- libselinux-python | |
- unzip | |
- openssh-clients | |
- git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Ex | |
def sum(l, s) | |
@c = (@c||0) + 1 | |
(not l or l.empty?) ? s : sum(l[1..-1],s+l[0]) | |
end | |
def count ; @c end | |
end |