Skip to content

Instantly share code, notes, and snippets.

View NoelJacob's full-sized avatar
🌴
On vacation

Noel Jacob NoelJacob

🌴
On vacation
View GitHub Profile
@NoelJacob
NoelJacob / folder_clone.py
Created March 14, 2024 18:04
Clone only a folder from a repo
import subprocess
import sys
def run(command, folder=None):
try:
subprocess.run(command, check=True, shell=True, cwd=folder)
except subprocess.CalledProcessError as e:
print(f"Error occurred: {e}")
exit(1)
@NoelJacob
NoelJacob / ngl.json
Created February 4, 2024 04:25
NGL Default Bot Questions
[
"a secret you kept from your parents 👀",
"ain't no way",
"any pets?",
"are you a back seat driver?",
"are you close with your parents?",
"are you gonna get a tat",
"are you judgemental",
"are you looking to date someone rn",
"are you straight?",
[
"clipboard",
"crash-reporter",
"electron",
"ipc",
"native-image",
"original-fs",
"screen",
"shell",
"app",

Keybase proof

I hereby claim:

  • I am noeljacob on github.
  • I am noeljacob (https://keybase.io/noeljacob) on keybase.
  • I have a public key ASDH3kNdZmJFkZ3AIDTr_KdoHyyYCuFX4htB2wDX6yOK-go

To claim this, I am signing this object:

> debug@0.0.0 tauri /home/john/Desktop/debug
> tauri "dev"
Running BeforeDevCommand (`pnpm dev`)
> debug@0.0.0 dev /home/john/Desktop/debug
> vite dev
Warn Waiting for your frontend dev server to start on http://localhost:1420/...
@NoelJacob
NoelJacob / time.py
Created September 23, 2021 18:18
Time Series
import datetime
import pandas as pd
import matplotlib.pyplot as plt
from pandas_datareader import data
#pip install pandas-datareader
stock = 'RENT3.SA'
source = 'yahoo'
start = datetime.datetime(2005, 8, 19)
# Start configuration added by Zim install {{{
# -------
# Modules
# -------
# Sets sane Zsh built-in environment options.
zmodule environment
# Provides handy git aliases and functions.
#zmodule git
# Applies correct bindkeys for input events.
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# Start configuration added by Zim install {{{
#
# User configuration sourced by interactive shells
#
# -----------------
# Zsh configuration
# -----------------
@NoelJacob
NoelJacob / cloudSettings
Last active September 14, 2020 07:04
SETTING
{"lastUpload":"2020-09-14T07:04:43.369Z","extensionVersion":"v3.4.3"}