See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!/bin/bash | |
# Copied from http://docs.cilium.io/en/latest/bpf/#ubuntu | |
if [ -f /etc/fedora-release ]; then | |
time sudo dnf update | |
time sudo dnf install -y git gcc ncurses-devel elfutils-libelf-devel bc \ | |
openssl-devel libcap-devel clang llvm | |
elif [ -f /etc/debian-release ]; then | |
time sudo apt-get update | |
time sudo apt-get install -y make gcc libssl-dev bc libelf-dev libcap-dev \ |
#!/bin/bash | |
# compiled from https://docs.docker.com/engine/installation/linux/debian/#/debian-jessie-80-64-bit | |
sudo apt-get update | |
sudo apt-get dist-upgrade -y | |
sudo apt-get install apt-transport-https ca-certificates -y | |
sudo sh -c "echo deb https://apt.dockerproject.org/repo debian-jessie main > /etc/apt/sources.list.d/docker.list" | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D |
#!/bin/bash | |
echo "" | |
echo "`date`: RUNNING: brew update" | |
/usr/local/bin/brew update | |
echo "`date`: FINISHED: brew update" | |
echo "" |
Copyright 2015 Chris Eidhof | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHE |
// | |
// main.swift | |
// eventkitter | |
// | |
// Created by Deepak Gulati on 15/06/2014. | |
// Prints all the unfinished reminders from the default reminder list | |
import Foundation | |
import EventKit |
/* | |
Swift Programming Language Guide | |
"A Swift Tour" Solutions | |
https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedTour.html#//apple_ref/doc/uid/TP40014097-CH2-XID_1 | |
These are the solutions to all the "experiments" in the pre-release Swift Programming Guide | |
(released on the same day Apple announced Swift). A couple of things worth noting: | |
1. Swift syntax, e.g. array declarations, has changed since I releasd these. So this code will | |
probably cause some errors when you paste it into a playground. Should be easy enough to fix |
#import <UIKit/UIKit.h> | |
@interface TestTwoController : UIViewController <UITextFieldDelegate,UIPickerViewDataSource,UIPickerViewDelegate> | |
@end |
Find all available devices arp -a
Locate Raspberry (b8:27:eb) in Network: Pi Finder
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> | |
pkgname=nftables-git | |
pkgver=0.099.r2.g11ba325 | |
pkgrel=1 | |
pkgdesc='Netfilter nf_tables infrastructure library' | |
arch=(i686 x86_64) | |
url='http://netfilter.org/projects/nftables/' | |
license=(GPL2) | |
depends=(libmnl gmp libnftnl-git ncurses) |