Skip to content

Instantly share code, notes, and snippets.

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

Raphael dos Santos Correa raphaelcorreaoct

🏠
Working from home
View GitHub Profile
@ErickWendel
ErickWendel / linkedin-post-analytics-example.mjs
Last active September 25, 2024 07:45
Example of how to get post Analytics such as Views from a Linkedin post
// paste this file on a empty directory
// npm i axios
// You should go to your browser on Cookie session and get JSESSIONID and li_at from Linkedin Section
const JSESSIONID = 'YOUR JSESSIONID'
const liAT = 'YOUR li_at'
import axios from 'axios'
const headers = {
@spencercarli
spencercarli / customAnimatedSequence.js
Created December 21, 2017 16:32
React Native Animated.Sequence that calls a function each time a step in the sequence starts
const customAnimatedSequence = (animations, onStepStart) => {
let current = 0;
return {
start: (callback) => {
const onComplete = (result) => {
if (!result.finished) {
callback && callback(result);
return;
}