Skip to content

Instantly share code, notes, and snippets.

View creatorrr's full-sized avatar

Diwank Singh Tomer creatorrr

View GitHub Profile

First read through the julep-concepts.md file and take notes. This file describes brand new features that haven't been announced yet on the project's README.

Then, based on your notes, add/update an announcement section on the README.md file that describes the new features.

Instructions

announcement post

focus:

@creatorrr
creatorrr / sumthing
Created August 28, 2024 16:39
blahblah
sumthing
@creatorrr
creatorrr / hasura.ts
Last active October 23, 2021 07:08 — forked from bkniffler/hasura.ts
Hasura ECS cdk typescript example
import ec2 = require('@aws-cdk/aws-ec2');
import ecs = require('@aws-cdk/aws-ecs');
import secrets = require('@aws-cdk/aws-secretsmanager');
import cdk = require('@aws-cdk/core');
export interface StaticSiteProps extends cdk.StackProps {
connectionString: string;
hasuraVersion: string;
vpc: ec2.IVpc;
}
@creatorrr
creatorrr / README.md
Last active June 24, 2021 07:39 — forked from danisla/README.md
GKE GPU Sharing Daemonset

GPU Sharing on GKE DaemonSet

NOTE: This is not a Google supported product.

Example Usage

  1. Create a GKE cluster with a GPU node pool:
gcloud container clusters create gpu-sharing-demo --zone us-central1-c

Keybase proof

I hereby claim:

  • I am creatorrr on github.
  • I am diwank (https://keybase.io/diwank) on keybase.
  • I have a public key whose fingerprint is 8DFE F952 DE35 C293 B09E AC8C E88E 17F6 9197 27EE

To claim this, I am signing this object:

@creatorrr
creatorrr / README.md
Created March 17, 2018 21:14
Utility for merging sqitch migrations

Merge sqitch migrations easily. Example:

❯ sqitch-merge --verbose                                                                                                                                                                                           
Path to sqitch plan file [./sqitch.plan]: ./db/migrations/sqitch.plan                                                                                                                                              
27 items found in plan                                                                                                                                                                                             
Choose range to merge from following 27 items                                                                                                                                                                      
1. 0000000000_initial                                    # Add schema for KEA             

Keybase proof

I hereby claim:

  • I am creatorrr on github.
  • I am diwank (https://keybase.io/diwank) on keybase.
  • I have a public key ASC7xYGYRh3fGiEhzazfsjr0BPLfNIv6YJ27dTdtpx15Mwo

To claim this, I am signing this object:

@creatorrr
creatorrr / right_mirrorboard.vimrc
Last active September 12, 2021 19:29
Right-handed MirrorBoard vim key-mapping
"
" Right-handed MirrorBoard one-hand keymapping
" Diwank Singh
" Dated: 2016-09-29
"
" Original:
" " MirrorBoard one-hand keymapping
" " Hacked together by Randall Munroe and neale
" " 2007-06-25
// LZW-compress a string
function lzw_encode(s) {
var dict = {};
var data = (s + "").split("");
var out = [];
var currChar;
var phrase = data[0];
var code = 256;
for (var i=1; i<data.length; i++) {
currChar=data[i];
#!/bin/sh
# User Home Directory
USER_HOME=$(eval echo ~${SUDO_USER})
echo "Let's get rolling."
apt-get -y update
# Installing stuff