https://websitebeaver.com/set-up-localhost-on-macos-high-sierra-apache-mysql-and-php-7-with-sslhttps
https://stackoverflow.com/questions/6474775/setting-the-mysql-root-user-password-on-os-x
Stop the mysqld server. Mac OSX: System Preferences > MySQL > Stop MySQL Server Linux (From Terminal): sudo systemctl stop mysqld.service
Start the server in safe mode with privilege bypass From Terminal: sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables
In a new terminal window:
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
This happens when trying to install a new dependency and there is not enough memory, so you can raise the memory (in this case to 3GB) temporarily using :
php -d memory_limit=3G C:\ProgramData\ComposerSetup\bin\composer.phar require excelwebzone/r
Check the actual memory limit with:
php -r "echo ini_get('memory_limit').PHP_EOL;"
https://stackoverflow.com/questions/35387667/git-bash-is-displaying-strange-characters-on-windows-7
Having used git on windows for over three years now, I’ve fallen back in love with the command line. Bash, of course, not the windows command prompt. Beautiful, ubiquitous, warty bash. Git depends heavily on GNU utilities so on Windows it requires either cygwin or msys. Having been burned by cygwin in the past, I prefer the minimalism and simplicity of msys + mingw. Along with git, the entire ruby ecosystem lives in the shell. However, the numerous tools, gems and utilities that assume standard ANSI color support in the shell began to wear on me. Lo and behold, there is a lovely solution to provide ansi color support for bash (and cmd) on Windows: ansicon.
Download the zip and extract (https://github.com/adoxa/ansicon/downloads). There are a few ways to install:
Extract to a permanent location (I use C:/bin/ansicon). Execute ansicon.exe -i from within the appropriate directory for your system (x86/x64),
Use:
View preview = layoutInflater.inflate(R.layout.item_cm_preview_image,parent,false);
and not:
View preview = layoutInflater.inflate(R.layout.item_cm_preview_image,null);
You create the paginator and then set the property useOutputWalkers to false.
$paginator = new Paginator($this->query, $fetchJoinCollection = true);
$paginator->setUseOutputWalkers(false);
http://phpbeginnertoadvanced.blogspot.com.co/2015/11/symfony-and-doctrine-pagination-with-dql.html
package se.marteinn.ui; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.widget.AbsListView; | |
import android.widget.ListView; | |
/** | |
* Triggers a event when scrolling reaches bottom. |
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |