Skip to content

Instantly share code, notes, and snippets.

#include<iostream>
using namespace std;
struct Automobil{
int ser_broj;
char proizvodjac[50];
char model[50];
int godina;
};
#include <stdlib.h>
#define BLOCKS 8192
#define BLOCKSIZE 8192
int main() {
int* blocks[BLOCKS];
int i;
for (i=0;i<BLOCKS;i++) {
blocks[i] = (int*)calloc(BLOCKSIZE,sizeof(int));
@foca
foca / gist:49
Created July 21, 2008 02:46 — forked from bkerley/cacheslam.c
We couldn’t find that file to show.
export COLOR_NC='\e[0m' # No Color
export COLOR_WHITE='\e[1;37m'
export COLOR_BLACK='\e[0;30m'
export COLOR_BLUE='\e[0;34m'
export COLOR_LIGHT_BLUE='\e[1;34m'
export COLOR_GREEN='\e[0;32m'
export COLOR_LIGHT_GREEN='\e[1;32m'
export COLOR_CYAN='\e[0;36m'
export COLOR_LIGHT_CYAN='\e[1;36m'
export COLOR_RED='\e[0;31m'
require 'spec_helper'
describe GroupsController do
include SessionTestHelper
describe "GET 'show'" do
it "should load the group from the database" do
@the_group = Factory(:group)
Group.stub(:find_active_by_unique_name).with("london-developers").
and_return(@the_group)
Guildhouse System Edited by spgm Member of Trinitycore for 3.3.3 Rev 8670
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -1,3 +1,4 @@
+add_subdirectory(GuildHouse)
add_subdirectory(updates)
add_subdirectory(scripts)
add_subdirectory(base)
Guildhouse System Edited by spgm Member of Trinitycore for 3.3.3 Rev 8670
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -1,3 +1,4 @@
+add_subdirectory(GuildHouse)
add_subdirectory(updates)
add_subdirectory(scripts)
add_subdirectory(base)
%% Copyright (c) 2008 Luke Galea www.ideaforge.org
%% Permission is hereby granted, free of charge, to any person obtaining a copy
%% of this software and associated documentation files (the "Software"), to deal
%% in the Software without restriction, including without limitation the rights
%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
%% copies of the Software, and to permit persons to whom the Software is
%% furnished to do so, subject to the following conditions:
%% The above copyright notice and this permission notice shall be included in
This is bar.txt and it was added remotely.