Skip to content

Instantly share code, notes, and snippets.

View lastrafda's full-sized avatar
🏵️

José Lastra lastrafda

🏵️
  • Concepción, Chile
View GitHub Profile
@lastrafda
lastrafda / clojure-beginner.md
Created August 20, 2021 03:26 — forked from yogthos/clojure-beginner.md
Clojure beginner resources

Introductory resources

@lastrafda
lastrafda / resolvendo-problemas-com-fp.js
Created August 6, 2021 05:51 — forked from viglioni/resolvendo-problemas-com-fp.js
Código escrito durante o live coding "Resolvendo Problemas com Programação Funcional"
/*
* Links para o live coding:
* Parte I: https://www.youtube.com/watch?v=11HGQkaOT8c
* Parte II: https://www.youtube.com/watch?v=pFYIDtgkYb0
*/
/*
* Primeiro problema
*/
/**
Eloquent Javascript CH003
Consider this puzzle: by starting from the number 1 and repeatedly either
adding 5 or multiplying by 3, an infinite set of numbers can be produced.
How would you write a function that, given a number, tries to find
a sequence of such additions and multiplications that produces that number?
*/
function findSolution(target) {
function find(current, history) {

Frontend Masters: AWS for Frontend Engineers

You should have the following completed on your computer before the workshop:

  • Install the AWS CLI.
  • Have Node.js installed on your system. (Recommended: Use nvm.)
    • Install yarn with brew install yarn.
  • Create an AWS account. (This will require a valid credit card.)
  • Create a Travis CI account. (This should be as simple as logging in via GitHub).
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
--header1: calc(2rem + 1vw);
--header2: calc(3.5rem + 1vw);
--header3: calc(3rem + 1vw);
@lastrafda
lastrafda / javascriptreact.json
Last active April 28, 2020 22:57
My snippets
{
"Print to console": {
"prefix": "clog",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
},
"Create a new react component": {
@lastrafda
lastrafda / vue-custom-input-component-exercise.js
Created August 5, 2019 21:29 — forked from laracasts/vue-custom-input-component-exercise.js
vuecasts.com - Custom Input Components exercise.
Vue.component('coupon', {
props: ['code'],
template: `
<input type="text"
:value="code"
@input="updateCode($event.target.value)"
ref="input">
`,