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
{ | |
"word_wrap": "true", | |
"color_scheme": "Packages/Theme - Phoenix/Color Scheme/Clouds Midnight.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 10, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Handlebars", | |
"Jade", |
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
@app.route('/<ObjectId:task_id>') | |
def show_task(task_id): | |
task = mongo.db.tasks.find_one_or_404(task_id) | |
return render_template('task.html', task=task) |
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
describe('NewActivityView', function() { | |
var view; | |
beforeEach(function() { | |
jasmine.getFixtures().fixturesPath = ''; | |
loadFixtures('index.html'); | |
view = new app.NewActivityView(); | |
}); | |
it('should bind $el to the right DOM element', function() { |
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
# -*- coding: utf-8 -*- | |
import random | |
leet = { | |
'a': ['4', '/\\', '@', '/-\\', '^', '\xc3\xa4', '\xc2\xaa', 'aye'], | |
'b': ['8', '6', '|3', '\xc3\x9f', 'P>', '|:'], | |
'c': ['[', '\xc2\xa2', '<', '('], | |
'd': ['|))', 'o|', '[)', 'I>', '|>', '?'], | |
'e': ['3', '&', '\xc2\xa3', '\xc3\xab', '[-', '\xe2\x82\xac', '\xc3\xaa', '|=-'], |
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
require 'formula' | |
class Elasticsearch < Formula | |
homepage 'http://www.elasticsearch.org' | |
url 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.4.tar.gz' | |
sha1 'c8bbe1f1975ffb6774744fadd0abb78616e96904' | |
head do | |
url 'https://gist.github.com/diegotoral/ec2a520c7087a6dea5ed' | |
depends_on 'maven' |
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
/* Bluefish HTML Editor | |
* bftextview2.h | |
* | |
* Copyright (C) 2008,2009,2010,2011,2012 Olivier Sessink | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 3 of the License, or | |
* (at your option) any later version. | |
* |
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
#!/usr/bin/python | |
import PPMaze | |
from gi.repository import GObject | |
from gi.repository import Clutter | |
class PPGuy(Clutter.Actor): | |
"""PPGuy class - base class for some entities of the game""" |
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
#include <stdio.h> | |
int main() | |
{ | |
for( ; 1; ) | |
printf("Funcionaaa!!!!\n"); | |
return 0; | |
} |
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
#include <stdio.h> | |
// Arestas/Alfabeto | |
enum Arestas | |
{ | |
A, B, C, D, E, | |
10c, 50c, 100c | |
} | |
//Estados do automato |
OlderNewer