Skip to content

Instantly share code, notes, and snippets.

@josuecau
josuecau / gist:8c0d842d513586d971e2
Last active Aug 29, 2015 — forked from Huluk/gist:5117702
Terminal Vim as default editor application in Mac OS X
View gist:8c0d842d513586d971e2
If you want your terminal vim to open files you double click, follow the following steps (MacOS only):
1. Open Automator
2. Select Application
3. Select "Run AppleScript" action and copy the attached script
4. Save and set as default for opening files
Multiple files are opened in vim tabs.
If there is already a vim instance running, files are opened in it.
View owebia-shipping-colissimo-2014.txt
#####
# Colissimo
#
# Validité
# Tarifs du 1er mars 2014
# Crédits
# Configuration réalisée par owebia
# Colissimo National (France, Monaco, Andorre)
{
View bootstrap_ms.css
@screen-ms-min: 480px;
@screen-ms-max: 767px;
.col-ms-1,
.col-ms-2,
.col-ms-3,
.col-ms-4,
.col-ms-5,
.col-ms-6,
.col-ms-7,
View smooth-scrolling.coffee
# based on http://www.paulund.co.uk/smooth-scroll-to-internal-links-with-jquery
$ ->
$('a[href*=#]:not([href=#])').on 'click.smoothscroll', (e) ->
e.preventDefault()
target = @hash
$target = $(target)
View .ackrc
--ignore-file=is:tags
@josuecau
josuecau / .jshintrc
Last active Jan 1, 2016 — forked from haschek/.jshintrc
JSHint configuration file
View .jshintrc
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true
@josuecau
josuecau / .gitignore
Created Dec 14, 2011 — forked from redoPop/.gitignore
Template .gitignore file for WordPress projects
View .gitignore
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your