You can use Ctrl
+U
to clear up to the beginning.
You can use Ctrl
+W
to delete just a word.
You can also use Ctrl
+C
to cancel.
If you want to keep the history, you can use Alt
+Shift
+#
to make it a comment.
You can use Ctrl
+U
to clear up to the beginning.
You can use Ctrl
+W
to delete just a word.
You can also use Ctrl
+C
to cancel.
If you want to keep the history, you can use Alt
+Shift
+#
to make it a comment.
Accelerate training of machine learning models with TensorFlow right on your Mac. Install TensorFlow v2.5 and the tensorflow-metal PluggableDevice to accelerate training with Metal on Mac GPUs.
You can learn more about TensorFlow PluggableDevices here
macOS 12.0+
// ==UserScript== | |
// @name Remove Google's link tracking | |
// @description Removes onmousedown event from external Google links to allow direct links and disable click-tracking | |
// @namespace https://melashri.net | |
// @author Mohamed Elashri | |
// @include http://*.google.* | |
// @include https://*.google.* | |
// @include *://*.google.tld/* | |
// @version 0.0.1 | |
// @grant unsafeWindow |
Install the necessary packages into the virtual machine with:
!apt-get install texlive texlive-xetex texlive-latex-extra pandoc
!pip install pypandoc
Mount your google drive to get access to your ipynb files
#!/bin/bash | |
SCRIPTNAME="Portscan Protection" | |
VERSION="v1.0" | |
SCRIPTLOCATION="/usr/local/sbin/portscan-protection.sh" | |
WHITELISTLOCATION="/usr/local/sbin/portscan-protection-white.list" | |
CRONLOCATION="/etc/cron.d/portscan-protection" | |
GITHUBRAW="https://gist.githubusercontent.com/MohamedElashri/ec469f43bd2cb71743dafab5203ac533/raw/139ecdea79ad206d99a9871a0d550d08a6a5c509/portscan.sh" | |
AUTOUPDATE="YES" | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:2367b03a2af053a38c96fe2753066e4586c36bf8]
To get a list of python modules available, a solution is to use freeze:
pip freeze
To create a requirements.txt file from freeze:
pip freeze > requirements.txt
I hereby claim:
To claim this, I am signing this object:
// ==UserScript== | |
// @name Hacker News | |
// @namespace melashri.net | |
// @version 0.6 (by Mohamed Elashri) | |
// @description Enhanced HN, unread comments highlighter. Open links in new page | |
// @author Prahlad Yeri, Mohamed Elashri | |
// @match https://news.ycombinator.com/* | |
// @grant GM_addStyle | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js | |
// ==/UserScript== |