Tag: model

Kohana, PHP

Creating your own Model User

If you are trying to create your own Model User and you receive the message bellow: ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key()ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key()ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key()ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key() then you …

Linux

Get information about the processor – Linux

Gather all information about your processor: cat /proc/cpuinfocat /proc/cpuinfo Get the number of processors on your system: cat /proc/cpuinfo | grep processor | wc -lcat /proc/cpuinfo | grep processor | wc -l Get the model of your processor/s: cat /proc/cpuinfo | grep -m 1 "model name"cat /proc/cpuinfo | grep -m 1 "model name"