Skip to content

Instantly share code, notes, and snippets.

View yohaneshalim's full-sized avatar

Yohanes Halim Febriwijaya yohaneshalim

  • PT Fata Organa Solusi
  • 14:04 (UTC +07:00)
View GitHub Profile
@moondancecrypto
moondancecrypto / binance_fetch_pastdata_single.py
Created August 23, 2020 14:15
A script to fetch OHLCV data from Binance.
import sys
import time
import dateparser
import pytz
import json
import csv
from datetime import datetime
from binance.client import Client
@bfraboni
bfraboni / blur_float.cpp
Last active December 17, 2024 07:30
C++ implementation of a fast Gaussian blur algorithm by Ivan Kutskir - Integer and Floating point version
// Copyright (C) 2017 Basile Fraboni
// Copyright (C) 2014 Ivan Kutskir
// All Rights Reserved
// You may use, distribute and modify this code under the
// terms of the MIT license. For further details please refer
// to : https://mit-license.org/
//
//!
//! \file blur.cpp
@RyanBreaker
RyanBreaker / FlyCamera.cs
Last active January 31, 2025 22:56 — forked from gunderson/FlyCamera.cs
Unity Script to give camera WASD + mouse control
using UnityEngine;
using System.Collections;
public class FlyCamera : MonoBehaviour
{
/*
Writen by Windexglow 11-13-10. Use it, edit it, steal it I don't care.
Converted to C# 27-02-13 - no credit wanted.
Reformatted and cleaned by Ryan Breaker 23-6-18
@amimaro
amimaro / UnityHttpListener.cs
Last active August 9, 2024 11:41
Listen for Http Requests with Unity
using UnityEngine;
using UnityEngine.Networking;
using System;
using System.IO;
using System.Net;
using System.Threading;
public class UnityHttpListener : MonoBehaviour
{
@tomykaira
tomykaira / Base64.h
Last active January 5, 2026 20:22
C++ single header base64 decode/encoder for C++ 11 and above.
#ifndef _MACARON_BASE64_H_
#define _MACARON_BASE64_H_
/**
* The MIT License (MIT)
* Copyright (c) 2016-2024 tomykaira
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
@mcleary
mcleary / Timer.cpp
Last active September 6, 2025 20:49
C++ Timer using std::chrono
#include <iostream>
#include <chrono>
#include <ctime>
#include <cmath>
class Timer
{
public:
void start()
{