Skip to content

Instantly share code, notes, and snippets.

Avatar
🛹
Shreddin'

Aaron Turner torch2424

🛹
Shreddin'
View GitHub Profile
@torch2424
torch2424 / systemDAsUser.service
Last active Dec 18, 2021
Run a systemd service as a user
View systemDAsUser.service
# How to create systemd services: http://neilwebber.com/notes/2016/02/10/making-a-simple-systemd-file-for-raspberry-pi-jessie/
# Digital ocean on a mongodb service: https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-16-04
[Unit]
Description=Run SystemD as users
After=network.target
[Service]
Type=simple
User=[USER HERE]
WorkingDirectory=[USER HOME]
@torch2424
torch2424 / as-bind-announcement-article.sh
Created Jan 7, 2020
Entry point addition for the as-bind assemblyscript compiler step
View as-bind-announcement-article.sh
asc ./node_modules/as-bind/lib/assembly/as-bind.ts your-entryfile.ts [...other cli options...]
@torch2424
torch2424 / as-bind-announcement-article.ts
Created Jan 4, 2020
as-bind announcement article assemblyscript snippet
View as-bind-announcement-article.ts
// '../node_modules/as-bind/*' should be the relative path to this directory in your project
export * from "../node_modules/as-bind/lib/assembly/asbind.ts";
@torch2424
torch2424 / as-bind-article-snippet.js
Created Jan 4, 2020
Asbind announcment article JavaScript snipper
View as-bind-article-snippet.js
import { AsBind } from "as-bind";
const wasm = fetch("./path-to-my-wasm.wasm");
const asyncTask = async () => {
const asBindInstance = await AsBind.instantiate(wasm);
// You can now use your wasm / asbind instance!
const response = asBindInstance.exports.myExportedFunctionThatTakesAString(
"Hello World!"
@torch2424
torch2424 / SqlPractice
Last active Apr 16, 2019
Lab 3 Databases, Sql practice for the lab exams
View SqlPractice
CREATE TABLE authors
(
au_id CHAR(3) NOT NULL,
au_fname VARCHAR(15) NOT NULL,
au_lname VARCHAR(15) NOT NULL,
phone VARCHAR(12) ,
address VARCHAR(20) ,
city VARCHAR(15) ,
state CHAR(2) ,
zip CHAR(5) ,
@torch2424
torch2424 / JDBC SQL Database Project
Last active Apr 1, 2019
SQL For creating the database for the JDBC project
View JDBC SQL Database Project
---SQL CODE---
/* Create Our Tables */
CREATE TABLE recgroup
(
groupname VARCHAR(15) NOT NULL,
leadsinger VARCHAR(15),
yearformed VARCHAR(20) NOT NULL,
genre VARCHAR(15),
View keybase.md

Keybase proof

I hereby claim:

  • I am torch2424 on github.
  • I am torch2424 (https://keybase.io/torch2424) on keybase.
  • I have a public key ASBqkfcWRmJLpLeEyBk06pEvb3yP-YRH9XMysxtDtEbiQgo

To claim this, I am signing this object:

@torch2424
torch2424 / angularAnimateCssExperiment.html
Created May 4, 2017
An angular animate, and animate.css experiment with @MasterKale
View angularAnimateCssExperiment.html
<!DOCTYPE html>
<!-- HTML5 Hello world by kirupa - http://www.kirupa.com/html5/getting_your_feet_wet_html5_pg1.htm -->
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>Hello...</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" type="text/css" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-animate.js"></script>
@torch2424
torch2424 / compareFolders.sh
Last active Feb 18, 2017
A bash script for getting the different file names between two folders. This is useful for removing Files that are named wrong in Hyperspin setups
View compareFolders.sh
#/bin/bash
# http://stackoverflow.com/questions/26935515/in-linux-how-to-compare-two-directories-by-filename-only-and-get-list-of-result
# How to read bash script flags: http://stackoverflow.com/questions/14447406/bash-shell-script-check-for-a-flag-and-grab-its-value
if [ "$#" -ne 4 ]; then
# Not Enough Params, Show Usage
@torch2424
torch2424 / privacyPolicyAds.html
Created Feb 7, 2017
Aaron Turner Apps Privacy policy
View privacyPolicyAds.html
<h2 style="text-align: center;">PRIVACY POLICY MODEL FOR MOBILE APPLICATIONS</h2>
<p></p>
<p>This privacy policy governs your use of the software application (“Application”) for mobile devices that was created by&nbsp;Aaron Turner.&nbsp;</p>
<h4>&nbsp;</h4>
<h4>What information does the Application obtain and how is it used?</h4>
<p></p>
<p><strong>User Provided Information</strong>&nbsp;</p>
<p>The Application obtains the information you provide when you download and register the Application.&nbsp;Registration with us is optional. However, please keep in mind that you may not be able to use some of the features offered by the Application unless you register with us.</p>
<p></p>