This file contains 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 connect = require('connect'), | |
http = require('http'), | |
serveStatic = require('serve-static'), | |
app = connect(), | |
server; | |
app.use(serveStatic("./angularjs")); | |
server = http.createServer(app); |
This file contains 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
module.exports = class NgTemplatesCompiler | |
brunchPlugin: yes | |
type: 'template' | |
extension: 'js' | |
# Add to this list of markup to wrap for AngularJS | |
pattern: /\.(html|jade|eco|hbs|handlebars)$/ | |
constructor: (config) -> | |
@module = config.plugins?.ng_templates?.module or 'appTemplates' |
This file contains 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
package mongodbdemo.config; | |
import java.util.Locale; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.ComponentScan; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.support.ReloadableResourceBundleMessageSource; |
This file contains 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
from kivy.config import Config | |
Config.set('graphics', 'width', '320') | |
Config.set('graphics', 'height', '480') | |
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.uix.widget import Widget | |
from kivy.uix.settings import SettingsWithNoMenu | |
from kivy.properties import StringProperty |
This file contains 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
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.uix.widget import Widget | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.properties import ObjectProperty, ReferenceListProperty | |
from kivy.properties import NumericProperty | |
from kivy.graphics import Line, Color | |
Builder.load_string(""" |
This file contains 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
# Added Class SettingColorPicker on line 501ff | |
# and modified SettingsApp() see line 1306 | |
# source from https://github.com/kivy/kivy/blob/master/kivy/uix/settings.py | |
''' | |
Settings | |
======== | |
.. versionadded:: 1.0.7 |
NewerOlder