git clean -f
git clean -f -d
git clean -n
gulp = require('gulp') | |
fs = require('fs'); | |
path = require('path'); | |
config = require('../config') | |
yellow = '\u001b[33m' | |
reset = '\u001b[0m' | |
gulp.task 'ls', -> | |
console.log(yellow + taskList().join(' ') + reset) |
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm | |
sudo rpm -Uvh http://centos.alt.ru/repository/centos/6/x86_64/centalt-release-6-1.noarch.rpm |
{ | |
"name": "my_project", | |
"version": "0.0.0", | |
"description": "", | |
"main": "Gruntfile.js", | |
"author": "Naoto Mawatari", | |
"license": "MIT", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, |
module.exports = function (grunt) { | |
'use strict'; | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
jshint: { | |
all: [ | |
'Gruntfile.js', | |
'src/js/models/*.js', |
# GitHubで当該リポジトリをフォークする | |
# ローカルにフォークしたリポジトリをクローンする | |
git clone git@github.com:mawatari/jenkins-flow.git | |
# フォーク元のリポジトリをリモートする | |
git remote add upstream git://github.com/swimmystudy/jenkins-flow.git | |
# 必要に応じてフェッチする |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectTasksOptions"> | |
<TaskOptions isEnabled="true"> | |
<option name="arguments" value="compile" /> | |
<option name="checkSyntaxErrors" value="true" /> | |
<option name="description" value="Compiles .scss files into .css files" /> | |
<option name="exitCodeBehavior" value="ERROR" /> | |
<option name="fileExtension" value="scss" /> | |
<option name="immediateSync" value="true" /> |
<?xml version="1.0" encoding="UTF-8"?> | |
<TaskOptions> | |
<TaskOptions> | |
<option name="arguments" value="compile" /> | |
<option name="checkSyntaxErrors" value="true" /> | |
<option name="description" value="Compiles .scss files into .css files" /> | |
<option name="exitCodeBehavior" value="ERROR" /> | |
<option name="fileExtension" value="scss" /> | |
<option name="immediateSync" value="true" /> | |
<option name="name" value="Compass" /> |
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>デモ</title> | |
</head> | |
<body> | |
<ul id="list"> | |
<li>foo</li> |
var i = 0, timer = function () { | |
console.log(++i); | |
setTimeout(timer, 1000); | |
}; | |
timer(); | |
// 回数制限付き | |
var i = 0, limitedTimer = function () { | |
console.log(++i); | |
var timerId = setTimeout(timer, 1000); |