View Ducci.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Ducci {
static class DucciSolver {
///The entry point of the program
static void Main(string[] args) {
View GameController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class GameController : MonoBehaviour {
public Tilemap tilemap; //set by the user
MapGenerator mapGenerator = new MapGenerator();
MapEtcher mapEtcher;
View Switcher.cpp
//This isn't really possible with templates, and even without templates it needs refactoring every time you want to add something new.
#include <functional>
#include <iostream>
#include <string>
class Switcher {
Switcher(std::string s);
Switcher(int i);
View karma.conf.js
// Karma configuration
var webpackConfig = require('./webpack.config.js');
module.exports = function(config) {
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
View lorem_ipsum.js
var lorem = ['Lorem', 'ipsum', 'dolor', 'sit', 'amet,', 'consectetur', 'adipiscing', 'elit.', 'Sed', 'at', 'ante.', 'Mauris', 'eleifend,', 'quam', 'a', 'vulputate', 'dictum,', 'massa', 'quam', 'dapibus', 'leo,', 'eget', 'vulputate', 'orci', 'purus', 'ut', 'lorem.', 'In', 'fringilla', 'mi', 'in', 'ligula.', 'Pellentesque', 'aliquam', 'quam', 'vel', 'dolor.', 'Nunc', 'adipiscing.', 'Sed', 'quam', 'odio,', 'tempus', 'ac,', 'aliquam', 'molestie,', 'varius', 'ac,', 'tellus.', 'Vestibulum', 'ut', 'nulla', 'aliquam', 'risus', 'rutrum', 'interdum.', 'Pellentesque', 'lorem.', 'Curabitur', 'sit', 'amet', 'erat', 'quis', 'risus', 'feugiat', 'viverra.', 'Pellentesque', 'augue', 'justo,', 'sagittis', 'et,', 'lacinia', 'at,', 'venenatis', 'non,', 'arcu.', 'Nunc', 'nec', 'libero.', 'In', 'cursus', 'dictum', 'risus.', 'Etiam', 'tristique', 'nisl', 'a', 'nulla.', 'Ut', 'a', 'orci.', 'Curabitur', 'dolor', 'nunc,', 'egestas', 'at,', 'accumsan', 'at,', 'malesuada', 'nec,', 'magna.', 'Nulla', 'facilisi.', 'Nunc', 'volutpat.', 'Ve
class Animal:
__name = ""
__height = 0
__weight = 0
__sound = ""
def __init__(self, name, height, weight, sound):
self.__name = name
self.__height = height
self.__weight = weight
View hash.cpp
/* Copyright: (c) Kayne Ruse 2015
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
View main.cpp
#include <iostream>
#include "name.hpp"
namespace test {
void printVar() {
std::cout << var << std::endl;
void setVar(int i) {
var = i;
View managers.txt
Searching 211 files for "Mgr."
31 void ServerApplication::hCharacterCreate(CharacterPacket* const argPacket) {
32: int characterIndex = characterMgr.Create(argPacket->accountIndex, argPacket->handle, argPacket->avatar);
34 if (characterIndex < 0) {
View coin.cpp
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
unsigned fnv_hash_1a_32(void *key, int len) {
unsigned char *p = static_cast<unsigned char*>(key);
unsigned h = 0x811c9dc5;
for (int i = 0; i < len; i++) {
h = ( h ^ p[i] ) * 0x01000193;