Skip to content

Instantly share code, notes, and snippets.

View rameshanandakrishnan's full-sized avatar

Ramesh Anandakrishnan rameshanandakrishnan

View GitHub Profile
<?= \Uri::create('assets/img/preloaders/large-search-preloader.gif');?>
<?php echo Lang::get('my_account') ?>
<?php echo Casset::img('test.jpg', 'alt text', array('width' => 200)); ?>
<?php echo event::trigger('company_logo')?>
@rameshanandakrishnan
rameshanandakrishnan / gist:9207657
Created February 25, 2014 12:06
absolute centering
.absolute-Center {
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
}
animation = "none"
animation-delay = "0"
animation-direction = "normal"
animation-duration = "0"
animation-fill-mode = "none"
animation-iteration-count = "1"
animation-name = "none"
animation-play-state = "running"
animation-timing-function = "ease"
backface-visibility = "visible"
@rameshanandakrishnan
rameshanandakrishnan / gitCommit
Created June 6, 2014 11:39
Rolling back to a specific commit
#To roll back to specific commit
# Resets index to former commit; replace '56e05fced' with your commit code
git reset 56e05fced
# Moves pointer back to previous HEAD
git reset --soft HEAD@{1}
git commit -m "Revert to 56e05fced"
var tcc = {};
//VerticalAccordion component
tcc.component = function(ele){
return{
//verticalAccordion
verticalSlider : function(e){
$(e).click(function(event){
var parent = $(event.target).parent();
parent.toggleClass(" active").find("> ul").slideToggle();
<a href="whatsapp://send?text={{ product.title | escape }} {{ shop.url | escape }}{{ product.url | escape }}">