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

On Mac OS X:

  • Install puppet 3.0.2, facter 1.6.17 and hiera 1.1.2
  • create /etc/puppet/puppet.conf
  • configure launchd puppet daemon
  • initial puppet run
@pingwinator
pingwinator / first_run.sh
Last active December 14, 2015 05:49
1 - install last version for puppet (3.1.0) 2 - install xcode command line tools 3 - install homebrew usage bash -s < <(curl -s https://raw.github.com/gist/5038571/first_run.sh)
#!/usr/bin/env bash
bash -s 1.7.1 3.2.1 / < <(curl -s https://raw.github.com/gist/5672046/install_puppet_mac.sh)
bash -s < <(curl -s https://raw.github.com/gist/5038571/install_cli.sh)
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew doctor
@pingwinator
pingwinator / .gitignore
Last active December 16, 2015 03:39 — forked from dev4dev/.gitignore
Thumbs.db
.Trash
# Exclude the build directory
build
# Exclude OS X folder attributes
.DS_Store
# Exclude user-specific XCode 3 and 4 files
@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 ~
#!/usr/bin/env bash
set -o errtrace
set -o errexit
facter_version=$1
puppet_version=$2
target_volume=$3
stunden=`date "+%H"`
echo "Es ist $stunden Uhr"
- (void)viewDidLoad
{
[super viewDidLoad];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillShown:)
name:UIKeyboardWillShowNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillBeHidden:)
---
BasedOnStyle: WebKit
AccessModifierOffset: -2
AlignEscapedNewlinesLeft: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
{
"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,
#!/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