$ cat /dev/null >! hoge.txt
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Test</title> | |
</head> | |
<body> | |
<p>test</p> | |
</body> | |
</html> |
powershell -NoProfile -ExecutionPolicy unrestricted -Command "start notepad C:\Windows\System32\drivers\etc\hosts -verb runas"
Document.Open();
wait(CONNECT);
sopen(OPEN_LOOK);
swait(3, "$");
sputs("cd /c/Users/shyazusa/docker/\r");
sputs("clear\r");
sputs("ls\r");
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
<?php | |
// slack | |
$mes = print_r('', true); // ここにメッセージなり配列変数ブチ込んで | |
$headers = array(); | |
$url = 'https://hooks.slack.com/services/hoge/fuga/piyo/'; | |
$payload = array( | |
'text' => $mes, | |
// 'text' => '<@shy_azusa>: '.$mes, // @したい場合はこっち | |
'channel' => '#server_log', // 好きなチャンネルへどうぞ |
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
<?php | |
echo '<pre><code>'; | |
print_r($array); | |
echo '</pre></code>'; |
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
root = true | |
[*] | |
indent_style = space | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
indent_size = 2 |
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
#!/bin/sh | |
set -eu | |
# 設定必須 | |
WEBHOOKURL="https://hooks.slack.com/services/XXXXXXXXX/YYYYYYYYY/abcDEFGHIJKLmnOpqrstuvwxy" # Incoming WebHooksのURL | |
CHANNEL=${CHANNEL:-"#general"} # 送信先チャンネル | |
# 設定したければしても良い | |
BOTNAME=${BOTNAME:-"サーバ通知くん"} # Bot名 |
OlderNewer