- Blackout MiniH + Fearless Super 6" upgrade
- US$149.99
- Naze32 Acro/Pro Flight Controller
- US$24.99
- (Alternative) BrainFPV Flight Controller integrated OSD
- US$129
- 4x Cobra CM2208/20 2000kv Motors
- US$25.99 EA
#!/bin/sh | |
# 2012 - Ben Clayton (benvium). Calvium Ltd | |
# Found at https://gist.github.com/2568707 | |
# | |
# This script installs a .mobileprovision file without using Xcode. Unlike Xcode, it'll | |
# work over SSH. | |
# | |
# Requires Mac OS X (I'm using 10.7 and Xcode 4.3.2) | |
# |
- (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath { | |
UITableViewRowAction *moreAction = [UITableViewRowAction rowActionWithStyle:UITableViewRowActionStyleDefault title:@"More" handler:^(UITableViewRowAction *action, NSIndexPath *indexPath){ | |
// maybe show an action sheet with more options | |
[self.tableView setEditing:NO]; | |
}]; | |
moreAction.backgroundColor = [UIColor lightGrayColor]; | |
UITableViewRowAction *blurAction = [UITableViewRowAction rowActionWithStyle:UITableViewRowActionStyleDefault title:@"Blur" handler:^(UITableViewRowAction *action, NSIndexPath *indexPath){ | |
[self.tableView setEditing:NO]; | |
}]; |
#! /bin/sh | |
# Example build script for Unity3D project. See the entire example: https://github.com/JonathanPorta/ci-build | |
# Change this the name of your project. This will be the name of the final executables as well. | |
project="ci-build" | |
echo "Attempting to build $project for Windows" | |
/Applications/Unity/Unity.app/Contents/MacOS/Unity \ | |
-batchmode \ |
Snippet from: http://stackoverflow.com/questions/10048173/why-is-it-bad-style-to-rescue-exception-e-in-ruby?lq=1 | |
Rescuing Exception will resuce all types of exceptions, including signals. | |
loop do | |
begin | |
sleep 1 | |
eval "djsakru3924r9eiuorwju3498 += 5u84fior8u8t4ruyf8ihiure" | |
rescue Exception | |
puts "I refuse to fail or be stopped!" |
#!/bin/bash | |
set -e # bail on errors | |
# Make sure your shell history isn't saved | |
hsback=$HISTFILE | |
unset HISTFILE | |
echo "Enter you current PIN - leave blank if default:" | |
read oldpin |
type Whatever struct { | |
someField int | |
} | |
func (w Whatever) MarshalJSON() ([]byte, error) { | |
return json.Marshal(struct{ | |
SomeField int `json:"some_field"` | |
}{ | |
SomeField: w.someField, | |
}) |
fastlane_version "1.94.0" | |
default_platform :ios | |
platform :ios do | |
desc "Run Unity Editor tests" | |
lane :test_unit do | |
unity( | |
run_editor_tests: true | |
) |
dnf search kernel-modules-extra
This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).
The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on https://github.com/Dunedan/mbp-2016-linux . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.
Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - se