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
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.6.RELEASE") | |
} | |
} | |
apply plugin: 'groovy' |
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
<!-- -Dlogback.configurationFile=./conf/logback-debug.xml --> | |
<configuration> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{16} %msg%n</pattern> | |
</encoder> | |
</appender> | |
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |
<file>logs/sample.log</file> |
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"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<style type="text/css"> | |
.box-anime-move { | |
transition: transform 0.2s; |
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
def builder = new ProcessBuilder("ls -laF".split("[\\s]+")) | |
def process = builder.redirectErrorStream(true).start() | |
process.inputStream.eachLine { println it } | |
process.waitFor() | |
println process.exitValue() |
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
# | |
# プレーンな user/password 文字列からの認証情報をつくる | |
# | |
$username = "DOMAIN\username" | |
$secure = ConvertTo-SecureString "xxxxxxxx" -AsPlainText -Force | |
$credential = New-Object System.Management.Automation.PsCredential($username, $secure) | |
# | |
# Enter-PSSession 相手のサーバーに対話式でログインしたい場合 (exit で抜けます) | |
# |
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
$command = "dir C:\Windows\System32" | |
$info = New-Object System.Diagnostics.ProcessStartInfo | |
$info.FileName = [System.Environment]::GetEnvironmentVariable("ComSpec") | |
$info.Arguments = "/c " + $command | |
$info.UseShellExecute = $false | |
$info.RedirectStandardOutput = $true | |
$info.CreateNoWindow = $true | |
$info.Verb ="RunAs" |
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
@charset "utf-8"; | |
@font-face { | |
font-family: Arial; | |
src: local("ヒラギノ角ゴ ProN"); | |
} | |
@font-face { | |
font-family: Osaka; | |
src: local("ヒラギノ角ゴ ProN"); |
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
{ | |
"configurations": [ | |
{ | |
"name": "Win32", | |
"includePath": [ | |
"C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino", | |
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr\\avr\\include", | |
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr\\lib\\gcc\\avr\\4.9.2\\include", | |
"C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard", | |
"C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries" |
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
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
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
# | |
# Download VScode extention .vsix | |
# https://code.visualstudio.com/docs/editor/extension-gallery#_common-questions | |
# | |
Param($extention_site = "https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell") | |
$ErrorActionPreference = "stop" | |
# setting extention site | |
$res = Invoke-WebRequest -Uri $extention_site |
OlderNewer