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 / cloudSettings
Last active September 14, 2020 07:04
SETTING
{"lastUpload":"2020-09-14T07:04:43.369Z","extensionVersion":"v3.4.3"}
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
# -----------------
# 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.
@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)
> 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/...

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:

[
"clipboard",
"crash-reporter",
"electron",
"ipc",
"native-image",
"original-fs",
"screen",
"shell",
"app",
@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?",
@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 / Dockerfile
Created July 21, 2024 09:29
Arch Linux Docker
# Use the latest Arch Linux image
FROM archlinux:latest
# Initialize the pacman keyring
RUN pacman-key --init
# Update the system packages and install sudo
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm sudo