sudo apt-get -y install nginx curl libcurl3 libcurl3-dev git redis-server
| #!/bin/sh | |
| # Wrapper script around yay to try to ignore errors | |
| # Copyright © 2019 Ashkan Kiani | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # This program is distributed in the hope that it will be useful, |
| FROM php:7.1-fpm-alpine | |
| RUN apk add --update \ | |
| autoconf \ | |
| g++ \ | |
| libtool \ | |
| make \ | |
| && docker-php-ext-install mbstring \ | |
| && docker-php-ext-install mysqli \ |
| body { counter-reset: h1counter h2counter h3counter h4counter h5counter h6counter; } | |
| h1 { counter-reset: h2counter; } | |
| h2 { counter-reset: h3counter; } | |
| h3 { counter-reset: h4counter; } | |
| h4 { counter-reset: h5counter; } | |
| h5 { counter-reset: h6counter; } | |
| h6 {} | |
| h2:before { |
| *.db diff=sqlite3 |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
I work as an analyst contractor, these days my roles are often a mixture of development and management. I have been asked by a countless number of people what they need to do to get the jobs I’m offered – and it’s simpler than most expect. The market for talented developers in the United Kingdom (and in many talent-lite communities around the world) is such that anyone who merely knows what they are doing has a very good chance of getting a job. Even a job contracting (which ordinarily has senior-level requirements).
To become a web developer with a good salary and employment expectations you need skills. Below I’ll provide a plan to get you towards the top of the largest market: PHP Web Development. Advanced knowledge of everything on this list would immediately make you one of the best, so just strive to have an exposure if not a comprehensive understanding (though the *starred points are essential). To learn these technologies you should use several in combination on on
| #!/usr/bin/php | |
| <?php | |
| $repos = array(); | |
| exec('find -type d -name .git | sed -e "s/\.git//"', $repos); | |
| foreach ($repos as $repo) { | |
| $status = shell_exec("cd $repo && git status"); | |
| if (false == strpos($status, 'nothing to commit (working directory clean)')) { | |
| echo "$repo\n" . str_repeat('-', strlen($repo)) . "\n$status\n\n"; | |
| } | |
| } |
| <?php | |
| /** | |
| * Convert a comma separated file into an associated array. | |
| * The first row should contain the array keys. | |
| * | |
| * Example: | |
| * | |
| * @param string $filename Path to the CSV file | |
| * @param string $delimiter The separator used in the file | |
| * @return array |