without placeholder attribute and focus selector to support IE 7-9
A Pen by Oliver Knoblich on CodePen.
| 'use strict'; | |
| (function() { | |
| var mod = angular.module("App.services", []); | |
| //register other services here... | |
| /* pubsub - based on https://github.com/phiggins42/bloody-jquery-plugins/blob/master/pubsub.js*/ | |
| mod.factory('pubsub', function() { | |
| var cache = {}; |
| // Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
| // jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
| // author: Pawel Kozlowski | |
| var myApp = angular.module('myApp', []); | |
| //service style, probably the simplest one | |
| myApp.service('helloWorldFromService', function() { | |
| this.sayHello = function() { | |
| return "Hello, World!" |
| void getID(DWORD mask, TCHAR* item) | |
| { | |
| _stprintf(item, "Hello World!"); | |
| } |
| // BoxDlg.cpp : implementation file | |
| // | |
| #include "stdafx.h" | |
| #include "Box.h" | |
| #include "BoxDlg.h" | |
| #ifdef _DEBUG | |
| #define new DEBUG_NEW | |
| #endif |
| // DetectorDlg.cpp : implementation file | |
| // | |
| #include "stdafx.h" | |
| #include "Detector.h" | |
| #include "DetectorDlg.h" | |
| #include "windows.h" | |
| #include "WinDef.h" | |
| #include "ntddstor.h" | |
| #include "winioctl.h" |
without placeholder attribute and focus selector to support IE 7-9
A Pen by Oliver Knoblich on CodePen.
| #-*- coding: utf-8 -*- | |
| import unittest | |
| import redis | |
| from apps.mylib.client import Redis | |
| from nose.tools import * | |
| class RedisTestCase(unittest.TestCase): |
| import os | |
| import multiprocessing | |
| from setuptools import setup, find_packages | |
| here = os.path.abspath(os.path.dirname(__file__)) | |
| try: | |
| with open(os.path.join(here, 'README.txt')) as f: | |
| README = f.read() | |
| with open(os.path.join(here, 'CHANGES.txt')) as f: |
| from zope.interface import Interface, Attribute, implements | |
| from zope.component import getGlobalSiteManager, adapts | |
| # here is what our data looks like | |
| class IKey(Interface): | |
| pass | |
| class IEntity(Interface): |
| jitsu deploy | |
| info: Welcome to Nodejitsu zhenghao1 | |
| info: jitsu v0.12.11, node v0.10.12 | |
| info: It worked if it ends with Nodejitsu ok | |
| info: Executing command deploy | |
| info: Analyzing application dependencies in node app | |
| warn: Local package version appears to be old | |
| warn: The package.json version will be incremented automatically | |
| warn: About to write /Users/huang/Development/NodeJS/test/package.json | |
| data: |