Skip to content

Instantly share code, notes, and snippets.

Justin Soliz justinsoliz

Block or report user

Report or block justinsoliz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
justinsoliz /
Created Sep 16, 2018 — forked from ygotthilf/
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out
cat jwtRS256.key
# bash commands per
git submodule deinit <path_to_submodule>
git rm <path_to_submodule>
git commit-m "Removed submodule "
rm -rf .git/modules/<path_to_submodule>
justinsoliz / ssms_install.ps1
Created Feb 17, 2018
Powershell - Install Sql Server Management Studio
View ssms_install.ps1
# Set file and folder path for SSMS installer .exe
#If SSMS not present, download
if (!(Test-Path $filepath)){
write-host "Downloading SQL Server 2016 SSMS..."
$URL = ""
$clnt = New-Object System.Net.WebClient
View gist:2f3b3b07f9b49664c97d6cdfb3a1b85d
(new-object System.Net.WebClient).DownloadFile('', 'c:/temp/chrome.exe');. c:/temp/chrome.exe /silent /install;rm c:/temp -rec
justinsoliz /
Last active Apr 7, 2017
continuous integration scripts for express apps + babel + aws s3
# clean build directory
rm -rf $BUILD_DIR
mkdir -p $BUILD_DIR/lib
# copy package.json
justinsoliz / .babelrc
Last active Aug 10, 2017
express + aws serverless proxy
View .babelrc
"presets": [ "es2015", "flow" ],
"plugins": ["transform-object-rest-spread"]
justinsoliz / jenkins-ci-packer.json
Last active Apr 6, 2017
Packer definition for jenkins ci executor
View jenkins-ci-packer.json
"variables": {
"aws_access_key": "",
"aws_secret_key": ""
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-west-2",
justinsoliz / lambda_kinesis_handler.js
Last active Mar 13, 2019
Terraform with lambda and kinesis
View lambda_kinesis_handler.js
// applications/kinesis_streamer/lib/handler.js
import AWS from 'aws-sdk';
const kinesis = new AWS.Kinesis();
export function receiveEvent(event, context, callback) {
console.log(`Event: ${JSON.stringify(event, null, 2)}`);
console.log(`Context: ${JSON.stringify(context, null, 2)}`);
const base64Data = event.Records[0];
justinsoliz / cloud-config.yml
Last active Dec 24, 2018
Terraform definition for Jenkins with ECS, EFS, CoreOS
View cloud-config.yml
- path: /etc/conf.d/nfs
permissions: '0644'
content: |
- name: update-engine.service
You can’t perform that action at this time.