Skip to content

Instantly share code, notes, and snippets.

View brianteachman's full-sized avatar

Brian Teachman brianteachman

View GitHub Profile
@iambibhas
iambibhas / scopes.txt
Last active June 16, 2024 20:45
Sublime Text 2: Snippet scopes
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
CoffeeScript: source.coffee
@sasezaki
sasezaki / zf2_alpha_locale.patch
Created July 6, 2012 14:11
ZF2 Alpha/Alnum 's depend on Locale refactor
diff --git library/Zend/I18n/Filter/Alnum.php library/Zend/I18n/Filter/Alnum.php
index a18e4e6..c42d5c6 100644
--- library/Zend/I18n/Filter/Alnum.php
+++ library/Zend/I18n/Filter/Alnum.php
@@ -38,6 +38,7 @@ class Alnum extends AbstractLocale
protected $options = array(
'locale' => null,
'allow_white_space' => false,
+ 'depend_on_locale' => false,
);