Skip to content

Instantly share code, notes, and snippets.

View tuanpembual's full-sized avatar

Estu Fardani tuanpembual

View GitHub Profile
String app = "JobGitHUb"
folder("${app}") {
description "Semua jobs dari github"
}
job("${app}/Package") {
description "Ini adalah\nDeskripsi"
logRotator {
daysToKeep(7)
@tuanpembual
tuanpembual / JobGithub_General.groovy
Last active February 23, 2017 03:11
Jenkins Jobs
String app = "JobGitHUb"
folder("${app}") {
description "Semua jobs dari github"
}
job("${app}/Package") {
description "Ini adalah\nDeskripsi"
logRotator {
daysToKeep(7)
import sys
x= [115,101,108,97,109,97,116,32,117,108,97,110,103,32,116,
97,104,117,110,32,107,101,32,52,53, 32,112,97,107,32,121,
97,110,46,32,83,101,109,111,103,97,32,115,101,104,97,116,
32,115,101,108,97, 108,117,44,32,98,97,104,97,103,105,97,
32,100,117,110,105,97,32,100,97,110,32,97,107,104,105,114,
97, 116,46,32,97,109,105,110,33]
for z in [chr(y) for y in x ] : sys.stdout.write(z)
@tuanpembual
tuanpembual / tmux-cheatsheet.markdown
Created December 24, 2016 11:00 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@tuanpembual
tuanpembual / devops_training.txt
Created December 23, 2016 07:59 — forked from ssmythe/devops_training.txt
Training materials for DevOps
======
Videos
======
DevOps
What is DevOps? by Rackspace - Really great introduction to DevOps
https://www.youtube.com/watch?v=_I94-tJlovg
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept)
@tuanpembual
tuanpembual / README.md
Last active November 3, 2016 06:44
How install manokwari

Memasang Manokwari di Fedora Workstation 24

Mesin x240 ini rencananya akan menemani saya ke FUDCon APAC 2016 Phnom Penh, November mendatang. Maka dipasanglah Fedora Workstation 24 x64 dengan mode netinstall dan menggunakan GNOME sebagai DE bawaan.

Karena eh karena punya baju dev, maka kudu bawa aroma dev ke x240. Tantangan diterima; memasang manokwari di fedora.

Caranya adalah:

  • Mulai dengan bismillah
@tuanpembual
tuanpembual / nmapplet.desktop
Created October 28, 2016 01:23
.config/autostart/nmapplet.desktop
[Desktop Entry]
Name=NmApplet
Exec=/usr/bin/nm-applet
Terminal=false
Type=Application
X-GNOME-Autostart-enable=true
@tuanpembual
tuanpembual / blankon-session
Created October 28, 2016 00:30
BIankOn Session for Manokwari
#! /bin/sh
export TRY_B_I=YES
if [ -x /usr/bin/blankon-session-try-installer ];then
. /usr/bin/blankon-session-try-installer
fi
L=`dbus-send --system --print-reply --type=method_call --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.DBus.Properties.Get string:'org.freedesktop.Accounts.User' string:'Language' 2>/dev/null|tail -1|awk '{print $3}'|sed -e s/\"//g`
if [ "x$L" != "x" ];then
@tuanpembual
tuanpembual / digitalocean-proxy.sh
Created August 11, 2016 10:10 — forked from haf/LICENSE
Setting up a digitalocean proxy
#!/usr/bin/env bash
# How to start:
# 1. Sign up for DigitalOcean with this link https://www.digitalocean.com/?refcode=7bf219507e61
# -- it will be filled with $10 to start out (if you use the above link)
# 2. Go to https://cloud.digitalocean.com/settings/applications and find you API key
# 3. In your shell, run 'export DIGITALOCEAN_TOKEN="INSERT TOKEN HERE"', without the outer quotes.
# 4. `brew install jq`
# 5. `./digitalocean-proxy`
# 6. When you are done, press CTRL+C ONCE, and everything will be cleaned up.
@tuanpembual
tuanpembual / big.sh
Created December 12, 2015 08:19
script for install BigBlueButton in Ubuntu 14.04 LTS
#!/bin/bash
## set repo
sudo cp /etc/apt/sources.list /etc/apt/sources.list.ori
sudo echo "
deb http://repo.ugm.ac.id/ubuntu/ trusty main restricted universe multiverse
deb http://repo.ugm.ac.id/ubuntu/ trusty-updates main restricted universe multiverse
deb http://repo.ugm.ac.id/ubuntu/ trusty-security main restricted universe multiverse
" > /etc/apt/sources.list
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get -y dist-upgrade