I hereby claim:
- I am emanuelpoletto on github.
- I am emanuelpoletto (https://keybase.io/emanuelpoletto) on keybase.
- I have a public key ASA8Ft6pHMXmold5ydHdMR4eMdMHLpZwCgAU5T-iz0m_XAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| function minMeetingRooms(intervals) { | |
| const startTimes = [] | |
| const endTimes = [] | |
| intervals.forEach(([start, end]) => { | |
| startTimes.push(start) | |
| endTimes.push(end) | |
| }) | |
| startTimes.sort((a, b) => a - b) |
| # Example config file /etc/vsftpd.conf | |
| # | |
| # The default compiled in settings are fairly paranoid. This sample file | |
| # loosens things up a bit, to make the ftp daemon more usable. | |
| # Please see vsftpd.conf.5 for all compiled in defaults. | |
| # | |
| # READ THIS: This example file is NOT an exhaustive list of vsftpd options. | |
| # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's | |
| # capabilities. | |
| # |
| <?php | |
| /** | |
| * XML to Associative Array Class | |
| * | |
| * Usage: | |
| * $domObj = new xmlToArrayParser($xml); | |
| * $domArr = $domObj->array; | |
| * | |
| * if($domObj->parse_error) echo $domObj->get_xml_error(); | |
| * else print_r($domArr); |
| body { | |
| -webkit-font-smoothing: antialiased; | |
| -moz-font-smoothing: antialiased; | |
| -ms-font-smoothing: antialiased; | |
| font-smoothing: antialiased; | |
| -moz-text-shadow: 0 0 1px rgba(0, 0, 0, 0.01); | |
| -ms-text-shadow: 0 0 1px rgba(0, 0, 0, 0.01); | |
| text-shadow: 0 0 1px rgba(0, 0, 0, 0.01); | |
| /** | |
| * Registers the 'profession' taxonomy for users. This is a taxonomy for the 'user' object type rather than a | |
| * post being the object type. | |
| */ | |
| function my_register_user_taxonomy() { | |
| register_taxonomy( | |
| 'profession', | |
| 'user', | |
| array( |
| /** | |
| * Registering custom post types | |
| */ | |
| function CUSTOMPREFIX_register_post_types() { | |
| // product | |
| $product_labels = array( | |
| 'name' => __( 'Products', 'CUSTOMTEXTDOMAIN' ), | |
| 'singular_name' => __( 'Product', 'CUSTOMTEXTDOMAIN' ), | |
| 'add_new' => __( 'Add New', 'CUSTOMTEXTDOMAIN' ), |