Skip to content

Instantly share code, notes, and snippets.

View ichi0915's full-sized avatar
🍵
Drinking tea

ichi0915 ichi0915

🍵
Drinking tea
View GitHub Profile
@ichi0915
ichi0915 / CleanerPerron.bat
Created May 31, 2023 23:34
This file is a bat file for windows that has some utilitites to clean the cache, delete cookies, Flush DNS, etc
@echo off
title PC Cleanup Utility
:menu
cls
echo --------------------------------------------------------------------------------
echo PC Cleanup Utility
echo --------------------------------------------------------------------------------
echo.
echo Select a tool
{
"SpinnakerAccounts": [
{
"AccountId": "439114917687",
"SpinnakerAccountName": "test-1",
"Regions": [
"us-west-2",
"us-west-1"
],
"SpinnakerStatus": "ACTIVE | SUSPENDED",
@ichi0915
ichi0915 / instructions.txt
Created February 7, 2022 22:15 — forked from lalitkale/instructions.txt
Install Spinnaker on MiniKube
# Minikube addons
https://github.com/kubernetes/minikube/blob/master/docs/addons.md
#start minikube
minikube start --vm-driver hyperv --hyperv-virtual-switch "VMVirtualSwitch" --memory 12288 --cpus 4
#or
minikube start --vm-driver="hyperv" --hyperv-virtual-switch="VMVirtualSwitch" --v=7 --alsologtostderr
# minikube Patch Enviornemnt for Helm

Keybase proof

I hereby claim:

  • I am ichi0915 on github.
  • I am ichi0915 (https://keybase.io/ichi0915) on keybase.
  • I have a public key ASCp80LtZ1AFw44wd3EDWbzsg_erIhtkxFrYttg9NrWRDAo

To claim this, I am signing this object:

@ichi0915
ichi0915 / hash.c
Created April 19, 2018 17:15 — forked from tonious/hash.c
A quick hashtable implementation in c.
/* Read this comment first: https://gist.github.com/tonious/1377667#gistcomment-2277101
* 2017-12-05
*
* -- T.
*/
#define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */
#include <stdlib.h>
#include <stdio.h>
@ichi0915
ichi0915 / png_crop.cpp
Created July 19, 2017 19:18 — forked from MikuAuahDark/png_crop.cpp
Crop PNG from 0x0 to specificed pixel
#include <iostream>
#include <string>
#include <cstdarg>
#include <png.h>
using namespace std;
// Prints message in stderr and exit program in release build.
// In debug build, it trigger debug breakpoint instead.
void failexit(const char* file,const char* msg) {