This file contains hidden or 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
<?php | |
$CFG_Host = 'localhost'; | |
$CFG_User = 'root'; | |
$CFG_Password = ''; | |
$CFG_Database = 'silexboard'; | |
define('DB_PREFIX', ''); | |
?> |
This file contains hidden or 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
<?php | |
/** | |
* @author Nut | |
* @copyright © 2011 Silex Bulletin Board - Team | |
* @license GNU GENERAL PUBLIC LICENSE v3 | |
* @package SilexBoard.DEV | |
* @version Revision: 8 | |
*/ | |
class Login { |
This file contains hidden or 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/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 |
This file contains hidden or 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
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[]) { |