Skip to content

Instantly share code, notes, and snippets.

👻
reactiveX

Kalana Perera KalanaPerera

👻
reactiveX
  • XYZ
  • Sri Lanka <3
Block or report user

Report or block KalanaPerera

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@KalanaPerera
KalanaPerera / php-html-css-js-minifier.php
Created Aug 30, 2016 — forked from tovic/php-html-css-js-minifier.php
PHP Function to Minify HTML, CSS and JavaScript
View php-html-css-js-minifier.php
<?php
/**
* ----------------------------------------------------------------------------------------
* Based on `https://github.com/mecha-cms/mecha-cms/blob/master/engine/plug/converter.php`
* ----------------------------------------------------------------------------------------
*/
@KalanaPerera
KalanaPerera / move_to_rds.rb
Created Aug 8, 2016 — forked from guenter/move_to_rds.rb
A quick and dirty script to move a database into Amazon RDS (or any other database). Can transfer part of the data beforehand.
View move_to_rds.rb
require 'fileutils'
start_time = Time.now
SOURCE_DB = {
:name => 'db_name',
:user => 'db_user',
:password => 'db_pass',
:host => 'localhost'
You can’t perform that action at this time.