Skip to content

Instantly share code, notes, and snippets.

@josuecau
josuecau / gist:8c0d842d513586d971e2
Last active August 29, 2015 14:11 — forked from Huluk/gist:5117702
Terminal Vim as default editor application in Mac OS X
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.
#####
# Colissimo
#
# Validité
# Tarifs du 1er mars 2014
# Crédits
# Configuration réalisée par owebia
# Colissimo National (France, Monaco, Andorre)
{
@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,
# 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)
@josuecau
josuecau / .ackrc
Last active January 2, 2016 09:28 — forked from kevinold/.ackrc
--ignore-file=is:tags
@josuecau
josuecau / .jshintrc
Last active September 11, 2022 18:01 — forked from haschek/.jshintrc
JSHint configuration file
{
// --------------------------------------------------------------------
// 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 December 14, 2011 09:17 — forked from redoPop/.gitignore
Template .gitignore file for WordPress projects
# 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