Skip to content

Instantly share code, notes, and snippets.

View neuralpain's full-sized avatar
💻
Solving problems

neuralpain neuralpain

💻
Solving problems
View GitHub Profile
@neuralpain
neuralpain / bible.kjv.json
Last active September 12, 2024 09:14
JSON Object for KJV-Translated Bible
This file has been truncated, but you can view the full file.
{
"Genesis": {
"1": {
"1": "In the beginning God created the heaven and the earth.",
"2": "And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.",
"3": "And God said, Let there be light: and there was light.",
"4": "And God saw the light, that it was good: and God divided the light from the darkness.",
"5": "And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.",
"6": "¶ And God said, Let there be a firmament in the midst of the waters, and let it divide the waters from the waters.",
"7": "And God made the firmament, and divided the waters which were under the firmament from the waters which were above the firmament: and it was so.",
@neuralpain
neuralpain / INTERNET_SHORTCUT.md
Last active August 14, 2024 05:27
Creating a shortcut to a webpage on the fly

Ever had the urge to create a url shortcut to a webpage but didn't want to leave your code IDE?

It's actually quite simple to do.

Just follow the code below and replace the url value with the webpage that you want to access.

[InternetShortcut]
URL=https://www.example.com/
@neuralpain
neuralpain / Everything.ini
Last active July 22, 2024 04:10
My Everything utility config. Copy and paste into their respective locations.
; %APPDATA%\Everything\Everything.ini
; Read the docs: https://www.voidtools.com/support/everything/ini/
; Please make sure Everything is not running before modifying this file.
[Everything]
; General Settings
allow_multiple_windows=1
run_in_background=
show_tray_icon=
language=0
open_folder_command2=
@neuralpain
neuralpain / HashGroup.ps1
Last active June 30, 2024 15:09
Get hash values of files as a batch job (multiple files at once)
<#
.SYNOPSIS
Hashes all files in a directory and sub-directories.
.DESCRIPTION
Hashes all files in a directory and sub-directories.
.PARAMETER Path
Path to the directory to hash.
.PARAMETER Algorithm
Select hash algorithm.
.EXAMPLE
@neuralpain
neuralpain / kanxi_zidian.md
Last active June 15, 2024 04:55
康熙字典 (Kāngxī zìdiǎn), Chinese text and radicals information
@neuralpain
neuralpain / NP_TOP_OSS.md
Last active July 7, 2024 02:05
neuralpain Choice of Open-Source Software

A

animate-css / animate.css

A cross-browser library of CSS animations. As easy to use as an easy thing.

withastro / astro

Build faster websites with Astro's next-gen island architecture

@neuralpain
neuralpain / USEFUL_REPO.md
Last active July 8, 2024 03:08
Some Useful Repositories With Useful Information

A

B

C

onecompiler / cheatsheets

Large collection of Developer Cheat Sheets, created and maintained by the awesome developers across the globe

@neuralpain
neuralpain / bash_regex_text.sh
Last active June 10, 2024 11:48
Useful bash snipetts
re='^[0-9]+$'
if ![[ $yournumber =~ $re ]]; then
echo "error: Not a number" >&2
fi
@neuralpain
neuralpain / New-ToastNotification.ps1
Last active August 12, 2024 14:00
Simple Toast Notification for Windows
<#
.SYNOPSIS
Creates and displays a Windows Toast notification
.DESCRIPTION
Creates a Windows Toast notification and displays it to the user
.PARAMETER AppId
The AppId of the application that will display the notification
@neuralpain
neuralpain / Format-Text.ps1
Last active August 8, 2024 03:02
Formats text in the console with Basic, 8-bit and 24-bit RGB colors and other formatting options
function Format-Text {
<#
.SYNOPSIS
Writes text with color and formatting
.DESCRIPTION
Writes text with color, formatting and RGB support
.INPUTS
This function accepts pipeline input.