sp_helpdb
select d.name
from master..sysdatabases d, master..sysprocesses p
where d.dbid=p.dbid and p.spid=@@spid| {% highlight ruby %} | |
| def foo | |
| puts 'foo' | |
| end | |
| {% endhighlight %} |
| {% highlight ruby linenos %} | |
| def foo | |
| puts 'foo' | |
| end | |
| {% endhighlight %} |
| // Create a director | |
| director = new lime.Director(document.body, 1024, 768); | |
| // Create a scene | |
| scene = new lime.Scene(); | |
| // Add a scene to director | |
| director.replaceScene(scene); | |
| // Schedule Manager Example |
| module.exports = function(grunt){ | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| exec:{ | |
| prepare:{ | |
| command:"cordova prepare", | |
| stdout:true, | |
| stderror:true | |
| } |
| // Gruntfile.js | |
| module.exports = function (grunt) { | |
| // load all grunt tasks matching the ['grunt-*', '@*/grunt-*'] patterns | |
| require('load-grunt-tasks')(grunt); | |
| grunt.initConfig({ | |
| }); | |
| grunt.registerTask('default', []); |
| # Do not push to master | |
| if [ $(git rev-parse --abbrev-ref HEAD) == "master" ] | |
| then | |
| echo 'Hello' | |
| exit 1 | |
| fi |
[ Launch: barchart ] e100ecf336266fbb0634 by tjwudi[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>D3 Playground</title> | |
| </head> | |
| <body> | |
| <div id="display"></div> | |
| <script src="//cdn.jsdelivr.net/jquery/2.1.4/jquery.min.js"></script> | |
| <script src="//cdn.jsdelivr.net/d3js/3.5.5/d3.min.js"></script> |