Skip to content

Instantly share code, notes, and snippets.

@adricasti
adricasti / Svelte.md
Created November 25, 2021 16:45
Svelte Boilerplate

New Svelte App with Material UI

npm init svelte@next my-app
cd my-app
npm install

Add Material UI

@adricasti
adricasti / Vault.java
Created July 3, 2020 11:28
Extended length APDU read and write
package storage;
import javacard.framework.*;
import javacardx.apdu.ExtendedLength;
public class Vault extends Applet implements ExtendedLength {
final static byte GET_DATA = (byte) 0xCB;
final static byte PUT_DATA = (byte) 0xDB;
private byte[] objBuffer;
@adricasti
adricasti / Readme.md
Last active June 24, 2020 18:59
nRF52 Toolchain Setup in Mac OS X

Equipment

  • MacOS Mojave 10.14.4
  • MacBook Pro (Retina, 13-inch, Late 2012)
  • nRF52-DK (PCA10040)

Toolchain Setup

  1. Install GCC