Skip to content

Instantly share code, notes, and snippets.

View soplakanets's full-sized avatar

Serhiy Oplakanets soplakanets

View GitHub Profile
/**
* Create a web friendly URL slug from a string.
*
* Requires XRegExp (http://xregexp.com) with unicode add-ons for UTF-8 support.
*
* Although supported, transliteration is discouraged because
* 1) most web browsers support UTF-8 characters in URLs
* 2) transliteration causes a loss of information
*
* @author Sean Murphy <sean@iamseanmurphy.com>
@soplakanets
soplakanets / gist:66363
Created February 18, 2009 14:43 — forked from svetlyak40wt/gist:15067
Automagically install/update the "vimrope" vim plugin
#!/bin/bash
# Plant rope vim's plugin
# This is a script to install or update 'ropevim'
# Copyright Alexander Artemenko, 2008
# Contact me at svetlyak.40wt at gmail com
function create_dirs
{
mkdir -p src