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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.IsolatedStorage; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.Live; | |
// https://stackoverflow.com/questions/23715282/onedrive-upload-download-to-specified-directory |
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
var a = { | |
b: { | |
c: "nested!" | |
} | |
} | |
console.log(a.b.c); | |
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
<tile version='3'> | |
<visual branding='nameAndLogo'> | |
<binding template='TileMedium'> | |
<text hint-wrap='true'>New movies available</text> | |
<text hint-wrap='true' hint-style='captionSubtle'/> | |
</binding> | |
<binding template='TileWide'> | |
<text hint-wrap='true'>New movies available</text> |
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
* Set Last Action */ | |
public App() | |
{ | |
// Global handler for uncaught exceptions. | |
BugSenseHandler.Instance.Init(this, "YOUR_API_KEY"); | |
BugSenseHandler.SetLastBreath(MyMethod); | |
// ...do more stuff... | |
} | |
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> | |
<head> | |
<meta charset="utf-8"> | |
<title>Working with Attributes in Concrete5</title> | |
<style> | |
pre { border: 1px solid black; padding:10px; } | |
</style> | |
</head> | |
<body> |
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
<%@ WebHandler Language="C#" Debug="true" Class="name" %> | |
using System.Web; | |
public class name : IHttpHandler { | |
public void ProcessRequest (HttpContext context) { | |
} |
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 BATTLEFRONT { | |
public static void main(String[] args) { | |
int age = 21; | |
System.out.println(oldEnough(age)); | |
} | |
static boolean oldEnough(int age) { |
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
// react then checkbox change state | |
$('input[type="checkbox"]').on('change', function(e) { | |
if( this.checked ) { | |
console.log('checked'); | |
} else { | |
console.log('not checked'); | |
} | |
}); | |
// check |
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
/* ----------- Galaxy S3 ----------- */ | |
/* Portrait and Landscape */ | |
@media screen | |
and (device-width: 320px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 2) { | |
} |
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
<h2>Description 1</h2> | |
<?php | |
Loader::element('editor_init'); | |
Loader::element('editor_config'); | |
Loader::element('editor_controls'); | |
?> | |
<div class="ccm-block-field-group" id="ccm-editor-pane"> | |
<textarea id="description" class="ccm-advanced-editor advancedEditor" name="description" rows="5" style="width: 95%;"><?php echo $description; ?></textarea> | |
</div> |
OlderNewer