Skip to content

Instantly share code, notes, and snippets.

View aaronfranke's full-sized avatar
🤖
Waiting 4 Godot

Aaron Franke aaronfranke

🤖
Waiting 4 Godot
View GitHub Profile
@bojidar-bg
bojidar-bg / Update assets
Last active April 2, 2020 13:24
Scripts for updating Godot demo assets
Scripts for updating Godot demo assets
LICENSE:
Copyright (c) 2020 Bojidar Marinov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@aaronfranke
aaronfranke / AaronLang.py
Last active October 5, 2019 16:29
Prototype syntax for "Aaron Language", my dream programming language.
# This is a prototype syntax for "Aaron Lang".
# Inspired by C#, C++, GDScript, and Python.
# I doubt this would ever be a thing, but it shows what I would put in "the perfect language"
# The file is ".py" to make GitHub display the comments as a different color, but to be clear, this is nowhere close to Python.
# Comments are defined with "# " at the start.
# This is because "//" is used for math (floor division).
/* Inline and multi-line comments are also supported, but I only use the hash in this file */
@ufcpp
ufcpp / ChainingComparable.cs
Created May 3, 2017 04:11
chaining equality/inequality operators
using System;
struct ChainingComparable<T>
where T : IComparable<T>
{
private T _value;
public ChainingComparable(T value) => _value = value;
public static implicit operator ChainingComparable<T>(T x) => new ChainingComparable<T>(x);
public static implicit operator T(ChainingComparable<T> x) => x._value;
public override string ToString() => _value.ToString();
@jamieweavis
jamieweavis / macos-app-icon.md
Last active February 19, 2024 08:56
How to create an .icns macOS app icon
@fstab
fstab / MATRIX.md
Last active January 5, 2022 12:31
How to use matrix.org and vector.im as an IRC client

How to use matrix.org and vector.im as an IRC client

How to Join an IRC Channel on matrix.org

Join the room #freenode_<#channel>:matrix.org, replacing <#channel> with the name of the IRC channel. For example, in order to join the #prometheus IRC channel, join the room #freenode_#prometheus:matrix.org on matrix.org.

In vector.im, rooms can be joined with the directory symbol on the bottom left.

@Chaser324
Chaser324 / GitHub-Forking.md
Last active March 25, 2024 09:48
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@richardkundl
richardkundl / Rating.cs
Last active August 11, 2018 20:26
Lower bound of Wilson score confidence interval for a Bernoulli parameter(fix: 0.9604)
using System;
namespace Rating
{
class Program
{
/// <summary >
/// Ratings
/// (Lower bound of Wilson score confidence interval for a Bernoulli parameter)
/// </summary>