😶🌫️
This file contains 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
#!/usr/bin/env bash | |
set -euo pipefail | |
# installs a local virtual environment | |
initilize_python_virtual_environment() { | |
# check what python version to use | |
which python3; | |
USE_PYTHON3=0; | |
if [ $? -eq 0 ]; then | |
USE_PYTHON3=1; |
This file contains 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
<h3>native navigator.userAgentData</h3> | |
<pre><code id="naviveUserAgentData">...</code></pre> | |
<h3>polyfilled navigator.userAgentData</h3> | |
<pre><code id="customUserAgentData">...</code></pre> | |
<script type="module"> | |
import {ponyfill, polyfill} from './user-agent-data.js'; | |
const $ = (s, c = document) => c.querySelector(s); |
This file contains 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
* text=auto | |
###### Git | |
.gitattributes text | |
.gitignore text | |
.gitconfig text | |
.gitmodules text | |
##### Windows | |
*.bat text eol=crlf |
This file contains 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
sudo iptables -t nat -L | |
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8000 |
See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
This file contains 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 ZSH="/Users/karlhadwen/.oh-my-zsh" | |
export PATH=${PATH}:/usr/local/mysql/bin/ | |
ZSH_THEME="robbyrussell" | |
ZSH_DISABLE_COMPFIX=true | |
plugins=( | |
git | |
zsh-autosuggestions | |
last-working-dir |
- In
tsconfig.json
, set"target"
to"es6"
. - Add
schemas: [ CUSTOM_ELEMENTS_SCHEMA ],
in theNgModule
decorator of the Angular Module where your components will live. - Use Angular CLI to generate a component.
- Refactor generated Component's import statement, decorator, constructor, and add a render function as seen in the example below.
- Refactor the import statement of the Component in the parent Module from
import { HelloWorldComponent } from './hello-world/hello-world.component'
toimport './hello-world/hello-world.component'
- 🌏 The official ISO C++ Get Started! page
- 🎥 Herb Sutter: (Not Your Father’s) C++
- 🎥 Beginning with C++ by Jens Weller
NewerOlder