Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Ali Ahmed aahmed-se

🎯
Focusing
View GitHub Profile
View Concurnas-1.14.020
class Concurnas < Formula
desc "Concurnas is an open source JVM programming language designed for building reliable, scalable, high performance concurrent, distributed and parallel systems"
homepage "https://concurnas.com"
url "https://github.com/Concurnas/Concurnas/releases/download/1.14.020/Concurnas-1.14.020.zip"
sha256 "721b12c6fa7d87cbf2763d2b7c3ffc0c5395d2cb1f3760e9ae33d6f8c650a064"
version "1.14.020"
bottle :unneeded
depends_on :java => "1.8+"
View install-maven.sh
#!/bin/sh
set -e
# script to install maven
# todo: add method for checking if latest or automatically grabbing latest
mvn_version=${mvn_version:-3.6.1}
url="https://archive.apache.org/dist/maven/maven-3/${mvn_version}/binaries/apache-maven-${mvn_version}-bin.tar.gz"
install_dir="/opt/maven"
View pulsarctl.rb
class Pulsarctl < Formula
desc "Pulsar admin go cli"
homepage "https://github.com/streamnative/pulsarctl"
url "https://github.com/streamnative/pulsarctl/releases/download/v0.2.0/pulsarctl-amd64-darwin"
version "v0.2.0"
sha256 "a752acbbf044cdb74e27bcb1d6145b0307588961732fbd63fd479cdbd3c9ef24"
def install
mv "pulsarctl-amd64-darwin", "pulsarctl"
bin.install "pulsarctl"
View pulsarctl.rb
class Pulsarctl < Formula
desc "Pulsar admin go cli"
homepage "https://github.com/streamnative/pulsarctl"
url "https://github.com/streamnative/pulsarctl/archive/v0.1.0.tar.gz"
version "v0.1.0"
sha256 "780e97f5f7a744525ffbb0e68d8e658837bee998269b72456711f034b1532e7d"
depends_on "go" => :build
def install
View keybase.md

alahmed

Keybase proof

I hereby claim:

  • I am aahmed-se on github.
  • I am alahmed (https://keybase.io/alahmed) on keybase.
  • I have a public key ASD6PV_6m2tYtgYsxIVsp8KZtfC6LSNnua-pVYDHVfZkdAo

To claim this, I am signing this object:

View gist:12eab98c6bc0b2de104f8cf6ff94b593
### Keybase proof
I hereby claim:
* I am aahmed-se on github.
* I am alahmed (https://keybase.io/alahmed) on keybase.
* I have a public key ASD6PV_6m2tYtgYsxIVsp8KZtfC6LSNnua-pVYDHVfZkdAo
To claim this, I am signing this object:
View Pulsar-IO-Bigquery.md

Introduction

This is a usage and design summary of the pulsar-io-bigquery sink.

Parameters

This is the current list of parameters.

param name description
View OpenConnectV2.md

Introduction

Proposed extensions to Context interface to abstract away a distributed runtime

interface Context {
	StateMgr getStateMgr(); // State Manager for co ordination dedup and ordering semantics
	UUID getConnectorId(); // Globally unique connector instance identifier
	Integer getPartitionId(); // Globall unique connector instance identifier
@aahmed-se
aahmed-se / crete_default_init_py.sh
Created Sep 22, 2017
Create __init__.py under all folders in a specific directory
View crete_default_init_py.sh
LOCATION="."
FILE_NAME="/__init__.py"
for i in $(find $LOCATION -type d); do echo "__import__('pkg_resources').declare_namespace(__name__)" > $i$FILE_NAME; done
@aahmed-se
aahmed-se / OpenWithSublimeText3Directory.bat
Created Feb 27, 2016
Sublime Text 3 : Add Windows context menu for directory , shell , file and desktop
View OpenWithSublimeText3Directory.bat
@echo off
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_EXPAND_SZ /v "" /d "%st3Path% \"%%V\"" /f
rem add it for directories
@reg add "HKEY_CLASSES_ROOT\Directory\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "" /d "Open with Sublime Text 3" /f