Skip to content

Instantly share code, notes, and snippets.

View o5's full-sized avatar
💾

Petr Bugyík o5

💾
View GitHub Profile
@o5
o5 / grido.less
Created January 5, 2015 15:21
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);
@o5
o5 / regex-weburl.js
Last active August 31, 2015 13:52 — forked from dperini/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
{
"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": "<",
@o5
o5 / dump.sh
Last active February 21, 2024 04:52
MySQL / MariaDB Dump Helper
#!/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)