- HTTP, Cliente-Servidor
- Padrões Web
- Proposta de metodologia para projetos Web
- Camadas de desenvolvimento client-side
- Ambiente de desenvolvimento
- Metodologia: Orientada a projetos
This file contains 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
"When the GUI starts, t_vb is reset to its default value. | |
"Reassert that no flash or beep is wanted. |
This file contains 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
autocmd BufWritePre * :%s/\s\+$//e |
This file contains 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
* .form-loader input.bt-loading, /* para sobrepor a precedência de input.important */ |
This file contains 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
// 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 file contains 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
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)) |
This file contains 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
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 |
This file contains 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
if has("gui_mac") || has("gui_macvim") | |
set guifont=Menlo:h11.5 | |
set fuoptions=maxvert,maxhorz | |
endif |
This file contains 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
<%= 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 %> |
OlderNewer