Skip to content

Instantly share code, notes, and snippets.

View N3RDIUM's full-sized avatar
🌌
Doing some astronomy

1\13121)11_11\/1 N3RDIUM

🌌
Doing some astronomy
View GitHub Profile
https://web.archive.org/web/20230531163522/https://sites.google.com/site/astropipp/downloads
@N3RDIUM
N3RDIUM / install.sh
Created March 13, 2024 14:55
ZshAutoInstall
yay -S zsh zsh-autosuggestions zsh-syntax-highlighting
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
nvim ~/.zshrc
@N3RDIUM
N3RDIUM / filemover.bat
Last active August 24, 2023 12:15
CSV file based file moving script
@echo off
REM CSV file based file mover for windows!
REM Take input from user about the from and to directories
set /p from_dir="Enter the path of the directory from which you want to move the files: "
set /p to_dir="Enter the path of the directory to which you want to move the files: "
REM Read all lines from the csv file and move the files from the from_dir to the to_dir
for /f "usebackq tokens=*" %%p in ("files.csv") do (
echo Moving %%~p from %from_dir% to %to_dir%
@N3RDIUM
N3RDIUM / demo.py
Created February 18, 2022 15:41
PyOpenGL and GLFW example: adding stuff to VBOs from threads!
# imports
from OpenGL.GL import *
from OpenGL.GLU import *
import glfw
import threading
# initialise glfw
if glfw.init() == glfw.FALSE:
exit()
#include "application.h"
#include "utils.h"
#include "mesh.h"
#include "texture.h"
#include "light.h"
#include "volume.h"
#include "fbo.h"
#include "shader.h"
#include "input.h"
#include "animation.h"
@N3RDIUM
N3RDIUM / Idea-example.py
Last active November 1, 2021 08:35
PyCraft
# I am just an example for idea files!
"""
Explain the idea here
"""
# an example
def someIdea(arg):
print(arg)