Skip to content

Instantly share code, notes, and snippets.

View wdonet's full-sized avatar
🦀
Less is only more where more is no good

Oswaldo Herrera wdonet

🦀
Less is only more where more is no good
  • México city
View GitHub Profile
@wdonet
wdonet / Codesandbox + Github.md
Last active April 21, 2025 11:15
How to link and work with CodeSandbox + Github

How to use CodeSandbox and GitHub together

Requirements

  • Use or create a GitHub account
  • Use your CodeSandbox account

Link CodeSandbox to your Github Repository

  1. Open the CodeSandbox Link
const createCounter = function() {
let count = 0;
this.click = () => count+=1;
this.getCount = () => count.toLocaleString();
}
const counter = new createCounter();
counter.click(); //count=1
counter.click(); //count=2
counter.click(); //count=3
counter.count = 78; //still count is 3
@wdonet
wdonet / Rocket snippet
Created August 3, 2019 04:59
Rocket snippet for a short talk of how to use Rocket
Rocket
Intro
- Primitives to build web servers
- Routing (params and handlers)
- Validation
- Error Handling
- Pre-Processing of requests
- Post-processing of responses

Keybase proof

I hereby claim:

  • I am wdonet on github.
  • I am wdonet (https://keybase.io/wdonet) on keybase.
  • I have a public key ASCgE7vTuT-z-ta9qWD7WGuJj1ITBvze4R_8ULNN7XqXKAo

To claim this, I am signing this object: