Skip to content

Instantly share code, notes, and snippets.

View Xuriwork's full-sized avatar
💭
Webhook test

Xuriwork Xuriwork

💭
Webhook test
  • On the Blockchain
View GitHub Profile
@Xuriwork
Xuriwork / alanStudio.js
Created September 2, 2020 02:10 — forked from adrianhajdin/alanStudio.js
Alan Studio Code Materials
intent('What does this app do?', 'What can I do here?',
reply('This is a news project.'));
const API_KEY = '7bdfb1b10aca41c6becea47611b7c35a';
let savedArticles = [];
// News by Source
intent('Give me the news from $(source* (.*))', (p) => {
let NEWS_API_URL = `https://newsapi.org/v2/top-headlines?apiKey=${API_KEY}`;
service cloud.firestore {
match /databases/{database}/documents {
// USERS //
function isAuthenticated() {
return request.auth != null;
}
function userExists(uid) {
@Xuriwork
Xuriwork / mongodb_cheat_sheet.md
Created November 22, 2019 21:33 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database