This is the UN World Population Prospect 2019 dataset, cleaned and formated CSV
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 FillInTheBlankQuestion { | |
val questionText: String = "" | |
val answer: String = "" | |
val difficulty: String = "" | |
} | |
class TrueOrFalseQuestion { | |
val questionText: String = "" | |
val answer: Boolean = false | |
val difficulty: String = "" |
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
import kotlin.properties.ReadWriteProperty | |
import kotlin.reflect.KProperty | |
class RangeRegulator( | |
initialValue: Int, | |
private val minValue: Int, | |
private val maxValue: Int, | |
) : ReadWriteProperty<Any?, Int> { | |
var fieldValue = initialValue; |
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
import isEmpty from "lodash/isEmpty"; | |
class EncoderDecoderUtils{ | |
constructor() { | |
} | |
encodeBase64(data: string): string{ | |
return Buffer.from(data).toString('base64'); | |
} |
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
[ | |
{ | |
parentId: -1, | |
id: 1, | |
value: 200 | |
}, | |
{ | |
parentId: -1, | |
id: 2, | |
value: 300 |
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
country | population | |
---|---|---|
China | 1415046 | |
India | 1354052 | |
United States | 326767 | |
Indonesia | 266795 | |
Brazil | 210868 | |
Pakistan | 200814 | |
Nigeria | 195875 | |
Bangladesh | 166368 | |
Russia | 143965 |
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
Specification | Keyword | RGB hex value | |
---|---|---|---|
CSS Level 1 | black | #000000 | |
CSS Level 1 | silver | #c0c0c0 | |
CSS Level 1 | gray | #808080 | |
CSS Level 1 | white | #ffffff | |
CSS Level 1 | maroon | #800000 | |
CSS Level 1 | red | #ff0000 | |
CSS Level 1 | purple | #800080 | |
CSS Level 1 | fuchsia | #ff00ff | |
CSS Level 1 | green | #008000 |
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
import mariadb from 'mariadb'; | |
const pool = mariadb.createPool({ | |
host: process.env.DB_HOST, | |
user: process.env.DB_USER, | |
password: process.env.DB_PASS, | |
database: 'my_db', | |
connectionLimit: 5 | |
}); | |
console.log('is this called ?'); |
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
/** | |
* the value will be all 2 , but if you change into *let*. that will not be happend | |
**/ | |
let callbacks = []; | |
for(var i=0;i < 2; i++){ | |
callbacks.push(() => { | |
console.log(i); | |
}); | |
}; |
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
package imagerenderer | |
import ( | |
"github.com/ungerik/go-cairo" | |
"image" | |
_ "image/jpeg" | |
"net/http" | |
) | |
func _decodeBase64() image.Image{ |
NewerOlder