Skip to content

Instantly share code, notes, and snippets.

View guiocavalcanti's full-sized avatar

Guilherme Cavalcanti guiocavalcanti

View GitHub Profile

Ementa

Visão Geral

  1. HTTP, Cliente-Servidor
  2. Padrões Web
  3. Proposta de metodologia para projetos Web
  4. Camadas de desenvolvimento client-side
  5. Ambiente de desenvolvimento
  6. Metodologia: Orientada a projetos

HTML

Ementa

Visão Geral

  • HTTP, Cliente-Servidor
  • Padrões Web
  • Proposta de metodologia para projetos Web
  • Camadas de desenvolvimento client-side
  • Ambiente de desenvolvimento
  • Metodologia: Orientada a projetos

HTML

"When the GUI starts, t_vb is reset to its default value.
"Reassert that no flash or beep is wanted.
autocmd BufWritePre * :%s/\s\+$//e
* .form-loader input.bt-loading, /* para sobrepor a precedência de input.important */
// Investigating this issue a realized some behaivor that may not be what is excpected. Assuming we have two presence channels (say p1 and p2) created by exstending a common channel (using Pusher.Util.extend) and doing p1.memmbers.add(member) also adds the member to p2.members. Trying to overcome my bad english, I made a simplified example.
var Pusher = {}
Pusher.Channel = function(channel_name){
this.name = channel_name;
}
Pusher.Channel.prototype = {
init : function(){ return "prototype init"; }
this.bind('pusher_internal:member_added', function(data){
var timeoutMember = this.members.get(data.user_id);
if(timeoutMember && timeoutMember.info.timeoutID){ // The member is present with a timeout
clearTimeout(timeoutMember.info.timeoutID);
}else{
var member = this.members.add(data.user_id, data.user_info);
this.dispatch_with_all('pusher:member_added', member);
}
}.scopedTo(this))
data Tree t = EmptyTree
| Node t (Tree t) (Tree t)
deriving Show
nivel :: Float -> Int -> Int
nivel 0 _ = 0
nivel n x = if (n >= 2) then nivel (n / 2) (x + 1) else x
criarArvore :: Int -> Int -> Int -> Tree Int
criarArvore n _ 0 = EmptyTree
if has("gui_mac") || has("gui_macvim")
set guifont=Menlo:h11.5
set fuoptions=maxvert,maxhorz
endif
<%= pjax_content_for :head_scripts_and_styles do %>
<%= lazy_load :css, javascript_path("myplugin.js"), jammit_path(:jammt_package) do %>
(function($){
var a = new Abc();
a.init();
})($);
<% end %>
<% end %>