Skip to content

Instantly share code, notes, and snippets.

View 3a4oT's full-sized avatar
🇺🇦
Working from home

Petro Rovenskyy 3a4oT

🇺🇦
Working from home
View GitHub Profile
@3a4oT
3a4oT / xcodeCheck.sh
Created December 26, 2016 10:06
xcodebuild version
XCODE_BUILD_VERSION=$(xcodebuild -version | grep -o '[0-9].[0-9].[0-9]$') # => major.minor.patch
MAJOR_VERSION=(${XCODE_BUILD_VERSION//./ }[0]) # => split to array and take major value
if [[ $MAJOR_VERSION > 7 ]]; then
echo "Xcode ${XCODE_BUILD_VERSION} uses library validation. It won't load in-process plugins anymore. See https://github.com/alcatraz/Alcatraz/issues/475"
fi
/*
* MulleFoundation - the mulle-objc class library
*
* NSObject.h is a part of MulleFoundation
*
* Copyright (C) 2011 Nat!, Mulle kybernetiK.
* All rights reserved.
*
* Coded by Nat!
@3a4oT
3a4oT / GIF-Screencast-OSX.md
Created December 1, 2016 23:13 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@3a4oT
3a4oT / LowLevelWish.c
Last active January 31, 2016 16:00
Happy Birthday! Hand made present.
//
// main.c
// Wishes
//
// Created by Petro Rovenskyy on 1/31/16.
// Copyright © 2016 Petro Rovenskyy. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
@3a4oT
3a4oT / my fork of uno-zen theme install script
Last active October 20, 2015 09:09
This them include install script. Since I have plan to customize this theme I forked it. Short link http://git.io/vWUyS. to install 'curl -sSL http://git.io/vcIHr | sh'
#!/bin/bash
if [ -d "uno-zen" ]; then
echo "\nUno Zen is already installed. Maybe you want to update? Run:"
echo "\ncd uno-zen && sh scripts/update.sh\n"
exit
fi
git clone https://github.com/3a4oT/uno-zen.git && cd uno-zen