This is just a demo gist to show the embedding with scottcorgan/angular-gist
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 |
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
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
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
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
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
<!-- created for this SO | |
http://stackoverflow.com/questions/34491935/how-to-combine-two-firebasearrays-into-one | |
How to setup this fiddle? | |
1. Change FBURL constant to your app | |
2. Create a user for password provider in firebase dashboard | |
3. Enter credentials in $authWithPassword | |
--> | |
<div ng-app="myApp" ng-controller="ChatCtrl as chatCtrl"> |
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
# ------------------ preferences ------------------------------ | |
whitelist_title = URL-адреса, добавленные в White List, будут кликабельными | |
whitelist_description = По-умолчанию кликабельны все ссылки, которые распознает дополнение, но вы можете добавить нераспознанные URL-адреса вручную, разделяя их пробелом. Допускается использование подстановочных знаков, например, *.trello.com | |
enableExecutables_title = Разрешить ссылки на исполняемые файлы | |
enableExecutables_description = Если включить эту опцию, URL-адреса на исполняемые файлы станут кликабельными. Будьте осторожны, это не всегда безопасно! | |
enableLinkIcons_title = Отображать иконки возле ссылок | |
enableLinkIcons_description = Если включить эту опцию, то напротив каждой локальной ссылки будет отображаться иконка |
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
html file | |
<h1>Hello world</h1> |
OlderNewer