Skip to content

Instantly share code, notes, and snippets.

🌈
yolo

Piérre Reimertz reimertz

🌈
yolo
Block or report user

Report or block reimertz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View asd
https://send.firefox.com/download/84e91a413e5ca5a7/#AB8SLcOgnP88XMA1nuyj9Q
View asd
https://send.firefox.com/download/71dee0652e458a91/#LGS2NUvEI3SaWNiT9aYAgg
View asasd
https://send.firefox.com/download/153e5ac97f410fe1/#un3Dhp35BWibTMXfmnamvA
@reimertz
reimertz / 1.rxjs-firestore.js
Last active Nov 18, 2019
RxJS + Firestore + React hooks basics
View 1.rxjs-firestore.js
import { Observable, combineLatest } from 'rxjs'
import { startWith } from 'rxjs/operators'
import { useEffect, useState } from 'react'
export const docData = doc => {
const data = doc.data()
const idKey = data && data.id ? 'firebaseId' : 'id' // if original data contains an id..
return {
...data,
View gist:ef2960319509865507130d60050dcebe
import { Observable, interval, combineAll, combineLatest } from 'rxjs'
import { zip, startWith, timeInterval } from 'rxjs/operators'
import { useEffect, useState } from 'react'
import RNFirebase from '@react-native-firebase/app'
export const docData = doc => {
const data = doc.data()
const idKey = data && data.id ? 'firebaseId' : 'id'
View Erik.md

HAHAHAHAHAHAHAHAHA

så jefla trollad!

Vår 30 års present till dig är att

  1. Vi båda kommer och hälsar på innan sommaren är slut
  2. Vi tar med 40kg av din skit
View locations.js
const locations = [{
name: 'MAP STUDIO',
url: 'https://www.makersrecord.com/map-studio',
cost: '250',
shortDescription: 'yolo 4 life ......',
location: {
long: 'asdadssd',
lat: 'adakd;ladska;lsdk'
}
}, {
View 404.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>404 redirect</title>
<meta http-equiv="refresh" content="0;URL='https://lukyvj.github.io/populus.js/'"></meta>
</head>
<body>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
View twitterUnliker.js
const selector = '.favorited .ProfileTweet-action--favorite .ProfileTweet-actionButtonUndo'
const generateClickPromise = (el, index) => {
return new Promise((resolve) => {
setTimeout(() => {
el.click()
resolve()
}, index * 200 + 200 * Math.random())
})
}
You can’t perform that action at this time.