Skip to content

Instantly share code, notes, and snippets.

View hypernova7's full-sized avatar
🦀
Rust is 💪😉

Eddy Otsutsuki hypernova7

🦀
Rust is 💪😉
  • www
  • México
  • 23:01 (UTC -06:00)
View GitHub Profile
@hypernova7
hypernova7 / index.js
Last active November 7, 2021 21:39
Checking telegram authorization with ExpressJS
const app = require('express')();
const consola = require('consola');
const logger = consola.withTag('tg-check-auth')
app.listen(process.env.PORT)
app.get('/auth', auth)
function auth (req, res) {
let status = 200 // OK code
@hypernova7
hypernova7 / build.gradle
Created October 12, 2021 11:28
Build and sign Flutter app with Github Actions
// android/app/build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
Verifying my Blockstack ID is secured with the address 14WhSm3S7GGHWnyY4Y7UNE5YKovppKMUr3 https://explorer.blockstack.org/address/14WhSm3S7GGHWnyY4Y7UNE5YKovppKMUr3