How to make an application icon for macOS using
iconset
&iconutil
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 |
# 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 */ |
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(); |
How to use matrix.org and vector.im as an IRC client
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.
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.
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
using System; | |
namespace Rating | |
{ | |
class Program | |
{ | |
/// <summary > | |
/// Ratings | |
/// (Lower bound of Wilson score confidence interval for a Bernoulli parameter) | |
/// </summary> |