curl -L -o audio_encoder.js https://raw.githubusercontent.com/cstoquer/audio-encoder/master/dist/audioEncoder.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S bash -xeuo pipefail | |
set -xeuo pipefail | |
pkg install pacman patchelf \ | |
which time ldd tree | |
echo | |
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
function cleanup() { | |
# clean up our temp folder | |
rm -rf "${TMPDIR}" | |
} | |
trap cleanup EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules | |
yarn.lock | |
yarn-error.log | |
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Gist used for this getaround tech article: https://getaround.tech/exif-data-manipulation-javascript/ | |
const getUpdatedImage = (image, onReady) => { | |
const reader = new FileReader() | |
reader.addEventListener("load", ({ target }) => { | |
if (!target) throw new Error("no blob found") | |
const { result: buffer } = target | |
if (!buffer || typeof buffer === "string") { | |
throw new Error("not a valid JPEG") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A basic script for uninstalling app packages in Windows 10/11, including those pre-installed with Windows | |
# | |
# Note: If you get an error about the script not being allowed to run, the below command will change the execution polciy temporarily for one session only: | |
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process | |
# | |
# To execute the script, open a Powershell window to the directory with the script and run the following command using your scripts file name (and don't forget the .\ ) | |
# .\WhateverScriptName.ps1 | |
# ------------------------------------------------------------------------------------------- | |
# Script by ThioJoe - https://github.com/ThioJoe | |
A non-exhaustive list of tools for JavaScript development as it has become "complicated".
Name: language | Stars | Last Commit | Owner/Sponsorship |
---|---|---|---|
tsc: JavaScript | Microsoft | ||
[babel] |
💻 Check out this Codesandbox demo: Vue 2 Playground
ℹ️ This approach works for Vue 2.6 and above.
🔍 Tiny: Just 10 lines of source code, no dependencies.
✨ The same Zustand store can be used with different libraries, such as Vue, React, or Svelte.
This is a guide to configure React Native to be built for native and web platforms with Typescript, Vite.js and Storybook support for modelling components.
NewerOlder