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
<%@page pageEncoding="UTF-8" isELIgnored="false" %> | |
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Scopeチェックコード</title> | |
</head> | |
<body> | |
<%@page import="java.util.Enumeration" %> |
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
<script> | |
window.onload = function() | |
{ | |
var entry_contents = document.getElementsByClassName("entry-content"); | |
for (var i=0; i < entry_contents.length; i++) { | |
var links = entry_contents[i].getElementsByTagName("a"); | |
for (var j=0; j < links.length; j++) { | |
if (!links[j].getAttribute('href').startsWith('#') || ( | |
links[j].className !== "entry-see-more" && |
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
package sandbox; | |
import java.awt.Dimension; | |
import java.awt.Graphics; | |
import java.awt.Image; | |
import java.awt.Toolkit; | |
import java.awt.datatransfer.Clipboard; | |
import java.awt.datatransfer.ClipboardOwner; | |
import java.awt.datatransfer.DataFlavor; | |
import java.awt.datatransfer.Transferable; |
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
package groovytest | |
/** | |
* Mapオブジェクトをファイルにバイトで書き込んだものを | |
* ファイル読み込みして再度使えるかをテストしたプログラム | |
* | |
* 結論:できる | |
*/ | |
// データ格納用 |
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
;; C-mにnewline-and-indexを割り当てる。初期値はnewline | |
(define-key global-map (kbd "C-m") 'newline-and-indent) | |
;; C-hで前を削除 | |
(keyboard-translate ?\C-h ?\C-?) | |
;; ヘルプをC-x ?に変更 | |
(define-key global-map (kbd "C-x ?") 'help-command) | |
;; 折り返しのコマンド | |
(define-key global-map (kbd "C-c l") 'toggle-truncate-lines) |
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
# command aliases | |
alias l='ls -l' | |
alias ll='ls -la' | |
alias vim='/usr/local/bin/vim' | |
alias vi='vim' | |
#alias scalac='scalac-2.11' | |
#alias scala='scala-2.11' | |
#alias ruby='ruby2.2' | |
#alias php='php56' | |
alias gia='git add' |
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
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<localRepository>E:/home/.m2/repository</localRepository> | |
<interactiveMode/> | |
<usePluginRegistry/> | |
<offline/> | |
<pluginGroups/> | |
<servers/> | |
<mirrors/> |
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
#ブロック情報 | |
fdisk -l | |
#サイズ | |
df -h | |
#スワップ | |
swapon -s | |
#特定ディレクトリ配下のサイズ確認 |
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
# 全OS | |
cat /etc/`ls /etc -F | grep "release$\|version$"` | |
# CentOSのみ | |
cat /etc/redhat-release |
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
VLOOKUP | |
=IF(ISERROR(VLOOKUP(A31,Q$2:Q$99,1,FALSE)),"",VLOOKUP(A31,Q$2:Q$99,1,FALSE)) | |
COUNTIF | |
=IF(NOT(M39="1"),(IF(COUNTIF(M$4:M39,M39)>1,"○","")),"") |