❤️🔥
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
namespace :maintenance do | |
desc "Maintenance start (edit config/maintenance.yml to provide parameters)" | |
task :start do | |
on roles(:web) do | |
upload! "config/maintenance.yml", "#{current_path}/tmp/maintenance.yml" | |
end | |
end | |
desc "Maintenance stop" | |
task :stop do |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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
#define говно NULL | |
#define нихуя void | |
#define факт bool | |
#define хуёво false | |
#define пиздато true | |
#define цифра int | |
#define число float | |
#define базар char | |
#define ТамГде * | |
#define типа { |
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
set nosmoothscroll | |
set autofocus | |
let searchlimit = 10 | |
let scrollstep = 50 | |
let barposition = "top" | |
let mapleader = "," | |
map gb :buffer<Space> | |
map <Leader>r reloadTabUncached |
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
#cVim-link-container, .cVim-link-hint, #cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, .cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right, #cVim-hud, #cVim-status-bar { | |
font-family: Helvetica, Helvetica Neue, Neue, sans-serif, monospace, Arial; | |
font-size: 10pt !important; | |
-webkit-font-smoothing: antialiased !important; | |
} | |
#cVim-link-container { | |
position: absolute; | |
pointer-events: none; | |
width: 100%; left: 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
❯ cat .overcommit.yml | |
# Use this file to configure the Overcommit hooks you wish to use. This will | |
# extend the default configuration defined in: | |
# https://github.com/brigade/overcommit/blob/master/config/default.yml | |
# | |
# At the topmost level of this YAML file is a key representing type of hook | |
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can | |
# customize each hook, such as whether to only run it on certain files (via | |
# `include`), whether to only display output if it fails (via `quiet`), etc. | |
# |
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 } from 'react'; | |
export default function(Component, props, stubs) { | |
function RouterStub() {} | |
Object.assign(RouterStub, { | |
makePath() {}, | |
makeHref() {}, | |
transitionTo() {}, | |
replaceWith() {}, |
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
module Routes (handleRequest) where | |
-- ... | |
share [mkPersist sqlSettings] | |
$(persistFileWith lowerCaseSettings "config/models") | |
-- ^ | |
-- ... |
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
❯ http -j POST localhost:8080/api/v1/sign-up phone=+79057220657 country=1 city=2 os=blah | |
HTTP/1.1 500 Internal Server Error | |
Access-Control-Allow-Headers: Accept, Content-Type | |
Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, PATH, OPTIONS | |
Access-Control-Allow-Origin: * | |
Content-Type: text/html; charset=utf-8 | |
Date: Wed, 01 Jul 2015 15:32:56 GMT | |
Server: Warp/3.0.13.1 | |
Transfer-Encoding: chunked |
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 webpack from 'webpack'; | |
gulp.task('bundle', () => { | |
const bundler = webpack(webpackConfig); | |
function bundle(err, stats) { | |
if (err) { | |
throw new $.util.PluginError('webpack', err); | |
} |