This file contains hidden or 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
| # install packages | |
| sudo apt-get update && sudo apt-get -y upgrade | |
| sudo apt-get install -y s3fs vsftpd | |
| # start vsftpd on boot | |
| sudo systemctl enable vsftpd | |
| # add user to ftp group | |
| sudo usermod -a -G ftp ubuntu |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| WITH RECURSIVE | |
| xaxis(x) AS (VALUES(-2.0) UNION ALL SELECT x+0.05 FROM xaxis WHERE x<1.2), | |
| yaxis(y) AS (VALUES(-1.0) UNION ALL SELECT y+0.1 FROM yaxis WHERE y<1.0), | |
| m(iter, cx, cy, x, y) AS ( | |
| SELECT 0, x, y, 0.0, 0.0 FROM xaxis, yaxis | |
| UNION ALL | |
| SELECT iter+1, cx, cy, x*x-y*y + cx, 2.0*x*y + cy FROM m | |
| WHERE (x*x + y*y) < 4.0 AND iter<28 | |
| ), | |
| m2(iter, cx, cy) AS ( |
This file contains hidden or 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
| [ `ls -ld $GOROOT/pkg | awk '{print $3}'` != `whoami` ] && sudo chown -Rv `whoami` $GOROOT/pkg |
This file contains hidden or 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
| PRAGMA foreign_keys=OFF; | |
| PRAGMA page_size=4096; | |
| PRAGMA cache_size=-2000; | |
| PRAGMA synchronous=OFF; | |
| PRAGMA journal_mode=OFF; | |
| PRAGMA temp_store=MEMORY; | |
| CREATE TABLE data( | |
| lower TEXT NOT NULL, | |
| upper TEXT NOT NULL |
This file contains hidden or 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
| SELECT AsGeoJson( Transform( HexagonalGrid( Transform( BuildMbr( 13.086, 52.331, 13.723, 52.683, 4326 ), 3857 ), 2000, 0 ), 4326 ) ) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.