Skip to content

Instantly share code, notes, and snippets.

View sarath-c-sandwich's full-sized avatar
:octocat:
Doing shit

Sarath sarath-c-sandwich

:octocat:
Doing shit
View GitHub Profile
@sarath-c-sandwich
sarath-c-sandwich / .bash_profile
Created January 26, 2017 13:03 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@sarath-c-sandwich
sarath-c-sandwich / config.json
Created November 7, 2016 03:48 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@sarath-c-sandwich
sarath-c-sandwich / App\Exceptions\Handler.php
Created November 3, 2016 05:30 — forked from jacurtis/App\Exceptions\Handler.php
How to get filp/whoops to work in Laravel 5.2 or 5.3 - Add this code to your `App\Exceptions\Handler.php` file.
/**
* Create a Symfony response for the given exception.
*
* @param \Exception $e
* @return mixed
*/
protected function convertExceptionToResponse(Exception $e)
{
if (config('app.debug')) {
$whoops = new \Whoops\Run;
@sarath-c-sandwich
sarath-c-sandwich / How to use Images as Radio buttons.md
Created April 11, 2016 16:05 — forked from rcotrina94/How to use Images as Radio buttons.md
How to use images for radio buttons (input-radio).
@sarath-c-sandwich
sarath-c-sandwich / gist:64dd237ec42ba1729589
Last active September 12, 2015 16:08 — forked from alexsegura/gist:9650651
Prestashop 1.6 folder permissions
chmod a+w -R config/
chmod a+w -R cache/
chmod a+w -R log/
chmod a+w -R img/
chmod a+w -R mails/
chmod a+w -R modules/
chmod a+w -R themes/default-bootstrap/lang/
chmod a+w -R themes/default-bootstrap/pdf/lang/
chmod a+w -R themes/default-bootstrap/cache/
chmod a+w -R translations/
{
"default_encoding": "utf-8",
"detect_indentation": false,
"disable_formatted_linebreak": true,
"ensure_newline_at_eof_on_save": true,
"find_selected_text": true,
"font_size": 11,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
@sarath-c-sandwich
sarath-c-sandwich / Integrate Google Calendar XML resource into fullcalendar
Created October 17, 2013 06:40
Integration and loading public holiday from Google Calendar into Fullcalendar rails4
1. Add rails4 Fullcalendar gem to Gemfile
gem 'fullcalendar-rails'
Then run command: bundle install
2. Copy & pasted into assets/stylesheet/application.css.scss (By default application.css, so just rename)
*= require fullcalendar
3. Copy & pasted into assets/javascript/application.js
//= require fullcalendar
//= require gcal
@sarath-c-sandwich
sarath-c-sandwich / index.php
Created June 6, 2013 03:21
my_joomla_project
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>