Skip to content

Instantly share code, notes, and snippets.

Avatar
🏃‍♂️
I've gone to look for myself. If I return before I'm back, please ask me to wait

Stefan Kecskes skecskes

🏃‍♂️
I've gone to look for myself. If I return before I'm back, please ask me to wait
View GitHub Profile
View aws-stepfunctions-local.bash
#!/bin/bash
CONTAINER_NAME=stepfunctions
STATE_MACHINE_DEFINITION=/path/to/yourstatemachine.json
STATE_MACHINE_NAME="Name of your process"
ENV_FILE=path/to/your-stepfunctions-local-credentials.txt
INPUT="{ \"myInput\": \"hello world\"}"
function get_value_from_json(){
VALUE="$(jq .$1 temporary.json)"
@skecskes
skecskes / latest-protobuf-ubuntu-18-04.md
Last active Feb 11, 2020
How to Install Latest Protobuf on Ubuntu 18.04
View latest-protobuf-ubuntu-18-04.md
sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
./configure
make
make check

sudo make install

@skecskes
skecskes / Bootlint
Created Jun 2, 2015
How to run bootlint on any page from browser
View Bootlint
###What's Bootlint?
Bootlint is a tool that checks for several common HTML mistakes in webpages that are using Bootstrap in a fairly "vanilla" way. Vanilla Bootstrap's components/widgets require their parts of the DOM to conform to certain structures. Bootlint checks that instances of Bootstrap components have correctly-structured HTML. Optimal usage of Bootstrap also requires that your pages include certain <meta> tags, an HTML5 doctype declaration, etc.; Bootlint checks that these are present.
### Run in the browser
Use the following bookmarklet that's powered by BootstrapCDN:
javascript:(function(){var s=document.createElement("script");s.onload=function(){bootlint.showLintReportForCurrentDocument([]);};s.src="https://maxcdn.bootstrapcdn.com/bootlint/latest/bootlint.min.js";document.body.appendChild(s)})();
@skecskes
skecskes / phpci.yml
Created May 9, 2015
phpci.yml Laravel 5 config
View phpci.yml
build_settings:
verbose: false
prefer_symlink: false
setup:
composer:
action: "install"
prefer_dist: false
test: