Skip to content

Instantly share code, notes, and snippets.

View DynamicField's full-sized avatar
😃
Alright i guess

DynamicField DynamicField

😃
Alright i guess
View GitHub Profile
@DynamicField
DynamicField / extprint.cs
Created March 12, 2016 20:07
Extension for printing a object into the console.
public static class Extensions {
public static void Print(this object obj) {
Console.WriteLine(obj.ToString());
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Interop;
namespace HotKeys
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Interop;
namespace HotKeys
{
package com.jeuxjeux20.tools.random;
import java.security.InvalidAlgorithmParameterException;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
/**
* <p>An {@link HashMap} to get random values followed by its chance to get it. </p>
* <h5>For example : </h5>
@DynamicField
DynamicField / Extensions.cs
Created January 23, 2018 19:28
Makes your string gO cRaZy Af
public static class Extensions {
public static string ToDrunk(this string str,byte start = 0) {
string pre = "";
byte space = start;
foreach (var character in str) {
if (space >= 1) {
pre += char.ToUpper(character);
if (char.IsLetter(character))
space = 0;
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using HeimDotGG.Models;
using RiotSharp.Endpoints.MatchEndpoint;
using RiotSharp.Misc;
namespace HeimDotGG.Analysers
using Cosmos.System.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace DongOSEvolved.UI
{
public abstract class UIElement
{
// The problem with this technique is that if it's the same color,
@DynamicField
DynamicField / plickersloul.py
Last active November 21, 2021 17:58
plickers loul
import kandinsky
def plickers():
cells = [
1, 1, 1, 1, 1,
1, 1, 1, 1, 1,
0, 1, 0, 1, 1,
1, 1, 1, 1, 1,
1, 1, 1, 0, 1
]