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
SELECT * FROM information_schema.user_privileges; -- グローバルレベル権限のリスト | |
SELECT * FROM information_schema.schema_privileges; -- データベースレベル権限のリスト | |
SELECT * FROM information_schema.table_privileges; -- テーブルレベル権限のリスト | |
SELECT * FROM information_schema.column_privileges; -- カラムレベル権限のリスト |
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
ALTER TABLE users ADD COLUMN column1 INT, ADD COLUMN column2 INT, DROP COLUMN column3, | |
PARTITION BY RANGE COLUMNS(ID) ( | |
PARTITION p1 VALUES LESS THAN MAXVALUE | |
) |
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
SELECT column_a, column_b FROM a_table | |
WHERE column_a = COALESCE(?, column_a) AND column_b = COALESCE(?, column_b) |
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
$><<%?\150\145\154\154\157\054\040\167\157\162\154\144? |
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
msiexec /i jenkins-x.xxx.msi /qn JENKINSDIR="path\to\jenkins" |
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
rubyinstaller.exe /dir="path\to\ruby" /verysilent /tasks=modpath /lang=ja |
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
PS1="\`s=\$?;if [[ \$s -ne 0 ]];then echo -n \[\e[31m\]\$s\[\e[0m\];fi;if [ \$UID -eq 0 ];then echo \[\e[33m\];else echo \[\e[37m\] ;fi \`[\u@\h:\w]\$ \[\e[00m\]" | |
function source_if_exists(){ | |
test -f "$1" && source "$1" | |
} | |
case $( uname -s ) in | |
AIX ) | |
source_if_exists $HOME/.bash_aix ;; | |
Darwin ) |
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
eval$s=%w~a=->(b,c,d,e,f){%`#{(c)?"require'zlib';":''}g=Marshal.load(#{(c)? | |
'Zlib::Inflate.inflate(':''}'#{b}'.unpack('m')[0]#{(c)?')':''});h='eval$s=% | |
w'<<126<<($s*#{d});i='';j=-1;#{e*f}.times{|k|i<<(g[k]==1?h[j+= 1]:32);i<< | |
10if(k%#{e}==#{e-1}) };i[-7,6]=''<<126<<'.join' ;puts(i)# | |
`};$*[0]?(requi re'RMagick';include(M agick);l= | |
$*[0];m=($*[1] ||80).to | |
_i;n=QuantumRa nge*($*[ | |
2]||0.5).to_f; o=ImageL | |
ist.new(l).fl atten_im | |
ages;p=o.colu mns;q=o. |