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
# 実行日当月のイベントログを対象にする | |
Get-EventLog -LogName System -After (Get-Date -Format "yyyy/MM/01") | Where-Object { | |
# OSの起動終了時刻をイベントログサービスの開始(6005)、停止(6006)で判定 | |
$_.EventID -eq '6005' -or $_.EventID -eq '6006' | |
} | ForEach-Object { | |
# イベントを日付でサマリーするためのカスタムオブジェクト生成 | |
[PSCustomObject]@{ | |
EventID = $_.EventID | |
EventName = if($_.EventID -eq '6005') { "up" } else { "down" } | |
DateGenerated = ($_.TimeGenerated).ToString("yyyy/MM/dd") |
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
hexdump -v -e '16/1 "0x%02x, " "\n"' 01.vgm > dump.c |
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 { | |
dependencies { | |
// for live reloaded | |
// classpath 'org.springframework:springloaded:1.2.6.RELEASE' | |
} | |
} | |
plugins { | |
id 'java' | |
id 'eclipse' |
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
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "gradlew build", | |
"type": "shell", | |
"command": "./gradlew build", | |
"windows": { |
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
/* | |
--- | |
theme: "White" | |
customTheme: "my-theme" | |
center: false | |
--- | |
*/ | |
.reveal { | |
background-color: #ddd; |
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
/** | |
* Gradle マルチプロジェクトの例 | |
* | |
* build/build.gradle | |
* build/setting.gradle | |
* | |
* Application/ | |
* Common/ | |
* Project1/ | |
* Project2/ |
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
apply plugin: 'groovy' | |
apply plugin: 'application' | |
mainClassName = 'Hego' | |
/** | |
* 起動オプション | |
* | |
* Gradle 4.9 なら次で OK | |
* ./gradlew run --args 'foo --bar' |
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
rem IBM JDK 1.8.0_171 以上のバージョンを使うこと | |
rem C:>java -version | |
rem java version "1.8.0_171" | |
rem Java(TM) SE Runtime Environment (build 8.0.5.17 - pwa6480sr5fp17-20180627_01(SR5 FP17)) | |
rem IBM J9 VM (build 2.9, JRE 1.8.0 Windows 7 amd64-64-Bit Compressed References 20180626_390413 (JIT enabled, AOT enabled) | |
rem OpenJ9 - 5cdc604 | |
rem OMR - a24bc01 | |
rem IBM - 21870d6) | |
rem JCL - 20180619_01 based on Oracle jdk8u171-b11 |
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
// 既定の設定を上書きするには、このファイル内に設定を挿入します | |
{ | |
"editor.fontSize": 15, | |
"editor.fontFamily": "Ricty, Consolas, 'Courier New', monospace", | |
"editor.renderIndentGuides": true, | |
"window.zoomLevel": 0, | |
"window.menuBarVisibility": "toggle", | |
"php.suggest.basic": false, | |
"workbench.iconTheme": "vs-minimal", | |
"editor.minimap.enabled": false, |
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": "Linux", | |
"includePath": [ | |
"${workspaceRoot}", | |
"~/esp/esp-idf/components/" | |
], | |
"browse": { | |
"limitSymbolsToIncludedHeaders": true, |