Permalink
Browse files

Final Presentation

  • Loading branch information...
1 parent 98f793f commit 0710acd4f79dc2bc43a39792cee117d7ad14e1a8 @masteinhauser committed May 10, 2012
View
13 app.coffee
@@ -17,6 +17,19 @@ app.use express.static(__dirname + '/assets')
app.get '/', (req,res) -> res.render('slides.jade', {ip: ip, port: port})
app.get '/remote', (req,res) -> res.render 'clicker.jade'
+io.enable('browser client minification') # send minified client
+io.enable('browser client etag') # apply etag caching logic based on version number
+io.enable('browser client gzip') # gzip the file
+io.set('log level', 1) # reduce logging
+# enable all transports (optional if you want flashsocket)
+io.set('transports', [
+ 'websocket'
+ , 'flashsocket'
+ , 'htmlfile'
+ , 'xhr-polling'
+ , 'jsonp-polling'
+])
+
slides_io = io.of("/slides")
clicker_io = io.of("/remote")
View
4 assets/css/slides.styl
@@ -51,10 +51,10 @@ pre
overflow: hidden
display: inline-block
vertical-align: middle
- padding: 3em
+ padding: 1em 2em 1em 2em
opacity: 0
transition: all .4s ease-in-out
- transform: translate(0, -100%)
+ transform: translate(0, -120%)
z-index: 1
.active
View
BIN assets/img/ec_mansion.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN assets/img/election1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN assets/img/poverty.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN assets/img/pp.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN assets/img/urng.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 assets/js/Clicker.coffee
@@ -53,9 +53,9 @@ Clicker = Backbone.View.extend
current = $(@slides.get(@slideId-1))
next = $(@slides.get(@slideId))
- $("#slide-title").text(current.find("h1").text())
+ $("#slide-title").text(current.find("h1").text() || current.find("h2").text())
$("#speaker-note").html(current.find(".speaker").html())
- $("#next-slide-title").html(next.find("h1").html() || "")
+ $("#next-slide-title").html(next.find("h1").html() || next.find("h2").html() || next.find("h3").html() || "")
$ ->
connection = io.connect()
View
3 assets/js/Slides.coffee
@@ -27,8 +27,7 @@ SlideRouter = Backbone.Router.extend
"32": -> @navigate "/slide/#{ if @slideId < @slides.size() then @slideId + 1 else @slides.size() }", true
allowEmit: true
- # keyboardEnabled: false
- keyboardEnabled: true
+ keyboardEnabled: false
initialize: (options = {}) ->
{ @slides, @socket } = options
View
103 views/slides.jade
@@ -56,11 +56,106 @@
ul
li High governmental corruption
li High non-homicidal violence
+ li Highly disproportionate distribution of wealth
+ center
+ img.framed(src='/img/poverty.jpg')
.speaker
ul
- li
- li
+ li Gov Corruption
+ li non-Homicidal Violence
+ li 0 <-> 100 wealth
+
+ .slide
+ h2 Why all of these stats? <br>I thought this was Oral Comm!
+ ul
+ li Setting the Stage
+ li Need to
+ a(href="http://dictionary.reference.com/browse/perception") perceive
+ | &nbsp;correctly
+ ul
+ li Mine: "Our 'view' of the world, interactions and communications"
+ li A form of
+ a(href="http://www.arts.ualberta.ca/igel/igel2004/Proceedings/Bartsch.pdf") Emotive Communication
+ ul
+ li Book: Words that sound as if they're describing something when they are really announcing the speaker's attitude
+ li How all of this relates back to American Politics
+
+ .speaker
+ ul
+ li Why stats?
+ li Perceive What?
+ li Form of Emotive Comm?
+
+ .slide
+ h2 Guatemalan Elections: Perception in Communication
+ ul
+ li Polital Officals usually Spanish
+ li Indigenous people can vote
+ li Wealth vs Power
+ center
+ img.framed(src='/img/pp.jpg')
+
+ .speaker
+ ul
+ li Spanish vs Mayan Officials
+ li Education concerns
+ li Wealth Difference
+
+ .slide
+ h2 Guatemalan Elections: Emotive Communication
+ ul
+ li Often show people of similar situations
+ li Show "Power", "Protection" and Wealth
+ li Bribe votes using Government programs, food giveaways and promises
+ li Mexican Drug Cartels and Violence
+ center
+ img.framed(src='/img/election1.jpg')
+
+ .speaker
+ ul
+ li Compare to American Politics
+ li Many "Basic" human needs vs America's Wealth needs
+ li Bought with Money/Promises
+ li Drug Cartels and Violence
+
+ .slide
+ h2 What You Should Take Away
+ ul
+ li Perception is all around us, positive and negative<br><br>
+ li Emotive Communication is one of the most common, and most powerful<br><br>
+ li Be aware of your use of perception and emotive communication
+ ul
+ li In everyday life
+ li How it's used against you.
+
+ .speaker
+ ul
+ li Perception is all around us, positive and negative
+ li Emotive Communication is one of the most common, and most powerful
+ li As the Guatemalan Polititions use it, we also use it in every day life as it's used against us to acheive goals.
+
+ .slide
+ h2 Sources
+ ul
+ li The Guardian:
+ a(href="http://www.guardian.co.uk/commentisfree/cifamerica/2010/nov/11/guatemala-mexico") Mexican Drug War
+ li
+ a(href="https://www.cia.gov/library/publications/the-world-factbook/geos/gt.html") CIA World Factbook
+ li
+ a(href="http://www.state.gov/r/pa/ei/bgn/2045.htm") U.S. Department of State
+ li
+ a(href="http://www.travel.state.gov/travel/cis_pa_tw/cis/cis_1129.html") U.S. Department of State - Travel
+ li
+ a(href="http://web.worldbank.org/WBSITE/EXTERNAL/TOPICS/EXTPOVERTY/EXTPA/0,,contentMDK:20207581~menuPK:443285~pagePK:148956~piPK:216618~theSitePK:430367,00.html") World Bank
+ li Washington Post:
+ a(href="http://www.washingtonpost.com/world/americas/guatemala-nicaragua-go-to-the-polls/2011/11/05/gIQAPZs1pM_story.html") Guatemala, Nicaragua go to the polls
+ li The Guatemala Times:
+ a(href="http://www.guatemala-times.com/news/guatemala/2595-guatemala-still-has-highest-fertility-rate-in-latin-america.html") Guatemala still has highest fertility rate in Latin America
+ li (Photos) tamerlane's thoughts:
+ a(href="http://karakullake.blogspot.com/2008/11/guatemalan-political-signs.html") Guatemalan Political Signs
+ li BBC:
+ a(href="http://www.bbc.co.uk/news/world-latin-america-15594159") Ex-general Otto Perez Molina wins Guatemala election
.slide
h1 Questions + Discussion
@@ -93,8 +188,8 @@ img.logo(src='/img/adc.png')
#keyboard-enable
#footer
- a(href="http://github.com/masteinhauser/zabbix-slides", target='_blank')
- | http://github.com/masteinhauser/zabbix-slides
+ a(href="http://github.com/masteinhauser/guate-slides", target='_blank')
+ | http://github.com/masteinhauser/guate-slides
.upper
| Myles Steinhauser
a(href="http://twitter.com/masteinhauser") @masteinhauser

0 comments on commit 0710acd

Please sign in to comment.