Skip to content

Instantly share code, notes, and snippets.

View pvinis's full-sized avatar
🔭
hello?

Pavlos Vinieratos pvinis

🔭
hello?
View GitHub Profile
//
// GridDemoViewController.m
// JNWCollectionViewDemo
//
// Created by Jonathan Willing on 4/15/13.
// Copyright (c) 2013 AppJon. All rights reserved.
//
#import "GridDemoViewController.h"
#import "GridCell.h"
" gist
let g:gist_clip_command='pbcopy'
let g:gist_detect_filetype=1
let g:gist_open_browser_after_post=1
if ([direction isEqualToString:kIKBSnapToLineMinX]) {
switch (flipped) {
case kIKBSizeTransformFlippedXAxis:
case kIKBSizeTransformFlippedBothAxis:
if (keepProportions) {
switch (handle) {
case kIKBTransformLayerHandleMiddleRight:
snapRect.origin.x = 0;
snapRect.origin.y = change / 2 / aspectRatio;
if ([direction isEqualToString:kIKBSnapToLineMinX]) {
switch (flipped) {
case kIKBSizeTransformFlippedXAxis:
case kIKBSizeTransformFlippedBothAxis:
if (keepProportions) {
switch (handle) {
case kIKBTransformLayerHandleMiddleRight:
snapRect.origin.x = 0;
snapRect.origin.y = change / 2 / aspectRatio;
brew update && brew upgrade
### Keybase proof
I hereby claim:
* I am pvinis on github.
* I am pvinis (https://keybase.io/pvinis) on keybase.
* I have a public key whose fingerprint is 9C9F 399C 08D7 A99D F0DF B31F CEEB EF1A 5CA0 BDD8
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am pvinis on github.
* I am pvinis (https://keybase.io/pvinis) on keybase.
* I have a public key ASBSWzPl3d8PjLTqVXhu6uMQHvLaG__B-k0Togt4ZltL4Ao
To claim this, I am signing this object:
Verifying that "pvinis.id" is my Blockstack ID. https://onename.com/pvinis
@pvinis
pvinis / helper.md
Last active July 3, 2019 14:20
React Native 0.60.0 xcodeproj upgrade

For an easy upgrade experience of this file, do the following.

After all the other files have been upgraded, run yarn install and cd ios; pod install; cd ...

This will cause all the Pods to be connected. After that, open the workspace file in the ios directory, called something like MyApp.xcworkspace

This workspace contains your original project, as well as the Pods project. Expand your project and find the Libraries directory.

expanded