Skip to content

Instantly share code, notes, and snippets.

💭
always paying it forward

Chris Aniszczyk caniszczyk

💭
always paying it forward
Block or report user

Report or block caniszczyk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View settings.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>sonatype-nexus-staging</id>
<username>caniszczyk</username>
<password>password</password>
@caniszczyk
caniszczyk / gist:4150193
Created Nov 26, 2012
count "fuck" or "oops" in github commit messages
View gist:4150193
SELECT repository_name, repository_language, repository_description, repository_watchers, payload_commit_msg, url, PARSE_UTC_USEC(created_at) as timestamp
FROM [githubarchive:github.timeline]
WHERE type="PushEvent"
AND (
LOWER(payload_commit_msg) CONTAINS "fuck" OR
LOWER(payload_commit_msg) CONTAINS "oops"
)
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2011-02-01 00:00:00')
ORDER BY timestamp DESC
@caniszczyk
caniszczyk / gist:3863336
Created Oct 10, 2012
GitHub Pull Requests via CLI
View gist:3863336
git config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"
View stats.coffee
stats =
time: (metric, f) ->
f()
get_time_ms: (metric) ->
0
View CheckoutCommand.java
* Copyright (C) 2010, Chris Aniszczyk <caniszczyk@gmail.com>
* Copyright (C) 2011, Matthias Sohn <matthias.sohn@sap.com>
* and other copyright owners as documented in the project's IP log.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Distribution License v1.0 which
* accompanies this distribution, is reproduced below, and is
* available at http://www.eclipse.org/org/documents/edl-v10.php
*
* All rights reserved.
View DeepLinkBundleList.java
* Copyright (c) David Orme and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* David Orme - initial API and implementation
******************************************************************************/
package org.eclipse.e4.core.deeplink;
View ColorManager.java
package abc.editors;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.widgets.Display;
@caniszczyk
caniszczyk / TagContainsTest.java
Created Feb 22, 2011
Tries to use JGit to perform git tag --contains
View TagContainsTest.java
/*
* Copyright (C) 2011, Chris Aniszczyk <caniszczyk@gmail.com>
* and other copyright owners as documented in the project's IP log.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Distribution License v1.0 which
* accompanies this distribution, is reproduced below, and is
* available at http://www.eclipse.org/org/documents/edl-v10.php
*
* All rights reserved.
@caniszczyk
caniszczyk / eclipse-egit.spec
Created Jan 26, 2011
A hcaked up eclipse-egit.spec file to play with the p2 director
View eclipse-egit.spec
%global eclipse_base %{_libdir}/eclipse
%global install_loc %{_datadir}/eclipse/
Summary: Eclipse Git plug-in
Name: eclipse-egit
Version: 0.11.1
Release: 1%{?dist}
License: EPL
URL: http://www.eclipse.org/egit/
Group: Development/Tools
@caniszczyk
caniszczyk / p2director.sh
Created Jan 25, 2011
A convenience script to launch the org.eclipse.equinox.p2.director application
View p2director.sh
#!/bin/bash
if [ $# -lt "5" ]
then
echo
echo "This script needs 5 arguments!"
echo " 1) installable unit (IU)";
echo " 2) metadata repository";
echo " 3) artifact repository";
echo " 4) eclipse directory (destination)";
echo " 5) bundle pool directory";
You can’t perform that action at this time.