- Clean pkg cache
- Remove unused packages (orphans)
- Clean cache in /home
- remove old config files
- Find and Remove
- duplicates
- empty files
- empty directories
- broken symlinks
| #!/bin/sh | |
| # Copyright 2023 Khalifah K. Shabazz | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a | |
| # copy of this software and associated documentation files (the “Software”), | |
| # to deal in the Software without restriction, including without limitation | |
| # the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| # and/or sell copies of the Software, and to permit persons to whom the | |
| # Software is furnished to do so, subject to the following conditions: |
| """ | |
| Copyright <<year>> <<insert publisher name>> | |
| DESCRIPTION: | |
| this is a sample Typer CLI layout | |
| USAGE EXAMPLE: | |
| > python template_simple_cli.py example_cmd | |
| """ |
Note: This guide has been updated for use with @vue/cli version 4! Please make sure you're using the latest version of @vue/cli.
When it comes to starting new Vue projects, you can't really beat Vue CLI. The Vue team has done a phenomenal job of making an easy-to-use tool for getting started with reasonable defaults. If you're using Django though, you may not have the easiest time getting its static system and webpack to play well together.
A good chunk of this is applicable to any webpack-compiled frontend and Django, but we'll focus specifically on the steps involved with Vue CLI.
As a quick heads up: this tutorial assumes you're creating your Vue project in a folder named frontend inside of your Django project folder. If you want it named something else, or want it in a different folder, just update the paths accordingly.
| /*! | |
| * Bootstrap Grid v4.0.0 (https://getbootstrap.com) | |
| * Copyright 2011-2018 The Bootstrap Authors | |
| * Copyright 2011-2018 Twitter, Inc. | |
| * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
| */ | |
| @-ms-viewport { | |
| width: device-width; | |
| } |
| Port: 1080 | |
| 1. Create a file /YOUR PATH/gitproxy.sh with content: | |
| #!/bin/sh | |
| nc -X 5 -x 127.0.0.1:1080 "$@" | |
| 2. Edit your ~/.gitconfig | |
| # For git:// |
| class Node(): | |
| """A node class for A* Pathfinding""" | |
| def __init__(self, parent=None, position=None): | |
| self.parent = parent | |
| self.position = position | |
| self.g = 0 | |
| self.h = 0 |