Skip to content

Instantly share code, notes, and snippets.

View Gioyik's full-sized avatar
😈
They say you are what you eat, but I don’t remember eating a legend

Giovanny Gongora Gioyik

😈
They say you are what you eat, but I don’t remember eating a legend
View GitHub Profile
@Gioyik
Gioyik / trello-user-token
Created September 3, 2018 02:00
Open this on your browser to get a user token with expiration = never and scope = read,write
https://trello.com/1/authorize?key=YOURAPPLICATIONKEY&scope=read%2Cwrite&name=APPLICATIONNAME&expiration=never&response_type=token
const express = require('express')
const app = express()
const port = 3000
const fs = require('fs')
app.use(express.json())
app.use(express.urlencoded({ extended: true }))
let counter = 0
@Gioyik
Gioyik / flash.sh
Created November 26, 2013 18:51
Script to flash Android and Android based devices using fastboot.
#!/bin/bash
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot
@Gioyik
Gioyik / nodejs.sh
Last active August 15, 2023 07:59
Script to cross compile NodeJS for ARMv7
#!/bin/sh -e
#Define our target device
export TARGET_ARCH="-march=armv7-a"
export TARGET_TUNE="-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb"
#Define the cross compilators on your system
export AR="arm-linux-gnueabi-ar"
export CC="arm-linux-gnueabi-gcc"
export CXX="arm-linux-gnueabi-g++"