In any web browser:
- From the Arduino website, download & install the latest Arduino IDE (v1.8 or later). Available for Windows, Mac, Linux & ARM.
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
| # update | |
| sudo apt-get update | |
| sudo apt-get -qq update | |
| # Install kubectl | |
| sudo curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | |
| sudo chmod +x ./kubectl | |
| sudo mv ./kubectl /usr/local/bin/kubectl | |
| # Install kubectx (Switch between Kubernetes contexts/namespaces) |
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
| # Uses Bluez for Linux | |
| # | |
| # sudo apt-get install bluez python-bluez | |
| # | |
| # Taken from: https://people.csail.mit.edu/albert/bluez-intro/x232.html | |
| # Taken from: https://people.csail.mit.edu/albert/bluez-intro/c212.html | |
| import bluetooth | |
| def receiveMessages(): |
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
| # -*- coding: utf-8 -*- | |
| from airflow.operators.http_operator import SimpleHttpOperator | |
| from airflow.operators.postgres_operator import PostgresOperator | |
| from airflow.operators.subdag_operator import SubDagOperator | |
| from airflow.operators.sensors import SqlSensor | |
| from airflow.hooks.postgres_hook import PostgresHook | |
| from airflow.operators.python_operator import PythonOperator | |
| from airflow.models import Variable, DAG |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
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
| # Intent: interface to the GodotPayments module (remember to add the java path in the project settings android>modules ) | |
| "Intent.gd" | |
| extends Node | |
| # Interface for the GodotPayments module | |
| # To use extend this script and save the result on the Global singleton 'Data' | |
| const STATIC_RESPONSE_NONE = 0 | |
| const STATIC_RESPONSE_ALL = 1 |
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
| //<string name="can_try_again">Press [img src=ok16/] to accept or [img src=retry16/] to retry</string> | |
| //http://stackoverflow.com/questions/15352496/how-to-add-image-in-a-textview-text | |
| import java.util.regex.Matcher; | |
| import java.util.regex.Pattern; | |
| import android.content.Context; | |
| import android.text.Spannable; | |
| import android.text.style.ImageSpan; | |
| import android.util.AttributeSet; | |
| import android.util.Log; |
