If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml.
| // when you're trying to use `position:sticky` on an element | |
| // you'll have trouble if any parent/ancestor element has | |
| // overflow set to anything other than "visible" (such as: auto,hidden,overlay,scroll) | |
| // & turns out if a parent is `display:flex` it might need some love | |
| // (to remedy this you can set the `align-self` of your sticky element) | |
| // see here for how the display & align-self properties affect: http://bit.ly/2ZaRu4o | |
| // so, to find those troublesome parents... | |
| // copy & paste this into Chrome Inspector/Dev Tools console | |
| // (and be sure to change the #stickyElement below, if needed) |
| alias weather='curl -s wttr.in | sed -n "1,7p"' |
| # 1. Install brew --> http://brew.sh/ | |
| # 2. run the following commands in your Terminal | |
| brew tap homebrew/dupes | |
| brew tap homebrew/versions | |
| brew tap homebrew/homebrew-php | |
| brew install --with-openssl curl | |
| brew install --with-homebrew-curl --with-apache php71 | |
| brew install php71-mcrypt php71-imagick | |
| # 3. Follow these instructions to make Apache and php-cli use the newer php executable and make the change persist after reboot. | |
| brew info php71 |
| /*<?php | |
| //*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s", | |
| //\u000A\u002F\u002A | |
| class PhpJava { | |
| static function main() { | |
| echo(//\u000A\u002A\u002F | |
| "Hello World!"); | |
| }} | |
| //\u000A\u002F\u002A | |
| PhpJava::main(); |
If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml.
| root/ | |
| |-- scss/ # https://gist.github.com/ademilter/746cb307f14bd4e32de1#file-scss | |
| | | |
| |-- js/ # Script klasörü | |
| | |-- plugin/ - Eklentilere ait scriptler | |
| | |-- pages/ - Sayfalara özel scriptler | |
| | |-- plugin.js - Plugin klasöründeki dosyaları bu dosya içinde birleştiriyoruz | |
| | |-- main.js - Global olan bütün scriptleri buraya yazıyoruz | |
| | | |
| |-- img/ # Ham tasarım ve sprite gibi dosyalar (psd, sketch, ai, vs...) |
This is a short overview on how to completely remove any old mysql server installs in OSX and upgrade to MariaDB without conflicts. Things can get a bit weird when you have various old installs of MySQL server floating around, and utilizing homebrew to install and upgrade MariaDB as a drop in replacement for MySQL has worked well, especially if you're used to managing MySQL installs via yum in linux.
Backup all of your current databases with mysqldump
This isn't a tutorial on backups, and there are many ways to do it. You should know how to backup your data anyway. For this example, we'll do a full backup of our InnoDB databases.
| (function() { | |
| var script, | |
| scripts = document.getElementsByTagName('script')[0]; | |
| function load(url) { | |
| script = document.createElement('script'); | |
| script.async = true; | |
| script.src = url; | |
| scripts.parentNode.insertBefore(script, scripts); |