Skip to content

Instantly share code, notes, and snippets.

View julianalucena's full-sized avatar

Juliana Lucena julianalucena

  • Incognia
  • Recife, Pernambuco, Brazil
View GitHub Profile
<li id="window-chat-user-1">
<div class="chat-window">
<span class="name">Test User</span>
<ul class="conversation"></ul>
<div class="user-input">
<input type="text">
</div>
</div>
<div class="chat-window-bar opened">
<div class="online">on-line</div>
[{name : "Test User", user_id : 27, text : "Hoooray!",thumbnail => "/images/new/missing_users_thumb_24.png",
time => "hoje, 10:03"},
{name : "Test User", user_id : 27, text : "Hoooray!", thumbnail => "/images/new/missing_users_thumb_24.png",
time => "hoje, 10:03"}]
<%= pjax_content_for :head_scripts_and_styles do %>
<%= lazy_load :js, javascript_path("myplugin.js"), jammit_path(:jammt_package) do %>
(function($){
var a = new Abc();
a.init();
})($);
<% end %>
<% end %>
@julianalucena
julianalucena / kdelibs brew install error
Created July 18, 2011 01:42
brew install -v kdelibs error
juliana:~ julianalucena$ brew install -v kdelibs
Also installing dependencies: redland, soprano, shared-desktop-ontologies, shared-mime-info, attica, docbook, libdbusmenu-qt
==> Downloading http://download.librdf.org/source/redland-1.0.12.tar.gz
File already downloaded in /Users/julianalucena/Library/Caches/Homebrew
/usr/bin/tar xf /Users/julianalucena/Library/Caches/Homebrew/redland-1.0.12.tar.gz
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/redland/1.0.12 --with-sqlite=yes --with-mysql=no --with-bdb=/usr/local
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/redland/1.0.12 --with-sqlite=yes --with-mysql=no --with-bdb=/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build/install-sh -c -d
@julianalucena
julianalucena / brew doctor output
Created July 18, 2011 01:43
brew doctor output
juliana:~ julianalucena$ brew doctor
Your OS X is ripe for brewing.
Any troubles you may be experiencing are likely purely psychosomatic.
<script type="text/javascript">
function showLoadingUsers(){
document.getElementById('loading_bar').style.display = 'block';
$('user_list_table').remove();
}
</script>
.classofmything {
/* Properties of my thing */
display: block;
color: rgb(123, 123, 123);
}
/* My thing's border radius definition */
.borderradius .classofmything {
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
jQuery ($) ->
# Options for deeper nested fields
resourcesOptions = {
itemSelector: ".resource",
containerSelector: ".resources-container",
addSelector: ".resource-add",
removeSelector: ".resource-remove",
itemTemplateSelector: ".resource.template", # Identifies which template to use
new_item_index: "new_resource_index" # Same used on view options
}
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
export PS1="\[\033[38m\]\u@\h\[\033[01;34m\] \W \[\033[31m\]\$(parse_git_branch)\[\033[37m\]$\[\033[00m\] "

Task

  • X should be removed (from UI)
  • should be passed between stories and states
  • should be rendered when creating
  • X should rerender when updating
  • should have story_id
  • should bind to dragstop

Story