{"id":16974714,"url":"https://github.com/nulldev/dotfiles","last_synced_at":"2026-04-05T20:36:43.347Z","repository":{"id":103787418,"uuid":"81309969","full_name":"NullDev/dotfiles","owner":"NullDev","description":":wrench: Just a repository to store my DotFiles / Configs and Scripts ","archived":false,"fork":false,"pushed_at":"2021-01-18T10:54:10.000Z","size":289,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T21:27:40.136Z","etag":null,"topics":["config","crontab","dotfiles","nginx","nginx-configuration","npm","nulldev"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NullDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-08T09:11:08.000Z","updated_at":"2025-03-19T01:04:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"d09043e2-6478-4dca-9a4f-60d45af43ac0","html_url":"https://github.com/NullDev/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullDev%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullDev%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullDev%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullDev%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NullDev","download_url":"https://codeload.github.com/NullDev/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244868035,"owners_count":20523581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","crontab","dotfiles","nginx","nginx-configuration","npm","nulldev"],"created_at":"2024-10-14T01:07:43.335Z","updated_at":"2025-12-30T23:56:24.646Z","avatar_url":"https://github.com/NullDev.png","language":"Shell","readme":"# DotFiles\r\nJust a repository to store my DotFiles / Configs and Scripts.\u003cbr\u003e\r\nMostly files that start with a '.' :smile_cat:\u003cbr\u003e\r\nFeel free to copy, modify and/or fork it!\u003cbr\u003e\r\n(I made this repo not only for storing my files, but with the aim of providing useful configs and functions!)\r\n\r\n## INFO:\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/nginx.conf\"\u003enginx.conf\u003c/a\u003e scores an \u003cstrong\u003eA+\u003c/strong\u003e on the \u003ca href=\"http://ssllabs.com\"\u003eSSLLabs\u003c/a\u003e analysis!\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003e \u003ca href=\"https://www.ssllabs.com/ssltest/analyze.html?d=nulldev.org\u0026latest\"\u003eTest Me!\u003c/a\u003e \u003c\u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/.crontab\"\u003e.crontab\u003c/a\u003e file [`$ crontab -e`] contains an autorenew for all SSL Certificates from \u003ca href=\"https://letsencrypt.org/\"\u003eLetsEncrypt\u003c/a\u003e\u003cbr\u003e\r\nThe (custom) \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/.gitignore\"\u003e.gitignore\u003c/a\u003e is aiming for \u003ca href=\"https://nodejs.org/\"\u003eNodeJS\u003c/a\u003e\u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/.gitattributes\"\u003e.gitattributes\u003c/a\u003e was made for \u003ca href=\"https://docs.microsoft.com/dotnet/articles/csharp/\"\u003eC#\u003c/a\u003e\u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/.npmignore\"\u003e.npmignore\u003c/a\u003e skips `.raw` files (I use them for debugging) and files starting with \"test\" in src\u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/.crontab\"\u003e.crontab\u003c/a\u003e file also automatically starts the kik bot on server reboot now\u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/termcol.sh\"\u003etermcol.sh\u003c/a\u003e is a CheatSheet for terminal colors. Preview below\u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/tree/master/profile.d\"\u003e./profile.d\u003c/a\u003e folder is located at `/etc/profile.d` and the scripts are used to apply parameters to the shell of all users.\u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/debug-switch.php\"\u003edebug-switch.php\u003c/a\u003e code snippet allows to turn on/off PHP error messages. \u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/package.json\"\u003epackage.json\u003c/a\u003e file is my standard configuration for node projects. \u003cbr\u003e\r\nThe file \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/sublime/LOLCODE.tmLanguage\"\u003eLOLCODE.tmLanguage\u003c/a\u003e in the submlime folder is syntax highliting for LOLCODE in Sublime Text 3\u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/issue.net\"\u003eissue.net\u003c/a\u003e file (/etc) changes the Pre-Login SSH message. Uncomment `#Banner` in `/etc/ssh/sshd_config` \u003cbr\u003e\r\nThe files located in \u003ca href=\"https://github.com/NullDev/dotfiles/tree/master/update-motd.d\"\u003eupdate-motd.d\u003c/a\u003e modify the Post-Login SSH Message on Ubuntu (16.04 LTS) \u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/forever.sh\"\u003eforever-start.sh\u003c/a\u003e file starts all node scripts in given directories (see screenshot)[MOVED] \u003cbr\u003e\r\nThe file \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/utils.sh\"\u003eutils.sh\u003c/a\u003e will install my alias file in `/etc/profile.d` (See explanation below) \u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/tree/master/.github\"\u003e.github\u003c/a\u003e folder contains an `issues` template. To see what it does, try to open an Issue on this repo. \u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/rc.local\"\u003erc.local\u003c/a\u003e file (`/etc/rc.local`) launches \u003ca href=\"https://github.com/NullDev/forever.sh\"\u003eforever-start.sh\u003c/a\u003e on reboot \u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/streak\"\u003estreak\u003c/a\u003e file is used for my GitHub commit streak which is automated by my [open source github commit streak bot](https://github.com/NullDev/GitHub-Commit-Streak) \u003cbr\u003e\r\nThe \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/HTML-Boilerplate.js\"\u003eHTML-Boilerplate.js\u003c/a\u003e file is a NodeJS script which creates folder structures and adds basic content.\r\n\r\n**Also**: The forever-start.sh file features two arguments: \u003cbr\u003e\r\n\r\n| Argument | Explanation |\r\n|----------|-------------|\r\n| `-s` or `--stop`    | Stops all scripts              |\r\n| `-r` or `--restart` | Stops and restarts all scripts |\r\n\r\n## HTML-Boilerplate.js\r\nCan be run either by simply typing `node HTML-Boilerplate.js`. \u003cbr\u003e\r\nYou will be promted for the project name. \u003cbr\u003e\r\nAlternatively you can run it by typing `node HTML-Boilerplate.js YOUR-PROJECT-NAME` to pass the name to the script without getting prompted for input. \u003cbr\u003e\r\nHas zero dependencies. \r\n\r\n## Explanation of my Alias file at `/etc/profile.d/00-alias.sh`\r\n\r\n**NOTE:** If you want to update the alias file without restarting/relogin simply run:\u003cbr\u003e\r\n$ `source /etc/profile.d/00-alias.sh`\r\n\r\n---\r\n\r\n**NOTE:** If you want to automatically enable all alias on startup, add the line \u003cbr\u003e\r\n```bash\r\nsource /etc/profile.d/00-alias.sh\r\n```\r\nTo your `rc.local` file at `/etc/rc.local` (befor the line `exit 0`) like I did on \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/rc.local#L4\"\u003eLine 4\u003c/a\u003e of my \u003ca href=\"https://github.com/NullDev/dotfiles/blob/master/rc.local\"\u003erc.local\u003c/a\u003e file.\r\n\r\n| Alias | Explanation |   Usage   | Examples |\r\n|-------|-------------|-----------|----------|\r\n| ll           | Used to list all files in long list format and classify |\r\n| ext          | Extract many types of archive files with the same command (autodetect) | ext file | `ext test.tar.gz` |\r\n| cd...        | (and others) - Just move more directories up |\r\n| timer        | Starts a timer (can be stopped with CTRL + C) and displays time |\r\n| week         | Displays the ISO Week number |\r\n| gip          | Get IP: displays the public IP of the machine |\r\n| clearhistory | clears the bash/terminal history **and exits** |\r\n| lnn          | Line Number: prints out a specific line of a file | lnn line file \u003c!-- Dont ask... --\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; | `lnn 4 test.txt` |\r\n| cls          | Clear Screen: Clears the screen (terminal) without spamming whitespaces and it maximizes it as well |\r\n| chp          | CheckPort: Checks if a port is open or not | chp host port | `chp nulldev.org 80` |\r\n| epoch        | Converts unix epoch time to human readble time and reverse | epoch | `epoch 137514859`, `epoch 22 june 2011`, `epoch` |\r\n\r\n---\r\n\r\n## How to clone:\r\n\r\n$ `git clone git://github.com/NullDev/dotfiles ~/.dotfiles`\u003cbr\u003e\r\n$ `cd ~/.dotfiles \u0026\u0026 ls -a`\r\n\r\n\u003cbr\u003e\r\n\r\n### Also: The scrips need to be made executable.\u003cbr\u003e\r\nExample for `termcol.sh`:\r\n\r\n$ `chmod +x ./termcol.sh`\r\n\r\n\u003cp align=\"center\"\u003e\r\n\u003cbr\u003e\r\n\u003cstrike\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/strike\u003e termcol.sh preview \u003cstrike\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/strike\u003e\u003cbr\u003e\u003cbr\u003e\r\n\u003cimg src=\"https://raw.githubusercontent.com/NullDev/dotfiles/master/.src/src_01.png\" /\u003e\u003cbr\u003e\r\n\u003cbr\u003e\r\n\u003cbr\u003e\r\n\u003cstrike\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/strike\u003e SSL-Labs Test \u003cstrike\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/strike\u003e\u003cbr\u003e\u003cbr\u003e\r\n\u003cimg src=\"https://raw.githubusercontent.com/NullDev/dotfiles/master/.src/ssl-test.png\" /\u003e\u003cbr\u003e\r\n\u003cbr\u003e\r\n\u003cbr\u003e\r\n\u003cstrike\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/strike\u003e Forever-Start.sh \u003cstrike\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/strike\u003e\u003cbr\u003e\r\n\u003cbr\u003e\r\n\u003cimg src=\"https://raw.githubusercontent.com/NullDev/dotfiles/master/.src/forever.png\" /\u003e\u003cbr\u003e\r\n\u003c/p\u003e\r\n\u003cbr\u003e\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnulldev%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnulldev%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnulldev%2Fdotfiles/lists"}