Skip to content

Instantly share code, notes, and snippets.

➜ hitfood git:(dev) ✗ unicorn -c unicorn.conf
I, [2014-04-01T16:44:59.615308 #70334] INFO -- : listening on addr=0.0.0.0:1600 fd=9
I, [2014-04-01T16:44:59.615515 #70334] INFO -- : worker=0 spawning...
I, [2014-04-01T16:44:59.616840 #70334] INFO -- : master process ready
I, [2014-04-01T16:44:59.618803 #70335] INFO -- : worker=0 spawned pid=70335
I, [2014-04-01T16:44:59.619630 #70335] INFO -- : Refreshing Gem list
/Users/pavelscheglov/.rvm/gems/ruby-2.0.0-p247@hitfood/gems/carrierwave-0.9.0/lib/carrierwave/uploader/configuration.rb:80: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.1.0]
-- Crash Report log information --------------------------------------------
module CarrierWave
module Uploader
module DefaultUrl
alias_method :orig_url, :url
def url(*args)
"http://hitfood.ru/#{orig_url(*args)}"
end
end
end
end
➜ hitfood git:(dev) ✗ unicorn -c unicorn.conf
I, [2014-04-01T16:55:57.622525 #70482] INFO -- : listening on addr=0.0.0.0:1600 fd=9
I, [2014-04-01T16:55:57.622712 #70482] INFO -- : worker=0 spawning...
I, [2014-04-01T16:55:57.626225 #70483] INFO -- : worker=0 spawned pid=70483
I, [2014-04-01T16:55:57.627611 #70483] INFO -- : Refreshing Gem list
I, [2014-04-01T16:55:57.630022 #70482] INFO -- : master process ready
/Users/pavelscheglov/.rvm/gems/ruby-2.0.0-p247@hitfood/gems/redis-3.0.7/lib/redis/errors.rb:8: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.1.0]
-- Crash Report log information --------------------------------------------
}, {
elements: [
slider_text('text', null, null)
red("Выбери свой комфорт"),
{
css: 'noop',
content: ''
in: ->
console.log 'modelIn'
gallery.modelIn()
#page:before {
content: "";
background: url('http://kudykina-gora.com/wp-content/themes/mytheme/images/page_bg.png') repeat;
display: block
position: fixed;
width: 100%;
height: 300%;
top:0;
left:0;
z-index: -1;
$(function () {
$('#page').append($("<div class='bg'></div>"));
});
$(window).scroll(function (e) {
parallax();
});
function parallax() {
var scrolled = $(window).scrollTop();
@hrumhrumble
hrumhrumble / gist:9949751
Last active August 29, 2015 13:58 — forked from ig-l/gist:9949739
$(window).scroll(function(e){
parallax();
});
function parallax() {
var scrolled = $(window).scrollTop();
var list_1 = parseInt($('.list_left1').css('top'));
$('#bg').css('top', -(scrolled * 0.2) + 'px');
$('.list_left1').css('top', list_1 + (scrolled * 0.3) + 'px');
# DEMO - fun-box.ru
showProgress = ->
counter = ->
count = $(".pace-progress").attr("data-progress")
countDone = 99
bug = $('.pace-progress').find('.bug')
if bug.length < 1
$('.pace-progress').append("
# DEMO - http://darenta.ru/
class Car
constructor: ($element)->
@element = $element
@window = $(window)
@car_offset_top = 369
@car_offset_bottom = 123
@window.on "scroll", => @go()
//DEMO - http://pavelshcheglov.com/portfolio/comment-box/
$(function(){
$(".comments.add").on("click", "button", function(e){
e.preventDefault();
$("button").prop("disabled", true);
$("textarea").prop("disabled", true);
$(".loader").show();
setTimeout(function() {
$.ajax({
url: "_php/action_insert.php",