Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| /* Pre-Define HTML5 Elements in IE */ | |
| (function(){ var els = "source|address|article|aside|audio|canvas|command|datalist|details|dialog|figure|figcaption|footer|header|hgroup|keygen|mark|meter|menu|nav|picture|progress|ruby|section|time|video".split('|'); for(var i = 0; i < els.length; i++) { document.createElement(els[i]); } } )(); |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000vagrant up master# creating application bootstrap
docker run --rm -v $(pwd):/app composer/composer create-project laravel/laravel app 5.4
# installing dependencies (if is needed)
docker run --rm -v $(pwd)/app:/app composer/composer install| source ~/.antigen.zsh | |
| antigen use oh-my-zsh | |
| antigen bundle git | |
| antigen bundle pip | |
| antigen bundle command-not-found | |
| if [ "${OSTYPE}"="darwin18.0" ] | |
| then | |
| antigen bundle osx |
| """ | |
| qutebrowser config | |
| """ | |
| import os | |
| c = c # noqa: F821 pylint: disable=E0602,C0103 | |
| config = config # noqa: F821 pylint: disable=E0602,C0103 | |
| config.load_autoconfig(False) | |
| c.auto_save.session = True |
This is my own version of the game Tic Tac Toe Game, it is part of my Python's learning process
Although the original Tic Tac Toe game has to be play on a 3x3 board by default, this python code can handle any board size, no real use case was in my mind for this just did it for learning and fun purposes.
| add_newline = false | |
| format = """ | |
| [](#C4A6F1)\ | |
| $os\ | |
| $username\ | |
| [](bg:#E48FA6 fg:#C4A6F1)\ | |
| $directory\ | |
| [](fg:#E48FA6 bg:#EFB48D)\ | |
| $git_branch\ | |
| $git_status\ |
| #!/bin/bash | |
| cdk deploy --context --context adminUsersArns='["arn:aws:iam::049965557416:user/k8sadmin"]' |