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
| const { | |
| firstLevel: { | |
| secondLevel: { attributeOriginalName: renameAtributte = 'setDefaultValue'}, | |
| anotherSecondLevel: anotherAttributeOriginal_name | |
| } | |
| } = mainObjectOrFunction(); |
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
| // don't do this, it is very costly | |
| window.addEventListener('resize', () => { | |
| if (window.innerWidth > 720) { | |
| showElementDesktop(); | |
| } | |
| }); | |
| // use the media queries api | |
| const desktopMediaQuery = window.matchmedia('(min-width: 720px)'); |
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
| If you want to patch and build mysql-workbench yourself, you can get the source from for 6.2.3 from http://dev.mysql.com/downloads/file.php?id=453799. From the directory you downloaded it to, do: | |
| tar xvf mysql-workbench-community-6.2.3-src.tar.gz | |
| cd mysql-workbench-community-6.2.3-src | |
| wget -O patch-glib.diff http://bugs.mysql.com/file.php?id=21874&bug_id=74147 | |
| patch -p0 < patch-glib.diff | |
| sudo apt-get build-dep mysql-workbench | |
| sudo apt-get install libgdal-dev | |
| cd build | |
| cmake .. -DBUILD_CONFIG=mysql_release |
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
| Found the following information here: http://stackoverflow.com/questions/14245668/redirect-www-to-non-www-or-the-other-way-around | |
| For Apache, copy these rules in the .htaccess file located in the wwwroot directory: (Choose only one!) | |
| ######################### | |
| # redirect no-www to www | |
| ######################### | |
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} ^(?!www\.)(.+) [NC] |