Skip to content

Instantly share code, notes, and snippets.

View daemswibowo's full-sized avatar
🏠
Working from home

Dimas Wibowo daemswibowo

🏠
Working from home
View GitHub Profile
@bryanbuchanan
bryanbuchanan / private-trello-attachment-proxy.js
Last active October 25, 2022 16:50
Make private Trello board attachments publicly-available. https://glitch.com/edit/#!/private-trello-attachment-proxy
require('dotenv').config()
const express = require('express')
const fetch = require('node-fetch')
const app = express()
app.use('/', async (req, res) => {
// Attachment URL
const attachmentURL = "https://trello.com/1/cards/5e65954f0f343116e999658f/attachments/5e67a146876719748d64057b/previews/5e67a147876719748d6405ae/download"
@daemswibowo
daemswibowo / app - build.gradle
Last active May 22, 2019 10:59
My React Native Initial Setup for Every Projects
// android/app/build.gradle
android {
...
defaultConfig {
...
versionCode versionMajor * 10000 + versionMinor * 100 + versionPatch
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
}
// setup keystore for release
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->