This script is designed to fetch schemas from a schema registry and save them as JSON files.
- Python 3.6 or later
requests
library
FROM python:3.9-slim | |
RUN pip install --no-cache-dir boto3==1.35.84 fastavro==1.9.7 cramjam==2.9.1 | |
ENV PYTHONUNBUFFERED=1 | |
COPY avro-reader.py /app/avro-reader.py | |
WORKDIR /app |
Create a new project using the flutter wrapper | |
You can create a new Flutter project without installing Flutter globally on your machine. | |
# 1. Create an empty git repo | |
mkdir flutter_wrapper_project && cd "$_" | |
git init | |
# 2. Install flutterw | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/passsy/flutter_wrapper/master/install.sh)" |
OWNER ?= $(USER) | |
REPO ?= $(notdir $(CURDIR)) | |
TAG ?= latest | |
IMAGE ?= $(OWNER)/$(REPO):$(TAG) | |
NAME ?= $(REPO) | |
DOCKER ?= $(shell which docker) | |
OPTIONS ?= --interactive --rm --tty | |
CMD ?= | |
all: build |
#!/bin/bash | |
# | |
# Arezqui Belaid <[email protected]> | |
# | |
FS_CONFIG_PATH=/etc/freeswitch | |
FS_BASE_PATH=/usr/src | |
FS_VERSION=v1.7 | |
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
install PostgreSQL 9 in Mac OSX via Homebrew | |
Mac OS X Snow Leopard | |
System Version: Mac OS X 10.6.5 | |
Kernel Version: Darwin 10.5.0 | |
Install notes for PostgreSQL 9.0.1 install using Homebrew: | |
sh-3.2# brew install postgresql |
#!/bin/bash | |
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/ | |
# Install stuff # | |
################# | |
# Install development tools and some misc. necessary packages | |
yum -y groupinstall "Development tools" | |
yum -y install zlib-devel # gen'l reqs |