Skip to content

Instantly share code, notes, and snippets.

View eabase's full-sized avatar

eabase

  • Between the radio ether and you.
View GitHub Profile
@eabase
eabase / 24-bit-color.sh
Last active January 16, 2022 11:23
Bash 24-bit HSV Color & Gray Scale
#!/bin/bash
#----------------------------------------------------------------------
# Author: EABASE
# Date: 2022-01-16
# Version: 1.1
#----------------------------------------------------------------------
# History:
# The original file was taken from iterm2 [1], and later modified
# by EABASE in [2].
#
@eabase
eabase / github_markdown_emojis.md
Last active January 24, 2022 21:33
Complete list of github markdown emojis

People

emo emo emo
:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😀 :grinning:
@eabase
eabase / fancycompleter.py
Last active June 8, 2022 14:26
fancycompleter is Python REPL colorizer. This is the patched standalone version.
#!/usr/bin/env python -u
# -*- coding: UTF-8 -*-
#------------------------------------------------------------------------------
# Filename: fancycompleter.py
# Author: Antonio Cuni
# Mods: EABASE
# Last: 2022-01-30
# License: BSD (from: setup.py in original repo)
#
#------------------------------------------------------------------------------
@eabase
eabase / Out-HostColored.ps1
Created November 24, 2020 11:01 — forked from mklement0/Out-HostColored.ps1
PowerShell function that colors portions of the default host output that match given patterns.
<#
Prerequisites: PowerShell version 2 or above.
License: MIT
Author: Michael Klement <mklement0@gmail.com>
DOWNLOAD, from PowerShell version 3 or above:
irm https://gist.github.com/mklement0/243ea8297e7db0e1c03a67ce4b1e765d/raw/Out-HostColored.ps1 | iex
@eabase
eabase / main.css
Created October 12, 2022 16:27
One button controls for multiple youtube videos in a 2x3 grid
/* main.css */
header, footer {
font: 14px Arial, sans-serif;
padding: 8px;
color: white;
background-color: black;
clear: left;
text-align: left;
}
@eabase
eabase / metatrader5_live.py
Created May 15, 2021 18:51 — forked from sharavsambuu/metatrader5_live.py
Template for live algo with MetaTrader5 and Python
# References :
# - https://stackoverflow.com/questions/61776425/logic-for-real-time-algo-trading-expert
import pytz
import pandas as pd
import MetaTrader5 as mt5
import time
from datetime import datetime
from threading import Timer
@eabase
eabase / HelloSDL2.cpp
Last active April 24, 2024 03:17
A minimal Hello World C++ example for using SDL2 to render text in a native Windows window.
//---------------------------------------------------------------------
// Name: HelloSDL2.cpp
// Author: EAML
// Date: 2021-05-16
//
// Description:
// A minimal PoC for producing a native SDL2 Windows app that can
// be ran from either Windows Explorer or from Powershell console.
// It's designed to use minimal command line, compiler options,
// and dependencies... It will display a gray window for 2 sec's.