Skip to content

Instantly share code, notes, and snippets.

View vkhv's full-sized avatar
☁️
Cloud development

Vladislav Khvostov vkhv

☁️
Cloud development
  • Cloud
View GitHub Profile
@wilddeer
wilddeer / READMEPLZ.md
Last active January 15, 2024 11:23
Чатра ищет разработчика

Чатра ищет разработчика

Привет!

Мы в Чатре ищем разработчика. Чатра — это современный чат для сайтов. У нас классный продукт, сделанный с любовью и вниманием к деталям, небольшая дружная команда и больше десяти тысяч клиентов в Северной Америке и Европе.

Чат!

Не хватает одного — прекрасного разработчика или разработчицы, желающей присоединиться к нашей команде.

set nocompatible " be iMproved, required
filetype off " required
"set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
@parmentf
parmentf / GitCommitEmoji.md
Last active October 31, 2025 17:32
Git Commit message Emoji
@dtinth
dtinth / README.md
Last active September 29, 2024 23:08
Batch File Rename Script

Batch File Rename

Use JavaScript for Automation to rename files in batch!

Motivation

@oroce
oroce / app.js
Created June 17, 2014 08:37
parse csp report in express
var express = require('express');
var app = express();
var bodyParser = require('body-parser');
// chrome sends application/csp-report
// firefox sends application/json
// it seems chrome is doing it well: https://w3c.github.io/webappsec/specs/content-security-policy/
app.use(bodyParser.json({
type: ['json', 'application/csp-report']
}));
@jdx
jdx / boot.js
Last active October 1, 2025 10:57
zero-downtime node.js app runner
// This script will boot app.js with the number of workers
// specified in WORKER_COUNT.
//
// The master will respond to SIGHUP, which will trigger
// restarting all the workers and reloading the app.
var cluster = require('cluster');
var workerCount = process.env.WORKER_COUNT || 2;
// Defines what each worker needs to run
@jasonmerino
jasonmerino / prepare-commit-msg
Last active March 18, 2019 12:20 — forked from bartoszmajsak/prepare-commit-msg.sh
Prepend branch name to every git commit message unless on master.
#!/bin/sh
#
# Prepend the branch name to the commit message
#
# Add this file as [repo]/.git/hooks/prepare-commit-msg
#
# A couple notes:
# 1. The file must be executable (chmod +x prepare-commit-msg)
# 2. This works on a per-repo basis (unless you follow this guide https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook)