Skip to content

Instantly share code, notes, and snippets.

View AdamDomagalsky's full-sized avatar
🏠
Working from home

Adam Domagalski AdamDomagalsky

🏠
Working from home
View GitHub Profile

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@AdamDomagalsky
AdamDomagalsky / jq-cheetsheet.md
Created April 8, 2020 12:56 — forked from olih/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@AdamDomagalsky
AdamDomagalsky / airflow-k8s-executor-minikube-helm.md
Created May 7, 2019 08:06 — forked from kppullin/airflow-k8s-executor-minikube-helm.md
Airflow w/ kubernetes executor + minikube + helm

Overview

The steps below bootstrap an instance of airflow, configured to use the kubernetes airflow executor, working within a minikube cluster.

This guide works with the airflow 1.10 release, however will likely break or have unnecessary extra steps in future releases (based on recent changes to the k8s related files in the airflow source).

Prerequisites

  • Docker installed
  • Minikube installed and started
<android.support.v4.widget.DrawerLayout
android:id="@+id/activity_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
@AdamDomagalsky
AdamDomagalsky / AndroidManifest.xml
Created August 13, 2018 19:47 — forked from chantellosejo/AndroidManifest.xml
Android Handle Logged In/Out State on Startup
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.android">
...
<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name">
@AdamDomagalsky
AdamDomagalsky / .gitignore
Created December 6, 2017 08:51 — forked from smebberson/.gitignore
Express simple authentication example
node_modules
*.swp
@AdamDomagalsky
AdamDomagalsky / app.js
Created September 11, 2017 10:50 — forked from clarle/app.js
Short tutorial on how to use Express and node-mysql
// Module dependencies
var express = require('express'),
mysql = require('mysql');
// Application initialization
var connection = mysql.createConnection({
host : 'localhost',
user : 'root',
@AdamDomagalsky
AdamDomagalsky / app.js
Created September 11, 2017 10:50 — forked from clarle/app.js
Short tutorial on how to use Express and node-mysql
// Module dependencies
var express = require('express'),
mysql = require('mysql');
// Application initialization
var connection = mysql.createConnection({
host : 'localhost',
user : 'root',