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
#!/bin/sh | |
# If you would like to do some extra provisioning you may | |
# add any commands you wish to this file and they will | |
# be run after the Homestead machine is provisioned. | |
wget https://xdebug.org/files/xdebug-2.5.5.tgz | |
tar xvzf xdebug-2.5.5.tgz | |
cd xdebug-2.5.5 | |
phpize |
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 | |
$count = 12; | |
for($i=1; $i < $count; $i++){ | |
print( pow(2,$i) - 1) . ' | '; | |
} |
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
APP_ENV=testing | |
APP_DEBUG=true | |
APP_KEY=RMme3vqJUaNAxVi5kq33xBgRAxmp7yXU | |
DB_HOST=localhost | |
DB_DATABASE=test | |
DB_USERNAME=root | |
DB_PASSWORD= | |
CACHE_DRIVER=array |
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
APP_ENV=testing | |
APP_KEY=SomeRandomString | |
DB_CONNECTION=testing | |
DB_TEST_USERNAME=root | |
DB_TEST_PASSWORD= | |
CACHE_DRIVER=array | |
SESSION_DRIVER=array | |
QUEUE_DRIVER=sync |
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
public static void main(String[] args) { | |
final int maximum_users = 2, maximum_columns = 4; | |
final int name_index = 0, address_index = 1, age_index = 2, contact_index = 3; | |
final String name_label = "Name: ", address_label = "Address: ", age_label = "Age: ", contact_label = "Contact: "; | |
final String enter_label = "Enter "; | |
String student_array[][] = new String[maximum_users][maximum_columns]; | |
for (int i = 0; i < maximum_users; i++) { |
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 | |
class CI_Capstone_Controller extends MY_Controller | |
{ | |
/** | |
* | |
* @param array $header header | |
* @param array $table_data_rows rows | |
* @param string $table_config table bootstrap | |
* @param string $caption_lang caption |
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
public static void main(String[] args) { | |
/** | |
* size limit in array | |
*/ | |
int user_count = 5; | |
int user_filed_count = 4; | |
/** | |
* user_identification |
NewerOlder