Skip to content

Instantly share code, notes, and snippets.

View andrewkolesnikov's full-sized avatar

Andrew Kolesnikov andrewkolesnikov

View GitHub Profile
@andrewkolesnikov
andrewkolesnikov / cq5-content-copy
Last active December 19, 2015 00:29
CQ5 content migration from author instance to dev instance
#!/bin/bash
# Example: install_pkg.sh /etc/packages/my_packages/Auctions-Data.zip /etc/packages/my_packages/news-video-for-dev.zip /etc/packages/deployment/i18n-PRDbundle.zip)
src_name="foo"
src_password="bar"
src_host="athmir1.ny.sothebys.com:4502"
dest_name="admin"
dest_password="admin"
--- untitled
+++ (clipboard)
@@ -5,9 +5,11 @@
endDate:1381463999999
_charset_:utf-8
tzOffset:14400000
-to:500
filterExtended:true
+ajaxScrolling:false
ascing:asc
{
"file_exclude_patterns":
[
".project",
".classpath",
".DS_Store"
],
"folder_exclude_patterns":
[
".settings",
#!/usr/bin/env ruby
#
# SHRUG Blocket Scraper
#
# Author: Peter Hellberg <@peterhellberg>
# Microformat: hListing <http://microformats.org/wiki/hlisting-proposal>
# License: WTFPL
require 'cgi'
require 'rubygems'
@andrewkolesnikov
andrewkolesnikov / get.rb
Last active December 13, 2015 23:39 — forked from sxua/get.rb
Exports every wall post from vkontakte.ru to a CSV Updated in Feb 2013, Ruby 1.9
# Usage:
# 1. Install required gems
# $ sudo gem install mechanize progressbar
#
# 2. Run with [vk.com|vkontakte.ru] [remixsid cookie] and [your_profile_id]
# $ ruby ./fetch.rb vk.com a528621366f13fb859a120b3a8c357dc98c1f7d93f5e66666662 8666676
# 54% |ooooooooooooooooooooooooooooooooooooooooooooooooooooo | ETA: 0:01:49
#
# 3. Enjoy the output
say 'LOL'; yes lol;
Luminarc.prototype = {
init: function() {
var currentElement;
var isPlayed = false;
initLoop();
slideTo("#luminarc-container", "#luminarc-intro", true);
$("#luminarc-launch").unbind().bind("click touchstart",
function(event) {
event.stopPropagation();
event.preventDefault();
Index: home.css
===================================================================
--- home.css (revision 3706)
+++ home.css (revision 3707)
@@ -1,15 +1,68 @@
/*Home*/
+menu{
+ font-family:Arial,helvetica,Sans-Serif;
+}
+
--- untitled
+++ (clipboard)
@@ -12,12 +12,13 @@
your athletes below 90% of max heart rate, set an alert that lets you
know when they go above this value.</p> -->
<p:panel id="drillsTable" widgetVar="alertsTable" rendered="#{!drillsSetupBean.editMode}">
- <p:dataTable var="drill" value="#{drillsSetupBean.newObjectList}" selectionMode="single" rowKey="#{drill.id}">
+ <p:dataTable var="drill" value="#{drillsSetupBean.newObjectList}" selectionMode="single" rowKey="#{drill.id}" styleClass="shadowed light">
<p:column>
<f:facet name="header">