var countriesInPortugueseBR = [
{
flag: 'af',
nameEn: 'Afghanistan',
namePt: 'Afeganistão',
},
{
flag: 'za',
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
| [{ | |
| "id": "1", | |
| "time": "20:30pm (4/16)", | |
| "link": "https://twitter.com/saludhn/status/1250972755996139522/photo/1", | |
| "headline": "A 9.3% sube la tasa de mortalidad en Honduras:", | |
| "abstract": "Se lamentan 6 nuevas muertes, todas en Cortés." | |
| }, { | |
| "id": "3", | |
| "time": "12:00am (4/16)", | |
| "link": "https://twitter.com/radiohrn/status/1250873543065243648", |
Run each of the following lines, replacing yourdomain.com and codehere with your details:
now dns add yourdomain.com @ TXT google-site-verification=codehere
now dns add yourdomain.com @ MX ASPMX.L.GOOGLE.COM 1
now dns add yourdomain.com @ MX ALT1.ASPMX.L.GOOGLE.COM 5
now dns add yourdomain.com @ MX ALT2.ASPMX.L.GOOGLE.COM 5
now dns add yourdomain.com @ MX ALT3.ASPMX.L.GOOGLE.COM 10
now dns add yourdomain.com @ MX ALT4.ASPMX.L.GOOGLE.COM 10
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
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe', | |
| 1 verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
| 1 verbose cli 'i', | |
| 1 verbose cli '-g', | |
| 1 verbose cli 'node-gyp' ] | |
| 2 info using npm@1.1.61 | |
| 3 info using node@v0.8.9 | |
| 4 verbose node symlink C:\Program Files (x86)\nodejs\\node.exe | |
| 5 verbose read json C:\Users\DELL GAMEZ\AppData\Roaming\npm\package.json |
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
| App.CDisqusComponent = Em.Component.extend({ | |
| didInsertElement: function(){ | |
| var root_url = "website url" | |
| , page_id = window.location.href | |
| , disqus_identifier = page_id | |
| , disqus_title = Em.$('title').text() | |
| , disqus_url = page_id | |
| , disqus_shortname = 'disqus shortname' | |
| , el_id = disqus_shortname + Date.now() | |
| this.set('page_id', el_id) |
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
| html, body, button, input, textarea, select { | |
| text-rendering: optimizeLegibility; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| body { | |
| background: #fff; | |
| color: #333; | |
| font: normal normal 22px/1.6 'dosis','Helvetica Neue',Helvetica,Arial,Verdana,sans-serif; |
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
| td { | |
| background: cyan; | |
| min-width: 100px; | |
| height: 100px; | |
| text-align: center; | |
| font-family: Arial; | |
| font-weight: 800; | |
| font-size:30px; | |
| } |
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
| td { | |
| background: cyan; | |
| min-width: 100px; | |
| height: 100px; | |
| text-align: center; | |
| font-family: Arial; | |
| font-weight: 800; | |
| font-size:30px; | |
| } |
Sin ser un especialista en Apache o PHP, decidi investigar en como correr diferentes "apps" en diferentes puertos, digo, para tener app1 en el puerto 8080, app2 en el puerto 8082, como normalmente lo haria en Node sin ningún problema.
Investigando me encontré con VirtualHosts y las configuraciones de sites-enabled, así que aqui va una rápida configuración:
/etc/apache2/ports.conf
Para escuchar en el puerto 3010, solo agregar:
NameVirtualHost *:3010
Listen 3010
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
| <html> | |
| <head> | |
| <title></title> | |
| </head> | |
| <body> | |
| <script type="text/javascript" src="/socket.io/socket.io.js"></script> | |
| <script type="text/javascript"> | |
| var ws = io.connect() |
NewerOlder