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 Iksemel < Formula | |
homepage 'http://code.google.com/p/iksemel/' | |
url 'https://code.google.com/p/iksemel.git', :revision => '978b733462e41efd5db72bc9974cb3b0d1d5f6fa' | |
version '1.5' | |
depends_on 'libtool' => :build | |
depends_on 'gnutls' |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); |
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> | |
#include <stdlib.h> | |
#include <string.h> | |
#if defined(_WIN32) | |
#include <windows.h> | |
#elif defined(__linux__) | |
#include <sys/stat.h> | |
#include <sys/mman.h> | |
#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
require 'formula' | |
class Libircclient < Formula | |
homepage 'http://www.ulduzsoft.com/linux/libircclient/' | |
url 'http://downloads.sourceforge.net/project/libircclient/libircclient/1.6/libircclient-1.6.tar.gz' | |
sha1 '10fb7a2478f6d668dce2d7fb5cd5a35ea8f53ed4' | |
depends_on 'pkg-config' => :build | |
depends_on 'autoconf' => :build | |
depends_on 'automake' => :build |
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 Taningia < Formula | |
homepage 'https://github.com/clarete/taningia' | |
url 'https://github.com/clarete/taningia.git' | |
version '0.2.3' | |
depends_on 'pkg-config' => :build | |
depends_on 'autoconf' => :build | |
depends_on 'automake' => :build |
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
import json | |
import pygal | |
# Parsing the json file | |
content = json.load(open('split.json')) | |
# App app names | |
app_names = list({x['what'] for x in content['app']}) | |
# All file names |
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
#!/bin/bash | |
# | |
# I usually start the server with the following command | |
# before running this script: | |
# | |
# $ mysqld_safe --skip-grant-tables | |
# | |
# Than just run the following script and all the databases | |
# are gonna be saved in separate files in the current | |
# directory. Ps.: It does not check for existing files, |
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/env python | |
import argparse | |
import gitlab3 | |
import io | |
import os | |
import sys | |
def parse_command_line_arguments(args): | |
parser = argparse.ArgumentParser(description='Manage GitLab deploy keys') |
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
import flask | |
app = flask.Flask(__name__) | |
@app.route('/') | |
def index(): | |
return 'oi! voce veio do site: {0}. Clique <a href="/">aqui</a>'.format(flask.request.referrer) | |
if __name__ == '__main__': | |
app.run(host='0.0.0.0', port=80, debug=True) |
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
#!/bin/sh | |
BOTOFILE=${HOME}/.boto | |
### Helpers | |
helper_profile_name() { | |
printf $(basename $1) | cut -d. -f3 | |
} | |
### List all the configuration files we have for boto |
OlderNewer