-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
477 lines (237 loc) · 15.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>zalary.github.io</title>
<meta name="author" content="Zalary Young">
<meta name="description" content="Mar 10th, 2014 Colorful Cat I learned a neat trick about using ‘cat’ in the terminal to view a file from a MakerSquare classmate, Seth, …">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/atom.xml" rel="alternate" title="zalary.github.io" type="application/atom+xml">
<link rel="canonical" href="http://zalary.github.io/">
<link href="/favicon.png" rel="shortcut icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/stylesheets/font-awesome.min.css" media="screen, projection" rel="stylesheet" type="text/css">
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<link href='http://fonts.googleapis.com/css?family=Nunito:400,300,700' rel='stylesheet' type='text/css'>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
</head>
<body>
<div class="container">
<div class="left-col">
<div class="intrude-less">
<header id="header" class="inner"><div class="profilepic">
<script src="/javascripts/md5.js"></script>
<script type="text/javascript">
$(function(){
$('.profilepic').append("<img src='http://www.gravatar.com/avatar/" + MD5("[email protected]") + "?s=160' alt='Profile Picture' style='width: 160px;' />");
});
</script>
</div>
<nav id="main-nav"><ul class="main">
<li><a href="/">Blog</a></li>
<li><a href="http://about.me/zalary">About</a></li>
<li><a href="/blog/archives">Archives</a></li>
</ul>
</nav>
<nav id="sub-nav">
<div class="social">
<a class="twitter" href="http://twitter.com/zalary" title="Twitter">Twitter</a>
<a class="github" href="https://github.com/zalary" title="GitHub">GitHub</a>
<a class="pinboard" href="https://pinboard.in/u:zalary" title="Pinboard">Pinboard</a>
<a class="instagram" href="https://instagram.com/zalary" title="Instagram">Instagram</a>
<a class="rss" href="/atom.xml" title="RSS">RSS</a>
</div>
</nav>
</header>
</div>
</div>
<div class="mid-col">
<div class="mid-col-container">
<div id="content" class="inner">
<div itemscope itemtype="http://schema.org/Blog">
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<div class="meta">
<div class="date">
<time datetime="2014-03-10T13:31:00-05:00" data-updated="true" itemprop="datePublished">Mar 10<span>th</span>, 2014</time></div>
<div class="tags">
</div>
</div>
<h1 class="title" itemprop="name"><a href="/blog/2014/03/10/colorful-cat/" itemprop="url">Colorful Cat</a></h1>
<div class="entry-content" itemprop="articleBody">
<p>I learned a neat trick about using ‘cat’ in the terminal to view a file from a <a href="http://themakersquare.com">MakerSquare</a> classmate, <a href="http://www.sethszymanski.com/2014/02/11/lolcat.html">Seth</a>, but I wondered, could it be better?</p>
<p>While not as entertaining as lolcat, I found
<a href="http://pygments.org/">Pygments</a> which is package for python, but
totally works in Mac OSX. You can download and install it manually, or
use <a href="http://www.pip-installer.org/en/latest/">PIP</a> (which is just a pkg
manager for python).</p>
<p>Then, alias cat to ‘pygmentize -g’ in your bashrc or zshrc file, and
voila, syntax-higlighted file viewing, direct from your terminal!</p>
</div>
</article>
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<div class="meta">
<div class="date">
<time datetime="2014-02-10T17:29:00-06:00" data-updated="true" itemprop="datePublished">Feb 10<span>th</span>, 2014</time></div>
<div class="tags">
<a class='category' href='/blog/categories/makersquare/'>makersquare</a>
</div>
</div>
<h1 class="title" itemprop="name"><a href="/blog/2014/02/10/makersquare-week-1/" itemprop="url">Makersquare Week 1, Time Says ‘Woosh’</a></h1>
<div class="entry-content" itemprop="articleBody">
<p>The first week went by so quickly! Somehow we’re starting – as Harsh called it this morning – ‘Season 4, Episode 2’ (Cohort 4, Week 2).</p>
<p>Truthfully last week I really struggled with the Ruby basics. I have a general grasp of things I want to do and how I should do them, but my actual implementation needs refinement. Fortunately I have a great friend who came over and walked through some of the projects with me. And today, I’m happy to report, my pair and I were able to get through all the exercises. I was even able to get through the Extension exercise! :)</p>
<p>So here are my take-aways from the last week:</p>
<ul>
<li><p>TDD is the best thing ever. If you use it right, it walks you through how to code the solution!</p></li>
<li><p>Watch your arrays vs hashes vs objects.</p>
<ul>
<li>When you don’t write your own tests for TDD make sure you know what’s being asked for. So much frustration came from me returning the right idea but in the wrong way.</li>
</ul>
</li>
<li><p>Frustration is part of the game, but don’t give up. Go for a walk or get away from the problem, but keep coming back and trying different stuff. Even when I can’t get there without help, I’ve been so close, or I’ve tried something so close to the right answer. It’s not encouraging in the moment, but it’s nice when you come to the solution and can look back at your process and see how close you were. Learn from that.</p></li>
</ul>
<p>With regards to practical newbie tips, here are my favorite 2.</p>
<p>When looping through a hash, you can call the key AND the value, like so</p>
<pre><code>inventory.each do |item|
puts "There are #{item[:quantity]} #{item[:name]}(s) and they cost #{item[:price]} each."
puts "the total cost of #{item[:name]} is #{item[:price].to_f * item[:quantity]}"
total += item[:price].to_f * item[:quantity]
puts total
end
</code></pre>
<p>One of those things that seems obvious in retrospect, but gave me so much trouble.</p>
<p>The other neat thing I learned was stubbing time for an rspec test. For instance, if you want to make sure your script is going to return ‘late’ after a given time, you can write your test like</p>
<pre><code> it 'should show late if past 30 min' do
thing = Thing.new
@time_now = Time.parse("Feb 11 2014")
Time.stub(:now).and_return(@time_now)
expect(thing.late?).to eq(true)
end
</code></pre>
<p>et voila!</p>
<p>So much magic to learn, so little time.</p>
</div>
</article>
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<div class="meta">
<div class="date">
<time datetime="2014-02-04T20:38:00-06:00" data-updated="true" itemprop="datePublished">Feb 4<span>th</span>, 2014</time></div>
<div class="tags">
</div>
</div>
<h1 class="title" itemprop="name"><a href="/blog/2014/02/04/makersquare-day-1/" itemprop="url">MakerSquare Day 1</a></h1>
<div class="entry-content" itemprop="articleBody">
<p>Day 1 of Makersquare: fun, exciting, challenging, overwhelming!</p>
<p>There was a lot of stuff! Figuring out the vibe, introduction to the
course – there were past cohort instructors and students to spill all,
setting up our dev environment and then diving right into code. Lots of
ruby review which is still my weakest chop.</p>
<p>I have a few exercise to finish tonight, and a few I really want to
review again, but I’m feeling confident that even things I suck at seem
to be gelling a bit more. Bring on day 2!</p>
</div>
</article>
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<div class="meta">
<div class="date">
<time datetime="2013-12-19T14:36:00-06:00" data-updated="true" itemprop="datePublished">Dec 19<span>th</span>, 2013</time></div>
<div class="tags">
</div>
</div>
<h1 class="title" itemprop="name"><a href="/blog/2013/12/19/makersquare/" itemprop="url">MakerSquare, 2014</a></h1>
<div class="entry-content" itemprop="articleBody">
<p>As the title might imply, I’ve been accepted into the
<a href="http://themakersquare.com/" title="">MakerSquare</a> Spring Cohort. As the kids
might say, “ALL THE FEELS!”</p>
</div>
</article>
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<div class="meta">
<div class="date">
<time datetime="2013-09-17T10:53:00-05:00" data-updated="true" itemprop="datePublished">Sep 17<span>th</span>, 2013</time></div>
<div class="tags">
</div>
</div>
<h1 class="title" itemprop="name"><a href="/blog/2013/09/17/an-open-letter-to-the-angular-conference-organizers/" itemprop="url">An Open Letter to the Angular Conference Organizers</a></h1>
<div class="entry-content" itemprop="articleBody">
<p>So, <a href="http://www.ng-conf.org/" title="ng-conf">ng-conf</a> tickets went on sale, then sold out immediately. A co-worker forwarded me the email about the next round of tickets, and the email also mentioned the ‘girl-ticket’ option. You can read the email <a href="http://us7.campaign-archive1.com/?u=e45fd510f70a16fd9f7797276&id=2b2ad4dddd&e=8d815c38e3" title="More Tickets & Girl Tickets">here</a>.</p>
<p>Here’s my response:</p>
<blockquote><p>Hi there,</p>
<p>I’m a female, and while I would love to come to your conference, the girl-ticket, pink lanyard situation leaves a bad taste in my mouth.</p>
<p>I feel like the underlying intention is right, but the execution just seems misguided.</p>
<p>On one hand, I would love to be able to skip the line and be assured a spot at this conference at a somewhat discounted price. However, as a <em>woman</em> in tech, I’ve worked hard to prove myself equal and deserving and I can certainly wait in line with all the ‘boys’ and get a ticket in the same way they do.</p>
<p>Further, the pink lanyard seems like a slap in the face, both to anyone wearing one and to anyone else (man, woman, trans-gendered, etc) who wants to get in and either has to pay more, or wait longer or knows someone who wanted to attend but couldn’t due to ticket shortage (as it seems there is).</p>
<p>I would love to see the Angular community reach out to females in other ways. Maybe through RailsGirls, or Girl Develop It (again, with the girls, but I do respect the mission) or even just reaching out to those of us already in the community. Let it be known (on your front page, and not buried in an email) that you’d love to see more diversity (gender, et al) at your conference and that you’re committed to making it an encouraging and educational experience for everyone. Then, do commit to it.</p>
<p>I want to acknowledge that I come from a place of privilege. I work with a great bunch of guys who have never excluded me or downplayed my abilities. I have a boss who encourages my training and conference attendance. I haven’t been harassed or made to feel unwelcome at any conference I’ve attended – and I’m grateful for all of that.</p>
<p>My hope is that eventually every woman/girl in tech has that same experience, of being exactly what she is – equal and deserving of her place – even if she has to stand in line to be there.</p>
<p>Crossing my parts for the second round of early-bird tickets,</p>
<p>Zalary Young
@zalary</p></blockquote>
</div>
</article>
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<div class="meta">
<div class="date">
<time datetime="2013-04-18T21:20:00-05:00" data-updated="true" itemprop="datePublished">Apr 18<span>th</span>, 2013</time></div>
<div class="tags">
</div>
</div>
<h1 class="title" itemprop="name"><a href="/blog/2013/04/18/chapter-4/" itemprop="url">Chapter 4</a></h1>
<div class="entry-content" itemprop="articleBody">
<p>I made it through <a href="http://ruby.railstutorial.org/chapters/rails-flavored-ruby#top">Chapter4</a> of the Rails Tutorial tonight. Everything was pretty nice until the last example in the last exercise didn’t execute the way it should.</p>
<p>It took a little banging my head into the wall until I remembered something mentioned earlier, and realized I was somehow running 1.8.7 and not 1.9.3 like I thought. So first I went and looked back at how to make the code work in 1.8.7 and ‘finished’ the exercise.</p>
<p>Then I decided figure out why rbenv was supposedly installed but wasn’t doing what I expected. There was a little flailing, but I googled around and poked some and finally got it figured it out and fixed.</p>
<p>The lessons I learn sometimes are not the ones I expect, but they keep me moving forward.</p>
</div>
</article>
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<div class="meta">
<div class="date">
<time datetime="2013-04-15T22:21:00-05:00" data-updated="true" itemprop="datePublished">Apr 15<span>th</span>, 2013</time></div>
<div class="tags">
</div>
</div>
<h1 class="title" itemprop="name"><a href="/blog/2013/04/15/vim-goodness/" itemprop="url">Vim Goodness</a></h1>
<div class="entry-content" itemprop="articleBody">
<p>While getting back into code, I am also getting into vim. When I used it previously, I pretty much knew ‘i’, which just leads to a lot of frustration. This time, since I’m coding mostly via ssh to my ubunu vm, I’m much more reliant on the terminal for navigating and coding, so I’m taking the time to learn the myriad of keyboard commands that make vim rock.</p>
<p>And now that I’ve installed pathogen and figured out where to put/adjust things, I can piddle even more!</p>
<p>I’m just scratching the surface at this point, but even so, I can see how it’s a total game-changer.</p>
</div>
</article>
<article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<div class="meta">
<div class="date">
<time datetime="2013-04-14T15:07:00-05:00" data-updated="true" itemprop="datePublished">Apr 14<span>th</span>, 2013</time></div>
<div class="tags">
</div>
</div>
<h1 class="title" itemprop="name"><a href="/blog/2013/04/14/get-back-to-it/" itemprop="url">Get Back to It</a></h1>
<div class="entry-content" itemprop="articleBody">
<p><strong> This is a test </strong></p>
<ul>
<li>New house</li>
<li>Standing desk</li>
<li>Opportunity</li>
</ul>
<p>That just leaves the following</p>
<ul>
<li>Code daily</li>
<li>Blog about it</li>
</ul>
</div>
</article>
</div>
<nav id="pagenavi">
<div class="center"><a href="/blog/archives">Blog Archives</a></div>
</nav></div>
</div>
<footer id="footer" class="inner">Copyright © 2014
Zalary Young
Design credit: <a href="http://shashankmehta.in/archive/2012/greyshade.html">Shashank Mehta</a></footer>
</div>
</div>
</body>
</html>