Skip to content

Instantly share code, notes, and snippets.

{
"type": "warning",
"html": true,
"message": "<i class=\"fa fa-warning\"></i> The message to display in <br><br> <strong>bold!!!</strong>",
"expires_at": 1526374267080
}
@ianmurrays
ianmurrays / fill-column-indicator.el
Created December 11, 2017 20:05
~/.emacs.d/elpa/fill-column-indicator-20170905.1008/fill-column-indicator.el
;;; fill-column-indicator.el --- Graphically indicate the fill column
;; Copyright (c) 2011-2014 Alp Aker
;; Author: Alp Aker <alp.tekin.aker@gmail.com>
;; Version: 1.89
;; Keywords: convenience
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
2014-09-22 16:05:54 -0300
ant
clean
Buildfile: /private/tmp/closure-compiler-SlWtTA/closure-compiler-maven-release-v20140625/build.xml
clean:
BUILD SUCCESSFUL

Keybase proof

I hereby claim:

  • I am ianmurrays on github.
  • I am ianmurrays (https://keybase.io/ianmurrays) on keybase.
  • I have a public key whose fingerprint is B767 8160 D20B C7D8 7167 5778 B74A DE12 62F5 0455

To claim this, I am signing this object:

@ianmurrays
ianmurrays / model_caching.coffee
Created November 15, 2012 00:52 — forked from rstacruz/model_caching.coffee
Backbone.js model caching
# ## Backbone model caching
# This is a simple solution to the problem "how do I make less requests to
# my server?".
#
# Whenever you need a model instance, this will check first if the same thing
# has been fetched before, and gives you the same instance instead of fetching
# the same data from the server again.
#
# Reusing the same instance also has the great side-effect of making your
# model changeable from one part of your code, with your changes being available
@ianmurrays
ianmurrays / devise.es.yml
Created March 19, 2012 19:53
Devise 2.0 Spanish Locale
es:
errors:
messages:
expired: "ha expirado, por favor pide una nueva"
not_found: "no encontrado"
already_confirmed: "ya fue confirmada. Intenta ingresar."
not_locked: "no ha sido bloqueada"
not_saved:
one: "Ha habido 1 error:"
other: "Han habido %{count} errores:"
@ianmurrays
ianmurrays / faye.ru
Created March 8, 2012 22:40
Faye Private_Pub Config
# Run with: rackup faye.ru -s thin -E production
require "yaml"
require "faye"
begin
require "private_pub"
rescue LoadError
require "bundler/setup"
require "private_pub"
end
@ianmurrays
ianmurrays / git-blame
Created November 11, 2011 12:40
git blame doesn't lie
6c71ff4d app/views/sections/show_excel.html.haml (Gonzalo S 2011-10-12 18:48:22 -0300 14) .table-container
c69c56a5 app/views/sections/show_excel.html.haml (Gonzalo S 2011-11-10 20:31:52 -0300 15) 97198046
@ianmurrays
ianmurrays / apache-site.conf
Created October 26, 2011 18:09
nginx as apache proxy
NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
ServerAdmin webmaster@example.org
ServerName domain.example.org
ServerAlias www.domain.example.org
DocumentRoot /path/to/docroot
ErrorLog /path/to/docroot/logs/error.log # Optional
CustomLog /path/to/docroot/logs/access.log combined # Optional
RPAFenable On
RPAFsethostname On
@ianmurrays
ianmurrays / .gitconfig
Created October 5, 2011 20:08
Git Configuration
[color]
ui = true
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p