Skip to content

Instantly share code, notes, and snippets.

View epl692's full-sized avatar

Eric Lynema epl692

View GitHub Profile
@epl692
epl692 / knightos-init-barf
Created March 29, 2015 23:20
knightos init --platform=TI83p barf
epl692@epl692-laptop ~/KnightOS
$ knightos init --platform=TI83p
Traceback (most recent call last):
File "/usr/knightos-sdk/main.py", line 71, in <module>
compiler=args["--compiler"], template=args["--template"], force=args["--force"])
File "/usr/knightos-sdk/init.py", line 16, in execute
exists = setup_root(root, project_name, force)
File "/usr/knightos-sdk/init.py", line 107, in setup_root
os.makedirs(root, mode=0o755, exist_ok=True)
File "/usr/lib/python3.2/os.py", line 155, in makedirs
@epl692
epl692 / install-sdk-barf
Created March 29, 2015 22:57
The barf from install-sdk
epl692@epl692-laptop ~
$ curl -s http://www.knightos.org/install-sdk | bash
Cygwin users - make sure you're running cygwin as administrator!
Downloading genkfs...
Compiling genkfs...
Scanning dependencies of target genkfs [ 50%] Building C object CMakeFiles/genkfs.dir/main.c.o Linking C executable bin/genkfs.exe [ 50%] Built target genkfs Scanning dependencies of target man [100%] Generating genkfs.1 a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/home/epl692/bin/asciidoc-8.6.9/docbook-xsl/manpage.xsl" "/tmp/SDK.RBBLdt/genkfs/genkfs.1.xml" returned non-zero exit status 127 CMakeFiles/man.dir/build.make:49: recipe for target 'genkfs.1' failed make[2]: bin cmake_install.cmake CMakeCache.txt CMakeFiles CMakeLists.txt genkfs.1.txt genkfs.1.xml LICENSE main.c Makefile module.js README.md [genkfs.1] Error 1 CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/man.dir/all' failed make[1]: bin cmake_install.cmake
@epl692
epl692 / PE-Project1
Created March 26, 2015 15:45
Project Euler Project 1
sum35 = []
target = 1000
for i in range(0, target):
sum35.append(0)
for i in range(0, target):
if i*3 < target:
sum35[i*3] = i*3
if i*5 < target:
sum35[i*5] = i*5
@epl692
epl692 / keybase.md
Created March 20, 2015 16:24
keybase.md

Keybase proof

I hereby claim:

  • I am epl692 on github.
  • I am epl692 (https://keybase.io/epl692) on keybase.
  • I have a public key whose fingerprint is 4FF3 53B9 8261 ADC6 ECA1 A634 B109 236B C427 4269

To claim this, I am signing this object:

@epl692
epl692 / basicpage.html
Created May 23, 2012 15:03
Auto Updating Year Copywrite Code
<html>
<body>
<p id="copywrite">&copy;<span id="year">Year-it-is-now</span>. All Rights Reserved.</p>
<!-- Add onload="copywrite()" to activate -->
<button onclick="copywrite()">Current Year</button>
<script type="text/javascript">
function copywrite()