urlgen: https://gist.github.com/bagder/50ca185c73a9d4d38a1d21271f7f2d59
I made 100000 URLs with it:
./urlgen.pl 100000 > URLs
urlgen: https://gist.github.com/bagder/50ca185c73a9d4d38a1d21271f7f2d59
I made 100000 URLs with it:
./urlgen.pl 100000 > URLs
| plugins { | |
| id 'java' | |
| id "jacoco" | |
| id "com.diffplug.spotless" version "6.7.2" | |
| } | |
| repositories { | |
| // Use Maven Central for resolving dependencies. | |
| mavenCentral() | |
| } |
| # include <Siv3D.hpp> // OpenSiv3D v0.4.3 | |
| Array<Polygon> createPolygons(RectF rect, double density) | |
| { | |
| Array<Vec2> centers = PoissonDisk2D(rect.size.asPoint(), density).getPoints(); | |
| centers.each([=](Vec2& v) { v.moveBy(rect.tl()); }); | |
| centers.keep_if([=](Vec2 v) { return rect.contains(v); }); | |
| Array<Polygon> polygons; |
| /** | |
| * Copyright 2019 Sam Robert Belliveau | |
| * | |
| * Permission is hereby granted, free of charge, to any person | |
| * obtaining a copy of this software and associated documentation | |
| * files (the "Software"), to deal in the Software without restriction, | |
| * including without limitation the rights to use, copy, modify, merge, | |
| * publish, distribute, sublicense, and/or sell copies of the Software, | |
| * and to permit persons to whom the Software is furnished to do so, | |
| * subject to the following conditions: |
https://github.com/MattPD/cpplinks / C++ Standard / C++20 / Coroutines
(draft; work in progress)
#coroutines (C++ Slack): https://cpplang.slack.com/archives/C5JS5JXT5
| FROM frolvlad/alpine-miniconda3 | |
| RUN conda install -y -c conda-forge bash jupyter jupyter_contrib_nbextensions | |
| RUN conda install -y -c conda-forge xeus-cling xtensor | |
| RUN mkdir /notebooks |
| #!/bin/bash | |
| # Google Sheets の最終行に追記するスクリプト | |
| # 訳あって最終行の位置を特定するために行数を取得している | |
| # OAuth周りは下記がわかりやすい | |
| # https://qiita.com/shin1ogawa/items/49a076f62e5f17f18fe5 | |
| CLIENT_ID="Google API ClientID" | |
| CLIENT_SECRET="Google API's client secret" | |
| REFRESH_TOKEN="Google API's refresh token" |
| yum install -y iso-codes # Needed for scl-utils-build | |
| curl -O http://vault.centos.org/6.5/SCL/x86_64/scl-utils/scl-utils-20120927-11.el6.centos.alt.x86_64.rpm | |
| curl -O http://vault.centos.org/6.5/SCL/x86_64/scl-utils/scl-utils-build-20120927-11.el6.centos.alt.x86_64.rpm | |
| curl -O http://mirror.centos.org/centos/6/extras/x86_64/Packages/centos-release-scl-rh-2-3.el6.centos.noarch.rpm | |
| curl -O http://mirror.centos.org/centos/6/extras/x86_64/Packages/centos-release-scl-7-3.el6.centos.noarch.rpm | |
| rpm -Uvh *.rpm # Had to run this twice? Get an error first time, maybe Docker related | |
| rm *.rpm |