Skip to content

Instantly share code, notes, and snippets.

View BrandonDyer64's full-sized avatar

Brandon Dyer BrandonDyer64

View GitHub Profile
This file has been truncated, but you can view the full file.
"lang"
{
"Language" "English"
"Tokens"
{
// ---------------------------------------------------------------------------------------------
// GAMEUI_ENGLISH.txt
"GameUI_MainMenuMovieScene" "Main Menu Background Scenery"
#!/bin/sh
echo "apt"
apt update
apt upgrade -y
apt install snap ufw byobu fail2ban git zsh unattended-upgrades curl -y
echo "ufw stuff"
yes | ufw enable
ufw allow 63682
extern crate rand;
use rand::prelude::*;
use std::io::{self, Write};
#[derive(PartialEq, Debug, Clone, Copy)]
enum Cell {
Covered(bool),
Revealed(u8)
}
/*
Tic-Tac-Toe
━━━━━━━━━━━
Kevin Language Example program
By: Brandon Dyer <github.com/BrandonDyer64>
*/
import Console from "console"
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
CPU Family: 0x6
require('wcpp').sync()
// Require our module
const addTwo = require('./addTwo.cpp')
// Run our C++ function
console.log('2 + 3 = ' + addTwo(2, 3))
export int module(int a, int b) {
return a + b;
}
/* Material Colors */
:root {
--blue: #2196F3; --blue-light: #BBDEFB; --blue-dark: #1976D2;
--light-blue: #03A9F4; --light-blue-light: #B3E5FC; --light-blue-dark: #0288D1;
--blue-gray: #607D8B; --blue-gray-light: #CFD8DC; --blue-gray-dark: #455A64;
--indigo: #3F51B5; --indigo-light: #C5CAE9; --indigo-dark: #303F9F;
--purple: #9C27B0; --purple-light: #E1BEE7; --purple-dark: #7B1FA2;
--deep-purple: #673AB7; --deep-purple-light: #D1C4E9; --deep-purple-dark: #512DA8;
--pink: #E91E63; --pink-light: #F8BBD0; --pink-dark: #C2185B;
--red: #F44336; --red-light: #FFCDD2; --red-dark: #D32F2F;
#!/bin/sh
echo "Installing"
wget -q -O build https://gist.githubusercontent.com/BrandonDyer64/f08efbfd4770204d255c03a1e6129a44/raw/build
echo "Setting perms"
sudo chmod -x build
sudo chmod 775 build
sudo chown apache.webadm build
echo "Finished Installation"
sudo ./build --update
#!/bin/sh
create_script_version="1.2.0"
# Version
if [ "$1" == "--version" ]
then
echo "$create_script_version"
exit 0
fi