Skip to content

Instantly share code, notes, and snippets.

#ifndef SORTEDLIST_H
#define SORTEDLIST_H
#include <QList>
#include <QtAlgorithms>
template <typename T>
class SortedList : public QList<T>
{
public:
#ifndef SORTEDLIST_H
#define SORTEDLIST_H
#include <QList>
#include <QtAlgorithms>
template <typename T>
class SortedList : public QList<T>
{
public:
PREFIX dbpedia: <http://dbpedia.org/page/>
PREFIX dbpprop: <http://dbpedia.org/property/>
PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
SELECT * WHERE {
?animal dbpprop:name ?name .
?animal dbpedia-owl:order <dbpedia:Carnivora> .
}
<script type="text/javascript" charset="utf-8">
var djConfig = {
afterOnLoad: true,
isDebug: false,
debugAtAllCosts: true,
parseOnLoad: true
};
</script>
<script src="./dojo/dojo/dojo.js"></script>
cookbook_file_example: [{
directory: true,
name: "foodir",
path: "foodir",
parent_path: "",
directories: [{
name: "bardir",
path: "foodir/bardir",
count: 5
esalazar@ciao:~/backlot/Substantial/Citi360$ cap deploy -s branch=alternate_api
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:substantial/Citi360.git alternate_api"
command finished in 1758ms
* executing "if [ -d /var/www/citi360-staging/shared/cached-copy ]; then cd /var/www/citi360-staging/shared/cached-copy && git fetch -q origin && git reset -q --hard a845f54ca04580487b1136c32c095644220e278a && git clean -q -d -x -f; else git clone -q [email protected]:substantial/Citi360.git /var/www/citi360-staging/shared/cached-copy && cd /var/www/citi360-staging/shared/cached-copy && git checkout -q -b deploy a845f54ca04580487b1136c32c095644220e278a; fi"
servers: ["citi360.substantial.com"]
unity --reset
WARNING: Unity currently default profile, so switching to metacity while resetting the values
Backend : gconf
I
index.html.erb:
---------------------------------------------------------
<div>STUFF WE SHOULDNT SEE</div>
<% foo(:head, @hsh) do %>
<script type="text/javascript" src="/js/work.js"></script>
<% end %>
someruby.rb
---------------------------------------------------------
Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection
Section "Module"
Load "glx"
EndSection
Section "Device"
class User
has_and_belongs_to_many :followers, :class_name => "User", :inverse_of => :followings
has_and_belongs_to_many :followings, :class_name => "User", :inverse_of => :followers
has_and_belongs_to_many :club_followings, :class_name => "Club", :inverse_of => :followers
end
class Club
has_and_belongs_to_many :followers, :class_name => "User", :inverse_of => :club_followings
end