Skip to content

Instantly share code, notes, and snippets.

View edkf's full-sized avatar

Edgard Kozlowski edkf

View GitHub Profile
{"v":"5.6.5","fr":29.9700012207031,"ip":0,"op":121.000004928431,"w":1920,"h":1080,"nm":"Main Comp","ddd":1,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Shape Layer 19","sr":1,"ks":{"o":{"a":0,"k":87,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":9,"s":[17]},{"t":99.0000040323527,"s":[85]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.644,"y":0.469},"o":{"x":0.271,"y":0},"t":9,"s":[1449.379,-34.734,0],"to":[0,9.882,0],"ti":[0,-255.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.421,"y":0.39},"t":39,"s":[1529.379,452.206,0],"to":[0,358.635,0],"ti":[0,-7.782,0]},{"t":69.0000028104276,"s":[1449.379,1245.266,0]}],"ix":2},"a":{"a":0,"k":[-110.621,-54.734,0],"ix":1},"s":{"a":0,"k":[27,27,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[50.758,10.531],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[0.992156982422,0.77254895976
{
"response_type": "in_channel",
"text": "pra pra pra pra pra"
}
{"v":"5.5.5","fr":120,"ip":0,"op":170,"w":1500,"h":1500,"nm":"likeer 2","ddd":0,"assets":[{"id":"image_0","w":747,"h":686,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAusAAAKuCAYAAAAYbFLiAAAgAElEQVR4Xu3dW3IVV9ou6pETynVprxZYQge4Qw6kCN+ZaoHlFlhugXELjFtg3ALLLSjcgpLvHCERJe5AQki04Ed3u7CYuSMFsjHHecjDODxErL3X/3vmGON7viHxriRnjir4Q6AQgeOVjbWzS/UnTbnV82qhquqFV0uvq3CzTYpRHZ7WIey/OuZ4FHYu/ufL4fLJ4oPfT9qc01gECBDoQuD42ucLZ+Hs/HdmNa4/qUK11uXvz/N56r9+Xzb/cx3q/XpUPW3+735/dtFlY8YqUMW6MOsiMI3A4bX186A9Gr8I3BfBu6pD85fLp9OMNcRn6yr8dr7+ujqpQ30SqvB0XIX9y8+rp4uHu38L/EOsz5wECOQr8PrvzyqEtXEVPqnq5uZGdT3+yuv7dVU9ffUGycWNkZUHe3/eIIm/Disk8HYBYd3OSEag+Qvl4o74X3+ZhC+SKWC+hT6pq3ByEeabv4gE+flAXU2gJIHmXxafV+OF5o54FaqFcVUvVHVo7o5/XIDDaV2F/Yvfn80d+kv16MSNkAI6n0mJwnomjcypjFf/UmnukKdyd3y4HtT3qzDab+7In4f4/+9sf/Fk//yfiv0hQKAsgYvHVZp/ZWxuatShedwvhbvjQ/Wp+f3Z/ItmaH6H7l8a/WPf44lD9cK87xIQ1u2NQQWav1iej/9Yq+pwsx5Vzf+/lDvlXbuf34lvnvkU4LumNj6BYQT+/P0ZqrWXNzZKuVPeNfj5nfjm96cA3zW18ScRENYnUfKZ1gSaR1n+uuNz/nx5Cf8E25rfnAM9qUK1U1f1/mhc7fgn4Dk1XU6gZ4Hz
//Methods
// TweenLite.to() method
// TweenLite.to(selector, animationDuration, {propertiesToChange})
// TweenLite.FromTo() method
// TweenLite.to(selector, animationDuration, {initialProperties}, {endingProperties})
// TweenLite.set() method
// TweenLite.set(selector,animationDuration, {propertiesToChange})
@edkf
edkf / universidades-br.json
Last active May 8, 2023 00:41
Lista de Todas as Universidades do Brasil (retirado do portal de indicadores do INEP/ENADE) Ref: https://gist.github.com/alexandremcosta/c9361cc23722a5aa1133
[
{
"universidade" : "ACADEMIA DA POLÍCIA CIVIL DO ESTADO DA BAHIA",
"sigla" : "ACADEPOL",
"uf" : "BA"
},
{
"universidade" : "ACADEMIA DE POLÍCIA MILITAR DO BARRO BRANCO",
"sigla" : "APMBB",
"uf" : "SP"
const el = document.querySelector('#scroller');
function scrollHorizontally(e) {
e = window.event || e;
e.preventDefault();
el.scrollLeft -= (e.wheelDelta || -e.detail);
}
function init() {
if (!el) {
# Getting data from the CoinMarketCap API
coins = JSON.parse Utils.domLoadDataSync 'https://api.coinmarketcap.com/v1/ticker/'
# Create a Scroll componnent, that will wrap all coinRows
list = new ScrollComponent
width: Screen.width
height: Screen.height
# Set the backgrond color for the scroll content
list.content.backgroundColor = '#FFFFFF'
goToModal = (nav, layerA, layerB, overlay) ->
transition =
# states of the current layer
layerA:
show:
x: 0
opacity: 1
hide:
x: 0
opacity: 1
# Declare the FlowComponent
flow = new FlowComponent
# After that, declare the first screen of our project
flow.showNext(list)
#tap event
coinRow.onTap ->
selectedRow = this
# Create an Animation
heroSize = new Animation selectedRow,
# change the scroll position to the top of the screen
y: list.scrollY
# Increase the size of the selectedRow to 250
height: 250