If you are reading this there is a possibility you have run into this error message in your terminal window: sh: mysql: command not found
This error is being displayed because MAMP Pro stores MySQL in a location on your Mac that isn’t added to your main $PATH. MySQL is stored in the MAMP Pro bin folder here: /Applications/MAMP/Library/bin/mysql
Fortunately the fix is rather simple following the below steps:
In your home directory create or edit the file “.bash_profile” you can access your home directory by typing: cd ~/ Add this to the top of the file: export PATH=$PATH:/Applications/MAMP/Library/bin Save the file and then restart your Terminal In your newly restarted Terminal window type: mysql –version This will now map MySQL to your path and allow you to access it by just typing “mysql”
If you have used Airbnb before, then you would be familiar with the location field where you type your desired location and it gives you a dropdown of suggested places based on what you type.
I have seen sites that try and build their own location databases, but we all know it can be a difficult and sometimes expensive task to obtain up-to-date global location information for cities, landmarks, postal codes, regions and more. The Place Autocomplete API gives you the power of the Google Maps search dropdown without needing to buy the data.
Recently Variety posted an article titled Expendables 3 Flops: Is Piracy To Blame? in which a case is made whether or not the movie leaking onto torrent sites 3 weeks before its official release damaged it at the box office.
The movie fell short $10 million of its expected $26 million, debuting at $16.2 million in revenue which is atrocious when you compare that to other movies that debuted at the same time as it did like Teenage Mutant Ninja Turtles and Lets Be Cops.
The now massive and widely successful Australian music festival for rock, punk and metal genres is back in 2015 with a new two day festival format. This is due to complaints from prior years with timetable conflicts, disagreements with larger bands wanting headline spots and overrall the standard festival issues that arise.
Personally I am really excited about the rumoured bands for the festival. My ideal line-up would contain most of, some or best case scenario all of the following bands. Following the traditional Soundwave formular we can expect to see a lot of bands that made an appearance and didn’t piss AJ Maddah off making an appearance at Soundwave Festival 2015. Some of the bands on my wishlist played Soundwave Festival 2012, so there is a good chance some of these bands will be there.
There are a very few words in the English that can incite rage at the sound of them like the word “cyclist” can, especially in Australia.
The topic of “whether cyclists should pay registration” in Australia has been brought up quite a few times by some people, but is it a good idea?
Misunderstanding When cyclists hear the words “compulsory registration” you can literally hear the veins in the heads of lycra laden cyclists popping out from their foreheads.
Recently whilst working on the reskin of a mammoth web application written in PHP, I encountered a scenario where I needed to wrap elements within a div every four iterations.
The task is simple enough and if you’ve worked with WordPress before especially, you’ll know the aged-old approach is to use a counter and then the modulus operator.
While the modulus and counter approach does work, it is hacky, complicated and messy. You’re probably wondering if there is a better way and there this.
Since NoSQL databases like MongoDB hit the mainstream scene a few years ago, it’s not uncommon to come across numerous Stackoverflow and Quora posts from people asking if or how they should replace a MySQL database with X NoSQL database.
The reality of the situation is you should only make such decisions based on your needs. Blindly picking a database without first assessing whether or not you need too or if it’ll even fit your use-case is a dangerous position to find yourself in.
I’ll give you a hint: it is not to catch terrorists or prevent terrorist organisations communicating and plotting terrorist acts in Australia.
As Tony Abbott pointed out himself Australia’s threat level remains unchanged. The US already knowingly collects metadata via its PRISM program and considering most Australian traffic would be accessing US based websites it does not leave many possible explanations for such a scheme.
What is metadata? Essentially metadata is data about data. Website owners use meta tags for page descriptions, a page title, author tags and more. Essentially it describes the content when read outside of the context of the data it is describing. It’s a higher level description of data.
Move over web 2.0, AJAX, flat design and NoSQL, there is a new buzzword in town that goes by the name of The Internet of Things or as it is commonly known on every tech blog as: IoT.
Wait, what is The Internet of Things? The Internet of Things is essentially buzzword speak for devices and switches that can talk to each other without human intervention. Smart sensors and applications that share data with each other automatically, states are shared and data is used to determine actions and outcomes. Anything with a switch will eventually be connected, it does pose some security concerns, but that is for another time.
The thick plastic sheet currently encasing most Australian start-ups is begging to be pricked with a venture capitalists fork. It’s not secret that investment in the Australian start-up scene is very small, there are a few incubators in 2014 with more on the way, but relatively tiny amounts of capital with unfair terms.
Recently Australia was ranked 13th in Bloomberg’s Global Innovation Index which is a pretty stellar achievement for a country as small as ours.