Skip to content

Instantly share code, notes, and snippets.

View julindra's full-sized avatar
🏠
Working from home

Renhard Julindra julindra

🏠
Working from home
View GitHub Profile
@julindra
julindra / deploy.md
Last active February 28, 2022 09:59
Heroku & Firebase Hosting
@julindra
julindra / KG-05-P1
Last active October 16, 2020 06:24
zh groups P1 2020-09-28
agra (Fitrah)
akbarhabiby
Bima Krishna
Farhan Haryawan
Febrian Aditya
Jeplind Morico
M Abrar Na'im
torian
Yopi K P
@julindra
julindra / android app build.gradle
Last active June 18, 2019 05:56
build appbundle error
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
@julindra
julindra / tour
Created November 2, 2017 07:56
Javascript Tour/Instruction Lib
http://bootstraptour.com/
https://github.com/HubSpot/shepherd
http://introjs.com/
https://github.com/xbsoftware/enjoyhint/
https://github.com/easelinc/tourist
https://github.com/linkedin/hopscotch
https://github.com/tommoor/crumble
https://github.com/clu3/bootstro.js
https://zurb.com/playground/jquery-joyride-feature-tour-plugin
https://github.com/heelhook/chardin.js
@julindra
julindra / composer
Last active September 2, 2017 16:27
sudo apt-get install curl php-cli git
curl -sS https://getcomposer.org/installer | sudo php -- --install- dir=/usr/local/bin --filename=composer
#!/bin/sh
sudo service nginx start
sudo service php7.0-fpm start
sudo service mysql start
echo "Mantap Jiwa"
@julindra
julindra / stop.sh
Created January 8, 2017 06:00
Disable autostart
sudo update-rc.d -f nginx disable
sudo update-rc.d -f php7.0-fpm disable
sudo update-rc.d -f mysql disable
[
{ "keys": ["ctrl+shift+r"], "command": "reindent" , "args": { "single_line": false } }
]
version="2.4.11"
echo "Removing any pre-installed ffmpeg and x264"
sudo apt-get -qq remove ffmpeg x264 libx264-dev
echo "Installing Dependenices"
sudo apt-get -qq install libopencv-dev build-essential checkinstall cmake pkg-config yasm libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libqt4-dev libgtk2.0-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264
sudo apt-get -qq install v4l-utils ffmpeg cmake qt5-default checkinstall
echo "Downloading OpenCV" $version
echo "Installing OpenCV" $version
@julindra
julindra / .htaccess
Last active May 6, 2017 08:41
.htaccess for CodeIgniter
RewriteEngine On
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
#OR
RewriteEngine on
RewriteBase /namafolder/