Skip to content

Instantly share code, notes, and snippets.

View whiteshadoww's full-sized avatar
🎯
Focusing

Edwin Bello whiteshadoww

🎯
Focusing
View GitHub Profile
@whiteshadoww
whiteshadoww / buckets.tf
Created May 27, 2020 13:20 — forked from ppshein/buckets.tf
Terraform config for static website hosting on AWS
# AWS S3 bucket for static hosting
resource "aws_s3_bucket" "website" {
bucket = "${var.website_bucket_name}"
acl = "public-read"
tags {
Name = "Website"
Environment = "production"
}
@whiteshadoww
whiteshadoww / app_build.gradle
Last active May 26, 2020 05:48
gradle configs
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
signingConfigs {
release {
storeFile file("$projectDir/keyname.jks")
storePassword ''
#!/bin/bash
MYDIR=$(dirname $0)
STATFILE=$MYDIR/command.pid
COMMAND_MARK="myprocess.jar"
MEMORY_OPTIONS="-Xms32m -Xmx256m"
MISC_OPTIONS="-Djava.awt.headless=true"
LOG_FILE=console.log