-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatom.xml
More file actions
652 lines (501 loc) · 23.1 KB
/
atom.xml
File metadata and controls
652 lines (501 loc) · 23.1 KB
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
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[Earlab]]></title>
<link href="http://earlab.github.io/atom.xml" rel="self"/>
<link href="http://earlab.github.io/"/>
<updated>2014-01-23T11:02:14+02:00</updated>
<id>http://earlab.github.io/</id>
<author>
<name><![CDATA[Ioannis Zannos]]></name>
</author>
<generator uri="http://octopress.org/">Octopress</generator>
<entry>
<title type="html"><![CDATA[Web Session With TT]]></title>
<link href="http://earlab.github.io/blog/2014/01/21/showing-jekyll-to-tania/"/>
<updated>2014-01-21T17:26:36+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/21/showing-jekyll-to-tania</id>
<content type="html"><![CDATA[<p>Some websites visited:</p>
<ul>
<li><a href="http://developmentseed.org/">http://developmentseed.org/</a></li>
<li><a href="http://www.awwwards.com/20-best-websites-with-parallax-scrolling-of-2013.html">http://www.awwwards.com/20-best-websites-with-parallax-scrolling-of-2013.html</a></li>
<li><a href="http://www.puma.com/mobium/">http://www.puma.com/mobium/</a></li>
<li><a href="http://boy-coy.com/#home">http://boy-coy.com/#home</a></li>
<li><a href="http://mythoughtsareyours.yolk.cc/">http://mythoughtsareyours.yolk.cc/</a></li>
<li><a href="http://henrik.nyh.se/">http://henrik.nyh.se/</a></li>
</ul>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[That Templating Business]]></title>
<link href="http://earlab.github.io/blog/2014/01/17/that-templating-business/"/>
<updated>2014-01-17T10:01:06+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/17/that-templating-business</id>
<content type="html"><![CDATA[
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Vicky in Paris]]></title>
<link href="http://earlab.github.io/blog/2014/01/06/vicky-in-paris/"/>
<updated>2014-01-06T16:56:33+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/06/vicky-in-paris</id>
<content type="html"><![CDATA[<p>with vicky @ montmartre: cafe Au Clairon des Chasseurs: 01/06/14 15:45:35 :travel:friends:webgl:cafe:chuck:</p>
<p><a href="http://vicksbiztheory.tumblr.com">http://vicksbiztheory.tumblr.com</a></p>
<p><a href="http://vicksbizm2.tumblr.com">http://vicksbizm2.tumblr.com</a></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Categories]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/categories/"/>
<updated>2014-01-04T19:05:17+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/categories</id>
<content type="html"><![CDATA[<p>Next, use categories (= keywords, tags) to group posts into topics, in octopress.</p>
<p>Categories should be listed in the header of a page. <code>rake new_post['page name']</code> creates a heading in the poster for doing this. To input more than one category, or a category consisting of more than one word, use one of the formats explained in following example from <a href="http://octopress.org/docs/blogging/">http://octopress.org/docs/blogging/</a> :</p>
<!--more-->
<pre><code> # One category
categories: Sass
# Multiple categories example 1
categories: [CSS3, Sass, Media Queries]
# Multiple categories example 2
categories:
- CSS3
- Sass
- Media Queries
</code></pre>
<h3>Listing Categories: Plugins</h3>
<p>Category tree:
<a href="https://github.com/matthiasbeyer/jekyll_category_tree">https://github.com/matthiasbeyer/jekyll_category_tree</a></p>
<p>Category list + Tag cloud:
<a href="https://github.com/tokkonopapa/octopress-tagcloud">https://github.com/tokkonopapa/octopress-tagcloud</a></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Take Care to Run Rake Generate]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/wrong-site-name-persists/"/>
<updated>2014-01-04T16:12:11+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/wrong-site-name-persists</id>
<content type="html"><![CDATA[<h3>Summary (“TL;DR”)</h3>
<ol>
<li>Must be careful to always run <code>rake generate</code> before <code>rake deploy</code>.</li>
<li>GitHub takes some time to update site after each push.</li>
</ol>
<!--more-->
<h3>Details</h3>
<p>After editing the site, always run <code>rake generate</code> before sending to the web via <code>rake deploy</code>. Occasionally the default name and subtitle of octopress “My Octopress Blog / A blogging framework for hackers” reappears on edited pages, apparently either because I forgot to run <code>rake generate</code>, or because it may have been overwritten by the watch process of rake. Testing this here, keeping a log of changes and trials.</p>
<p><a href="http://earlab.github.io/">http://earlab.github.io/</a></p>
<p>Mysterious bugs. Is it GitHub caching the website, and delaying updates?</p>
<p>The site’s title reads (on some pages):</p>
<pre><code>My Octopress Blog
A blogging framework for hackers.
</code></pre>
<p>But the <code>index.html</code> page of the site shows the correct title:</p>
<pre><code>Earlab
Coding for Art
</code></pre>
<p>Why the difference?</p>
<h3>Update</h3>
<p>Creating the present post,</p>
<p>rerunning <code>rake generate</code></p>
<p>and then <code>rake deploy</code></p>
<p>fixed it.</p>
<p>Then re-running the same, after adding the present comments, but not creating new posts, the problem reappeared.</p>
<p>Jan 4, 2014 (4:26 PM):
Testing again with a simple deploy – with G.D watching on the other side over the net.</p>
<p>Jan 4, 2014 (4:36 PM) : One more test.</p>
<p>Jan 4, 2014 (5:11 PM) : One more test – trying to reproduce the wrong headline. It seems to appear only in the updated pages (this one). Will it raise its head again just after running <code>rake generate</code>?</p>
<p>Jan 4, 2014 (5:18 PM) : Even though I let <code>rake generate</code> end, the present pages’s formatting is broken. Perhaps I should stop the rake watch process.</p>
<p>Jan 4, 2014 (5:21 PM) : Stopped rake watch. Trying <code>rake deploy</code> without running <code>rake generate</code> first.</p>
<p>Jan 4, 2014 (5:22 PM) : Broken formatting. Retrying: Running <code>rake generate</code>.</p>
<p>Jan 4, 2014 (5:23 PM) : Edit and rerun <code>rake generate</code>.</p>
<p>Jan 4, 2014 (5:25 PM) : (after <code>rake deploy</code>): Page renders correctly locally, but is broken on GitHub.</p>
<h3>Jan 4, 2014 (5:27 PM) : Conclusions</h3>
<ol>
<li>Must be careful to always generate after saving.</li>
<li>GitHub takes some time to update site after each push.</li>
</ol>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Including Gists and Other Code]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/using-gists/"/>
<updated>2014-01-04T15:58:59+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/using-gists</id>
<content type="html"><![CDATA[<p>Embedding code, by pasting, including files, including gists in the octopress blog. Here are some notes about styles and ways of quoting code, and a test.</p>
<!--more-->
<h3>Ways to include code</h3>
<h4>Backticks `</h4>
<p><a href="http://octopress.org/docs/plugins/backtick-codeblock/">http://octopress.org/docs/plugins/backtick-codeblock/</a></p>
<pre><code>``` [language] [title] [url] [link text] [linenos:false] [start:#] [mark:#,#-#]
code snippet
```
</code></pre>
<h4>Include Code</h4>
<p><a href="http://octopress.org/docs/plugins/include-code/">http://octopress.org/docs/plugins/include-code/</a></p>
<pre><code>{% include_code [title] [lang:language] path/to/file [start:#] [end:#]
[range:#-#] [mark:#,#-#] [linenos:false] %}
</code></pre>
<h3>Better styles for gist includes</h3>
<p>From: <a href="https://gist.github.com/jnrbsn/578379">https://gist.github.com/jnrbsn/578379</a></p>
<pre><code>/* Better styles for embedding GitHub Gists */
/* From: https://gist.github.com/jnrbsn/578379 */
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%}
.gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important}
.gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important}
.gist-meta a{color:#26a !important;text-decoration:none}
.gist-meta a:hover{color:#0e4071 !important}
</code></pre>
<h3>Test</h3>
<div><script src='https://gist.github.com/8071915.js?file=lhcsc'></script>
<noscript><pre><code>/*
// synth definition already written in SynthDef.synthDefDir
(
SynthDef(\LHCV, { | out=0, clk=1, vclk=2, id=0, step=0, resetVal=0|
var clock, varclock, latch;
clock = LFPulse.kr(clk);
varclock = LFPulse.kr(vclk);
latch = Latch.kr(Stepper.kr(varclock, step: step, resetval: resetVal), clock);
Out.kr(out, SendTrig.kr(Changed.kr(latch), id, latch))
}).writeOnce;
)
*/
/*
TODO:
- There is a problem in the initial output of the counter? (must be zero)
- The secondary GUI (Slider) has a problem with it's flashDisplay and the initial position of the slider (though works OK).
- There are 2 dependants:
* see var <>updater
* I suppose it is feasible to have only one update method ..
- I have to fix the getter, setter vars
- ... and embed the slider to the main window !!
*/
/*
a = LHCV().start // see LHC example for musical example
a.counterOut // returns the current value of the Counter
a.vclk // returns the current value of the Var Clk rate (in Hz)
a.counterIn // returns the current input
// set main clk (latched)
a.setClk_(value)
*/
LHCV : LHC {
var <>clk=1, <>vclk=1;
var <>synth;
var <>counterIn=0, <>counterOut=0;
var <>input=0;
var osc;
var <>binaryString;
// the variables for the slider of the Var Clk rate
var <>model, <>setValueFunction, <>bounds, <>windowVClk, <>numberboxVClk, <>sliderVClk, <>updater;
var <posedgeDisplayVClk, <routineFlash;
var <>monitor;
var <x, <y;
*new { | player |
^super.new.init(player);
}
init { | player |
this.makeFsmDecoder;
this.addPlayer(player);
}
start { | x, y |
this.ugenconstr;
this.oscrespond;
this.makeWindow;
this.makeRoutine;
this.makeSlider;
this.startMonitor;
}
ugenconstr { | clock=1, vclock=1, step=1, resetVal=0 |
Server.default.waitForBoot {
synth = Synth(\LHCV, [clk: clock, vclk: vclock, step: step, resetVal: resetVal]);
}
}
oscrespond {
osc = OSCFunc.newMatching({ arg msg, time;
[time, msg].postln;
counterOut = msg[3];
counterOut.asInteger.asBinaryString(3).postln;
},'/tr', Server.default.addr);
}
startMonitor { | x, y |
monitor = LHCVmonitor.new(x, y);
}
setInput_ { | value |
input = value;
synth.set(\step, input);
}
setClk_ { | value |
clk = value;
synth.set(\clk, clk);
}
setVClk_ { | value |
vclk = value;
synth.set(\vclk, vclk);
}
makeRoutine {
if (routine.isNil) {
routine = {
loop {
this.flashPositiveEdgeDisplay;
counterIn = ([bit0.value, bit1.value, bit2.value] * [1, 2, 4]).sum;
if (resetbutton.value > 0) {
counterOut = 0;
fsmDecoder.changed(\reset);
"fsmDecoder should now broadcast change RESET".postln;
}{
// change step in Stepper
this.setInput_(counterIn);
fsmDecoder.changed(\counter, counterOut);
};
counterDisplay.value = counterOut;
this.calculateFSMstate(counterOut);
// clk is reciprocal because it's value is in Hz
clk.reciprocal.wait;
}
}.fork(AppClock);
}
}
windowClosed {
window = nil;
this.stopSynthsAndProcesses;
fsmDecoder.releaseDependants;
model.releaseDependants;
}
stopSynthsAndProcesses {
routine.stop;
routine = 0;
synth.free;
osc.free;
}
flashPositiveEdgeDisplay {
{
positiveEdgeDisplay.value = 1;
(clk / 3).wait;
positiveEdgeDisplay.value = 0;
(clk / 3).wait;
}.fork(AppClock);
}
calculateFSMstate { | counter |
// current state + input = next state + output
{
counter.asInteger.asBinaryString(3) do: { | digit |
fsmDecoder input: (digit == $1).binaryValue;
// clk is reciprocal because it's value is in Hz (see SynthDef(\LHCV,...)
(clk.reciprocal / 3).wait;
};
}.fork(AppClock);
}
makeSlider {
if (windowVClk.isNil) { this.prMakeSlider } { windowVClk.front };
}
prMakeSlider {
this.flashDisplayVClk;
//model
model = (myValue: this.vclk);
setValueFunction = {|value|
model [\myValue] = value;
model.changed(\value, value);
};
//bounds
bounds = ControlSpec(0.01, 50, \linear, 0.01); // min, max, mapping, step
//view
windowVClk = Window("slider for LHCV", Rect(600,200, 280, 70));
posedgeDisplayVClk = Button(windowVClk, Rect(10, 20, 18, 18))
.states_([[" ", Color.black, Color.black], [" ", Color.yellow, Color.yellow]]);
numberboxVClk = NumberBox(windowVClk, Rect(30, 20, 40, 20))
.value_(model[\myValue])
.action_({|view| setValueFunction.value(bounds.map(view.value)) });
sliderVClk = Slider(windowVClk, Rect(73, 20, 200, 20))
.value_(model[\myValue])
.action_({|view| setValueFunction.value(bounds.map(view.value)) });
windowVClk.front;
windowVClk.onClose_({model.removeDependant(updater)});
//updater
updater = {|theChanger, what, val|
{
if(what == \value, {
numberboxVClk.value_(val);
sliderVClk.value_(bounds.unmap(val));
//
"VClk = ".post; val.value.postln;
this.setVClk_(val.value);
});
}.defer;
};
model.addDependant(updater);
}
// the flasher for the Variable Clock rate
// you can not run 2 different routines into the same Class?
flashDisplayVClk {
if ((routineFlash.isNil)&&(vclk.notNil)) {
routineFlash = {
loop {
posedgeDisplayVClk.value = 1;
vclk.reciprocal.wait;
posedgeDisplayVClk.value = 0;
vclk.reciprocal.wait;
}
}.fork(AppClock);
}
}
update { | who, what, value |
// postf("% updated: % to: %\n", who, what, value);
switch (what,
\symbol, { encoderDisplay.string = value.asString },
\state, { }
);
}
}</code></pre></noscript></div>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Checking Rake Deploy on GitHub]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/checking-rake-deploy-on-github/"/>
<updated>2014-01-04T15:22:06+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/checking-rake-deploy-on-github</id>
<content type="html"><![CDATA[<p>Update: <code>rake gen_deploy</code> generates and then deploys the site.</p>
<p>Had to remove the repository and create it again. Creating the README on github messed things up.</p>
<p>Result: Need to first run <code>rake generate</code> and then <code>rake deploy</code> to updates + publish the site. <code>rake deploy</code> alone leaves posts in an unformatted state. (Why?)</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Installing Site on Github]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/installing-site-on-github/"/>
<updated>2014-01-04T14:51:52+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/installing-site-on-github</id>
<content type="html"><![CDATA[<p>Installing the site on github was easy, using <a href="http://octopress.org/docs/deploying/github/">the instructions from the octopress site</a>.</p>
<p>The site is now on the <a href="http://earlab.github.io/">earlab organization page</a>.</p>
<!--more-->
<p>I still need to check what <code>rake deploy</code> does now. I.e.:</p>
<ul>
<li>Do I need to run <code>rake generate</code> as before?</li>
<li>Do I need to commit manually before running <code>rake deploy</code>?</li>
</ul>
<hr />
<p>Update Jan 4, 2014 (3:29 PM)</p>
<p><code>rake deploy</code> synchronizes with github, commits the new site, pushes to git in one command it does three things:</p>
<ol>
<li>Pull any changes from github.</li>
<li>Commit new state of site to git.</li>
<li>Push new state of site to Github.</li>
</ol>
<p>Possibly, it also re-generates the site before committing. <em>However</em>: For some reason, blog post formatting is broken, unless I generate the site with <code>rake generate</code> first. I suspect this is because not all files are completely updated before the commit starts. For this reason, I have to run <code>rake generate</code> manually before doing <code>rake deploy</code>. Even then, I wait some minutes before doing the deploy, for good measure.</p>
<h3>Facit</h3>
<p>To successfully push the site to github, follow 2 steps:</p>
<ol>
<li>Run <code>rake generate</code> (and wait till that is finished).</li>
<li>Run <code>rake deploy</code> to push the generated site to github.</li>
</ol>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Posting Excerpts]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/posting-excerpts/"/>
<updated>2014-01-04T13:48:45+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/posting-excerpts</id>
<content type="html"><![CDATA[<p>See <a href="http://stackoverflow.com/questions/19389451/how-can-i-get-a-post-excerpt-in-jekyll">stackoverflow</a></p>
<!--more-->
<p>In brief:</p>
<pre><code>{{ post.excerpt }}
</code></pre>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Google Font Selection]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/google-font-selection/"/>
<updated>2014-01-04T03:46:46+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/google-font-selection</id>
<content type="html"><![CDATA[<p>Selection of open fonts from google (http://www.google.com/fonts), and notes
from websites on fonts. </p>
<!--more-->
<h3>Considerations after Sacha Greif</h3>
<a href="http://sachagreif.com/google-webfonts-that-dont-suck/">Sacha Greif on google webfonts that don’t suck</a>
<br>
<a href="http://sachagreif.com/more-google-webfonts-that-dont-suck/">Follow up to previous post by Sacha Greif</a>
<p>tried out:</p>
<ul>
<li>Ubuntu (Favorite of Sacha Greif)</li>
<li>Cabin</li>
<li>Imprima</li>
<li>Varela</li>
<li>PT Sans</li>
<li>Open Sans</li>
<li>Lato</li>
<li>Questrial</li>
</ul>
<p>Chose Questrial, after Lato. Questrial has no <em>italic</em> or <strong>bold</strong> font. Specified font-family for <code>em</code> and <code>strong</code> styles starting with Lato instead of Questrian. </p>
<p>See http://melandri.net/2012/02/14/octopress-theme-customization/ about how to use them in octopress, and a nice choice of non-serif (Lato, …).</p>
<h4>Update Jan 4, 2014 (7:46 PM)</h4>
<p> Consider Open Sans 400, 300, 700. See default font of Ghost </p>
<h4>Update Jan 17, 2014 (12:32 AM)</h4>
<p>From this site:
http://graphicdesign.stackexchange.com/questions/16036/what-are-google-webfonts-or-typekit-alternatives-to-avenir-next-pro. </p>
<p>To consider:</p>
<ul>
<li>Museo Sans (not free)</li>
<li>Montserrat (possibly better alternative to Questrial: Softer)</li>
<li>Muli </li>
<li>Avenir (not free)</li>
<li>Nunito (similar to Montserrat) </li>
</ul>
<h3>Older selection, many fonts selected in a hurry</h3>
<pre><code>
<link href='http://fonts.googleapis.com/css?family=Rambla:400, 700, 400italic, 700italic |
Source+Sans+Pro:200, 300, 400, 600, 700, 900, 200italic, 300italic, 400italic, 600italic,
00italic, 900italic | Overlock | Noto+Sans | Lato | Cabin | BenchNine | PT+Sans |
abin+Condensed | Arimo | Quicksand | Carrois+Gothic | Asap | Cantarell | Muli |
legreya+Sans | Imprima | Telex | Rosario | Pathway+Gothic+One | Chivo |
uattrocento+Sans | Raleway+Dots | Alef | Open+Sans | Open+Sans+Condensed:300 |
unito | Oxygen | Archivo+Narrow&subset=latin, latin-ext, greek-ext, greek'
el='stylesheet' type='text/css'>
</code></pre>
<p>Usage examples from google: http://www.google.com/fonts#UsePlace:use</p>
<pre>
font-family: 'Rambla', sans-serif;
font-family: 'Source Sans Pro', sans-serif;
font-family: 'Overlock', cursive;
font-family: 'Noto Sans', sans-serif;
font-family: 'Lato', sans-serif;
font-family: 'Cabin', sans-serif;
font-family: 'BenchNine', sans-serif;
font-family: 'PT Sans', sans-serif;
font-family: 'Cabin Condensed', sans-serif;
font-family: 'Arimo', sans-serif;
font-family: 'Quicksand', sans-serif;
</pre>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Logo Style Font]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/logo-style-font/"/>
<updated>2014-01-04T02:45:55+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/logo-style-font</id>
<content type="html"><![CDATA[<p>Demo of custom font through span + class</p>
<!--more-->
<p>from: svbtle.com / see also my clone of the style of that site</p>
<p>The word <span class="logotype">EARLAB</span> is enclosed in a span with
class “logotype”</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Provide File-relative Paths]]></title>
<link href="http://earlab.github.io/blog/2014/01/04/relative-paths/"/>
<updated>2014-01-04T00:19:27+02:00</updated>
<id>http://earlab.github.io/blog/2014/01/04/relative-paths</id>
<content type="html"><![CDATA[<p>From: <a href="http://stackoverflow.com/questions/7985081/how-to-deploy-a-jekyll-site-locally-with-css-js-and-background-images-included">stackoverflow</a>.</p>
<!--more-->
<p>Use liquid:</p>
<pre><code>{% capture lvl %}{{ page.url | append:'index.html' | split:'/' | size }}{% endcapture %}
{% capture relative %}{% for i in (3..lvl) %}../{% endfor %}{% endcapture %}
</code></pre>
<p>This:</p>
<pre><code><link href="{{ relative }}css/main.css" rel="stylesheet" />
<script src="{{ relative }}scripts/jquery.js"></script>
</code></pre>
<p>Becomes this:</p>
<pre><code><link href="../../../../../css/main.css" rel="stylesheet" />
<script src="../../../../../scripts/jquery.js"></script>
</code></pre>
<p>Trying this in practice:</p>
<p><a href="../../../../../javascripts/github.js">a javascript file</a></p>
<p><a href="../../../../../stylesheets/screen.css">a css file</a></p>
]]></content>
</entry>
</feed>