$ scoop install xxxxx
Google Chrome は、ARM版を配布していないので、Chromiumで代用。
$ uname -m
aarch64
$ cd $HOME
$ sudo apt install clang cmake ninja-build pkg-config libgtk-3-dev build-essential chromium
$ git clone https://github.com/flutter/flutter.git -b stable
iOS9 returns double the value for window.innerWidth
& window.innerHeight
The versions that are concerned are: 9.0.0
, 9.0.1
, 9.0.2
A few people got mad on twitter:
window.innerWidth in iOS 9 Safari returns double the number it did in iOS 8? Is this real life? tell me no — @rachsmithtweets
iOS9 Safari has the most insane bug where window.innerWidth / innerHeight is *sometimes* twice as large as it should be. ughhhh. !? — @mattdesl
iOS9 innerWidth/innerHeight is having a lot of fun these days — @ayamflow
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
// | |
// 自分用の手慣らしの型 | |
// 1.HttpClientでリクエストを出す(リクエストもそれぞれを非同期実行) | |
// 2.(1)の結果から <title> タグの中身を抽出 | |
// 3.(2)の結果を出力 | |
// | |
// エラー処理は面倒なので割愛している | |
// | |
// httpリクエストを非同期実行しているので | |
// 結果は毎回異なる可能性がある。 |
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
# --------------------------------------------------- | |
# Set encodings | |
# --------------------------------------------------- | |
[System.Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("utf-8") | |
[System.Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("utf-8") | |
$env:LESSCHARSET = "utf-8" | |
# --------------------------------------------------- | |
# Import plugins | |
# - Enabling it slows down the startup time, so I've disabled it for now. |
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
$ scoop bucket add extras | |
$ scoop bucket add java | |
$ scoop bucket add iyokan-jp https://github.com/tetradice/scoop-iyokan-jp | |
$ scoop bucket add jfut https://github.com/jfut/scoop-jfut.git | |
$ scoop install 7zip | |
$ scoop install everything | |
$ scoop install git | |
$ scoop install go | |
$ scoop install googlechrome |
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 main | |
import "fmt" | |
// https://go.dev/doc/tutorial/generics | |
func main() { | |
var ( | |
ints = []int64{1, 2, 3, 4, 5} | |
floats = []float64{1.1, 1.2, 1.3, 1.4, 1.5} | |
) |
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
# syntax=docker/dockerfile:1-labs | |
FROM golang:rc-bullseye | |
#--------------------------------------------- | |
# BUILD ARGUMENTS | |
#--------------------------------------------- | |
ARG UID=1000 | |
ARG GID=1000 | |
ARG USERNAME=dev | |
ARG USERPASSWD=dev |
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 main | |
import ( | |
"context" | |
"log" | |
"math/rand" | |
"time" | |
) | |
// --------------------------------------- |