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
@* コンパイル可能 *@ | |
@if (true) { | |
<p>コンパイルOK</p> | |
} | |
@* コンパイルエラー *@ | |
@if (true) { | |
@if (true) { | |
<p>コンパイルエラー</p> | |
} |
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
function Hauhau() { | |
return | |
"Hauhau" + | |
"Gaogao" | |
; | |
} | |
alert(Hauhau()); // => "HauhauGaogao" ではない。 |
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
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgABhp8AAAABAQMAAAD+SF0jAAAAB3RJTUUH2goHCxcF0aoqCQAAABd0RVh0U29mdHdhcmUAR0xEUE5HIHZlciAzLjRxhaThAAAACHRwTkdHTEQzAAAAAEqAKR8AAAAGUExURQAAAP///6XZn90AAAAkSURBVHja7cExAQAADAKg9Q/tbOEF3AMAAAAAAAAAAAAAAOyly6Wl/CU5lOkAAAAASUVORK5CYII= |
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> | |
<meta charset="UTF-8"> | |
<title>JavaScript 文字列エスケープ</title> | |
<style> | |
textarea { width: 100%; } | |
.buttonArea { text-align:center } | |
</style> | |
<h1>JavaScript 文字列エスケープ</h1> | |
<div> |
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
/* | |
* 90年代のWebをjQueryに。 | |
* | |
* License: Public Domain | |
* | |
* Example: | |
* $('span').fontcolor('red') | |
* .fontsize(10) | |
* .blink() | |
* .big() |
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.Linq; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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 xml:lang="ja" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" /> | |
<title>jquery-template-test1</title> | |
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js"></script> | |
<script type="text/javascript" src="http://github.com/nje/jquery-tmpl/raw/master/jquery.tmpl.js"></script> | |
<script type="text/javascript"> | |
function render() { |
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
function Get-CredentialForWeb() | |
{ | |
$cred = $null | |
$cred = Get-Credential | |
if ($cred -ne $null) { | |
return New-Object System.Management.Automation.PSCredential($cred.UserName.Substring(1), $cred.Password) | |
} | |
} |
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.Linq.Expressions; | |
using System.Net; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Web; | |
namespace TumblrBulkUploader |
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
import clr | |
from System.Net import WebClient | |
from Misuzilla.Applications.TwitterIrcGateway import Status, Statuses, User, Users, Utility | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns import IConfiguration | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns.Console import ConsoleAddIn, Console, Context | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns.DLRIntegration import DLRIntegrationAddIn, DLRBasicConfiguration, DLRContextHelper | |
# タイムラインをクライアントに送信する直前のイベントハンドラ | |
def OnPreSendMessageTimelineStatus(sender, e): | |
webClient = WebClient() |