Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rynecheow on github.
  • I am ryne_c (https://keybase.io/ryne_c) on keybase.
  • I have a public key ASANiUi0yMi2LckiLQFd-ofh5caVW6kicv8VNtkVwVU8FAo

To claim this, I am signing this object:

require 'formula'
class Oclint < Formula
homepage 'http://oclint.org'
url 'http://archives.oclint.org/nightly/oclint-0.9.dev.d18b401-x86_64-darwin-14.5.0.tar.gz'
version '0.9.dev.d18b401'
sha1 '357182ca204e5740af2b6250911686a96fb8045a'
devel do
url 'http://archives.oclint.org/nightly/oclint-0.9.dev.d18b401-x86_64-darwin-14.5.0.tar.gz'
Pod::Spec.new do |s|
s.name = 'MKNetworkKit'
s.version = '0.87.1'
s.summary = 'ARC ready Networking Framework with built in authentication and HTTP 1.1 caching standards support for iOS 5+ devices.'
s.homepage = 'https://github.com/MugunthKumar/MKNetworkKit'
s.author = { 'Mugunth Kumar' => 'mugunth@steinlogic.com' }
s.source = { :git => 'https://github.com/MugunthKumar/MKNetworkKit.git' }
s.source_files = 'MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}'
s.ios.exclude_files = '**/*NSAlert*'
//
// PolygonalView.swift
// Freebie
//
// Created by Ryne Cheow on 10/5/14.
// Copyright (c) 2014 Ryne Cheow. All rights reserved.
//
import UIKit
@rynecheow
rynecheow / HexagonalView.swift
Created October 5, 2014 04:38
Create an IB live hexagonal view
//
// HexagonalView.swift
//
// Created by Ryne Cheow on 10/5/14.
// Copyright (c) 2014 Ryne Cheow. All rights reserved.
//
import UIKit
@IBDesignable
@rynecheow
rynecheow / RCPanMouseAdapter.java
Last active November 30, 2018 22:15
Java snippet that does panning around a JScrollPane by add this as the MouseListener and MouseMotionListener to the viewport of the scroll pane.
//~--- JDK imports ------------------------------------------------------------
import java.awt.Cursor;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JComponent;
import javax.swing.JViewport;