Hayakuの使い方
CSSを「速く」書くためのSublime Text 2のパッケージ「Hayaku!」について。
インストール
Package Controlからどうぞ
// Mixins --------------------------------------------------------------- | |
=placeholder-style | |
color: #777 | |
// add your defaults here. | |
// if you need more than one style-group you can either create several mixins, | |
// or just name the style-groups and take a single style-group-name argument. | |
=apply-placeholders | |
&::-webkit-input-placeholder |
// This is the main application configuration file. It is a Grunt | |
// configuration file, which you can learn more about here: | |
// https://github.com/cowboy/grunt/blob/master/docs/configuring.md | |
// | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
// The clean task ensures all files are removed from the dist/ directory so | |
// that no files linger from previous builds. |
/** | |
* The result of this file structure is ONE *.css file per theme. Making a global change | |
* to _base or _config partial will update all themes that inherit from them. #win | |
*/ | |
@import 'config'; | |
/** | |
* Global | |
*/ |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="keywords" content="iTunes Store" /><meta name="description" content="iTunes Store" /><meta name="viewport" content="width = device-width, initial-scale = 1, minimum-scale = 1, maximum-scale = 1, user-scalable = no" /><meta name="platform-cache-id" content="16" /> | |
<title></title> |
(「GitHubプライベートリポジトリ」と書きましたが、SSH鍵認証でGITを運用してる場合も同じだと思います。) | |
プライベートリポジトリの場合、SSH鍵認証での接続になると思いますが、Jenkins管理画面にはその設定(鍵の登録)項目がありません。 | |
そこで、Jenkins実行サーバのJenkins実行ユーザにSSHの設定をする必要があります。 | |
1. Jenkins実行サーバにてJenkinsユーザになり、SSHキーを生成する。`ssh-keygen -t rsa` | |
2. 生成した公開鍵をGithubアカウント管理画面で登録する。 |
CSSを「速く」書くためのSublime Text 2のパッケージ「Hayaku!」について。
Package Controlからどうぞ
%pseudo-content-before { | |
position: relative; | |
&:before { | |
content: " "; | |
position: absolute; | |
display: block; | |
} | |
} | |
%pseudo-content-after { |
(function($) { | |
$.fn.droparea = function() { | |
return this.each(function() { | |
$(this).on({ | |
'dragenter, dragleave' : function(e) { | |
e.stopPropagation(); | |
e.preventDefault(); | |
return false; |
#!/bin/sh | |
# Creating temp dirs | |
mkdir .compile_PHPUnit_$$ | |
cd .compile_PHPUnit_$$ | |
# Fetching the archives | |
wget -nv http://pear.phpunit.de/get/PHPUnit-3.5.15.tgz | |
wget -nv http://pear.phpunit.de/get/DbUnit-1.0.0.tgz | |
wget -nv http://pear.phpunit.de/get/File_Iterator-1.2.3.tgz |