npx react-native init AwesomeTSProject --template react-native-template-typescript
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 | |
| $xml = simplexml_load_file('test.xml'); | |
| $ns = $xml->getNamespaces(true); | |
| $xml->registerXPathNamespace('c', $ns['cfdi']); | |
| $xml->registerXPathNamespace('t', $ns['tfd']); | |
| //EMPIEZO A LEER LA INFORMACION DEL CFDI E IMPRIMIRLA | |
| foreach ($xml->xpath('//cfdi:Comprobante') as $cfdiComprobante){ | |
| echo $cfdiComprobante['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
| <?php | |
| $certificateCAcer = '/certificate.cer'; | |
| $certificateCAcerContent = file_get_contents($certificateCAcer); | |
| /* Convert .cer to .pem, cURL uses .pem */ | |
| $certificateCApemContent = '-----BEGIN CERTIFICATE-----'.PHP_EOL | |
| .chunk_split(base64_encode($certificateCAcerContent), 64, PHP_EOL) | |
| .'-----END CERTIFICATE-----'.PHP_EOL; |
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
| #Git ΒΏHiciste un commit en la rama incorrecta y no sabes cΓ³mo arreglarlo? Don't panic! π± | |
| 1οΈβ£ Ejecuta "git log" para ver tu historial de commits | |
| 2οΈβ£ Copia el hash del commit | |
| 3οΈβ£ Ve a la rama correcta y ejecuta "git cherry-pick" π | |
| + el hash |
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
| Blade Template 38 mins βββββββββββββββββββββ 35.8% | |
| YAML 35 mins βββββββββββββββββββββ 32.9% | |
| PHP 26 mins βββββββββββββββββββββ 24.6% | |
| Other 7 mins βββββββββββββββββββββ 6.8% |
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
| $ cd ~ | |
| $ sudo curl -sS https://getcomposer.org/installer | sudo php | |
| $ sudo mv composer.phar /usr/local/bin/composer | |
| $ sudo ln -s /usr/local/bin/composer /usr/bin/composer | |
| then you can run | |
| $ sudo composer install |
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
| <template> | |
| <div> | |
| <card> | |
| <span slot="tools"> | |
| <a href="#dlgNewNotice" class="btn btn-icon-toggle" data-toggle="modal"> | |
| <i class="fa fa-plus-square"></i> | |
| </a> | |
| </span> | |
| <span slot="title">Avisos</span> |
- Open Chrome, open any webpage
- Right click on the page and select Inspect from the Context menu to open the Developer Console
- Go to Console tab and type:
document.designMode = 'on'
- Start editing the page by clicking anywhere
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
| <section class="navigation"> | |
| <div class="nav-container"> | |
| <div class="brand"> | |
| <a href="#!">Logo</a> | |
| </div> | |
| <nav> | |
| <div class="nav-mobile"><a id="nav-toggle" href="#!"><span></span></a></div> | |
| <ul class="nav-list"> | |
| <li> | |
| <a href="#!">Home</a> |