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
echo test > /var/www/html/test.html |
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
FOR /f "usebackq tokens=*" %%t IN (`where javaw`) do if not defined JAVAW set JAVAW=%%t | |
"%JAVAW%" -jar hoge.jar |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> |
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
import UIKit | |
var str = "Hello, playground" | |
var hoge = "aaaa" | |
var a = "aeefe" | |
var x = "aafae" |
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
ALLOW_IPS = %w{ | |
192.168.1.1 | |
} | |
class Acl | |
def call(env) | |
if ALLOW_IPS.include? env['REMOTE_ADDR'] | |
[399, {}, []] | |
else | |
[403, {'Content-Type' => 'text/plain;charset=utf-8'}, ['Forbidden']] |
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" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<title>Receive Video</title> | |
</head> | |
<body> |
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
CredStore - performQuery - Error copying matching creds. Error=-25300, query={ | |
class = inet; | |
"m_Limit" = "m_LimitAll"; | |
"r_Attributes" = 1; | |
sync = syna; | |
} |
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 norainu; | |
import java.io.FileOutputStream; | |
import java.io.OutputStreamWriter; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.time.LocalDateTime; | |
import java.time.Year; | |
import java.time.temporal.ChronoField; |
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 norainu; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
// AutoClosable | |
public class Main { | |
public int 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
sudo su | |
cd /usr/local/src | |
wget https://www.openssl.org/source/openssl-1.1.0g.tar.gz | |
tar xzvf openssl-1.1.0g.tar.gz | |
cd openssl-1.1.0g | |
./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' | |
make | |
sudo make install |