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
function 大本営ソート(配列){ | |
let 仮 = 0; | |
for(let 大和魂 = 0;大和魂 < 配列.length;大和魂++){ | |
if(仮>配列[大和魂]){ | |
const 粉飾 = Math.floor( Math.random() * 3) + 仮; | |
配列[大和魂] = 粉飾 + 配列[大和魂]; | |
} | |
仮 = 配列[大和魂]; | |
} | |
return 配列; |
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
输出量 = console.log; | |
数据 = [1,8,8,1,35,3,64,8,2,19890604]; | |
输出量(文化大革命(数据)); | |
function 文化大革命(矩阵){ | |
let 毛泽东思想=[]; | |
let 临时 = 0; | |
for(let 数 = 0;数 < 矩阵.length;数++){ |
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
def get_campus(s=""): | |
if s == "": | |
return "Kamata/Hachioji" | |
elif s.upper() in ["BS","CS","MS","ES"]: | |
return "Hachioji" | |
elif s.upper() in ["HS","DS"]: | |
return "Kamata" | |
else: | |
return "Not found." |
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 random | |
def lottery(): | |
r = random.random() | |
if(r<=0.3): | |
return "You win." | |
else: | |
return "You lose." | |
def slot(n): | |
random1 = random.randint(0,n) | |
random2 = random.randint(0,n) |
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
def get_phone(s): | |
if s == "八王子": | |
return "042-637-2111" | |
if s == "蒲田": | |
return "03-6424-2111" | |
def get_school(s): | |
if s == "八王子": | |
tmp = set(["BS","CS","ES","MS"]) | |
return tmp | |
if 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
<!DOCTYPE html> | |
<html lang="ja"> | |
<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>API TEST</title> | |
<style> | |
button{ | |
display: block; |
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
const readlineSync = require('readline-sync'); | |
const request = require('request'); | |
const url = "http://zipcloud.ibsnet.co.jp/api/search"; | |
let code = readlineSync.questionInt('郵便番号を入力してください。'); | |
request.get({ | |
uri:url, | |
qs: { |
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="ja"> | |
<head> | |
<title>デレマスシコチェックリスト</title> | |
</head> | |
<body> | |
<h1>デレマスシコキャラチェックリスト</h1> | |
<div id="table"> | |
<div class="chara" style="background-color:white;" onClick="addChar(17,this)">島村卯月</div> | |
</div> |
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
if(!document.body.innerHTML.match(/jszip/)){ | |
var ele = document.createElement("script"); | |
ele.type = "text/javascript"; | |
ele.src = "https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"; | |
document.body.appendChild(ele); | |
var ele2 = document.createElement("script"); | |
ele2.type = "text/javascript"; | |
ele2.src = "https://fastcdn.org/FileSaver.js/1.1.20151003/FileSaver.min.js"; | |
document.body.appendChild(ele2); | |
setTimeout(makezip,100); |
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
### Keybase proof | |
I hereby claim: | |
* I am sudosan on github. | |
* I am sudosan (https://keybase.io/sudosan) on keybase. | |
* I have a public key ASCeISqHfkKCbqm3eyvtm6n4RNV2NUzHsJWXeSSI7_fkVQo | |
To claim this, I am signing this object: |
NewerOlder