Skip to content

Instantly share code, notes, and snippets.

@AllThingsSmitty
AllThingsSmitty / resources.md
Created February 2, 2015 20:28
SassConf 2014 resource round-up
@Layzie
Layzie / chrome-tech-night-8.md
Last active August 29, 2015 14:25
Chrome Tech Night #8 メモ
@digilord
digilord / new_server.sh
Last active September 18, 2015 07:35
New Digital Ocean server setup for meteor app
#!/bin/bash -x
# useradd -m digilord # Uncomment and change digilord to your username if you want to add a user for yourself
sudo apt-get install build-essential -y
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update -y
sudo apt-get install nodejs -y
sudo apt-get install mongodb -y
@irishstu
irishstu / gist:2718782
Created May 17, 2012 13:06
Boxorder mixin
@mixin boxit ($dir) {
display:box;
display:-moz-box;
display:-webkit-box;
box-orient:$dir;
-moz-box-orient:$dir;
-webkit-box-orient:$dir;
}
@mixin order ($num) {
@konitter
konitter / casperjs-on-win.md
Last active December 17, 2015 14:38
CasperJS on Windows

CasperJS on Windows

PhantomJS installation

CasperJSを動かすにはPhantomJSが必要なのでインストール。

  1. PhantomJS: Download and Install からzipをダウンロードして適当なところに置く。
  2. システムのプロパティとかからファイルを置いた場所のパス;C:\phantomjs(Cドラ直下の例)を環境変数PATHに追記する。
  3. PCを再起動してコマンドプロンプトからphantomjs --versionを叩いてバージョンが出ればインストール成功。
@geckotang
geckotang / memo.md
Last active September 5, 2016 02:53
親がdisplay: table-*;の時、子のimg {max-width: 100%; }が効かない

img要素に対してのmax-widthが機能しない時があった

ためしたのが

  • display: table-header-group;
  • display: table-footer-group;
  • display: table-cell;

だったのでtable-*としてる。

@airportyh
airportyh / jsconf_slides_codes_and_notes.md
Last active June 19, 2017 20:51
JSConf 2014 Slides, Codes and Notes.

JSConf Slides, Codes and Notes

These are all the JSConf 2014 slides, codes, and notes I was able to cull together from twitter. Thanks to the speakers who posted them and thanks to @chantastic for posting his wonderful notes.

Modular frontend with NPM - Jake Verbaten (@Raynos)

@Shoom
Shoom / gist:9622e6e09ca6be63f98f
Last active July 19, 2018 11:52
CSSconf EU 2014
{
"cssconf": {
"location": {
"date": "September 12, 2014",
"country": "Germany",
"city": "Berlin",
"venue": "Radialsystem V",
"lat": 52.51039,
"long": 13.42864
},
@MoOx
MoOx / less2stylus.js
Created August 27, 2012 17:37 — forked from lancejpollard/less2stylus.coffee
Convert LESS to Stylus
// Usage : less2stylusDir('../src/css/');
var fs = require('fs');
// this less 2 stylus conversion script make a stylus easy to read syntax
// - let the braces
// - replace the @ for var as $
// - let semicolons
function less2stylus(less)
@GavinJoyce
GavinJoyce / gist:4f81d0bf879dad6b203e
Last active November 20, 2020 04:01
speeding up `npm install` by disabling the progress bar
with `react-native`:
npm set progress=false && rm -rf ~/.npm && rm -rf node_modules && npm cache clean && time npm install
npm install 83.72s user 26.03s system 100% cpu 1:49.32 total
npm set progress=true && rm -rf ~/.npm && rm -rf node_modules && npm cache clean && time npm install
npm install 199.30s user 27.32s system 91% cpu 4:08.29 total
--