git tag -d [tagname]
git push origin :refs/tags/[tagname]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************************************************************************************************** | |
* | |
* Application framework and settings | |
* | |
* [Description of application] | |
* | |
* @license [url] [description] | |
* @author [author] [@email] | |
* @repository [url] | |
* |
This is a basic collection of things I do when setting up a new headless ubuntu machine as a webserver. Following the steps below should give you a reasonable secure server with HTTP/2 support (including ALPN in chrome) and the fast NGINX server. I am happy to add things so leave a comment.
After creating the server (droplet on DigitalOcean) log in with
See below code for React, Vanilla JavaScript and jQuery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************************************************************************************************** | |
* | |
* App framework and settings | |
* | |
* [Description of application] | |
* | |
* @license [url] [description] | |
* @author [author & @email] | |
* @repository [url] | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=/usr/local/bin:$PATH | |
# promt colors | |
export PS1="\[\033[0;32m\]\w \[\033[0;97m\]\$\[\033[0m\] " | |
# ls alias for color-mode | |
alias ls='ls -lhaG' | |
# cd up | |
alias ..='cd ..' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/******************************************************************************************************* | |
* | |
* FOLDER STRUCTURE | |
* | |
* dev // files in root just move to ./prod/ and *.html files will look for grunt-includes directives | |
* ├── HTMLincludes // HTML snippets included by grunt-includes | |
* │ └── windows.html | |
* ├── fonts // files will simply be moved to ./prod/fonts/ |