This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backgroundOrder: | |
- 11 | |
- 13 | |
- 44 | |
- 52 | |
- 51 | |
- 50 | |
- 9 | |
- 12 | |
- 14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import _ from 'lodash' | |
import Events from './events' | |
export default class Entity { | |
constructor(defaults) { | |
this.$events = new Events() | |
this.$original = {} | |
this.$changed = [] | |
this._attributes = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"httpRoot": "/", | |
"httpPort": 8080, | |
"serviceRoot": "/api/", | |
"serviceHost": "localhost", | |
"useLocal": true, | |
"staticPath": ["apps", "library"] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while read oldrev newrev ref | |
do | |
branch=`echo $ref | cut -d/ -f3` | |
if [ "master" == "$branch" ]; then | |
git --work-tree=/home/huncwot/domains/reserved-ecomerce-master/current checkout -f $branch | |
package="/home/huncwot/domains/reserved-ecomerce-master/current/packages/${newrev}.zip" | |
git archive --format=zip HEAD skin templates > $package |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Proxy = { | |
create: function(module, key) { | |
return { | |
// dodajemy obietnice | |
promise: function(event) { | |
var def = $.Deferred(); | |
event.data.resolve = def.resolve; | |
module.triggerEvent(event); | |
return def.promise(); | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @group ${1:name} */ | |
${0:$TM_SELECTED_TEXT} | |
/* @end ${1:name} */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ scopeName = 'source.css'; | |
comment = ''; | |
fileTypes = ( 'css', 'css.erb' ); | |
foldingStartMarker = '/\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))|\/\*\s*@group\s*.*\s*\*\/'; | |
foldingStopMarker = '(?<!\*)\*\*/|^\s*\}|\/*\s*@end\s*.*\s*\*\/'; | |
patterns = ( | |
{ include = '#comment-block'; }, | |
{ include = '#selector'; }, | |
{ name = 'meta.at-rule.charset.css'; | |
begin = '\s*((@)charset\b)\s*'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
source `brew --prefix`/Library/Contributions/brew_bash_completion.sh | |
export EDITOR=/usr/local/bin/mate | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
export CLICOLOR=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foldingStartMarker = '/\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))|\/\*\s*@group\s*.*\s*\*\/'; | |
foldingStopMarker = '(?<!\*)\*\*/|^\s*\}|\/*\s*@end\s*.*\s*\*\/'; | |
/* @group ${1:name} */ | |
${0:$TM_SELECTED_TEXT} | |
/* @end ${1:name} */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Endo_Filter_Typografic implements Zend_Filter_Interface | |
{ | |
public function filter($value) | |
{ | |
$value = preg_replace('/(\s([\w]{1})\s)/u', ' ${2} ', $value); | |
return $value; | |
} | |
} |
NewerOlder