Skip to content

Instantly share code, notes, and snippets.

View AndriyShepitsen's full-sized avatar

Andriy Shepitsen AndriyShepitsen

View GitHub Profile
@AndriyShepitsen
AndriyShepitsen / my_masterblade_script.php
Created June 28, 2013 16:54
My master.blade Script
<script>
document.write('<script src=' +
('_proto_' in {} ? 'comp/javascripts/vendor/zepto' : 'comp/javascripts/vendor/jquery') +
'.js><\/script>')
</script>
@AndriyShepitsen
AndriyShepitsen / master.blade.php
Last active December 19, 2015 02:49
My Foundation Styles in Laravel
<script>
document.write('<script src=' +
('_proto_' in {} ? 'comp/javascripts/vendor/zepto' : 'comp/javascripts/vendor/jquery') +
'.js><\/script>')
</script>
{{HTML::script("comp/javascripts/foundation/foundation.js")}}
{{HTML::script("comp/javascripts/foundation/foundation.alerts.js")}}
@AndriyShepitsen
AndriyShepitsen / master.blade.php
Created June 28, 2013 16:39
My Laravel Head Styles
<!-- //LOCATION: remax/public
<!-- //<!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Remax First Class Realty</title>
{{HTML::style("comp/stylesheets/normalize.css" )}}
{{Form::open(array('url'=>'/login'))}}
{{ Form::email('email', $value = null, $attributes = array())}}
{{ Form::password('password', $value = null, $attributes = array())}}
{{ Form::submit('Login', $attributes = array('class'=>'button tiny radius'))}}
{{Form::close()}}
@AndriyShepitsen
AndriyShepitsen / artisanCommandNewsTable.txt
Created June 23, 2013 17:18
artisan commands for migration News
php artisan generate:migration create_news_table --fields="title:string, body:text" - generate table news
php artisan migrate - run migration
php artisan db:seed - start seeding
php artisan migrate --seed - umeste
php artisan migrate:reset
php artisan generate:model news
<a class="close-reveal-modal">&#215</a>
/* My slideDown mail form starts here */
$('#mailIcon1').on('click', function(){
$('#inline').slideDown();
});
$('#close').on('click', function(){
$('#inline').slideUp();
})
@AndriyShepitsen
AndriyShepitsen / foundation_reveal_modal_vindow_with_picture.php
Last active December 18, 2015 09:18
foundation_reveal_modal_window_with_picture
<div class="row">
<div class="large-10 large-centered columns">
<p><a href="#" data-reveal-id="larue"> <img src="comp/img/thumbs/larue.jpg" alt="LaVonne L. LaRue. Click to enlargel" class="th"></a></p>
<div id="larue" class="reveal-modal">
<h2> LaVonne L. LaRue</h2>
<p><img src="comp/img/big-larue.jpg" alt="LaVonne LaRue. "class="floatleft" >LaVonne’s giant-sized paintings all around Chicago tell the story of love, nature, and conservation - themes that are central to her heart. LaVonne will share her love and skill of graffiti art on Monday’s schedule, as she starts the painting of a 20-foot high wall in the Rousseau Room of Hotel Contempo in front of a standing-room only audience in Art in Unexpected Places.</p>
<a class="close-reveal-modal">&#215</a>
</div>
</div>
</div>
@AndriyShepitsen
AndriyShepitsen / foundation_reveal_modal_window_with_button.php
Created June 11, 2013 19:30
foundation_reveal_modal_window_with_button
<div class="row">
<div class="large-10 large-centered columns">
<p><a href="#" class="button large" data-reveal-id="larue">LaVonne L. LaRue</a></p>
<div id="larue" class="reveal-modal">
<h2> LaVonne L. LaRue</h2>
<p><img src="comp/img/big-larue.jpg" alt="LaVonne LaRue. "class="floatleft" >LaVonne’s giant-sized paintings all around Chicago tell the story of love, nature, and conservation - themes that are central to her heart. LaVonne will share her love and skill of graffiti art on Monday’s schedule, as she starts the painting of a 20-foot high wall in the Rousseau Room of Hotel Contempo in front of a standing-room only audience in Art in Unexpected Places.</p>
<a class="close-reveal-modal">&#215</a>
</div>
</div>
</div>