Table of Contents
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
tap "azure/functions" | |
tap "buildpack/tap" | |
tap "delphinus/sfmono-square" | |
tap "github/gh" | |
tap "heroku/brew" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
tap "teamookla/speedtest" | |
brew "anyenv" |
Table of Contents
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
choco install vscode --yes | |
choco install git.install --yes | |
choco install 7zip --yes | |
choco install discord.install --yes | |
choco install git-fork --yes | |
choco install p4merge --yes | |
choco install microsoft-windows-terminal --yes | |
choco install vlc --yes | |
choco install sysinternals --yes | |
choco install corvusskk --yes |
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
class LifeGame: | |
def __init__(self, width, hight): | |
rows = [] | |
for x in range(width): | |
row = [] | |
for y in range(hight): | |
row.append(0) | |
rows.append(row) | |
self.cells = rows | |
def print_cells(self): |
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
<!-- | |
http://george-osd-blog.heroku.com/25 | |
http://george-osd-blog.heroku.com/26 | |
--> | |
<?xml version="1.0"?> | |
<!-- インストールしたTsungのPathとあっていること --> | |
<!DOCTYPE tsung SYSTEM "/home/ec2-user/opt/tsung-latest/share/tsung/tsung-1.0.dtd"> | |
<tsung loglevel="notice" version="1.0"> |
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.util.concurrent.ConcurrentHashMap | |
def a = new ConcurrentHashMap(); | |
for (int i = 0; i < 1000000; i++) { | |
a.put(UUID.randomUUID().toString(), UUID.randomUUID().toString()) | |
} | |
println ((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / (1024 * 1024)) | |
def t = new Thread(new Runnable() { |
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 | |
echo 1 | |
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
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 python | |
# -*- coding: utf-8 -*- | |
import sys, time, requests, json, hcsr04 | |
# you can specify interval(seconds) as first argument | |
interval=5 if len(sys.argv)==1 else int(sys.argv[1]) | |
# inifinite loop | |
while True: | |
start_time = time.time() |
NewerOlder