I hereby claim:
- I am wndxlori on github.
- I am wndxlori (https://keybase.io/wndxlori) on keybase.
- I have a public key whose fingerprint is DB1C 4DD9 CA1A 0431 30F8 0B7F F2CC 5128 1A70 8FB4
To claim this, I am signing this object:
$ vagrant up --provider=vmware_fusion | |
Bringing machine 'default' up with 'vmware_fusion' provider... | |
[default] Cloning VMware VM: 'precise-ruby'. This can take some time... | |
[default] Verifying vmnet devices are healthy... | |
[default] Preparing network adapters... | |
[default] Starting the VMware VM... | |
[default] Waiting for the VM to finish booting... | |
[default] The machine is booted and ready! | |
[default] Forwarding ports... |
def process! | |
self.transaction do | |
foo | |
bar | |
baz | |
boom | |
end | |
end |
lori@Saphira ~/Dropbox/Projects/rails4ios | |
$ gem list | |
*** LOCAL GEMS *** | |
bundler (1.3.5) | |
bundler-unload (1.0.1) | |
rake (10.1.0) | |
rubygems-bundler (1.2.2) | |
rvm (1.11.3.8) |
I hereby claim:
To claim this, I am signing this object:
Diversity Comparison | |
http://www.theverge.com/2015/8/20/9179853/tech-diversity-scorecard-apple-google-microsoft-facebook-intel-twitter-amazon | |
Most have 2 years of data now, but little qualitative analysis of year over year change. No follow throught on commitment | |
to goals for improvement. | |
Binary gender & ethnicity (no age). Basically the bare minimum as required by law. | |
http://www.google.com/diversity/ | |
http://newsroom.fb.com/news/2015/06/driving-diversity-at-facebook/ |
t list members lethbridge-educators | while read handle ; do t update "@$handle Hoping you could help spread the word about girlslearningcodeday.com at your school? https://dl.dropboxusercontent.com/u/6823540/GLCDay.pdf" ; sleep 3 ; done |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>About</title> | |
<style> | |
p {color:#ff9400;} | |
h2 {color: #ffa428; text-align: center;} | |
</style> | |
</head> |
proxy: | |
useTLS: false | |
servicePort: 8001 | |
containerPort: 8001 | |
admin: | |
useTLS: false | |
servicePort: 8000 | |
containerPort: 8000 | |
readinessProbe: | |
httpGet: |
This is in answer to a question than came up in a course I am teaching. There do not appear to be any good examples of testing navigation bar button items, so I ran up this quick example. Two things of note:
You need to explicitly call your controller's "on_load" or similar method that actually adds the UI items, in your
before block if you actually want to test those items. In the case of the default Red Potion app, we create the nav bar buttons in HomeScreen.on_load
, so we need to call that method in the before block of our spec, to ensure the nav buttons are present.
The navigation bar is accessed from your UIViewController
as navigationItem
, and it is a UINavigationItem
. You should check out the docs for these classes.
https://developer.apple.com/documentation/uikit/uiviewcontroller?language=objc https://developer.apple.com/documentation/uikit/uinavigationitem?language=objc
# the first 2 or 4 values of the primitive conventionally are x, y, (w, h, or x2, y2) | |
# the last 4 values conventionally are r, g, b, a (color) | |
# custom values for primitive are in the middle | |
# labels x, y, text, size, alignment, r, g, b, a | |
# sprites x, y, w, h, path, angle, alpha | |
# lines x, y, x1, y1, r, g, b, a | |
# solids x, y, w, h, r, g, b, a | |
# borders x, y, w, h, r, g, b, a | |
# sounds ".wav|.ogg" |