git clone [email protected]:Automattic/vip-go-mu-plugins-built.git
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 | |
/** | |
* Singleton trait to implements Singleton pattern in any classes where this trait is used. | |
*/ | |
trait Singleton { | |
protected static $_instance = 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
<?php | |
/** | |
* Add attributes to script while enqueueing/registering. | |
* | |
* @param string $tag whole script tag of current enqueueing script. | |
* @param string $handle current enqueuing script handler. | |
* | |
* @return string | |
*/ | |
function filter_script_loader_tag( $tag, $handle ) { |
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 Db | |
{ | |
protected $pdo; | |
public function __construct($pdo) | |
{ | |
$this->pdo = $pdo; | |
} |
I hereby claim:
- I am vishaldodiya on github.
- I am vishaldodiya (https://keybase.io/vishaldodiya) on keybase.
- I have a public key ASDHeBTu5Dd2_UjJ4fAI5DitJID1m-7Eu3BryPsUxMV7jAo
To claim this, I am signing this object:
- http://jeffe.cs.illinois.edu/teaching/algorithms/book/02-backtracking.pdf
- https://medium.com/@andreaiacono/backtracking-explained-7450d6ef9e1a
- Backtracking: https://www.youtube.com/watch?v=DKCbsiDBN6c
- Sum of Subsets: https://www.youtube.com/watch?v=kyLxTdsT8ws
- Thinking Recursively: https://web.stanford.edu/class/archive/cs/cs106b/cs106b.1126/lectures/07/Slides07.pdf