初登場するコマンド: init, add, commit, log, config, status, diff
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
Dim x As String, y As String | |
x = "Hello" | |
y = "world" | |
Console.WriteLine(String.Format("{0} {1}", x, y)) ' Hello world |
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
call dein#add('cespare/vim-toml') |
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
Dim con As System.Data.SqlClient.SqlConnection = Nothing | |
Dim tran As System.Data.SqlClient.SqlTransaction = Nothing | |
Try | |
Dim serverName As String = "localhost" ' 例) 192.168.0.173 | |
Dim dbName As String = "testdb" | |
Dim userId As String = "sa" |
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
/* フォント */ | |
body { | |
font-family: Maven Pro,Helvetica,Arial,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,MS\ Pゴシック,MS PGothic,sans-serif; | |
} |
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 Dir("C:\temp", vbDirectory) <> "" Then | |
Workbooks.Open "C:\temp" | |
Else | |
MsgBox "C:\temp" & vbCrLf & "が存在しません" | |
End If |
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 Form1 | |
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click | |
Dim form2 As Form2 = New Form2 | |
form2.Show() | |
End Sub | |
End Class |
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
Imports System.Xml | |
Module Module1 | |
Sub Main() | |
Console.WriteLine("Start!") | |
' XMLを扱うためのオブジェクト | |
Dim xmlDoc As New XmlDocument() |
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
# Read-only field accessors | |
@property | |
def hour(self): | |
"""hour (0-23)""" | |
return self._hour |
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
#!/usr/bin/env python | |
s = 'Hi He Lied Because Boron Could Not Oxidize Fluorine. New Nations Might Also Sign Peace Security Clause. Arthur King Can.' | |
result = {} | |
# enumerate()でループの回数を取得する | |
for i, elem in enumerate(s.split(), start=1): | |
# 指定番号かどうか | |
if {i} & {1, 5, 6, 7, 8, 9, 15, 16, 19}: |
OlderNewer