This file contains 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
-- vishnu667.com | |
local bind_key = {"cmd", "ctrl","alt"} | |
-- Move to left. | |
hs.hotkey.bind(bind_key, "left", function() | |
local win = hs.window.focusedWindow() | |
local f = win:frame() | |
local screen = win:screen() | |
local max = screen:frame() |
This file contains 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
# Editable install with no version control (apache-airflow==1.10.11) | |
Babel==2.8.0 | |
Flask-Admin==1.5.4 | |
Flask-AppBuilder==2.3.4 | |
Flask-Babel==1.0.0 | |
Flask-Bcrypt==0.7.1 | |
Flask-Caching==1.3.3 | |
Flask-JWT-Extended==3.24.1 | |
Flask-Login==0.4.1 | |
Flask-OpenID==1.2.5 |
This file contains 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
from airflow import DAG | |
from airflow import configuration | |
from datetime import date, timedelta, datetime | |
from deepmerge import Merger | |
from os import listdir | |
from os.path import isfile, join | |
import copy | |
import glob | |
import importlib | |
import os |
This file contains 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
sudo 777 -R /opt | |
mkdir /opt/scala | |
mkdir /opt/spark | |
mkdir /opt/java | |
cd java | |
This file contains 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
/** | |
Maven Dependency | |
<dependency> | |
<groupId>org.cassandraunit</groupId> | |
<artifactId>cassandra-unit</artifactId> | |
<version>1.2.0.1</version> | |
</dependency> | |
<dependency> | |
<groupId>com.datastax.cassandra</groupId> | |
<artifactId>cassandra-driver-core</artifactId> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
</body> | |
<script type="text/javascript"> | |
var widgets = { | |
function1 : function(value){return value;}, |
This file contains 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
package org.helloworld; | |
import org.json.simple.JSONObject; | |
import java.io.*; | |
import java.net.HttpURLConnection; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.util.concurrent.atomic.AtomicInteger; |