Skip to content

Instantly share code, notes, and snippets.

View pingwinator's full-sized avatar
📱
iOS Software Engineer

Vasyl Liutikov pingwinator

📱
iOS Software Engineer
View GitHub Profile

Mac OSX 10.10 Yosemite Development Install

THIS IS A WORK IN PROGRESS USING THE YOSEMITE BETA - DO NOT RELY ON IT!

Fresh Install

Install OSX on a fresh drive. I recommend using Disk Utility to repartition the entire drive as 1 partition, as this clears any hidden volumes.

Once the initial install is complete, the OSX Setup Assistant will create your first adminstrator account.

UISearchBar *searchBar = [[UISearchBar alloc] init];
self.navigationItem.titleView = searchBar;
UIBarButtonItem *cancelButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"cancel", @"Cancel")
style:UIBarButtonSystemItemCancel
target:self
action:@selector(cancelButtonClicked)];
self.navigationItem.rightBarButtonItem = cancelButton;
#!/bin/bash
# chkconfig: 2345 55 25
# Dashing service
# Add this file to /etc/init.d/
# Make executable
# Configure chkconfig
# Dashboard will start at boot. Check out the boot log for trouble shooting "/var/log/boot.log"
######################################################
#YOU WILL NEED TO CONFIGURE THIS FOR YOUR ENVIRONMENT#
######################################################
#!/bin/bash
#
# Build and iPhone Simulator Helper Script
# Shazron Abdullah 2011
#
# WARN: - if your .xcodeproj name is not the same as your .app name,
# this won't work without modifications
# - you must run this script in where your .xcodeproj file is
PROJECTNAME=$1
{
"id": "243157477661607639",
"user": {
"id": "243134942916117800",
"revision": 3,
"display_name": "Vasyl Liutikov",
"avatar_image_url": "https://d2rbodpj0xodc.cloudfront.net/users/243134942916117800/avatar/c59c4315-a23f-4fa4-9446-142fc03a4835.jpeg",
"followers": 0,
"following": 0,
"explicitly_followed": false,
---
BasedOnStyle: WebKit
AccessModifierOffset: -2
AlignEscapedNewlinesLeft: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
- (void)viewDidLoad
{
[super viewDidLoad];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillShown:)
name:UIKeyboardWillShowNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillBeHidden:)
stunden=`date "+%H"`
echo "Es ist $stunden Uhr"
#!/usr/bin/env bash
set -o errtrace
set -o errexit
facter_version=$1
puppet_version=$2
target_volume=$3
@pingwinator
pingwinator / doc.md
Last active December 17, 2015 15:39 — forked from dev4dev/doc.md

Git Configuration

Global ignore list

Проверить где у вас находится файл с глобальными правилами игнорирования можно коммандой

git config --global core.excludesfile

Если оказалось что у вас его нет, то выполняем следующие комманды:

cd ~