Skip to content

Instantly share code, notes, and snippets.

@pratik60
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save pratik60/10b8689735c86689375f to your computer and use it in GitHub Desktop.

Select an option

Save pratik60/10b8689735c86689375f to your computer and use it in GitHub Desktop.
Intranet Dev Settings
{
"bold_folder_labels": true,
"caret_style": "wide",
"default_line_ending": "unix",
"detect_indentation": false,
"detect_slow_plugins": false,
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"fallback_encoding": "UTF-8",
"file_exclude_patterns":
[
"*.pyc",
"*.scssc",
"*.pyo",
"*.exe",
"*.dll",
"*.obj",
"*.o",
"*.a",
"*.lib",
"*.so",
"*.dylib",
"*.ncb",
"*.sdf",
"*.suo",
"*.pdb",
"*.idb",
".DS_Store",
"*.class",
"*.psd",
"*.db"
],
"find_selected_text": true,
"folder_exclude_patterns":
[
".bower-cache",
".bower-registry",
".bower-tmp",
".sass-cache"
],
"font_options":
[
"subpixel_antialias"
],
"font_size": 15.0,
"highlight_line": true,
"line_padding_bottom": 1,
"open_files_in_new_window": false,
"phoenix_color_darkblue": true,
"reindent_on_save":
[
"html"
],
"rulers":
[
80
],
"shift_tab_unindent": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"use_tab_stops": true,
"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?"
}
<li data-ng-repeat="item in menus.main" ui-route="/{{item.link}}" ng-class="{active: $uiRoute}">
<a mean-token="item.link" ui-sref='{{item.link}}'>{{item.title}}</a>
</li>
Articles.menus.add({
'roles': ['authenticated'],
'title': 'Articles',
'link': 'all articles'
});
$stateProvider
.state('all articles', {
url: '/articles',
templateUrl: 'articles/views/list.html',
resolve: {
loggedin: checkLoggedin
}
})
.state('create article', {
url: '/articles/create',
templateUrl: 'articles/views/create.html',
resolve: {
loggedin: checkLoggedin
}
})
{
// jsbeautify options
"indent_size": 2,
"format_on_save": true,
"use_original_indentation": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment