Skip to content

Instantly share code, notes, and snippets.

@JeffreyWay
JeffreyWay / Modal.vue
Created July 25, 2022 21:26
Learn Vue 3: Step By Step, Episode 29 - Two Ways to Transition
<script setup>
defineProps({
show: Boolean
});
</script>
<template>
<Transition
enter-from-class="opacity-0 scale-125"
enter-to-class="opacity-100 scale-100"
@orendon
orendon / 00_graphs_intro.md
Last active September 13, 2021 23:16
Club de Algoritmia: Febrero de Grafos

Recursos de las sesiones del mes de Febrero (Grafos)

Todo el mes de febrero estaremos tratando sobre grafos, a continuación los recursos de cada una de las sesiones

  • Ene 26 - Introducción a Grafos y Representación
  • Feb 02 - BFS (Breadth First Search)
  • Feb 09 - Flood-fill y DFS (Depth First Search)
  • Feb 16 - Ordenamiento Topológico
  • Feb 23 - Kosaraju

Las grabaciones quedan https://www.youtube.com/playlist?list=PLRMfC7A6yJWqJ6x-Xw4Fmrpx-4N5wPjQH

[rkennke@localhost substratevm]$ mx native-image -H:+ReportExceptionStackTraces --allow-incomplete-classpath "-J-XX:FlightRecorderOptions=retransform=false" --no-fallback -ea -cp ~/src/graal-jfr/graalvm-jfr-tests/flat EventCommit
[eventcommit:35500] classlist: 988.29 ms, 0.96 GB
[eventcommit:35500] (cap): 628.34 ms, 0.96 GB
[eventcommit:35500] setup: 1,212.93 ms, 0.96 GB
Fatal error:java.lang.NoClassDefFoundError
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:603)
-module(first).
-export([double/1,mult/2,area/3,squareNumber/1,trebleNumber/1]).
mult(X,Y) ->
X*Y.
double(X) ->
mult(2,X).
area(A,B,C) ->
@Avaq
Avaq / upgrade-guide-fluture-12.md
Last active August 18, 2021 10:59
Breaking Changes Upgrade Guide for Fluture version 12

Fluture v12 Upgrade Guide

Modular version made compatible with Node 12

The modular version of Fluture no longer works with Node version 9, 10, and 11 using --experimental-modules. In order to load the modular version into those runtimes, one has to use the esm loader.

Furthermore, the modular code must now be "deep" imported from fluture/index.js. That is, import 'fluture/index.js' for EcmaScript modules, or require ('fluture') for CommonJS modules.

Future constructor no longer overloaded

@jdnichollsc
jdnichollsc / ABC.md
Last active February 12, 2026 17:08
The Job Interview Guide

The Job Interview Guide 💼

And English is a Work in Progress ⌛

@michaellihs
michaellihs / maven-cheatsheet.md
Last active December 16, 2022 07:13
Maven Cheatsheet
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.HashSet;
import java.util.Set;
// billion-laughs-style DoS for java serialization
public class SerialDOS {
@staltz
staltz / introrx.md
Last active March 10, 2026 03:48
The introduction to Reactive Programming you've been missing