Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

10 total results found

Resizing HDD (Linux)


Resize disk with any solution (GParted, etc). Use lsblk to get the partition you want to expand. sudo growpart /dev/sda 2 # 2 is the partition you want to increase in size. sudo resize2fs /dev/sda2

Reset Repo Commits


Linux export GIT_RESET_USER=yourUserNameOrOrgName export GIT_RESET_REPO=yourRepoName export bypassCF="git" export bypassCF2="@" export bypassCF3="" rm -rf .git git init git add . git checkout -b main git commit -m "Initial Commit" git remote add orig...



Empty Lines after if/else/while/for (if |else |else if |for |while ).+\n\n Resources Regex Tester Regex Cheat Sheet

Prune Docker


docker image prune -a -f docker volume prune -f docker network prune -f

HTML Redirects


Redirect to another site with HTML. <!-- index.html --> <meta http-equiv="refresh" content="0; url="> # .htaccess ErrorDocument 404

GitHub API: Organization Membership


This simple curl command will set your membership to public/private for any organization. A use case would be an organization so big you can't search for yourself. For this to work, you need a GitHub Personal Access Token. # To make an org private, replace PUT...

Saving chmod +x in a Git Repo


export git config core.fileMode true find . -type f -iname "*$fileType" -exec chmod +x {} \; find . -type f -iname "*$fileType" -exec git update-index --chmod=+x {} \; git add . && git commit -am "Update Execute Permissions" && git push

Ghost Snippets


Place any of the following in your Code Injection settings. Found in: Ghost Admin -> Settings -> Advanced -> Code Injection Site Header <style> /* Hide "Powered By Ghost" from Footer, granted this makes the footer look weird. */ .site-footer .inner div...

Restart Windows Audio Service Script


Place the following into a .bat file and run it. @echo off :: Run as Admin set "params=%*" cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell....

EmuDeck Systems List


3do: 3DO ags: Adventure Game Studio Game Engine amiga: Commodore Amiga amiga1200: Commodore Amiga 1200 amiga600: Commodore Amiga 600 amigacd32: Commodore Amiga CD32 amstradcpc: Amstrad CPC android: Google Android apple2: Apple II apple2gs: Apple IIGS arcade: ...