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
select * from sale where product_id = :product_id and | |
sale_date >= TO_DATE('03/30/2013 08:00', 'MM/DD/YYYY HH24:MI') | |
select * from sale where product_id=:product_id and | |
sale_date >= TO_DATE('03/30/2013 08:00', 'MM/DD/YYYY HH24:MI') | |
select * from sale where product_id = :product_id and | |
sysdate - :sale_date < 30 |
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
((?<=\s)|(?<=-)|(?<=\<)|(?<=\=)|(?<=\()):.+?(?=\b) |
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
((?<=\s)|(?<=-)|(?<=\<)|(?<=\=)|(?<=\()):.+?(?=\b) |
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
:[a-zA-Z]\w+ |
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
// Just do this : (and include backbone.js) | |
var Kind = function() { | |
this.initialize && this.initialize.apply(this, arguments); | |
}; | |
Kind.extend = Backbone.Model.extend | |
//Simpler | |
var Thing = function() {}; | |
Thing.extend = Backbone.Model.extend |
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
public class Program | |
{ | |
private static Func<int>[] GetFunc() | |
{ | |
int SIZE = 5; | |
Func<int>[] func = new Func<int>[SIZE]; | |
for (int i = 0; i < SIZE; i++) | |
{ | |
func[i] = () => i; | |
} |
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
class Program | |
{ | |
class MyFunc | |
{ | |
public Func<int> func { get; set; } | |
public MyFunc(int i) | |
{ | |
func = () => i; | |
} |
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
class Program | |
{ | |
private static Func<int>[] GetFunc() | |
{ | |
int SIZE = 5; | |
Func<int>[] func = new Func<int>[SIZE]; | |
for (int i = 0; i < SIZE; i++) | |
{ | |
int j = i; | |
func[i] = () => j; |
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
<!doctype html> | |
<html ng-app="plunker"> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.js"></script> | |
<script src="http://angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.10.0.js"></script> | |
<script src="angular-round-progress-directive.js"></script> | |
<script src="script.js"></script> | |
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> | |
<link href="style.css" rel="stylesheet"> |
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
angular.module('plunker', ['ui.bootstrap', 'angular.directives-round-progress']); | |
var ModalDemoCtrl = function ($scope, $modal) { | |
$scope.launchModalTimer = function () { | |
var modalInstance = $modal.open({ | |
templateUrl: 'modalContent.html', | |
controller: ModalInstanceCtrl | |
}); | |
}; | |
}; |
OlderNewer