Skip to content

Instantly share code, notes, and snippets.

@tsundara
tsundara / INSTALL.txt
Created February 2, 2018 21:25 — forked from mrjoes/INSTALL.txt
Dead simple broker on top of sockjs-tornado
1. pip install -r reqs.pip
2. server.py
3. open client.html in browser
4. redis-cli publish push '123456'
5. check browser console
@tsundara
tsundara / oracle_table_refresh_by_renaming
Created October 19, 2018 14:21
Oracle rename table : Quickest way to create or refresh an Oracle table from a view or select statement
DROP TABLE ZNEW;
create table znew as (select * from ANY_TABLE_OR_VIEW where col='value');
drop table ZMAIN;
alter table ZNEW rename to ZMAIN;
@tsundara
tsundara / axios-rest-get-loop-table.html
Last active December 6, 2019 23:52
Self contained html file in which Axios http client calls an external REST API , loops through the array data and displays it in a table
<!DOCTYPE html>
<html lang="en">
<head>
<title>Axios Example</title>
</head>
<body>
</body>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
Airflow installation on Ubuntu 18.x (GCP)
https://www.anaconda.com/distribution/
Latest installable : https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
Create a GCP VM (Ubuntu 18x). Then proceed with the below commands on the ssh terminal
#Create install dirs
mkdir -p /app
sudo chown your_username -R /app
@tsundara
tsundara / Apache-Airflow-installation-on-Ubuntu-Linux
Created December 27, 2019 22:02
Apache Airflow installation on Ubuntu Linux 18.x (GCP)
Apache Airflow installation on Ubuntu 18.x (GCP)
https://www.anaconda.com/distribution/
Latest installable : https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
Create a GCP VM (Ubuntu 18x). Then proceed with the below commands on the ssh terminal
#Create install dirs
mkdir -p /app
sudo chown your_username -R /app