We need to generate secret key for development environment.
mix phoenix.gen.secret
# ednkXywWll1d2svDEpbA39R5kfkc9l96j0+u7A8MgKM+pbwbeDsuYB8MP2WUW1hf
Let's generate User model and controller.
# .github/workflows/app.yaml | |
name: My Python Project | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
services: |
import os | |
from pulumi import get_stack, get_project # so that each resource has a project & staging/dev... in AWS console | |
import pulumi_mongodbatlas as mongodbatlas | |
ACCOUNT_ID = os.environ["ACCOUNT_ID"] | |
ATLAS_PROJECT_ID = os.environ["ATLAS_PROJECT_ID"] | |
my_func_role_arn = f"arn:aws:iam::{ACCOUNT_ID}:role/{get_project()}-{get_stack()}-my-func-iam-role" | |
lambda_cloud_provider_access = mongodbatlas.CloudProviderAccess( |
5fc9ae59efb644be90cb9c22a70f6dac 9 | |
a00f29a8ed4b4ae79738121dd03d576c 350 | |
4945f09d164b49459c35d3f9b5ec12b7 25 | |
8dab177516c04262abdef3f3e6200548 231 | |
50f5f7dbcc7542a5a1241d5151d9b9e3 109 | |
56b536ef84324182b0211679935fc370 111 | |
1Q16BDB24243071THV0CDUDBB1 83 | |
2T86FVL43230221LXG9CEBVKC3 224 | |
1J34NAY88036615KLD4WYQTCA7 262 | |
0U67MUH71544675THC7JEKFWY6 211 |
# Install go | |
$ sudo apt-get install golang-go | |
# Download goofys package | |
$ go get github.com/kahing/goofys | |
# Install goofys | |
$ go install github.com/kahing/goofys | |
# Copy the goofys binary to somewhere in your path |
# import libraries and basic configs | |
import RPi.GPIO as GPIO # Import Raspberry Pi GPIO library | |
GPIO.setwarnings(False) # Ignore warning for now | |
GPIO.setmode(GPIO.BOARD) # Use physical pin numbering | |
from influxdb import InfluxDBClient | |
import time | |
client = InfluxDBClient('localhost', 8086, 'root', 'root', 'customer_servicedb') # c$ | |
# set good and bad pin |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/oasis/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
# Basic Syntax | |
Introduction to Elixir https://www.youtube.com/watch?v=DltjeuB4Cu0 | |
# Intermediate Syntax | |
Tutoriel Elixir : Découverte du langage Elixir https://www.youtube.com/watch?v=1hl_z9-QO9c | |
# Basics of OTP | |
The ABCs of OTP - Jesse J. Anderson https://www.youtube.com/watch?v=4SCwubzqsVU |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/oasis/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
The IPython Notebook has two different keyboard input modes. Edit mode allows you to type code/text into a cell and is indicated by a green cell border. Command mode binds the keyboard to notebook level actions and is indicated by a grey cell border.