Skip to content

Instantly share code, notes, and snippets.

View Biendeo's full-sized avatar

Biendeo Biendeo

View GitHub Profile
@Biendeo
Biendeo / Microsoft.Powershell_profile.ps1
Created February 22, 2023 01:46
Base64 Conversion Powershell Functions
function ConvertFrom-Base64 {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $String
)
[Text.Encoding]::Utf8.getString([Convert]::FromBase64String($String))
}
function ConvertTo-Base64 {
@Biendeo
Biendeo / fastSqrt.cpp
Created August 10, 2017 03:56
Carmack Fast Inverse Square Root
#include <iostream>
#include <cmath>
#include <iomanip>
#include <atomic>
#include <mutex>
#include <thread>
#include <condition_variable>
#include <sstream>
#include <vector>
#include <fstream>
@Biendeo
Biendeo / Program.cs
Created June 30, 2017 00:38
Auto Directory Archiver
using IniParser;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
@Biendeo
Biendeo / PlaylistMaker.py
Created March 10, 2017 09:25
RetroArch Manual Playlist Creator
import sys, os, glob, argparse, binascii
# File needs to be in this syntax:
# C:\Retroarch\ROMS\Example Game.cue
# Example Game
# C:\Retroarch\example_libretro.dll
# Example
# 00000000|crc
# Example.lpl
# <NEXT ONE, NO GAP>
@Biendeo
Biendeo / FileManager.cs
Created October 31, 2016 10:26
BlendoBot
using Discord;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
@Biendeo
Biendeo / HeightmapToAltitude.java
Last active September 22, 2016 08:43
Heightmap to Altitude JSON
package heightmap;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
/**