Skip to content

Instantly share code, notes, and snippets.

@nikhilmufc7
nikhilmufc7 / auth.dart
Last active October 12, 2024 18:19
Firebase Flutter Platform Exception Codes and example
// Error Codes for SignUp
ERROR_OPERATION_NOT_ALLOWED` - Indicates that Anonymous accounts are not enabled.
ERROR_WEAK_PASSWORD - If the password is not strong enough.
ERROR_INVALID_EMAIL` - If the email address is malformed.
ERROR_EMAIL_ALREADY_IN_USE - If the email is already in use by a different account.
ERROR_INVALID_CREDENTIAL` - If the [email] address is malformed.
// sending password reset email
ERROR_INVALID_EMAIL` - If the [email] address is malformed.

Datto Alto 3 Info

Datto is an American cybersecurity and data backup company. There are a variety of NUC-style Mini-PCs floating around on the upcycle market.

Many of these are BIOS password locked, the default password is R@str.

Per neko-noire on reddit, these units are rebrand of the AsRock Beebox-S Series (Kaby Lake), so you can flash the BIOS on them.

https://www.asrock.com/nettop/Intel/Beebox-S%20Series%20(Kaby%20Lake)/#BIOS

@Konamiman
Konamiman / CH376 connected to Z80.md
Created August 21, 2021 16:35
"Recipe" to connect a CH376 to a Z80 via I/O port

How to connect a CH376 to a Z80 via I/O ports 20h and 21h (compatible with Rookie Drive):

Z80 74HC688 CH376
5V 5V 5V
GND GND GND
D7...D0 D7...D0
RD RD
WR WR
A0 A0
@cagartner
cagartner / deploy.sh
Last active October 12, 2024 17:56
Laravel Push deploy Github actions example
#!/bin/sh
set -e
vendor/bin/phpunit
(git push) || true
git checkout production
git merge master
@halfelf
halfelf / how_to_build_a_fast_limit_order_book.md
Created February 11, 2019 02:18
How to Build a Fast Limit Order Book

https://web.archive.org/web/20110219163448/http://howtohft.wordpress.com/2011/02/15/how-to-build-a-fast-limit-order-book/

The response to my first few posts has been much larger than I’d imagined and I’d like to thank everyone for the encouragement.

If you’re interested in building a trading system I recommend first reading my previous post on general ideas to keep in mind.

My first really technical post will be on how to build a limit order book, probably the single most important component of a trading system. Because the data structure chosen to represent the limit order book will be the primary source of market information for trading models, it is important to make it both absolutely correct and extremely fast.

To give some idea of the data volumes, the Nasdaq TotalView ITCH feed, which is every event in every instrument traded on the Nasdaq, can have data rates of 20+ gigabytes/day with spikes of 3 megabytes/second or more. The individual messages average about 20 bytes each so this means handling

@KW-M
KW-M / Unreal Engine 5 Installed Build Guide.md
Last active October 12, 2024 17:55
How to build Unreal Engine 5 source into an installed (AKA standalone, AKA rocket, AKA "just like" Unreal Engine from the Epic Games Launcher) editor build
  • This guide assumes you want to build the Unreal Engine 5 (UE5) editor from source in order to get a Windows Unreal Engine 5 Editor to share with a team or studio
  • This was writen with the absolute minimum build requirements for our team to avoid taking more disk space and compile time than needed - please modify to fit your needs.
  • Keep in mind that, as of writing, I have little experience with the Unreal build tools, I'm simply documenting what worked for me.
  • Also see this excellent blog post especially if you are building Unreal Engine 4 (UE4): https://www.edwardbeazer.com/unreal-installed-builds-rocket-buids/

Steps

  1. If you do not have it already, download git bash. https://gitforwindows.org/
  2. Get access to the unreal source repo by following this guide: https://www.unrealengine.com/en-US/ue4-on-github
  3. Install Visual Studio 2019 on the C:\ drive for UE5 (Visual Studio 2017 for ue4)
  • Make sure to install the desktop c++ components, windows sdk (current version should be selected by
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@vicgonvt
vicgonvt / deployment_guide.md
Last active October 12, 2024 17:52
Deployment Guide for Ubuntu Server from Scratch with Laravel
@madsem
madsem / cd.yml
Last active October 12, 2024 17:51
GitHub Workflows For: Laravel CI with Mysql 8 & Laravel Vapor Deployment
name: Laravel Vapor CD
on:
release:
types: [ published, deleted ]
branches:
- master
jobs:
deploy_release:
runs-on: ubuntu-20.04
@mindfullsilence
mindfullsilence / README.md
Last active October 12, 2024 17:49
Deployment scripts for atomic deployment of laravel applications in runcloud

Runcloud Automic Deployment Script For Laravel Applications

These scripts can be used to set up automic deployments in runcloud for laravel applications