Skip to content

Instantly share code, notes, and snippets.

Avatar

Juliana Lucena julianalucena

  • Incognia
  • Recife, Pernambuco, Brazil
View GitHub Profile
View gist:1019362
<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>
View gist:1040203
[{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"}]
View _youtube.html.erb
<%= 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 Jul 18, 2011
brew install -v kdelibs error
View kdelibs brew install 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
View brew doctor output
juliana:~ julianalucena$ brew doctor
Your OS X is ripe for brewing.
Any troubles you may be experiencing are likely purely psychosomatic.
View gist:1264379
<script type="text/javascript">
function showLoadingUsers(){
document.getElementById('loading_bar').style.display = 'block';
$('user_list_table').remove();
}
</script>
View gist:1438429
.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;
View gist:1516092
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
}
View gist:1561184
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\] "
View README.markdown

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