Skip to content

Instantly share code, notes, and snippets.

View sionta's full-sized avatar
😴
learning

Andre Attamimi sionta

😴
learning
  • 13:33 (UTC +09:00)
View GitHub Profile
@P4
P4 / default.reg
Last active March 3, 2025 14:09
Color schemes for Windows Command Prompt
Windows Registry Editor Version 5.00
; Default color scheme
; for Windows command prompt.
; Values stored as 00-BB-GG-RR
[HKEY_CURRENT_USER\Console]
; BLACK DGRAY
"ColorTable00"=dword:00000000
"ColorTable08"=dword:00808080
; BLUE LBLUE
@davidruhmann
davidruhmann / AppendHex.bat
Created December 4, 2012 19:49
[Batch] Generate a GUID in a command line batch
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:AppendHex <xReturn> <xInput>
:: Append a hexidecimal number to the end of the input.
:: 1. Generate Random Number = 0-15
:: 2. Convert Number to Hexidecimal
:: 3. Append to Input
setlocal
set /a "xValue=%RANDOM% %% 16"
if "%xValue%"=="10" set "xValue=A"
if "%xValue%"=="11" set "xValue=B"
@heldr
heldr / addfont.cmd
Last active March 25, 2024 14:14
add windows fonts by command line
REM http://www.msfn.org/board/topic/119612-how-to-install-a-font-via-the-command-line/
@ECHO OFF
TITLE Adding Fonts..
REM Filename: ADD_Fonts.cmd
REM Script to ADD TrueType and OpenType Fonts for Windows
REM By Islam Adel
REM 2012-01-16
REM How to use:
@mparker17
mparker17 / init.vim
Last active July 10, 2022 05:39
$XDG_CONFIG_HOME/nvim
" Place at $XDG_CONFIG_HOME/nvim/init.vim
" Assumes neovim (nvim) defaults.
" Grouping based on https://neovim.io/doc/user/options.html
" 2 moving around, searching and patterns
set nostartofline
set wrapscan
set smartcase
" 4 displaying text
@illdecree
illdecree / TuneUp.bat
Created March 16, 2012 16:53
Machine Cleanup Batch With Menu
@ECHO OFF
REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the