Skip to content

Instantly share code, notes, and snippets.

View Nut's full-sized avatar
💯

Yannick Stephan Nut

💯
View GitHub Profile
package algo.task;
public class Task4 {
public static void main(String[] args) {
int[] test = {1, 2, 3, 1, 5, 2, 4};
findDuplicates(test);
}
public static void findDuplicates(int array[]) {
#!/usr/bin/ruby
# This script installs to /usr/local2 only. To install elsewhere you can just
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like.
module Tty extend self
def blue; bold 34; end
def white; bold 39; end
def red; underline 31; end
def reset; escape 0; end
def bold n; escape "1;#{n}" end
@Nut
Nut / login.class.php
Created July 2, 2011 13:58
Neues Login für SilexBoard
<?php
/**
* @author Nut
* @copyright © 2011 Silex Bulletin Board - Team
* @license GNU GENERAL PUBLIC LICENSE v3
* @package SilexBoard.DEV
* @version Revision: 8
*/
class Login {
@Nut
Nut / config.inc.php
Created June 20, 2011 12:08
Config Datei (im root Verzeichnis)
<?php
$CFG_Host = 'localhost';
$CFG_User = 'root';
$CFG_Password = '';
$CFG_Database = 'silexboard';
define('DB_PREFIX', '');
?>