Right below the <manifest />
tag:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<user-permission android:name="android.permission.INTERNET" />
/* | |
Target.h | |
Finds the operating system it is compiling for and has the compiler emit a message. Supports all major OSes. | |
C/C++/Objective-C | |
-- | |
This is free and unencumbered software released into the public domain. |
/* | |
Carry Look Ahead | |
Writes a boolean expression for a 1st level carry lookahead. | |
Modify location as you see fit. Wrote it while immensely confused at an assignment. | |
Swift | |
-- | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or |
/* | |
Types.h | |
Makes C data types more convenient to use. A bit Rusty. | |
C/C++/Objective-C | |
-- | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any |
# These are commands I find all around the internet that I think are interesting or useful, so I'll keep 'em here: | |
# (None of these are complex enough to qualify for copyright in my opinion) | |
# Generate MAC Address | |
# Credit: https://discussions.apple.com/message/29028339#message29028339 | |
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//' | |
# LS alias with all the good stuff | |
alias ll='ls -lAFh' |
/* | |
Illogical - NAND Equivalent | |
That was my first Swift program. You can tell, really. | |
I also wrote it before I knew tokenization was a thing, so the code's... nightmarish. | |
This is a simple program that takes a logical proposition | |
and outputs an (unoptimized) NAND equivalent. It was written | |
as a project for a discrete mathematics course. |
/* vim: syntax=swift */ | |
/* | |
GPA Calculator | |
...I got tired of having to re-enter my GPA in AIS's JavaScript mess, so there you have it. | |
Swift | |
-- | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or |
#!/usr/bin/env python3 | |
# Calculator | |
# Product of a Python Lex-Yacc tutorial. | |
# Python 3 | |
# -- | |
# This is free and unencumbered software released into the public domain. | |
# Anyone is free to copy, modify, publish, use, compile, sell, or |
/* vim: syntax=swift */ | |
/* | |
TruthTable.plaground | |
A truth table generator with a syntax as ugly as sin. | |
Swift | |
-- | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or |
; Boot Camp AutoHotkey Bindings | |
; | |
; Removes some of the "Damn you, muscle memory" involved with Boot Camp | |
; | |
; AutoHotkey | |
; -- | |
; This is free and unencumbered software released into the public domain. | |
; Anyone is free to copy, modify, publish, use, compile, sell, or | |
; distribute this software, either in source code form or as a compiled | |
; binary, for any purpose, commercial or non-commercial, and by any |