Skip to content

Instantly share code, notes, and snippets.

View tigefa4u's full-sized avatar
📉
🚀 😧 ☕ 🚬

Sugeng Tigefa tigefa4u

📉
🚀 😧 ☕ 🚬
View GitHub Profile
Mint/Ubuntu - install php70 with brew
Cannot find /usr/sbin/apxs:
$ sudo apt-get install apache2-dev;
$ sudo ln -s /usr/bin/apxs /usr/sbin/apxs;
$ sudo ln -s /usr/bin/apxs2 /usr/sbin/apxs2;
configure: error: Cannot find sys/sdt.h which is required for DTrace support:
$ sudo apt-get install systemtap-sdt-dev;
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="your-old-email@example.com"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
@tigefa4u
tigefa4u / cracking.md
Created October 8, 2016 22:38 — forked from vertexclique/cracking.md
Cracking guide for Sublime Text 3 Build 3059 / 3065 ( Mac / Win x86_64 / Windows x86 / Linux x64 / Linux x86 )

MacOS

Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text

Keybase proof

I hereby claim:

  • I am tigefa4u on github.
  • I am tigefa (https://keybase.io/tigefa) on keybase.
  • I have a public key whose fingerprint is 1517 AFB6 D0F1 2F69 AFC5 BCC1 3525 D207 0632 6DDF

To claim this, I am signing this object:

#
# Build dependencies on Debian / Ubuntu
# In order to build Varnish from source you need a number of packages installed. On a Debian or Ubuntu system these are:
#
sudo apt-get automake autotools-dev libedit-dev libjemalloc-dev libncurses-dev libpcre3-dev libtool pkg-config python-docutils python-sphinx graphviz
#
# Download the appropriate release tarball, which you can find on http://repo.varnish-cache.org/source/
# Alternatively, if you want to hack on Varnish, you should clone our git repository by doing.
#
@tigefa4u
tigefa4u / Dockerfile
Last active July 19, 2016 08:52
My Boot Ubuntu
# Initial
#
# Version 0.0.1
FROM ubuntu:latest
RUN apt-get update && apt-get install -y redis-server build-essential
EXPOSE 6379
ENTRYPOINT ["/usr/bin/redis-server"]
@tigefa4u
tigefa4u / install_jenkins_plugin.sh
Created May 26, 2016 20:19 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins
@tigefa4u
tigefa4u / Rakefile
Created May 24, 2016 13:45 — forked from stephanvd/Rakefile
CodeCov setup for parallel_test gem
namespace :codecov do
desc 'Uploads the latest simplecov result set to codecov.io'
task upload: :environment do
require 'simplecov'
require 'codecov'
formatter = SimpleCov::Formatter::Codecov.new
formatter.format(SimpleCov::ResultMerger.merged_result)
end
end
@tigefa4u
tigefa4u / svn-index.xsl
Created April 23, 2016 19:38 — forked from Sija/svn-index.xsl
XSLT file for SVN web indexes
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
version="1.0"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="*"/>
<xsl:template match="svn">
<html>
@tigefa4u
tigefa4u / node_apache.apacheconf
Created February 22, 2016 22:42 — forked from iMagdy/node_apache.apacheconf
This virtualhosts snippet will make your nodejs app run on the traditional port 80, so mynodeapp.com:3000 will simply work on mynodeapp.com without adding :3000. it's that simple :) remember to enable apache modules proxy and proxy_http ($ sudo a2enmod proxy && sudo a2enmod proxy_http)
<VirtualHost *:80>
ServerAdmin isl@m.magdy
ServerName js.io
ServerAlias js.io
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all