Skip to content

Instantly share code, notes, and snippets.

View wRadion's full-sized avatar

wRadion wRadion

View GitHub Profile
@wRadion
wRadion / benchmark_alias_monkey_patch.rb
Last active January 9, 2017 16:10
Benchmarking Ruby's monkey patch vs alias method vs conventional ways to test Array content.
#! /usr/bin/env ruby
require 'benchmark'
class Array
def blank?
empty?
end
alias :blankk? :empty?
@wRadion
wRadion / archlinux_install.sh
Last active July 1, 2018 09:28
Automatically install ArchLinux for a VirtualBox virtual machine.
#! /bin/sh
# Download this file easily:
# wget -O install.sh https://tinyurl.com/wralvm12
# chmod +x install.sh
C_RESET="\e[0;0m"
B_BLACK="\e[1;30m"
B_YELLOW="\e[1;33m"
B_CYAN="\e[1;36m"
@wRadion
wRadion / MainWindow.xaml.cs
Created March 12, 2020 18:36
Create SQLite Database C#
using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Text;
using System.Windows;
namespace SQLiteTest
{
public class Text
{
@wRadion
wRadion / Program.cs
Created March 31, 2020 13:13
Cours Jour 2 - Guess The Number
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoursJour2
{
class Program
{
@wRadion
wRadion / Program.cs
Created March 31, 2020 16:07
Cours Jour 2 - Pendu
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoursJour2
{
class Program
{
@wRadion
wRadion / Program.cs
Last active April 2, 2020 14:00
Cours Jour 4 - Morpion (sans classes)
using System;
namespace CoursJour4
{
class Program
{
static void Main(string[] args)
{
// Déclare et initialise la grille
char[,] grid = new char[3, 3];
@wRadion
wRadion / Programmation.txt
Created April 6, 2020 13:00
Apprendre la programmation : Exercices, Concepts, Notions...
Devinez le nombre
Afficher un message dans la console
Conditions
Boucles
Récupérer l'entrée utilisateur
Variables
Parser une chaîne de caractère en nombre entier
Pendu
Afficher un message dans la console
@wRadion
wRadion / mots
Created August 18, 2022 11:19
1600+ Mots pour Pendu (FR)
a
abandonne
abeille
abime
abord
abricot
abriter
absent
accident
accompagner
@wRadion
wRadion / bzzzt-autosplitter.asl
Last active August 2, 2024 08:47
Bzzzt Autosplitter
/*
* Bzzzt Autosplitter
* Made by wRadion
*/
state("Bzzzt") {
string80 Log: "UnityPlayer.dll", 0x01ADE6A8, 0x8, 0xC;
}
startup {
/*
* Chained Together - Autosplitter
* version: 2.3
* game version: 1.8.6
* authors: wRadion & xiaoxiao921
*/
state("ChainedTogether-Win64-Shipping")
{
double coordX : 0x06FC4F48, 0x1B8, 0x38, 0x0, 0x30, 0x2D8, 0x1A0, 0x128;