Skip to content

Instantly share code, notes, and snippets.

View taruta811's full-sized avatar

Toshiki Tsuchiya taruta811

View GitHub Profile
#!/usr/bin/env python
# coding:utf-8
from appscript import *
import sys
class iTunes(object):
def __init__(self):
self.itunes = app("iTunes")
self.search_result = []
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#!/usr/bin/env python
# coding:utf-8
import itertools
import sys
n,k = map(int,raw_input().split())
a = map(int,raw_input().split())
q = input()
qs = []
#!/usr/bin/env python
# coding:utf-8
import fractions
a,b,n = map(int,raw_input().split())
turn = 0
while n>=0:
if turn==0:
n-=fractions.gcd(a,n)
else:
n-=fractions.gcd(b,n)
#!/usr/bin/env python
# vim: fileencoding=utf-8
from BeautifulSoup import BeautifulSoup
import re
import urllib
import urllib2
import unicodedata
from collections import *
異世界=>35
世界=>35
こと=>32
主人公=>19
物語=>19
ゲーム=>18
彼=>18
魔法=>13
事=>13
一=>13
* HDD
Disk Test 42.67
Sequential 77.46
Uncached Write 89.79 55.13 MB/sec [4K blocks]
Uncached Write 75.85 42.91 MB/sec [256K blocks]
Uncached Read 70.84 20.73 MB/sec [4K blocks]
Uncached Read 75.75 38.07 MB/sec [256K blocks]
Random 29.45
Uncached Write 10.52 1.11 MB/sec [4K blocks]
Uncached Write 70.13 22.45 MB/sec [256K blocks]
@taruta811
taruta811 / env.sh
Last active February 22, 2019 02:04
End.DX4
#!/bin/bash
##
# ping client1(192.168.1.100) to client2(192.168.2.100)
#
# eth0 eth0 eth1 eth1 eth0 eth0
# (client1) ----------- (sr1) ----------- (sr2) ---------- (client2)
# 192.168.1.100/24 192.168.2.100/24
##