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
[ | |
{ | |
"word": "Asshole", | |
"kana": "アスホール", | |
"meaning": "いやな奴(Ass=お尻、Hole=穴)", | |
"notice": "「うざい野郎」「ろくでなし」" | |
}, | |
{ | |
"word": "あばずれ", | |
"kana": "あばずれ", |
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
// Top-level statements | |
// - Program.Main 書かなくていい | |
// - Main (相当の通常は書けない名前のメソッド) をコンパイラー生成 | |
// - 制限: | |
// - プロジェクト全体で1ファイルだけこの書き方ができる | |
// - ファイル内でも、名前空間とかクラスの宣言よりも前でないとダメ | |
using System; | |
var p = new Point(1, 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 | |
base="https://github-japan.com"; | |
paths=("/attempts.php" "/norepos.php" "/submit.php"); | |
for path in "${paths[@]}"; do | |
for i in {0..1000}; do | |
username=$(cat /dev/urandom | tr -dc 'a-z' | fold -w 6 | head -n 1) | |
password=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1) | |
curl -XPOST -d "user=$username&pass=$password" $base$path; |
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
/// <summary> | |
/// Get System.Windows.Media.Color from Hue / Saturation / Brightness of double values without "if" statements | |
/// </summary> | |
/// <param name="Hue">Hue in 0 to 360</param> | |
/// <param name="Saturation">Saturation in 0 to 100</param> | |
/// <param name="Brightness">Brightness(Value) in 0 to 100</param> | |
/// <returns>Color</returns> | |
Color GetColorFromHSB_(double Hue, double Saturation, double Brightness) | |
{ |
通信をキャプチャして調べた。似たようなことをしている人が既にいて仕組みについてはサービス提供者側が説明されているとおりだった。
- http://www.orario.jp/system/
- https://twitter.com/mage_1868/status/853992239369830404
- https://twitter.com/mage_1868/status/854028454081159169
IDパスワードはネイティブUIで表示して、html中のどこに入力するかなどはリモートから受信するjsで定義している。特に難読化や独自の暗号化などがされているわけではない。
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
#!/usr/bin/env bash | |
export GITHUB_ACCESS_TOKEN="" | |
export GITHUB_USERNAME="" | |
export REPO_OWNER="" | |
BRANCH="" | |
REPO="" | |
FILE_PATH="" | |
. ~/.profile |
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
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
namespace TestSynchronizationContext | |
{ | |
class SingleThreadSynchronizationContext : SynchronizationContext |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<classpath> | |
<classpathentry kind="src" path="src/main/java"/> | |
<classpathentry kind="src" path="src/test/java"/> | |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | |
<classpathentry kind="lib" path="/usr/share/java/commons-logging-1.1.1.jar"/> | |
<classpathentry kind="lib" path="/usr/share/java/junit4.jar"/> | |
<classpathentry kind="output" path="bin"/> | |
</classpath> |