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 / list.sh
Last active August 29, 2015 14:21
Ejercicio de parcial
echo "Se van a listar los archivos"
sleep 5
ls
sleep 2
echo "Digite el nombre del primer archivo a comprar: "
read archivo1
[ -f $achivo1 ] && echo "El archivo existe" || echo "El archivo no existe" && exit
sleep 2
echo "Digite el nombre del segundo archivo a comprar: "
read archivo2
/*
Write a program that prints out the numbers 1 to 100 (inclusive). If the number is
divisible by 3, print Crackle instead of the number. If it's divisible by 5, print Pop. If
it's divisible by both 3 and 5, print CracklePop. You can use any language.
*/
for (var i=1; i<=100; i++) {
var a = !(i % 15) ? 'CracklePop' :
!(i % 3) ? 'Crackle' :
!(i % 5) ? 'Pop' :
@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