We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
version: 0.2 | |
phases: | |
install: | |
commands: | |
# Get Chrome Information | |
- curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
- echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list | |
- apt-get -y update | |
# Install chrome |
browsers: ["HeadlessChrome"], | |
customLaunchers: { | |
HeadlessChrome: { | |
base: "ChromeHeadless", | |
flags: [ | |
"--no-sandbox", // required to run without privileges in Docker | |
"--disable-web-security", | |
"--disable-gpu", | |
"--remote-debugging-port=9222" | |
] |
defmodule Filter do | |
def start_flow do | |
streams() | |
|> Flow.from_enumerables() | |
|> Flow.filter(&Regex.match?(~r/publishing/, &1)) | |
|> Flow.map(&get_key_and_payload(&1)) | |
|> Flow.partition(key: {:elem, 0}) | |
|> Flow.reduce(fn -> %{} end, fn x, acc -> | |
Map.put_new(acc, elem(x, 1), elem(x, 2)) | |
end) |
We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
23.21.150.121:3478 | |
iphone-stun.strato-iphone.de:3478 | |
numb.viagenie.ca:3478 | |
s1.taraba.net:3478 | |
s2.taraba.net:3478 | |
stun.12connect.com:3478 | |
stun.12voip.com:3478 | |
stun.1und1.de:3478 | |
stun.2talk.co.nz:3478 | |
stun.2talk.com:3478 |
Complete installation process: | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install -y python-software-properties python make build-essential g++ curl libssl-dev apache2-utils git libxml2-dev | |
sudo apt-get update | |
sudo apt-get upgrade | |
cd ~ | |
mkdir git | |
cd ~/git |
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Foo struct { | |
FirstName string `tag_name:"tag 1"` | |
LastName string `tag_name:"tag 2"` |