Skip to content

Instantly share code, notes, and snippets.

View jjwall's full-sized avatar

Jake Wallace jjwall

View GitHub Profile
@jjwall
jjwall / pyinstaller.spec
Created August 17, 2024 03:06
Pyinstaller spec file for creating multiple executables (test_script1.exe and test_script2.exe)
# -*- mode: python ; coding: utf-8 -*-
a = Analysis(
['test_script1.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
@jjwall
jjwall / index.html
Last active August 17, 2020 03:33
index.html example to set up a local server to be able to serve CORS assets within an iPhone app using Cordova. Uses the Cordova httpd plugin.
<!DOCTYPE html>
<html>
<head>
<!-- current meta block -->
<!-- <meta http-equiv="Content-Security-Policy" content="default-src *; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data:">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1"> -->
<!-- From my gist -->