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
let gameCombinations = []; | |
//総当たり戦の組み合わせ計算 | |
let week = 1; | |
let team_number = 8; | |
if (team_number % 2 === 1) { | |
//奇数の場合は1を足す | |
team_number = team_number + 1; | |
} | |
let x = []; | |
for (let i = 1; i < team_number; i = i + 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
<html> | |
<head> | |
<script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$.ajax('https://iksm.pgw.jp/api/records/info.php', | |
{ | |
type: 'get', | |
dataType: 'json' | |
}) |
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 jsoup; | |
import java.io.IOException; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.jsoup.select.Elements; | |
public class analyzeDam { | |
public static void main(String[] args){ | |
Document document=null; |
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 rest; | |
import java.util.HashMap; | |
import rest.dto.RanbatoInfoDto; | |
public class RanbatoInfoREST { | |
public static void main(String[] args){ | |
RestClient client = new RestClient(); | |
String uri = "https://ranbato.info/api/songinfo?id=643734"; |
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 java.io.BufferedInputStream; | |
import java.io.BufferedReader; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.LineNumberReader; | |
import java.io.UnsupportedEncodingException; | |
import java.security.DigestInputStream; | |
import java.security.MessageDigest; |
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 numpy as np | |
import cv2 | |
from PIL import Image | |
cap = cv2.VideoCapture('2.mp4') | |
# Shi-Tomasiのコーナー検出パラメータ | |
feature_params = dict( maxCorners = 50, | |
qualityLevel = 0.3, | |
minDistance = 7, |
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
https://www.joysound.com/api/1.0/score/rankingBySong/670809?count=40&maxPageNum=0&selectMonth=201612&startIndex=0 | |
Accept: application/json, text/plain, */* | |
Accept-Encoding: gzip, deflate, sdch, br | |
Accept-Language: ja,en-US;q=0.8,en;q=0.6 | |
Connection: keep-alive | |
Host: www.joysound.com | |
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 | |
X-JSP-APP-NAME: www.joysound.com |
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 m3uFix; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStreamReader; |
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 knapsack; | |
public class knapsackData { | |
public static void main(String[] args) { | |
int capacity = 1110; | |
int[]price={ | |
842,968,372,313 | |
}; |