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
    
  
  
    
  | function generate(size) { | |
| let config = { | |
| numbers: true, | |
| symbols: false | |
| }; | |
| // add symbols if needed | |
| // config.symbols = true; | |
| let alphabet_low = "abcdefghijklmnopqrstuvwxyz" | |
| let alphabet_up = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | 
  
    
      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
    
  
  
    
  | /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
  
    
      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
    
  
  
    
  | composer global require "laravel/installer" | 
  
    
      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 -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
| php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
| php composer-setup.php | |
| php -r "unlink('composer-setup.php');" | 
  
    
      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 --version | 
  
    
      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
    
  
  
    
  | sudo apt-get update | |
| sudo apt-get upgrade | 
  
    
      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
    
  
  
    
  | <select name="countries"> | |
| <option value="United States">United States</option> | |
| <option value="United Kingdom">United Kingdom</option> | |
| <option value="Afghanistan">Afghanistan</option> | |
| <option value="Albania">Albania</option> | |
| <option value="Algeria">Algeria</option> | |
| <option value="American Samoa">American Samoa</option> | |
| <option value="Andorra">Andorra</option> | |
| <option value="Angola">Angola</option> | |
| <option value="Anguilla">Anguilla</option> | 
  
    
      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
    
  
  
    
  | <select name="country" id="country"> | |
| <option value="0" label="Select a country … " selected="selected">Select a country</option> | |
| <optgroup id="country-optgroup-Africa" label="Africa"> | |
| <option value="DZ" label="Algeria">Algeria</option> | |
| <option value="AO" label="Angola">Angola</option> | |
| <option value="BJ" label="Benin">Benin</option> | |
| <option value="BW" label="Botswana">Botswana</option> | |
| <option value="BF" label="Burkina Faso">Burkina Faso</option> | |
| <option value="BI" label="Burundi">Burundi</option> | |
| <option value="CM" label="Cameroon">Cameroon</option> | 
  
    
      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 | |
| /** | |
| * Replaces double line-breaks with paragraph elements. | |
| * | |
| * A group of regex replaces used to identify text formatted with newlines and | |
| * replace double line-breaks with HTML paragraph tags. The remaining | |
| * line-breaks after conversion become <<br />> tags, unless $br is set to '0' | |
| * or 'false'. | |
| * | |
| * @param string $para The text which has to be formatted. | 
  
    
      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 | |
| function starsLineIcons($count = 1, $title = FALSE) { | |
| echo '<span class="ratings ratings-golden"'; | |
| if (empty($title)) { | |
| echo " title='{$title}'"; | |
| } | |
| echo '>'; | |
| for ($i=0; $i < $count; $i++) { | |
| echo '<span class="fa fa-star"></span>'; | |
| } |