BAIXE AQUI
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 Date: | |
def __init__(self, day, month, year): | |
self.day = day | |
self.month = month | |
self.year = year | |
my_birthday = Date(16, 4, 1991) | |
today = Date(28, 6, 1991) | |
def make_days_of_months(is_leap_year): |
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 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
const { execSync } = require("child_process"); | |
const readline = require("readline").createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
const rawData = execSync("pacman -Q"); | |
const programs = rawData | |
.toString() | |
.split("\n") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
At CARTO, among other things, we render maps, just check this example of Map with countries and USA states.
In order to limit the scope of the challenge, we are gonna use Mapnik and Node.js. Within this repository, we are providing all the pieces you need to reproduce that map. Well, all pieces except the map tile server.
An example of how to create an image with Mapnik:
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 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/bash | |
# You need to uncomment two lines for the script work. | |
# Please check the logic before use it. | |
main () { | |
#aws s3 ls $BUCKETNAME | grep -v ' PRE ' | grep -v ' 0 ' > data.txt | |
UNIXDAYS=$(date -d "$DAYS days ago" +%s) | |
while read LINE | |
do |