This file contains hidden or 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
using { /Fortnite.com/Devices } | |
using { /Verse.org/Simulation } | |
using { /Fortnite.com/Teams } | |
using { /Fortnite.com/Game } | |
using { /Fortnite.com/Characters } | |
using { /UnrealEngine.com/Temporary/Diagnostics } | |
# This code is a UEFN Fortnite "Device" for managing a Gun Game feature | |
# where players fight online and get a new weapon after each elimination |
This file contains hidden or 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
/// Created by Jacob Luetzow | |
/// Copyright Blockstart 2018 | |
using System; | |
using System.Text; | |
using System.Security.Cryptography; | |
using Org.BouncyCastle.Crypto.Digests; | |
using io.blockstart.sdk.Core.Crypto; | |
using io.blockstart.sdk.Core.Crypto.Chaso.NaCl; | |
using io.blockstart.sdk.Model.Blockchain; | |
using io.blockstart.sdk.Model.Accounts; |
This file contains hidden or 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
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |
This file contains hidden or 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
export const NOTIF_WISHLIST_CHANGED = "notif_wishlist_changed"; | |
let instance = null; | |
var observers = {}; | |
class NotificationService { | |
constructor() { | |
if (!instance) { |
This file contains hidden or 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
import UIKit | |
/** extension to UIColor to allow setting the color | |
value by hex value */ | |
extension UIColor { | |
convenience init(red: Int, green: Int, blue: Int) { | |
/** Verify that we have valid values */ | |
assert(red >= 0 && red <= 255, "Invalid red component") | |
assert(green >= 0 && green <= 255, "Invalid green component") | |
assert(blue >= 0 && blue <= 255, "Invalid blue component") |
This file contains hidden or 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
import UIKit | |
private var materialKey = false | |
extension UIView { | |
@IBInspectable var materialDesign: Bool { | |
get { | |
return materialKey | |
} |