Skip to content

Instantly share code, notes, and snippets.

Andrew Kolesnikov andrewkolesnikov

View GitHub Profile
@andrewkolesnikov
andrewkolesnikov / cq5-content-copy
Last active Dec 19, 2015
CQ5 content migration from author instance to dev instance
View cq5-content-copy
#!/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"
View gist:5357069
--- untitled
+++ (clipboard)
@@ -5,9 +5,11 @@
endDate:1381463999999
_charset_:utf-8
tzOffset:14400000
-to:500
filterExtended:true
+ajaxScrolling:false
ascing:asc
View gist:5197492
{
"file_exclude_patterns":
[
".project",
".classpath",
".DS_Store"
],
"folder_exclude_patterns":
[
".settings",
View shrug-blocket-scraper.rb
#!/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 Dec 13, 2015 — forked from sxua/get.rb
Exports every wall post from vkontakte.ru to a CSV Updated in Feb 2013, Ruby 1.9
View get.rb
# 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
View gist:2782243
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();
View gist:2721282
Index: home.css
===================================================================
--- home.css (revision 3706)
+++ home.css (revision 3707)
@@ -1,15 +1,68 @@
/*Home*/
+menu{
+ font-family:Arial,helvetica,Sans-Serif;
+}
+
View gist:2597077
$ 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" >
You can’t perform that action at this time.