" Auto install vim-plug
if empty(glob("~/.vim/autoload/plug.vim"))
execute '!curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.github.com/junegunn/vim-plug/master/plug.vim'
endif
" Plugins
call plug#begin('~/.vim/plugged')
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 React, { PropTypes, Component, cloneElement, Children } from 'react'; | |
const window = window; | |
export default class Fullscreen extends Component { | |
constructor(props) { | |
super(props); | |
this.state = this.getDimensions(); | |
} |
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
//npm i gulp gulp-stylus gulp-plumber browser-sync bs-fullscreen-message | |
var gulp = require('gulp'); | |
var stylus = require('gulp-stylus'); | |
var plumber = require('gulp-plumber'); | |
var browserSync = require('browser-sync').create(); | |
//Enable "Fullscreen Messages" plugin in Browsersync Plugins web settings (http://localhost:3001/plugins) | |
//Notification template | |
var bsError = function(data) { |
I hereby claim:
- I am r3nya on github.
- I am r3nya (https://keybase.io/r3nya) on keybase.
- I have a public key whose fingerprint is C469 79D4 3260 4D1C 53C5 252C 913F E3A9 45D9 2E6E
To claim this, I am signing this object:
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
#!/usr/bin/env sh | |
tweetbot_running() { | |
ps x | grep -v grep | grep Tweetbot > /dev/null | |
} | |
clean_tweetbot_cache() { | |
rm -rf ~/Library/Containers/com.tapbots.TweetbotMac/Data/Library/Caches/com.tapbots.TweetbotMac | |
} |
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/bash | |
cd /tmp | |
# install unzip just in case the user doesn't already have it. | |
sudo apt-get install unzip -y | |
wget "http://www.carrois.com/wordpress/downloads/fira_3_1/FiraFonts3111.zip" | |
unzip FiraFonts3111.zip |
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
var gulp = require('gulp'), | |
path = require('path'), | |
rename = require('gulp-rename'), | |
translit = require('translitit-cyrillic-russian-to-latin'); | |
gulp.task('files', function () { | |
gulp.src('./файл.txt') | |
.pipe(rename(function (path) { | |
path.basename = translit(path.basename); | |
})) |