Skip to content

Commit

Permalink
modififed for my showoff presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon committed Feb 16, 2010
1 parent c697baf commit 104a23e
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 52 deletions.
16 changes: 11 additions & 5 deletions 2020.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ h1, h2, h3, h4, h5, h6 {
margin-right: 1em;
}

code {
font-size: 0.65em;
}

h1 {
color: red;
font-size: 4em;
Expand Down Expand Up @@ -82,7 +78,8 @@ h2 {

.full-page-image p:not(:first-child),
.full-page-image h1,
.full-page-image h2 {
.full-page-image h2,
.full-page-image h3 {
z-index: 1;
background-image: url('white.png');
background-position: top left;
Expand Down Expand Up @@ -116,6 +113,15 @@ h2 {
padding: 0.1em 0 0.3em 0;
}

.full-page-image h3 {
position: absolute;
top: 6.5em;
left: 0px;
width: 100%;
padding: 0.1em 0 0.3em 0;
color: #777;
}

.credits {
font-size: 0.8em;
}
Expand Down
44 changes: 32 additions & 12 deletions benefits/benefits.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

![Text editor](texteditor.png "Text editor")


!SLIDE full-page-image

![Have you checked your files in?](checked_in.jpg "With showoff you can")

Image courtesy of [Simbolism](http://www.flickr.com/people/simbolism/)


!SLIDE

@@@ diff
Expand All @@ -23,21 +21,41 @@ Image courtesy of [Simbolism](http://www.flickr.com/people/simbolism/)

+ @@@ javascript

!SLIDE
!SLIDE execute

# Code highlighting #

@@@ ruby
require 'sinatra/base'
@@@ javaScript
function testMe(number)
{
if(number == 1) {
return number;
}
return (number * testMe(number - 1));
}

class MyApp < Sinatra::Base
set :sessions, true
set :foo, 'bar'
result = testMe(5)

get '/' do
'Hello world!'
end
end
!SLIDE

# Menu System #

!SLIDE commandline incremental

# Command-line Reenactor #

$ git clone git://github.com/schacon/showoff.git
Initialized empty Git repository in /private/tmp/showoff/.git/
remote: Counting objects: 692, done.
remote: Compressing objects: 100% (646/646), done.
remote: Total 692 (delta 298), reused 8 (delta 0)
Receiving objects: 100% (692/692), 3.59 MiB | 4.87 MiB/s, done.
Resolving deltas: 100% (298/298), done.
$ cd showoff/
$ ls
LICENSE TODO.txt lib showoff.gemspec
README.txt bin public views
Rakefile example script


!SLIDE
Expand All @@ -58,3 +76,5 @@ Image courtesy of [Simbolism](http://www.flickr.com/people/simbolism/)
![Web](internet.jpg "Web")

Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/sebjoguet/162330937/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/sebjoguet/">Seb Joguet</a> <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.0/">(CC)</a></span>

## showoff-paris.heroku.com ##
6 changes: 3 additions & 3 deletions close/close.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://

# Links #

This presentation - <http://github.com/mocoso/showing-off-with-ruby>
This presentation - <http://github.com/schacon/showing-off-with-ruby>

Showoff - <http://github.com/schacon/showoff>
Original presentation - <http://github.com/mocoso/showing-off-with-ruby>

Slidedown - <http://github.com/nakajima/slidedown>
Showoff - <http://github.com/schacon/showoff>

Plainview - <http://barbariangroup.com/software/plainview>

Expand Down
32 changes: 21 additions & 11 deletions pechakucha.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function setUpPechaKucha()
// p for a pecha-kucha 20x20 talk http://www.pecha-kucha.org/
if (key == 80)
{
pechaKucha();
togglePechaKucha();
}
});
}
Expand All @@ -27,20 +27,30 @@ function setUpPechaKucha()
// Will go to the next slide every 20 seconds
//
// See http://www.pecha-kucha.org/ for more details
function pechaKucha()
var seconds = 0;
var timerRunning = false;

function togglePechaKucha()
{
if (!pechaKuchaRunning) {
pechaKuchaRunning = true
$("#pechaKuchaInfo").text(pechaKuchaStatus(0));
var seconds = 0;
setInterval(function() {
seconds++;
$("#pechaKuchaInfo").text(pechaKuchaStatus(seconds));
if (seconds == 20) {
seconds = 0;
nextStep();
}
}, 1000);
seconds = 0
if(!timerRunning) {
setInterval(function() {
timerRunning = true
if (!pechaKuchaRunning) { return; }
seconds++;
$("#pechaKuchaInfo").text(pechaKuchaStatus(seconds));
if (seconds == 20) {
seconds = 0;
nextStep();
}
}, 1000);
}
} else {
pechaKuchaRunning = false
$("#pechaKuchaInfo").text('')
}
}

Expand Down
Binary file added problem/keynote.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 1 addition & 8 deletions problem/problem.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
!SLIDE full-page-image

![Powerpoint screenshot](powerpoint.jpg "Powerpoint makes me feel slightly nauseous")
![Keynote screenshot](keynote.jpg "Keynote makes me feel slightly nauseous")


!SLIDE full-page-image

![An escapologist bound in chains at Covent Garden](no_escape.jpg "It feels like your hands are bound")

Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/62337512@N00/3904116563/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/62337512@N00/">Anthony Kelly</a> <a rel="license" href="http://creativecommons.org/licenses/by/2.0/">(CC)</a></span>


!SLIDE full-page-image

![A frustrated man](frustration.jpg "No more")

Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/corneveaux/3248566797/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/corneveaux/">Jason Corneveaux</a> <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/">(CC)</a></span>
17 changes: 5 additions & 12 deletions solution/solution.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,14 @@ Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://

!SLIDE full-page-image

![Scott Chacon](scott.jpg "Scott Chacon of Github fame wrote showoff")

Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/fraserspeirs/3395523242/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/fraserspeirs/">Fraser Speirs</a> <a rel="license" href="http://creativecommons.org/licenses/by/2.0/">(CC)</a></span>
![Big ruby on a table](ruby.jpg "It's a Sinatra application")

Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/jobafunky/4055955887/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/jobafunky/">JOBAfunky</a> <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/">(CC)</a></span>

!SLIDE

# &lt;HTML /> #


!SLIDE full-page-image

![Big ruby on a table](ruby.jpg "It's a Sinatra application")

Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/jobafunky/4055955887/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/jobafunky/">JOBAfunky</a> <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/">(CC)</a></span>


!SLIDE

# Write slides in markdown #
Expand All @@ -33,8 +24,10 @@ Image courtesy of <span xmlns:cc="http://creativecommons.org/ns#" about="http://
Image courtesy of [rappensuncle](http://www.flickr.com/photos/rappensuncle/146681779/)

# Showing off with Ruby #

## by Scott Chacon ##

## by Joel Chippindale ##
## forked from Joel Chippindale ##


!SLIDE
Expand Down
4 changes: 3 additions & 1 deletion title/title.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ $(function(){

# Showing off with Ruby #

## Joel Chippindale ##
## by Scott Chacon ##

### forked from Joel Chippindale ###

0 comments on commit 104a23e

Please sign in to comment.