Skip to content

Instantly share code, notes, and snippets.

View IggsGrey's full-sized avatar

Ignatius Aggrey IggsGrey

View GitHub Profile
@IggsGrey
IggsGrey / ItemQuality.php
Last active December 10, 2022 18:58
Determining the prices of a user's steam inventory using the backpack.tf API
<?php
namespace Mellarchy\SteamInventory\Enums;
class ItemQuality {
public function __construct()
{
}
@IggsGrey
IggsGrey / license-badges.md
Created January 3, 2021 07:30 — forked from lukas-h/license-badges.md
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.  

Translations: (No guarantee that the translations are up-to-date)

@IggsGrey
IggsGrey / repair-mysql-data.ps1
Created October 15, 2020 13:04 — forked from josemmo/repair-mysql-data.ps1
Repair MySQL data directory (for XAMPP)
# Based on this answer: https://stackoverflow.com/a/61859561/1956278
# Backup old data
Rename-Item -Path "./data" -NewName "./data_old"
# Create new data directory
Copy-Item -Path "./backup" -Destination "./data" -Recurse
Remove-Item "./data/test" -Recurse
$dbPaths = Get-ChildItem -Path "./data_old" -Exclude ('mysql', 'performance_schema', 'phpmyadmin') -Recurse -Directory
Copy-Item -Path $dbPaths.FullName -Destination "./data" -Recurse