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
<table class="table table-bordered table-striped"> | |
<tr> | |
<td>cell</td> | |
<td class="has-table"> | |
<table class="table table-bordered table-striped inner-table"> | |
<col class="first"> | |
<col> | |
<tr class="first"> | |
<td>cell-11</td> | |
<td>cell-12</td> |
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
class Greeter { | |
constructor(private _greeting: string) { | |
} | |
get greeting() { | |
return this._greeting; | |
} | |
set greeting(value: string) { | |
this._greeting = value; | |
} | |
} |
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="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Study English</title> | |
<style> | |
#questions { | |
display: none; | |
} | |
</style> |
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 java.util.Date | |
import org.joda.time.format.DateTimeFormat | |
// 暗黙のクラス | |
class Sample1 { | |
def sample = { | |
"Gunma".hello // => Hello, Gunma | |
} |
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
on run argv | |
tell application "Terminal" | |
activate | |
do script "vi " & item 1 of argv in front window | |
end tell | |
end run |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "centos64_gihyo" | |
config.vm.network :private_network, ip:"192.168.33.10" | |
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
var wsh_shell = new ActiveXObject('WScript.Shell'); | |
var fso = new ActiveXObject('Scripting.FileSystemObject'); | |
var windows = getWindows(); | |
var temp_path = getTempPath(); | |
var repo_url; | |
// エクスプローラのステータスバーにリポジトリのURLを表示 | |
for ( var i = 0, n = windows.count, w; i < n; i++ ) { | |
w = windows(i); |
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
Option Explicit | |
Private Root As TreeNode | |
Private Values() As String | |
Public Sub Add(v As String) | |
Dim n As TreeNode | |
If Root Is Nothing Then | |
Set Root = New TreeNode |
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
Option Explicit | |
' 参照設定 | |
' Microsoft WinHTTP Services, version 5.1 | |
' Microsoft VBScript Regular Expressions 5.5 | |
' Microsoft ActiveX Data Objects 2.x Library | |
Private reg As New VBScript_RegExp_55.RegExp | |
Sub test() |
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
Option Explicit | |
' マージソート | |
Function MergeSort(List) As Variant | |
Dim Lists As Variant | |
If ArrayCount(List) <= 1 Then | |
MergeSort = List | |
Else | |
Lists = Bisect(List) ' 配列を2分する |
NewerOlder