- Install
miniconda
from (https://docs.conda.io/en/latest/miniconda.html) - Install
mamba
withconda install mamba -n base -c conda-forge
- Install the forge with
mamba install xtensor-r -c conda-forge
- Install Jupyter NB with
mamba install -c conda-forge jupyterlab
- Install some packages
mamba install -c conda-forge pandas matplotlib seaborn numpy
- Run with
jupyter-lab
or in VSCode
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
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlLTNSC5r/qLAVepPblz1fYUsND/yjT8ADGPOZBq0TC/xPd/zVeZHrVosKxWzG7f1ioJrDGAEaDV4rvgtMu1z7+pkLhaUODy0DVtFdevRwa+yGz1g4vqx2TW9koXoGPsISUnBQHYEzaf3T3JzpxWBj/tQhrH8I7oxSywWARIciFrPDXboVlMimA/6RqKVwR8eqV4P45QUZIBcWjcjaWo31KUO/D+UDZcDNGmJbS4yOIqPdiyJor2Y6NmqGnsq65R+F+GrkiBuKk+/4G0JfwY1oG7Z75l2x4ZqXzfgsE3bV5eo5ou4pmLhecfpFmma+odOv5Amz5pMX8JJq7NlVTkwUQ== rsa-key-20190428 |
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
dpkg -l | grep -e cuda-.*9-1 | awk '{print $2}' | xargs -n1 sudo dpkg --purge --force-all |
ffmpeg -rtsp_transport tcp -i 'rtsp://192.168.0.1:7447/IscqgonF1qcOGcoR' -vframes 1 -s 1920x1080 -nostdin photo.jpg -y -loglevel 0
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
# Testing things... | |
# | |
source [find interface/stlink.cfg] | |
transport select hla_swd | |
set WORKAREASIZE 0x2000 | |
source [find target/stm32l0.cfg] | |
reset_config srst_only |
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
pip install enocean | |
edit in /usr/lib/python3.7/site-packages/enocean/communicators/serialcommunicator.py --> ttyAMA0 to ttyUSB0 |
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
import hevs.graphics.FunGraphics; | |
import java.awt.event.KeyAdapter; | |
import java.awt.event.KeyEvent; | |
/** | |
* This class demonstrate how to implement keyboard events | |
* using the FunGraphics library. | |
*/ | |
public class Demo { |
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
Set CMake options to "-DIDF_PATH=..." in Preferences > Build, Execution, Deployment > CMake | |
Add an entry to the Environments table to set IDF_PATH as well. | |
Set the Generation Path to 'build' as that is the default for idf.py |
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
""" | |
When run in cron, automatically adds compliant alias names to local DNS. | |
Use at your own risk. | |
Patrick Fuller, 25 June 17 | |
""" | |
import re | |
import paramiko | |
import pymongo |
Create a bot, gets its API token, get the ID of the channel.
https://core.telegram.org/bots/api#sendmessage
$ curl -X POST \
-H 'Content-Type: application/json' \
-d '{"chat_id": "541123411", "text": "This is a test from curl", "disable_notification": true}' \
https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage
NewerOlder