Skip to content

Instantly share code, notes, and snippets.

Krzysztof Kowalczyk kjk

Block or report user

Report or block kjk

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 install-new-relic.yml
- name: Register New Relic repository.
get_url: url=
- name: Download repo key.
apt_key: url=
- name: Install New Relic.
apt: pkg=newrelic-sysmond update_cache=yes
dmitshur / Default (OSX).sublime-keymap
Last active Aug 29, 2015
Sublime Text on OS X, make Cmd+F do the equivalent of Cmd+E followed by Cmd+F. Works for all selections, not just single line like "find_selected_text" setting.
View Default (OSX).sublime-keymap
// ... (existing content)
// Find selected text, even if it spans multiple lines (unlike "find_selected_text").
{ "keys": ["super+f"], "command": "run_multiple_commands", "args":
{ "commands":
// Only execute slurp if there's selected text.
{"command": "slurp_find_string", "context": "window", "condition": "selected_text"},
{"command": "show_panel", "args": {"panel": "find", "reverse": false}, "context": "window"}
dmitshur / Default (OSX).sublime-keymap
Created Nov 17, 2014
Add folder that contains current file to sidebar, for Sublime Text. Goes well with Cmd+.,Cmd+O of GoSublime until is resolved.
View Default (OSX).sublime-keymap
// ... (existing content)
// Add folder that contains current file to sidebar.
{ "keys": ["f3"], "command": "add_to_project" },
// ...
henry0312 /
Created Nov 27, 2011
Build MinGW Cross Compiler on Mac OS X Lion
# 初期設定
export PATH="$HOME/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
# ソースコードのダウンロード
if [ ! -d $WORK/src ] ; then
mkdir src
View LayoutViewController.cs
using System;
using MonoTouch.UIKit;
using System.Drawing;
namespace Async.iOS
public class LayoutViewController : UIViewController
UITextField text;
UIButton button;
mridgers / pdbdump.c
Created Jun 21, 2012
Small tool to list and query symbols in PDB files.
View pdbdump.c
// pdbdump.c - dump symbols from .pdb and executable files (public domain).
// - to compile; cl.exe /Ox /Zi pdbdump.c
// -
// - Martin Ridgers, pdbdump 'at'
#include <stdio.h>
#include <Windows.h>
#include <DbgHelp.h>
praeclarum / Layout.cs
Created Mar 16, 2013
A C# syntax for NSLayoutConstraints.
View Layout.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using MonoTouch.UIKit;
namespace Async.iOS
public static class Layout
cryptix / client.go
Created Jun 22, 2014
multipart upload with io.Pipe
View client.go
package main
import (
cryptix / vineScrape.go
Created Aug 27, 2014
extract a javascript object value from a html page using goquery and otto
View vineScrape.go
package main
import (
praeclarum / EasyLayout.cs
Last active Aug 19, 2019
**OUT OF DATE** Please use the NuGet package or the code on GitHub (EasyLayout makes writing auto layout code in Xamarin.iOS easier. See [the example]( for hints on how to use this library.)
View EasyLayout.cs
// Copyright (c) 2013-2015 Frank A. Krueger
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
You can’t perform that action at this time.