Skip to content

Instantly share code, notes, and snippets.

View sjfricke's full-sized avatar

Spencer Fricke sjfricke

View GitHub Profile
@sjfricke
sjfricke / Native_AndroidManifest.xml
Created June 8, 2018 22:39
AndroidManifest.xml settings for a pure native code
<!-- This .apk has no Java code itself, so set hasCode to false. -->
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:hasCode="false"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
@sjfricke
sjfricke / ChromeBookDev.md
Last active December 26, 2023 01:53
Configuring Chromebook for Development

These instructions will not work on Chromebooks with an ARM processor. If you have an ARM processor then you cannot install Chromebrew to get git. You'll need to instead install crouton. Here are instructions that you can follow: https://github.com/macton/arch-linux-install-notes/tree/master/arm-chromebook-chroot

@Note: This is a fork from /erikpmp who has left github, here is a fork I took before thankfully

Configuring Chromebook for Development

After a full Sunday of trial and error, and stepping through many semi-complete or dated blog posts explaining how to do this, I was able to get the Chromebook into developer mode, install git, Node.js, and NPM.

Here's what I did...

@sjfricke
sjfricke / .emacs
Created February 23, 2019 17:50
Emacs setup for JavaScript
;; ## Packages to Install ##
;; js2-mode
;; js2-refactor
;; xref-js2
;; sudo npm install -g tern
;; company-tern
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
@sjfricke
sjfricke / index.html
Created May 26, 2023 16:01
Simpler Server Port Demo
<html>
<head>
<style>
body {background-color: powderblue;}
h1 {color: blue;}
</style>
</head>
<body onload="GetMagicNumber()">
<h1 id="message"></h1>