Skip to content

Instantly share code, notes, and snippets.

View walaura's full-sized avatar
🐝
bees

Laura buns walaura

🐝
bees
View GitHub Profile
RUhztjhmqNizsSM8y5MVgGTtGLEZ7g8ksE

panem et circenses

I didn't wanna say a lot during the biden inauguration because a lot of people seemed really thrilled about it and it was a bit like raining on their parade but not gonna lie lxds. The biden inauguration made me uncomfortable. It made me uncomfortable in no small part because of all the people seeming really thrilled about it.

Now, don;'t get me wrong. It was a fine event. lady gaga was there, bojangles of fun all over for sure. it's however also an event that comes of the back of four years of trump in power, literally a week after an armed uprising in the very same building

And thing is, to me, the entire event felt like a really hardcore act of denial? That's over, the inmates aren't running the asylum anymore. The adults are back doing their adult detached things. We can put all of this shameful nonsense behind us.

Now, don't get me wrong. I think that armed uprisings aren't generally desirable. And yet there has been a general vibe, so to say, about the last four years. A vibe th

@walaura
walaura / gist:032e3415786644932394fbe23da32fdb
Last active July 20, 2020 17:08
this could be a useJquery() hook but u playin
const Box = () => {
const ref = useJquery(($element) => {
$element.click(() => {
$element.animate(
{
opacity: 0.25,
left: '+=50',
height: 'toggle',
},
5000
const ALL_STAR = [
`Somebody once told me the world is gonna roll me`,
`I ain't the sharpest tool in the shed`,
`She was looking kind of dumb with her finger and her thumb`,
`In the shape of an "L" on her forehead`,
`Well the years start coming and they don't stop coming`,
`Fed to the rules and I hit the ground running`,
`Didn't make sense not to live for fun`,
`Your brain gets smart but your head gets dumb`,
`So much to do, so much to see`,
# I picked up React Native as a web developer and here's what I've learned
For the last couple weeks, I've been building a RN app at [work](https://gu.com). It's a news reader (duh) and a bit of a monster at that, with filesystem access, background downloads, and push notifications.
This wasn't my first time using React but!! It was my first time using RN. Which is scary because new things are scary. It's being a great experience though, and I'm kinda waiting for an 'OH S**T' moment where something unexpected goes horribly wrong – but so far it's been ridiculously fun.
Wy React Native? Well, my team originally wanted a PWA! We changed course for three key reasons:
- Despite web being a 'nice to have' our first market was app stores
- We wanted it to have very elaborate offline & background functionality. This is very early & experimental on web but a solved issue on mobile apps since day one.
- We wanted to deliver a native-like experience. Think 60fps animations, multiple stacked views, the works. These

I picked up React Native as a web developer and here's what I've learned

For the last couple weeks, I've been building a RN app at work. It's a bit of a monster, with filesystem access, background downloads, and push notifications. This wasn't my first time using React but!! It was my first time using RN. Which is scary. Here's some stuff I've learned that was sorta news to me:

Why use React Native?

The web is pretty awesome, PWAs are gaining ground and honestly going all the way to the app store to install an app feels like a bit of a journey. You might wanna consider if the web fits what you wanna do before going this route.

In our case we had two requirements that drove this decision: We wanted the project to be in app stores and we wanted very elaborate offline & background functionality. This is very experimental on web but a solved issue since day one of mobile apps. React native runs on top of native apps we have full control of so

@walaura
walaura / tableau-aws.js
Last active June 5, 2018 10:17
tableau-aws.js
#!/usr/bin/env node
/*
run `./tableau-aws on` to let tableau run
run `./tableau-aws off` to let sbt run
*/
const fs = require('fs');
const normalPath = '/Library/Java/Extensions';
/*
scroll aaaall the way down in https://analytics.twitter.com/
then run this in the devtools. you can paste the data straight
into google sheets
*/
copy([...document.querySelectorAll('.DataPoint-info.metric-tweetviews')].map(_=>
_.closest('.home-group-row').querySelector('.home-group-header').innerText.replace(' SUMMARY','')
+"\t"+
_.innerText.replace(',','').replace(/\.([0-9][0-9])K/,'$10').replace(/\.([0-9])K/,'$100').replace(/\.([0-9][0-9])M/,'$10000').replace(/\.([0-9])M/,'$100000').replace('K','000').replace('M','000000')
### Keybase proof
I hereby claim:
* I am walaura on github.
* I am walaura (https://keybase.io/walaura) on keybase.
* I have a public key ASDPo5ifHW07jAwSgSavvdstsITUeXd7R3KGMlI3hWvCego
To claim this, I am signing this object:
@-moz-document domain("chat.google.com") {
html {
filter: invert(100%);
}
*[style*=emoji], img {
filter: invert(100%);
}
}