This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<object data='https://s3.amazonaws.com/gruvi-player-ss/flash-assets/player-real.swf?config=/movies/9/flash.js' height='283' id='player' type='application/x-shockwave-flash' width='504'> | |
<!-- load configuration from config.js --> | |
<param name='flashvars' value='config=/movies/9/flash.js&width=504&height=283'> | |
<param name='movie' value='https://s3.amazonaws.com/gruvi-player-ss/flash-assets/player-real.swf'> | |
<param name='allowfullscreen' value='true'> | |
<param name='allowScriptAccess' value='always'> | |
<embed allowScriptAccess='always' flashvars='width=504&height=283' height='283' src='https://s3.amazonaws.com/gruvi-player-ss/flash-assets/player-real.swf?config=/movies/9/flash.js' type='application/x-shockwave-flash' width='504'> | |
</object> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Controller | |
def action | |
respond_to do |format| | |
format.html { render :gaitas_sem_javascript } | |
format.js { render :gaitas_que_o_javascript_curte } | |
format.json { render :jasão } | |
end | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require './lib/clishe' | |
class Console < Clishe::Base | |
command 'user' do |c| | |
c.parameter 'action', %w[add delete set], 'action to perform' | |
c.parameter 'username', String, 'the new user\'s username' | |
c.parameter 'email', /^\w+\.\w+@\w+\.\w+/, 'the new user\'s email address' | |
c.action do | |
puts c.params[:username] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import signal | |
import pyinotify | |
import pygtk | |
pygtk.require('2.0') | |
import gtk | |
import gobject | |
import appindicator | |
import pynotify |
NewerOlder