Download com.bendaschel.onlogin.plist.
In a terminal, type the following commands
cp com.bendaschel.vagrantup.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/com.bendaschel.onlogin.plist
| /* | |
| * Copyright (C) 2014 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| #!/usr/bin/env bash | |
| stashCount=`git stash list | wc -l` | |
| keep=10 | |
| for ((i=$stashCount+1; i>$keep; i--)) | |
| do | |
| git stash drop stash@{$i} | |
| done |
| #!/usr/bin/env python3 | |
| import argparse | |
| DISALLOWED_PUSH = ['upstream'] | |
| def assert_safe_push(remote, branch): | |
| if remote in DISALLOWED_PUSH: | |
| print('Error: push to {remote} is not allowed'.format(**{'remote': remote})) |
| <?php | |
| use Codeception\Extension; | |
| use Illuminate\Database\Eloquent\Model; | |
| class ModelResetExtension extends Extension | |
| { | |
| public static $events = [ | |
| 'test.after' => 'resetModelBootFlags' | |
| ]; |
| #!/usr/bin/env bash | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # browsers | |
| brew cask install opera google-chrome firefox lastpass google-hangouts | |
| # office and files | |
| brew cask install libreoffice evernote gimp google-drive |
| <!DOCTYPE html> | |
| <html lang="en" ng-app="app"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Title</title> | |
| </head> | |
| <body ng-controller="MyController"> | |
| <form> | |
| <div ng-repeat="(name, display) in form"> | |
| <label for="{{ name }}">{{ display }}</label> |
| task zipTask(type: Zip) { | |
| baseName = 'bDaschelLab5' | |
| rename 'app-debug.apk', "${baseName}.apk" | |
| into baseName | |
| from 'build/outputs/apk/app-debug.apk' | |
| from 'README.md' | |
| from ('src') { | |
| into 'src' | |
| } | |
| } |
| #* | |
| How to use this template: | |
| Open up the preferences menu in Android studio. | |
| Navigate to Editor > File and Code Templates | |
| Click the green + button above the templates tab | |
| Name the template whatever you want. Make sure that it has "java" as an extension. | |
| Paste this whole thing in the text area. | |
| Click Ok. | |
| This template will appear when you invoke the "New" context menu in the project pane. | |
| *# |
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>shift space</name> | |
| <identifier>private_shift_space</identifier> | |
| <autogen> | |
| __KeyToKey__ | |
| KeyCode::SPACE, ModifierFlag::SHIFT_L, | |
| KeyCode::MINUS | |
| </autogen> |