Skip to content

Instantly share code, notes, and snippets.

@saturnxxi
saturnxxi / gist:8470554
Created January 17, 2014 09:24
NetipProvider for Geocoder library
<?php
namespace My\Bundle\Utils\Geo;
use Geocoder\Exception\NoResultException;
use Geocoder\Exception\UnsupportedException;
use Geocoder\Provider\AbstractProvider;
use Geocoder\Provider\ProviderInterface;
class NetipProvider extends AbstractProvider implements ProviderInterface
@saturnxxi
saturnxxi / gist:d4d495ce1dcce9c2f46db1157a33418e
Created December 6, 2016 08:47 — forked from alexsegura/gist:9650651
Prestashop 1.6 folder permissions
chmod a+w -R config/
chmod a+w -R cache/
chmod a+w -R log/
chmod a+w -R img/
chmod a+w -R mails/
chmod a+w -R modules/
chmod a+w -R themes/default-bootstrap/lang/
chmod a+w -R themes/default-bootstrap/pdf/lang/
chmod a+w -R themes/default-bootstrap/cache/
chmod a+w -R translations/
@saturnxxi
saturnxxi / wp.sh
Created April 19, 2017 13:28 — forked from phlbnks/wp.sh
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Do you need to setup new MySQL database? (y/n)"
read -e setupmysql
if [ "$setupmysql" == y ] ; then
echo "MySQL Admin User: "
read -e mysqluser