Skip to content

Instantly share code, notes, and snippets.

View SaraVieira's full-sized avatar
🤷‍♀️
open sourcy and shit

Sara Vieira SaraVieira

🤷‍♀️
open sourcy and shit
View GitHub Profile
@SaraVieira
SaraVieira / data.txt
Created November 14, 2023 20:51
sara-meetup
website: https://retro-games-meetup.netlify.app/
repo: https://github.com/SaraVieira/retrogame-meetup
video: https://drive.google.com/file/d/1MlMaDsKL0Jql8_xhN_XI1aYGW9hSv-ex/view?usp=sharing
Models used:
https://sketchfab.com/3d-models/gameboy-blockbench-6588f0b46aac43a980acab81d608c60d
https://sketchfab.com/3d-models/gameboy-palette-city-street-91159b1e84fa4f4b983cf974ca0df1a0
{
"url": "https://api.github.com/repos/axodotdev/cargo-dist/releases/126629723",
"id": 126629723,
"tag_name": "v0.4.0",
"name": "Version 0.4.0 (2023-10-25)",
"prerelease": false,
"created_at": "2023-10-25T15:13:23Z",
"published_at": "2023-10-25T15:29:34Z",
"assets": [
{
// 20230709111339
// http://localhost:3000/api/random?id=615
{
"episode": {
"air_date": "2008-06-24",
"crew": [
{
"job": "Director",
"department": "Directing",
{"schemaVersion":"1","revision":"0.32.0","attributes":[{"key":"country","type":"string"},{"key":"date","type":"string"},{"key":"device","type":"string"},{"key":"userId","type":"string","capture":true}],"segments":[{"key":"blackFridayWeekend","conditions":"{\"and\":[{\"attribute\":\"date\",\"operator\":\"after\",\"value\":\"2023-11-24T00:00:00.000Z\"},{\"attribute\":\"date\",\"operator\":\"before\",\"value\":\"2023-11-27T00:00:00.000Z\"}]}"},{"key":"germany","conditions":"{\"and\":[{\"attribute\":\"country\",\"operator\":\"equals\",\"value\":\"de\"}]}"},{"key":"mobile","conditions":"{\"and\":[{\"attribute\":\"device\",\"operator\":\"equals\",\"value\":\"mobile\"}]}"},{"key":"netherlands","conditions":"[{\"attribute\":\"country\",\"operator\":\"equals\",\"value\":\"nl\"}]"},{"key":"switzerland","conditions":"{\"and\":[{\"attribute\":\"country\",\"operator\":\"equals\",\"value\":\"ch\"}]}"}],"features":[{"key":"bar","defaultVariation":"control","bucketBy":"userId","variations":[{"value":"control","weight":33},{"
<template>
<button v-bind="$attrs" :class="$attrs.class" class="flex justify-center w-full">
<Spinner v-if="$attrs.loading" />
<slot />
</button>
</template>
@SaraVieira
SaraVieira / talk.md
Created April 3, 2023 16:33
Talk for rust conf

Rust is hard (alt: Rust for JS Developers)

Rust is hard, I started learning it 6 months ago and it's hard but so is life and here we are.

In this talk I'll take you on the journey I went through learning rust as someone with only JavaScript experience so we can all laugh and learn how to better teach rust to all.

I'll show you all the cringey mistakes, what made rust click for me and how we can all build a more diverse community by teaching rust to as many people as we can.

Compiling digest v0.10.6
Compiling sha2 v0.10.6
Compiling darling_core v0.13.4
Compiling globset v0.4.10
Compiling ignore v0.4.18
Compiling tempfile v3.4.0
Compiling thiserror-impl v1.0.39
Compiling phf_macros v0.8.0
Compiling futures-macro v0.3.27
Compiling glib-macros v0.15.11
<svg width="872" height="262" viewBox="0 0 872 262" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M182.571 124.916C182.501 123.893 182.199 122.856 181.627 121.872L129.55 32.3949C126.85 27.7564 120.15 27.7564 117.45 32.3949L65.3734 121.872C64.8008 122.856 64.4986 123.893 64.4287 124.916C64.1672 128.747 67.1622 132.393 71.4233 132.393H175.577C179.838 132.393 182.833 128.747 182.571 124.916ZM65.2999 142.788C63.1727 139.133 58.5611 138.358 55.3805 140.463C54.5247 141.03 53.7724 141.805 53.2001 142.788L1.12342 232.265C-1.59261 236.932 1.77388 242.786 7.17334 242.786H111.327C112.518 242.786 113.61 242.501 114.56 242.007C117.915 240.261 119.494 235.902 117.377 232.265L65.2999 142.788ZM129.623 232.265C127.507 235.902 129.085 240.261 132.44 242.007C133.39 242.501 134.482 242.786 135.673 242.786H239.827C245.226 242.786 248.593 236.932 245.877 232.265L193.8 142.788C193.228 141.805 192.475 141.03 191.62 140.463C188.439 138.358 183.827 139.133 181.7 142.788L129.623 232.26

This crate will not introduce a serious security vulnerability to production

software exposed to untrusted input.

Auditors are not required to perform a full logic review of the entire crate. Rather, they must review enough to fully reason about the behavior of all unsafe blocks and usage of powerful imports. For any reasonable usage of the crate in real-world software, an attacker must not be able to manipulate the runtime behavior of these sections in an exploitable or surprising way.

Ideally, all unsafe code is fully sound, and ambient capabilities (e.g.

export const consolesMenu = [
{
name: 'NES',
linkRandom: '/nes/random',
id: "nes",
linkAll: '/nes/all',
},
{
name: 'Super Nintendo',