Skip to content

Instantly share code, notes, and snippets.

View JPBotelho's full-sized avatar

JPBotelho JPBotelho

  • JPBotelho
  • Portugal
View GitHub Profile
@anshoomehra
anshoomehra / parsing10k.ipynb
Last active May 2, 2024 08:39
How to Parse 10-K Report from EDGAR (SEC)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@edtorba
edtorba / converter.php
Last active December 8, 2021 16:02
Excel "ifs" statement converter to nested "if" statement for laravelexcel
<?php
function convertIfs($formula)
{
$formula = substr($formula, 5); // Removing =IFS(
$formula = substr($formula, 0, -1); // Removing ) from the end of the string
$exploded = explode(',', $formula);
$composed_if = '';
for($t = count($exploded) - 1, $i = $t; $i > -1; $i--)
{
@jzayed
jzayed / GlowLevels.shader
Created May 11, 2018 10:51
Glow Levels Shader
Shader "Sprites/GlowLevels"
{
Properties
{
[PerRendererData] _MainTex("Sprite Texture", 2D) = "white" {}
_AlphaIntensity_Fade_1("_AlphaIntensity_Fade_1", Range(0, 3)) = 1
_TintRGBA_Color_1("_TintRGBA_Color_1", COLOR) = (1,1,1,1)
_AlphaIntensity_Fade_2("_AlphaIntensity_Fade_2", Range(0, 3)) = 1
_TintRGBA_Color_2("_TintRGBA_Color_2", COLOR) = (1,1,1,1)
@joyrexus
joyrexus / README.md
Last active February 24, 2024 15:16
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")