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 Product{ | |
| protected $_type = ''; | |
| protected $_size = ''; | |
| protected $_color = ''; | |
| public function setType($type){ | |
| $this->_type = $type; | |
| } | 
  
    
      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 | |
| abstract class baseDAO{ | |
| private $__connection; | |
| public function __construct(){ | |
| $this->_connectToDB(DB_USER, DB_PASS, DB_HOST, DB_DATABASE); | |
| } | |
| private function __connectToDB($user, $pass, $host, $database){ | 
  
    
      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 CD { | |
| public $trackList; | |
| public function __construct(){ | |
| $this->trackList = array(); | |
| } | |
| public function addTrack($track){ | |
| $this->trackList[] = $track; | 
  
    
      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
    
  
  
    
  | Sub ListFiles() | |
| 'Set a reference to Microsoft Scripting Runtime by using | |
| 'Tools > References in the Visual Basic Editor (Alt+F11) | |
| 'Declare the variables | |
| Dim objFSO As Object | |
| Dim objTopFolder As Object | |
| Dim strTopFolderName As String | |
| Dim flink As Range | 
  
    
      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
    
  
  
    
  | UPDATE wp_posts SET `post_content` = REPLACE (`post_content`, 'src="http://www.your-site.com"', 'src="https://www.your-site.com"'); | |
| UPDATE wp_2_posts SET `post_content` = REPLACE (`post_content`, 'src="http://www.your-site.com"', 'src="https://www.your-site.com"'); | |
| UPDATE wp_posts SET `guid` = REPLACE (`guid`, 'http://www.your-site.com', 'https://www.your-site.com') WHERE post_type = 'attachment'; | |
| UPDATE wp_2_posts SET `guid` = REPLACE (`guid`, 'http://www.your-site.com', 'https://www.your-site.com') WHERE post_type = 'attachment'; | 
  
    
      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 runTyping() { | |
| var element = document.querySelector('#output'); | |
| var typeSpeed = 100; // 80 ms | |
| var deleteSpeed = 30; // 30 ms | |
| var deleteAfter = 1000; // 1 second | |
| var items = [ | |
| "I sleep", | |
| "I eat", | |
| "I learn", | 
  
    
      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
    
  
  
    
  | Set raA = wkB.Names("BName").RefersToRange | 
  
    
      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
    
  
  
    
  | /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
| /* Styles */ | |
| } | |
| /* Smartphones (landscape) ----------- */ | |
| @media only screen and (min-width : 321px) { | |
| /* Styles */ | |
| } | 
  
    
      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
    
  
  
    
  | rst.MoveFirst | |
| Do Until rst.EOF = True | |
| ... | |
| ... | |
| ... | |
| rst.MoveNext | |
| Loop | 
  
    
      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 Sub LoopShading() | |
| Dim c As Range, bottomA As Long, curr As String, prev As String | |
| Dim currColor As String, prevColor As String, tempcolor As String | |
| bottomA = Range("A" & Rows.Count).End(xlUp).Row | |
| currColor = "blue" | |
| prevColor = "orange" | |
| prev = "010-F-31001" | |
| For Each c In Range("A2:A" & bottomA) | |
| curr = c |