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 | |
| // Sedi Custom Post Type | |
| class Sedi_Cpt { | |
| public function __construct() | |
| { | |
| add_action( 'init', array( $this, 'build_custom_post_type' ), 0 ); | |
| add_action( 'init', array( $this, 'build_aree_taxonomy' ), 0 ); | |
| add_action( "add_meta_boxes", array( $this, "build_meta_boxes" ) ); |
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
| import 'dart:math'; | |
| class Quick { | |
| void swap(List<int> arr, int i, int j) { | |
| var temp = arr[i]; | |
| arr[i] = arr[j]; | |
| arr[j] = temp; | |
| } |
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
| class Singleton { | |
| Singleton._internal(); | |
| static final Singleton _singleton = new Singleton._internal(); | |
| factory Singleton() => _singleton; | |
| } |
NewerOlder