Skip to content

Instantly share code, notes, and snippets.

View matsuken92's full-sized avatar

kenmatsu4 matsuken92

View GitHub Profile
@GINK03
GINK03 / alotoffile.tar.gz.md
Last active February 14, 2019 13:13
Linuxで高速に、大量のファイルをtar.gzに固める
$ sudo apt install pigz
$ tar -I pigz -cf ${TARGET}.tar.gz ${SOURCE}

コア数の数だけスレッドが立つが、たいてい、ディスクが間に合ってないのでSSD、nvmeなどを使う

@crofty
crofty / leaflet-google.js
Created March 25, 2012 15:07
Leaflet plugin that enables the use of Google Map tiles - http://matchingnotes.com/using-google-map-tiles-with-leaflet
/*
* L.TileLayer is used for standard xyz-numbered tile layers.
*/
L.Google = L.Class.extend({
includes: L.Mixin.Events,
options: {
minZoom: 0,
maxZoom: 18,
tileSize: 256,