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
// Make sure to use firebase-admin and to initialize the app | |
const admin = require('firebase-admin') | |
admin.initializeApp(functions.config().firebase) | |
// Example of how I'm GETTING all the records in a collection AND using | |
// the ID from the path of the document that triggered this function | |
exports.getLessonsAsync = functions.firestore | |
.document('organizations/{organizationId}/lessons/{lessonId}') | |
.onWrite(async function(change, context) { | |
const result = await admin |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
import "@openzeppelin/contracts/utils/Counters.sol"; | |
contract T3KN4RK1ST is ERC721URIStorage{ | |
using Counters for Counters.Counter; |
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
# This file contains the fastlane.tools configuration | |
# You can find the documentation at https://docs.fastlane.tools | |
# | |
# For a list of all available actions, check out | |
# | |
# https://docs.fastlane.tools/actions | |
# | |
# For a list of all available plugins, check out | |
# | |
# https://docs.fastlane.tools/plugins/available-plugins |
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
{"lastUpload":"2021-02-22T04:00:15.504Z","extensionVersion":"v3.4.3"} |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |
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
// have 2 skype sessions running on mac | |
sudo /Applications/Skype.app/Contents/MacOS/Skype /secondary |
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 AWS = require("aws-sdk"); | |
//security settings to use after advice from devOps will be CHANGED!! | |
AWS.config.update({ | |
accessKeyId: 'accessKey###', | |
secretAccessKey: 'secretAccessKey###', | |
region: 'us-east-1' | |
}); | |
const ses = new AWS.SES({ apiVersion: "2010-12-01" }); |
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 aws = require('aws-sdk'); | |
const AWS = require('aws-sdk'); | |
const fs = require('fs'); | |
const s3 = new AWS.S3({ | |
accessKeyId: 'AA', | |
secretAccessKey: 'BB+oeyjn8zGANuDyCIY', | |
region: 'ap-southeast-2' | |
// accessKeyId: process.env.AWS_ACCESS_KEY, |
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'); | |
const AWS = require('aws-sdk'); | |
const s3 = new AWS.S3({ | |
accessKeyId: 'aaa', | |
secretAccessKey: 'bbb+oeyjn8zGANuDyCIY', | |
region: 'ap-southeast-2' | |
// accessKeyId: process.env.AWS_ACCESS_KEY, | |
// secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY, |
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
Log.d("mk", "chapas"); | |
//call pelada | |
// final OkHttpClient client = new OkHttpClient(); | |
//with stetho, | |
final OkHttpClient client = new OkHttpClient.Builder().addNetworkInterceptor(new StethoInterceptor()).build(); | |
final Request request = new Request.Builder() | |
.url("http://www.mocky.io/v2/573336c90f0000902cead88d") |
NewerOlder