Skip to content

Instantly share code, notes, and snippets.

View NathanaelA's full-sized avatar

Nathanael Anderson NathanaelA

View GitHub Profile
@NathanaelA
NathanaelA / svelte-loader.mjs
Last active October 21, 2023 02:28
Svelte Node.JS loader
// (c) 2021-2022, Nathanael Anderson @ Master Technology
// License: MIT
// Please NOTE the compiler settings on Line 49 & 89 is VERY VERY specific to my use case,
// the compiler OPTIONS probably will be different for your a normal use case.
// Flags
const DEBUGGING = false;
import { writeFileSync } from 'node:fs';
@NathanaelA
NathanaelA / AesHelper.java
Created August 19, 2020 20:27 — forked from akhil7687/AesHelper.java
Exoplayer stream AES Encrypted video from URL
package player;
import java.math.BigInteger;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.util.Arrays;
import javax.crypto.Cipher;
import javax.crypto.ShortBufferException;
@NathanaelA
NathanaelA / manifest.plist
Created June 9, 2020 02:21 — forked from hramos/manifest.plist
Sample manifest file for Over The Air iOS deployment
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>