Skip to content

Instantly share code, notes, and snippets.

Avatar
💾

Petr Bugyík o5

💾
View GitHub Profile
@o5
o5 / dump.sh
Last active Aug 12, 2022
MySQL / MariaDB Dump Helper
View dump.sh
#!/usr/bin/env bash
# MySQL / MariaDB Dump Helper
# ===========================
# FEATURES: Progress bar with ETA, support multiple databases (dump into separated files) and password as argument
# REQUIREMENTS:
# =============
# GNU Core Utilities, mysql, mysqldump, pv (https://github.com/icetee/pv)
View regex-weburl.js
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Updated: 2010/12/05
// License: MIT
//
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it)
//
// Permission is hereby granted, free of charge, to any person
View grido.less
.grido table, .grido .filter {
background: #fff;
border-radius: 4px;
border-spacing: 0;
border: 1px solid #CACACA;
text-align: left;
width: 100%;
}
.grido table, .grido .filter.outer {
box-shadow: 1px 1px 12px -1px rgba(0,0,0,.2);
View Sublime-Text_User-Settings.json
{
"auto_complete": true,
"auto_complete_commit_on_tab": false,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",