Skip to content

Instantly share code, notes, and snippets.

View Cygnusfear's full-sized avatar

Alexander Mangel Cygnusfear

View GitHub Profile
@Cygnusfear
Cygnusfear / README.md
Created February 16, 2025 08:29
README.md template
![logo](https://github.com/Cygnusfear/jungle/blob/main/packages/client/public/banner-wide.webp?raw=true)

<p align="center">
  <h3 align="center">⛰️ Cloudlines.</h3>
</p>

<p align="center" style="width: 50%;">
  <a href="https://discord.gg/jjAb4wESYu" alt="Discord" title="Cloudlines Discord Server">
    <img src="https://img.shields.io/discord/1173290689086377984?color=7289DA&logo=discord&logoColor=white&style=for-the-badge"/></a>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
"Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
}
let string = "abcdef..."
string.length
for(let letter of address)
{
let index = string.indexOf(letter);
let value = string.length / index;
255 * value
let r = 0;
let g = 0;
@Cygnusfear
Cygnusfear / contractNames.js
Created May 11, 2018 11:23
Contract Names
module.exports = [
{
name: "ENS-Registrar",
address: "0x6090A6e47849629b7245Dfa1Ca21D94cd15878Ef",
},
{
name: "LooneyLottery",
address: "0x2ef76694fBfD691141d83F921A5ba710525De9B0",
},
{
@Cygnusfear
Cygnusfear / SingletonScriptableObject.cs
Created November 21, 2017 23:08 — forked from dvddarias/SingletonScriptableObject.cs
Better Unity Singleton Class
/************************************************************
* Better Singleton by David Darias
* Use as you like - credit where due would be appreciated :D
* Licence: WTFPL V2, Dec 2014
* Tested on Unity v5.6.0 (should work on earlier versions)
* 03/02/2017 - v1.1
* **********************************************************/
using System;
using UnityEngine;