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
""" | |
A command-line client. Run `twistd -ny jsonrpc_dev.py` first before running this. | |
""" | |
# TODO: | |
# 1) pretty-print json | |
# 2) take hostname and port as optional parameters | |
import sys | |
from twisted.internet import reactor, protocol |
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
from flask import Flask | |
import happybase | |
app = Flask(__name__) | |
app.debug = True | |
@app.route("/") | |
def hello(): |
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
\version "2.16.1" | |
stemOff = { \override Staff.Stem #'transparent = ##t } | |
\score { | |
\new Staff \with { \remove "Time_signature_engraver" } | |
{ | |
\relative c' { | |
\cadenzaOn | |
\stemOff | |
f4 g (a) r1 bes4 a a g a a2 \bar "|" |
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
\version "2.16.1" | |
stemOff = { \override Staff.Stem #'transparent = ##t } | |
tick = \markup { | |
\raise #2 \fontsize #-5 \musicglyph #"scripts.rvarcomma" | |
} | |
% definition of the long bar | |
longbar = { | |
\override Rest #'font-size = #4 |
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
describe('ng-upgrade test', () => { | |
beforeEach(async(() => { | |
angular.mock.module(appContextModule.name); | |
const ng1InjectorProvider = { | |
provide: '$injector', | |
useFactory: () => { | |
return { | |
'get': (token: string) => { | |
let dependency: {}|null = null; |
OlderNewer