rm -rvf /var/lib/mysql/ib_logfile*
touch /var/lib/mysql/mysql.sock
touch /var/lib/mysql/mysql.pid
chown -R mysql:mysql /var/lib/mysql
systemctl restart mysql
| <?php | |
| /** | |
| * Take the landing page content, strip the tags and return an shortened versions. | |
| * | |
| * @param $text | |
| * @param bool $strip_tags | |
| * @param int $max_length | |
| * @param string $cut_off | |
| * @param bool $keep_word |
rm -rvf /var/lib/mysql/ib_logfile*
touch /var/lib/mysql/mysql.sock
touch /var/lib/mysql/mysql.pid
chown -R mysql:mysql /var/lib/mysql
systemctl restart mysql
| <?php | |
| function store(Request $request) | |
| { | |
| $this->validateImage($request); | |
| $image = new Image(); | |
| $file = $request->file('file'); |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
We’d like you to build an administrated user system which allows users to comment on other peoples profiles.
Here are the requirements:
Examples of work in no specific order.
Includes images of the projects I have worked on over the years
LAMP Dev work - Various Plugins
adb install -r vr_0005.apk
adb kill-server&&adb start-server
| #allows a single uri through the .htaccess password protection | |
| SetEnvIf Request_URI "/testing_uri$" test_uri | |
| #allows everything if its on a certain host | |
| SetEnvIf HOST "^testing.yoursite.com" testing_url | |
| SetEnvIf HOST "^yoursite.com" live_url | |
| Order Deny,Allow | |
| AuthName "Restricted Area" | |
| AuthType Basic |