Skip to content

Instantly share code, notes, and snippets.

View lynnlangit's full-sized avatar
🏗️
building

Lynn Langit lynnlangit

🏗️
building
View GitHub Profile
#!/usr/bin/env nextflow
params.str = 'Hello world!'
process splitLetters {
output:
file 'chunk_*' into letters
"""
#!/usr/bin/env nextflow
nextflow.enable.dsl=2
process sayHello{
input:
val djaeet
output:
stdout
@lynnlangit
lynnlangit / GCP-SDK DOCKERFILE
Created November 12, 2020 18:37
GCP SDK DOCKERFILE
FROM google/cloud-sdk:295.0.0
# Tell gcloud to save state in /.config so it's easy to override as a mounted volume.
ENV HOME=/
# install python3 to make that also available - modified from https://tecadmin.net/install-python-3-7-on-ubuntu-linuxmint/
RUN apt-get install -y build-essential checkinstall \
&& apt-get install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev \
tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev liblzma-dev\
&& cd /usr/bin \
@lynnlangit
lynnlangit / alibaba-cloud-to-aws.csv
Last active March 9, 2022 05:02
Compare Alibaba Cloud Services to AWS
Category Type Alibaba AWS Notes
Security Resources RAM IAM for users/roles/permissions via policies
Storage Objects OSS s3 not all features in USRegion
Storage Blocks EBS EBS with Compute (VMs)
Storage Other NAS EFS file server
Compute VMs ECS EC2 n/a
Compute Containers Container Service EKS/ECS/Fargate differs
Compute Functions Function Compute Lambda n/a
Data RDBSM ApsaraDB for RDS RDS n/a
Data Serverless NoSQL TableStore DynamoDB n/a
@lynnlangit
lynnlangit / visualizing-cloud-systems-links.csv
Last active February 8, 2020 19:33
List of links for talks Fall 2019
@lynnlangit
lynnlangit / script.csv
Last active July 1, 2022 14:36
GCP CloudBuild CI/CD Demo
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
# Start
[https://cloud.google.com/kubernetes-engine/docs/tutorials/gitops-cloud-build](https://cloud.google.com/kubernetes-engine/docs/tutorials/gitops-cloud-build)
gcloud commands as a GitHub gist - [https://gist.github.com/lynnlangit/725f44779641a0e2c5b2bacb9768e04e](https://gist.github.com/lynnlangit/725f44779641a0e2c5b2bacb9768e04e)
# Use GCP test project
gcloud config set project [PROJECT_ID]
# Enable APIs
@lynnlangit
lynnlangit / LinkedList.cpp
Created March 29, 2019 18:21
Linked List
#include <iostream>
#include <cstdlib>
class Node
{
public:
Node* next;
int data;
};
@lynnlangit
lynnlangit / index.html
Created January 21, 2019 22:19
Solution file for Waterfall Express HERE Technologies and AWS Serverless Application Repository DevLab
<!DOCTYPE html>
<html style="background-image:url(img/watefall01.jpg)">
<head>
<meta charset="utf-8" />
<title>Waterfall Express</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
@lynnlangit
lynnlangit / vs-eks-params.csv
Created October 5, 2018 02:25
Configuration & Parameter Concerns for VariantSpark on AWS EKS
Type Service Notes
Data S3 Location & input file types
Compute EC2 Type & Quantity & Pricing
Kubernetes & Hadoop EKS Number of cores & total memory & Driver config
Spark Spark Spark version & executor count/size & more
Algorithm VariantSpark Input files & Tree-building params