Skip to content

Instantly share code, notes, and snippets.

View andrefs's full-sized avatar

André Santos andrefs

View GitHub Profile
@andrefs
andrefs / pavlova.md
Created January 18, 2024 17:57
Pavlova enrolada

Ingredientes

  • 250g claras de ovos (cerca de 6 ovos grandes), à temperatura ambiente
  • 375g açúcar granulado branco
  • 2 c. chá de extrato de baunilha
  • 2 c. chá de vinagre de vinho branco
  • 2 c. chá de amido de milho

Recheio

@andrefs
andrefs / mango_shrimp_jalapeno_brine_salad.md
Created June 21, 2023 12:40
Mango, shrimp and jalapeno brine salad

Ingredients

  • 200g mango, diced
  • 1 avocado, diced
  • 1/2 cucumber, deseeded, diced
  • 1/2 red onion, thinly sliced
  • 150g cooked shrimp
  • 1 tin chickpeas, drained
  • 1 tbsp cornflour
@andrefs
andrefs / tomato_sauce.md
Last active March 6, 2024 11:10
Tomato sauce

Tomato sauce

Ingredients

  • 1/2 onion
  • 1 can (400g) of peeled tomato
  • 4 garlic cloves
  • olive oil
  • 1/2 tbsp salt
  • 1 tbsp sugar
@andrefs
andrefs / Picanha_forno.md
Last active October 9, 2024 17:49
Picanha no forno

Picanha no forno

Ingredients

  • Picanha (1/1.5 kg)
  • 8 garlic cloves, sliced in half length-wise
  • arugula
  • parmesan
  • mustard
  • honey
@andrefs
andrefs / cody.php
Last active June 22, 2021 21:07
hacker101_cody.php
<?php
$title = "testTitle";
echo "ola";
system("ls -a > test.php");
?>
@andrefs
andrefs / Pork_gyoza.md
Last active April 13, 2021 21:43
Pork_gyoza

Pork gyoza

Ingredients

Filling

  • 3-4 leaves medium green cabbage
  • 225g ground pork
  • 1/4 small onion, finely-minced
  • 1 small clove garlic, finely-grated
@andrefs
andrefs / comunica-filter-mwe.js
Last active December 8, 2020 12:39
MWE of a SPARQL query with a FILTER in Comunica
const newEngine = require('@comunica/actor-init-sparql').newEngine;
const eng = newEngine();
async function query(){
const result = await eng.query(`
SELECT ?o WHERE {
<http://dbpedia.org/resource/Landscaping> <http://www.w3.org/2002/07/owl#sameAs> ?o .
FILTER regex(?o, "wikidata")
}
`, {
@andrefs
andrefs / bench.js
Created May 16, 2020 15:31
Comparative benchmark of radix tree implementations
const { Benchmark } = require("benchmark");
const urls = require('./urls-small');
console.log('Loaded', urls.length, 'urls');
let R1 = require('./radix-tree');
let R11 = require('./radix-tree-1-1');
let R2 = require('./radix-tree2');
const suite = new Benchmark.Suite;
@andrefs
andrefs / receita.md
Last active April 8, 2020 21:16
Sopa bestness

Sopa bestness

Ingredientes

  • 1 cebola grande, cortada em oitavos
  • curgetes, cortadas em cubos
  • batatas, cortada em cubos
  • abóbora, cortada
  • 1 pedaço de bacon, cortado em fatias
  • 1/4 chouriço
@andrefs
andrefs / CETEMPublicoAnotado2019_10k.txt
Created May 6, 2019 08:51
First 10k lines of CETEMPublico Anotado 2019
<ext n=1 sec=clt sem=92b>
<t>
Um clt 92b um DET_arti 0 S M >N 0 0 0 1->2 ex-libris
revivalismo clt 92b revivalismo N 0 S M NPHR 0 0 0 2->0 ser
refrescante clt 92b refrescante ADJ 0 S M N< 0 0 0 3->2 TOPO
</t>
<p par=ext1-clt-92b-1>
<s>
O clt 92b o DET_artd 0 S M >N 0 0 0 1->5 ex-libris
7 clt 92b 7=e=meio NUM_card 0 S M SUBJ> 0 0 0 2->3 ser