NBA Players Reverse Engineered – Steve Novak
#include "marquette" #include "nba" class steveNovak{ private: float 3pprocent; float mpg; bool willhitnext; public: int main(){ 3pprocent = 442; mpg = 13.5; bench = true; willhitnext = false; } bool shoot2pt(){ return false; } bool shoot3pt(){ shot = rand() % 1001; if (shot < 3pprocent){ return true; willhitnext = false; }else{ if (willhitnext){ return true }else{ return false; willhitnext = true } } } void playDefence(){ sleep(2); echo "HELP!!!!"; } }
CBS – CentOS Build Service – Ready for Testing
Hi all
A quick howto, on installing CBS/OBS on CentOS 6/RHEL 6:
RHEL6:
wget -O /etc/yum.repos.d/RHEL-CBS.repo http://download.opensuse.org/repositories/home:/martin-juhl:/branches:/openSUSE:/Tools/RHEL_6/home:martin-juhl:branches:openSUSE:Tools.repo
or
CentOS6:
wget -O /etc/yum.repos.d/CentOS-CBS.repo http://download.opensuse.org/repositories/home:/martin-juhl:/branches:/openSUSE:/Tools/CentOS_6/home:martin-juhl:branches:openSUSE:Tools.repo
yum install obs-web-httpd obs-server obs-worker obs-api mysql-server
chkconfig obsworker on
chkconfig mysqld on
service mysqld start
/etc/sysconfig/obs-server
OBS_API_AUTOSETUP=”no”
OBS_API_AUTOSETUP=”yes”
OBS_VM_TYPE=”auto”
OBS_VM_TYPE=”none”
/etc/init.d/obsapisetup start
mv /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.bak
chkconfig httpd on
reboot
Now go the servers IP-adresse/Hostname for the web-interface…
Login: Admin
Pass: opensuse