Table of Contents
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
| license: gpl-3.0 |
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
| var fs = require('fs'); | |
| var path = require('path'); | |
| function base64ToPNG(data) { | |
| data = data.replace(/^data:image\/png;base64,/, ''); | |
| fs.writeFile(path.resolve(__dirname, '../tmp/image.png'), data, 'base64', function(err) { | |
| if (err) throw err; | |
| }); | |
| } |
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
| # Examples | |
| library(dplyr) | |
| source("s_dplyr.R"); | |
| # Original usage of dplyr | |
| mtcars %>% | |
| filter(gear == 3,cyl == 8) %>% | |
| select(mpg, cyl, hp:vs) | |
| # Select user specified cols. |
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
| -- Create the table | |
| CREATE TABLE IF NOT EXISTS `StateBoundaries` ( | |
| `State` varchar(10) DEFAULT NULL, | |
| `Name` varchar(255) DEFAULT NULL, | |
| `MinLat` varchar(50) DEFAULT NULL, | |
| `MaxLat` varchar(50) DEFAULT NULL, | |
| `MinLon` varchar(50) DEFAULT NULL, | |
| `MaxLon` varchar(50) DEFAULT NULL | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
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
| license: mit |
OlderNewer