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
DateTime baseTime = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc) | |
long counter = GetCurrentTCounter(); | |
private long GetCurrentTCounter() | |
{ | |
long seconds = (long)DateTime.UtcNow.Subtract(baseTime).TotalSeconds; | |
return seconds / interval; | |
} |
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
<!-- Simple directive template --> | |
<!-- This will always be hidden --> | |
<div class="sampleDirectiveTemplate" ng-if="false"> | |
<!-- ng-src will never be processed and the image won't download --> | |
<img ng-src="pic.png" /> | |
</div> |
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
#import "SLMainViewController.h" |
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
//Java | |
public class HelloWorld { | |
public static void main(String[] args){ | |
System.out.println("Hello, world!"); | |
} | |
} |
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
- (void)setImageWithURL:(NSURL *)url; | |
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage; |
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
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Example Blog</title> | |
<link rel="import" href="../components/core-scroll-header-panel/core-scroll-header-panel.html"> | |
<link rel="import" href="../components/core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../components/core-icon-buttons/core-icon-buttons.html"> | |
<link rel="import" href="../components/core-card/core-card.html"> | |
</head> |
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
<!doctype HTML> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Example Blog</title> | |
</head> | |
<body> | |
<h1>My Blog Entry</h1> | |
<small>by: John Smith</small> |
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
object TestObject extends TestTraitClass { | |
val immutableVariable: String = "Hello Immutable" | |
var mutableVariable: String = "Hello Mutable" | |
def getImmutable(): String = immutableVariable | |
def getMutable(): String = { | |
mutableVariable | |
} |
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
if (typeof define !== 'function') { var define = require('amdefine')(module) } |
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
ansible-playbook -i ansible-inventory.ini provision-server-playbook.yml |
OlderNewer