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;
+}
+
$ svn diff -r 2937:3395 ./mits-cw-parent/cw-webapp/src/main/webapp/adidas/home/view/session/athleteTableCompleted.xhtml
Index: mits-cw-parent/cw-webapp/src/main/webapp/adidas/home/view/session/athleteTableCompleted.xhtml
===================================================================
--- mits-cw-parent/cw-webapp/src/main/webapp/adidas/home/view/session/athleteTableCompleted.xhtml (revision 2937)
+++ mits-cw-parent/cw-webapp/src/main/webapp/adidas/home/view/session/athleteTableCompleted.xhtml (revision 3395)
@@ -10,7 +10,7 @@
<p:outputPanel id="athleteViewCompletedSession" styleClass="outputPanel" rendered="#{scheduleBean.selectedEvent.eventType == 'SESSION' and scheduleBean.selectedEvent.isComplete()}">
<p:dataTable id="completedAthleteDataTable" var="pointGroup" value="#{scheduleBean.selectedSessionDataPointGroupList}"
- sortBy="#{pointGroup.groupType}" selectionMode="single" >