Check what should have been done
Check the related git commit
Check if the Dev use the right syntax and follow the styleguide
#!/bin/bash | |
# | |
# Bash script for downloading WWDC video and pdf ressources | |
# You can choose the year you're interested in by altering the variable YEAR (works only for 2014 until today). | |
# | |
# IMPORTANT | |
# Please install wget prior running this script since this tool is used to download the pdf's and videos. I use it | |
# since it is able to prevent re-downloading already existing content. So you can just run this script again and | |
# again and it will just download new content. This is really useful in the week of the WWDC since videos are |
import UIKit | |
class NibLoadableView: UIView { | |
@IBOutlet var view: UIView! | |
override init(frame: CGRect) { | |
super.init(frame: frame) | |
} |
[CATransaction begin]; | |
[CATransaction setCompletionBlock: ^{ | |
[...]; | |
[...]; | |
}]; | |
// Do the animated table view stuff | |
[CATransaction commit]; |
# check if tools installed | |
if ! type "composite" > /dev/null; then | |
exit 0 | |
fi | |
IFS=$'\n' | |
buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
versionNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
PATH=${PATH}:/usr/local/bin | |
TARGET_PATH=${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH} |
CGFloat statusBarHeight = CGRectGetMaxY([self.view.window convertRect:UIApplication.sharedApplication.statusBarFrame toView:self.view]); | |
#define kStatusBarHeight [self.window convertRect:UIApplication.sharedApplication.statusBarFrame toView:self].size.height | |
- (CGFloat)AT_statusBarHeight | |
{ | |
CGFloat statusBarHeight = 0.f; |
### system ### | |
# Disc Space Usage | |
df -h | |
# Folder size | |
du -sh <folder_name> | |
# Process Information | |
top |
## add keyring | |
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com <key> | |
## add: alternative keyserver | |
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys <key> | |
## chrome: manually from http://www.google.com/chrome/eula.html | |
## skype: manually from http://www.skype.com/download/skype/linux/ | |
sudo apt-get install filezilla libxvidcore4 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-ffmpeg gstreamer0.10-pitfdll libquicktime1 libxine1-plugins w32codecs libdvdread4 pidgin pidgin-facebookchat pidgin-hotkeys pidgin-libnotify pidgin-musictracker pidgin-plugin-pack pidgin-themes pidgin-sipe chmsee breathe-icon-theme dia googleearth miro rednotebook specto ubuntu-restricted-extras zim mplayer inkscape p7zip-full apt-show-versions libdvdcss vobcopy keepassx acroread tvtime wbar ubuntu-tweak texmaker vlc isomaster openssh-client openssh-server vim lsdvd une |
Item to Backup | What is This?! |
---|---|
iMessage History | Find it in ~/Library/Messages/. Remember to check the file ownership of that folder. |
Developer Profile | Your accounts set up in Xcode including your code signing identities and provisioning profiles. Xcode > Preferences > Accounts > Lower Left Settings Gear > Export Accounts... |
1Password Vaults | All the stored passwords. |
Mail History | All E-Mails. |
~/.ssh | public and private key pairs including ssh config file |
~/.bash_profile | If you are using bash and have configured it for convenience. |
From now on you can fnd most of my software https://github.com/Blackjacx/Scripts/blob/master/software.sh