Skip to content

Instantly share code, notes, and snippets.

Ashley Horton phxvyper

Block or report user

Report or block phxvyper

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am phxvyper on github.
  • I am ashleymilk (https://keybase.io/ashleymilk) on keybase.
  • I have a public key ASCLyOxvseGFd36DQuK71CL1DvPnRgOifYKgJ_hENI7ZTgo

To claim this, I am signing this object:

View RangeExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using MiscUtil.Collections;
namespace AshTools.Extensions
{
public static class RangeExtensions
{
/// <summary>
View aurora.ashley.css
@import url('https://fonts.googleapis.com/css?family=Satisfy');
@import url("https://ellexidecodes.github.io/Discord-Themes/css/new-tags.css");
::selection {background:var(--main-color-faded) !important;}
/*
/$$$$$$
/$$__ $$
| $$ \ $$ /$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
| $$$$$$$$| $$ | $$ /$$__ $$ /$$__ $$ /$$__ $$|____ $$
| $$__ $$| $$ | $$| $$ \__/| $$ \ $$| $$ \__/ /$$$$$$$
| $$ | $$| $$ | $$| $$ | $$ | $$| $$ /$$__ $$
View error.rs
pub fn challenge3() {
let valid_chars: Vec<char> = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,.- ".chars().collect();
let repeated_char_score = 1;
let mut input = String::new();
println!("Single-byte XOR cipher");
print!("encoded string> ");
io::stdout().flush().unwrap();
io::stdin().read_line(&mut input).expect("Failed to read line");
View lang-ideas.rs
// chain matches to the first true case, and then continues to reiterate and match until no cases return true.
let x := chain {
true => 5,
x == 6 => x * 2,
x == 5 => x + 1,
x == 7 => 0
}
View interfaces.cs
class Player : Actor, IHealthy, IAttacker
{
public float MaxHealth { get; }
public float Health { get; private set; }
public float AttackDamage { get; private set; }
public void DealDamage(float damage)
{
Health = Mathf.Clamp(Health - damage, 0f, MaxHealth);
if (Health == 0f)
{
View fragment.glsl
#version 330 core
out vec4 FragColor;
void main()
{
FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
}
View issues.md

Issues

In the Moving Forward Project, we leverage Github issues to efficantly translate work done into documentable efforts.

Issue Assignments

In the olde days of chat issues, devs would accept issues that were created by the CS team. Instead, developers assign github issues to themselves and document changes in the comment section, closing the issue upon completion.

Issue Types

View somedargons.js
{
"ScreenName": "some screen name",
// directory of the assets used
// this directory is appended to ./assets/
// so this path would become ./assets/tiles/
"AssetFolder": "tiles/",
"Layers": [
{ // layer 0
"Name": "Layer 0",
"Rows": [
View class binds
// Add these to your autoexec.cfg
bind "KP_END" "join_class scout"
bind "KP_DOWNARROW" "join_class soldier"
bind "KP_PGDN" "join_class pyro"
bind "KP_LEFTARROW" "join_class demoman"
bind "KP_5" "join_class heavyweapons"
bind "KP_RIGHTARROW" "join_class engineer"
bind "KP_HOME" "join_class medic"
bind "KP_UPARROW" "join_class sniper"
You can’t perform that action at this time.