Skip to content

Instantly share code, notes, and snippets.

View julioprotzek's full-sized avatar
🎯
Focusing

Julio Protzek julioprotzek

🎯
Focusing
View GitHub Profile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.1'
# Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.3.8'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'
Paporeto::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
# Do not eager load code on boot.
config.eager_load = false
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.1'
# Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.3.8'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'
#= require jquery
#= require jquery_ujs
#= require bootstrap
#= require uploadbox
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
tags
.DS_Store
._.DS_Store
article
= link_to [@category, article] do
= img article.image.thumb if article.image?
h2 = article.title
p = truncate(article.summary, length: 80)
Aí vão alguns vídeos explicando a plataforma.
Um ponto que eu não citei: Estamos focando no Chrome como navegador para essa primeria versão.
Tanto alunos quando Tutores vão precisar usar Chrome por enquanto.
Curso:
https://vimeo.com/91562456
Módulos:
https://vimeo.com/91562457
class @VideoInput
constructor: (@container) ->
# console.log 'VideoInput'
@sourceTextarea = @container.find('textarea')
@urlInput = $('<input class="form__input" placeholder="Cole aqui o endereço do vídeo do Youtube ou Vimeo">')
@removeButton = $('<a data-behavior="remove" href="#">&times;</a>')
@urlInput.on 'keyup', @renderVideo
@sourceTextarea.before(@urlInput)
@sourceTextarea.before(@removeButton)
$itens= array();
while($row_tabela = mysql_fetch_row($result_query))
{
$itens[]= $row_tabela[2];
}
echo implode(',', $itens);
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<title>Flash</title>
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<style> article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; } </style>
<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script>
swfobject.embedSWF("<?php echo $url ?>/arquivo.swf", "flash_banner", "300", "120", "9");