Skip to content

Instantly share code, notes, and snippets.

@andrewrt
andrewrt / install.html
Created November 9, 2022 16:32 — forked from RazorAnt/install.html
iOS Enterprise Deployment - for distribution with your IPA
<html>
<head>
<title>My app install</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<style>
body {
font: 13pt Helvetica, sans-serif;
}
</style>
</head>
@andrewrt
andrewrt / flash_copy_xip.c
Created October 13, 2020 23:04
rt1052 flash copy scratch
__RAMFUNC(RAM) status_t flash_copy_62000000_to_60000000(){
uint8_t retry_count = 0;
uint8_t *ptr;
status_t status = eraseFlashBulk(FlexSPI_AMBA_BASE, xip_image_sizee_in_bytes);
if (status != kStatus_Success){
return -1;
}
//move everything from scratch space to FLASH START
$ HOME=~/.electron-gyp node-gyp rebuild --target=6.1.4 --arch=x64 --dist-url=https://electronjs.org/headers
gyp info it worked if it ends with ok
gyp info using node-gyp@6.0.1
gyp info using node@12.4.0 | win32 | x64
gyp info find Python using Python version 2.7.17 found at "C:\Python27\python.exe"
gyp info find VS using VS2019 (16.1.29102.190) found at:
gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
gyp info find VS run with --verbose for detailed information
gyp info spawn C:\Python27\python.exe
gyp info spawn args [
@andrewrt
andrewrt / sharp install via gyp
Created November 6, 2019 17:58
node-gyp rebuild --target=6.1.4 --arch=x64 --dist-url=https://electronjs.org/headers
$ node-gyp rebuild --target=6.1.4 --arch=x64 --dist-url=https://electronjs.org/headers
gyp info it worked if it ends with ok
gyp info using node-gyp@6.0.1
gyp info using node@12.4.0 | win32 | x64
gyp info find Python using Python version 2.7.17 found at "C:\Python27\python.exe"
gyp http GET https://electronjs.org/headers/v6.1.4/node-v6.1.4-headers.tar.gz
gyp http 200 https://electronjs.org/headers/v6.1.4/node-v6.1.4-headers.tar.gz
gyp http GET https://electronjs.org/headers/v6.1.4/SHASUMS256.txt
gyp http GET https://electronjs.org/headers/v6.1.4/win-x86/node.lib
@andrewrt
andrewrt / sharp install
Created November 6, 2019 17:44
fresh sharp npm i --save --verbose (win10)
$ npm i --save --verbose sharp
npm info it worked if it ends with ok
npm verb cli [
npm verb cli 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'i',
npm verb cli '--save',
npm verb cli '--verbose',
npm verb cli 'sharp'