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
#include <stdio.h> | |
int main() { | |
#ifdef _POSIX_SOURCE | |
printf("_POSIX_SOURCE=%d\n", _POSIX_SOURCE); | |
#endif | |
#ifdef _SVID_SOURCE | |
printf("_SVID_SOURCE=%d\n", _SVID_SOURCE); | |
#endif |
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 fs = require('fs') | |
let content = fs.readFileSync('./input.txt').toString() | |
content = content.replace(/\$\$\$\$\$\$\$\$\$\$/g, '▓') | |
content = content.split('▓') | |
function toWordArray(c) { | |
let words = c.replace(/\n/g, ' ').split(' ') | |
words = words.map(w => { | |
return w.toLowerCase() |
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
var { google } = require("googleapis"); | |
var request = require("request"); | |
var serviceAccountDir = "./serviceAccountKey.json" | |
generateAccessToken(serviceAccountDir).then(access_token => { | |
request({ | |
url: "https://database-cua-ban.firebaseio.com/path/nao/do.json", | |
qs: { | |
shallow: "true", |
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
#include <stdio.h> | |
int main() { | |
int array[10],i; | |
for (i = 0 ; i <= 10 ; i++) { | |
array[i] = 0; | |
printf("Hearty.vn\n"); | |
} | |
return 0; | |
} |
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
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<link href="https://fonts.googleapis.com/css?family=Cabin" rel="stylesheet"> | |
<link href="https://fonts.googleapis.com/css?family=Courgette" rel="stylesheet"> | |
<link href="https://fonts.googleapis.com/css?family=Noto+Serif" rel="stylesheet"> |
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
var HOOK_FB_ID = "267312947032250"; | |
var TARGET_FB_ID = "182794865548469"; | |
var TARGET_FB_TOKEN = "token có quyền publish bài"; | |
function doGet(e) { | |
if (e.parameter['hub.verify_token'] === 'o3OfDSJc7qrRkiDbCoLJeHKGHQl81a') { | |
var textContent = ContentService.createTextOutput(e.parameter['hub.challenge']); | |
textContent.setMimeType(ContentService.MimeType.TEXT); | |
return textContent; | |
} |
NewerOlder