Skip to content

Instantly share code, notes, and snippets.

View nwalke's full-sized avatar

Nick Walke nwalke

  • Kansas
View GitHub Profile
+----+---------------------+---------------------+------------+------------------+--------------+----------------+ │ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
| id | created_at | updated_at | deleted_at | name | possessor_id | possessor_type | │#18 /home/nick/projects/taas/artisan(35): Laravel\Lumen\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\
+----+---------------------+---------------------+------------+------------------+--------------+----------------+ │ConsoleOutput))
| 1 | 2016-11-15 06:08:34 | 2016-11-15 06:08:34 | NULL | my first project | 1 | App\User | │#19 {main}
+----+---------------------+---------------------+------------+---------
php > echo (0 == null ? "Yes" : "No");
Yes
php > echo (1 > null ? "Yes" : "No");
Yes
php > echo (0 > null ? "Yes" : "No");
No
php > echo (-1 > null ? "Yes" : "No");
Yes
sudo yum -y update
sudo yum -y groupinstall "Development Tools"
sudo yum -y install git libcurl-devel python-devel screen rsync yasm numpy openssl-devel
wget http://developer.download.nvidia.com/compute/cuda/5_5/rel/installers/cuda_5.5.22_linux_64.run
sudo sh cuda_5.5.22_linux_64.run
cd ~
git clone https://github.com/cbuchner1/CudaMiner
cd CudaMiner
./configure
PATH=/usr/local/cuda-5.5/bin:$PATH make