Skip to content

Instantly share code, notes, and snippets.

View paulproteus's full-sized avatar

Asheesh Laroia paulproteus

View GitHub Profile
<script>
/* On Sandstorm, synchronize URL with Sandstorm address bar */
window.parent.postMessage({'setPath': location.pathname + location.hash}, '*');
</script>
@paulproteus
paulproteus / donuts.md
Created September 23, 2015 17:10
key beige

Keybase proof

I hereby claim:

  • I am paulproteus on github.
  • I am asheesh (https://keybase.io/asheesh) on keybase.
  • I have a public key whose fingerprint is 9722 5E58 9D6B 9E01 533C 485E EC4B 033C 7009 6AD1

To claim this, I am signing this object:

#!/bin/bash
set -euo pipefail
YOURMIRROR=mirror.mit.edu
DISTRO_VERSION=jessie
ARCH=amd64
pushd "$(mktemp -d /tmp/$(date -I).debian-installer-downloads.XXXXXXXXX)"
echo -n "Doing downloads in "
pwd

How to use this tutorial

This tutorial includdes scheme code that you can run using GNU Guile. The filename that you put the code into does not matter; you can use learning-8sync.scm, for example.

If you do not have Guile, you can visit the official Guile installation documentation, where you will find information about system packages and installing from source.

The code samples and discussion are intended to be comprehensible to people with some Scheme background. Feel free to try running the code on your machine; if it works for you, then perfect! Feel free to attempt to understand it by modifying the code on your own system. Keep going. If you want more details about Guile and a Scheme tutorial, you can read a Guile tutorial.

/* Python interpreter top-level routines, including init/exit */
#include "Python.h"
// android asheesh goop
#include <android/log.h>
#include "Python-ast.h"
#undef Yield /* undefine macro conflicting with winbase.h */
#include "internal/context.h"
Python build finished successfully!
The necessary bits to build these optional modules were not found:
_bz2 _curses _curses_panel
_dbm _gdbm _hashlib
_lzma _sqlite3 _ssl
_tkinter _uuid nis
readline spwd zlib
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
[INFO]: Building libffi for armeabi-v7a
[INFO]: libffi said it is already built, skipping
[INFO]: Building openssl for armeabi-v7a
[INFO]: openssl said it is already built, skipping
[INFO]: Building sdl2_image for armeabi-v7a
[INFO]: Building sdl2_mixer for armeabi-v7a
[INFO]: Building sdl2_ttf for armeabi-v7a
[INFO]: Building sqlite3 for armeabi-v7a
[INFO]: sqlite3 said it is already built, skipping
[INFO]: Building python3 for armeabi-v7a
$ ~/Android/Sdk/tools/bin/sdkmanager --list
Loading package information...
Loading local repository...
[========= ] 25% Loading local repository...
[========= ] 25% Fetch remote repository...
[========= ] 25% Fetch remote repository...
[========== ] 26% Fetch remote repository...
[========== ] 27% Fetch remote repository...
[=========== ] 28% Fetch remote repository...
[=========== ] 29% Fetch remote repository...
@paulproteus
paulproteus / README.md
Last active February 11, 2020 03:58
Something is happening

Making some progress :)

booting

launched

@paulproteus
paulproteus / README.rst
Created April 18, 2020 02:43
Very minimal briefcase/toga/Android demo app