This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Copyright (c) 2018 Aaron Nathaniel Gray --> | |
<script> | |
document.addEventListener('WebComponentsReady', function() { | |
console.log("WebComponentsReady", Math.round(performance.now())); | |
document.body.appendChild( | |
document.createTextNode("WebComponentsReady: " + Math.round(performance.now()) + "ms") | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query IntrospectionQuery { | |
__schema { | |
queryType { name } | |
mutationType { name } | |
subscriptionType { name } | |
types { | |
...FullType | |
} | |
directives { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
## uEnv.txt | |
# | |
bpi=bananapi | |
board=bpi-m3 | |
chip=a83t | |
service=linux | |
# | |
# | |
#fex2bin sys_config.fex > script.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Y | |
Y | |
Y | |
Q | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat >stretch.in <<EOF | |
Y | |
Y | |
Y | |
Q | |
EOF | |
cp /etc/apt/sources.list /etc/apt/sources.list.jessie | |
sed -e "s/jessie/stretch/g" /etc/apt/sources.list >/etc/apt/sources.list.stretch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp -r /bin /mnt/sda2 | |
cp -r /boot /mnt/sda2 | |
#cp /dev /mnt/sda2 | |
cp -r /etc /mnt/sda2 | |
cp -r /home /mnt/sda2 | |
cp -r /lib /mnt/sda2 | |
cp -r /lost+found /mnt/sda2 | |
cp -r /man /mnt/sda2 | |
#cp -r /media /mnt/sda2 | |
#cp -r /mnt /mnt/sda2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc /proc proc defaults 0 0 | |
/dev/mmcblk0p1 /boot vfat defaults 0 2 | |
/dev/sda2 / ext4 errors=remount-ro 0 1 | |
/dev/sda3 none swap sw 0 0 | |
# a swapfile is not a swap partition, no line here | |
# use dphys-swapfile swap[on|off] for that |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build a Docker image from a GitHub repo and push to docker.io :- | |
sudo docker build -t aaronngray/bpi-build:bpi-build github.com/AaronNGray/bpi-build | |
sudo docker push aaronngray/bpi-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// lib/ParserGenerator/LL1/LL1.cpp | |
// | |
// Copyright (c) 2017 Aaron Nathaniel Gray under the MIT License | |
// | |
#include "lib/ParserGenerator/LL1/LL1.h" | |
void LL1::GenerateStatesAndTransitions() { | |
for (auto nonTerminal : getNonTerminals()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
@license | |
Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | |
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt | |
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt | |
Code distributed by Google as part of the polymer project is also | |
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt | |
--> |