$ mkdir -p beaglelfs/{sources,rootfs_install,boot_mnt,rootfs_mnt}
Download the latest i686 Binary TAR of the ARM GNU/Linux (glibc-based) Lite Toolchain:
| #!/bin/bash | |
| set -e | |
| set -u | |
| # hat-tips: | |
| # - http://codeghar.wordpress.com/2011/12/14/automated-customized-debian-installation-using-preseed/ | |
| # - the gist |
| # Generating throwaway QR codes from the command line for shunting URLS to mobile devices | |
| brew install qrencode | |
| qrencode -o - http://www.google.com | open -f -a preview |
| /* | |
| * Copyright 2009-2012 The MyBatis Team | |
| * | |
| * 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 |
I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.
I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real
| import com.jolbox.bonecp.BoneCPDataSource | |
| import org.codehaus.groovy.grails.commons.ConfigurationHolder as CH | |
| import org.codehaus.groovy.grails.commons.ApplicationHolder as AH | |
| import com.burtbeckwith.grails.plugin.datasources.DatasourcesBuilder | |
| import grails.util.Environment | |
| beans = { | |
| def ds = CH.config.dataSource | |
| def dsClosure = { bean -> | |
| bean.destroyMethod = 'close' |
| def new_user(admin_username, admin_password): | |
| env.user = 'root' | |
| # Create the admin group and add it to the sudoers file | |
| admin_group = 'admin' | |
| runcmd('addgroup {group}'.format(group=admin_group)) | |
| runcmd('echo "%{group} ALL=(ALL) ALL" >> /etc/sudoers'.format( | |
| group=admin_group)) | |
| # Create the new admin user (default group=username); add to admin group |
| So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear! | |
| Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy. | |
| * Off the top of my head * | |
| 1. Fork their repo on Github | |
| 2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it | |
| git remote add my-fork git@github...my-fork.git |