Skip to content

Instantly share code, notes, and snippets.

View milushov's full-sized avatar
😏
crafting new bugs

roma milushov

😏
crafting new bugs
View GitHub Profile
@milushov
milushov / up.sh
Created November 28, 2023 18:55
up.sh
#!/bin/bash
# Don't forget chmod +x up.sh
# Installation:
# brew install jq
#
# Define function in ~/.zshrc
# container_name() {
# docker ps --format "{{.Names}}" | grep "app-1"
@milushov
milushov / .gitlab-ci.yml
Last active March 31, 2024 13:44
Kamal (Ex Mrsk) deploy with Gitlab CI (docker in docker)
services:
- docker:24.0.5-dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "" # don't start over TLS
meta-build-image:
interruptible: true
https://julien.danjou.info/why-you-should-care-that-your-sql-ddl-is-transactional/
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
─roma@milushov ~
╰─$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 5 2017 06:43:54)
MacOS X (unix) version
Included patches: 1-124
Compiled by Homebrew
Huge version with MacVim GUI. Features included (+) or not (-):
+acl +find_in_path -mouse_sysmouse -tag_any_white
+arabic +float +mouse_urxvt +tcl
+autocmd +folding +mouse_xterm +termguicolors
Bundle 'gmarik/vundle'
Bundle 'scrooloose/nerdtree'
"Bundle 'tpope/vim-commentary'
"Bundle 'scrooloose/nerdcommenter'
Bundle 'kien/ctrlp.vim'
Bundle 'tommcdo/vim-exchange'
Bundle 'tpope/vim-unimpaired'
Bundle 'AndrewRadev/switch.vim'
Bundle 'Raimondi/delimitMate'
Bundle "mattn/pastebin-vim"
"Bundle 'mikewest/vimroom'
Bundle "pangloss/vim-javascript"
"g:javascript_conceal = 1
"Bundle 'majutsushi/tagbar'
require 'sinatra'
require 'json'
require 'faker'
POSITION = %w(
Новичок
Даритель
Наставник
Меценат
)
window._kaya_block_counter = window._kaya_block_counter || 1;
module.exports = {
uuid: function() {
return window._kaya_block_counter++;
},
// http://youmightnotneedjquery.com/#parse_html
parseHTML: function(str) {
var tmp = document.implementation.createHTMLDocument();