Links to dev things of interest
This installation process is for installing TailwindCSS standalone with zero integration with any framework. Tailwind is built in its own folder and it producess a css file which can be copied to whatever site folder.
- Make a folder for TailwindCSS.
- Use NPM to install tailwindcss, postcss and autoprefixer.
- Create tailwind configuration file.
- Create a base tailwind.css file which will be used to generate the real css file.
- Create a build script to run the build process
- Add Tailwind as a PostCSS plugin.
# (step 1)
mkdir tailwindcss && cd tailwindcss && mkdir -p css
# (step 2)
npm install -D tailwindcss@latest postcss@latest postcss-cli@latest autoprefixer@latest
# (step 3)
npx tailwindcss init
# (step 4)
echo "@tailwind base;" > tailwind.css
echo "@tailwind components;" >> tailwind.css
echo "@tailwind utilities;" >> tailwind.css
# (step 5)
echo "echo building tailwind.css" > build
echo "echo ./node_modules/postcss-cli/bin/postcss tailwind.css -o css/tailwind.css" >> build
echo "./node_modules/postcss-cli/bin/postcss tailwind.css -o css/tailwind.css" >> build
chmod +x build
# (step 6)
echo "module.exports = {" > postcss.config.js
echo " plugins: {" >> postcss.config.js
echo " tailwindcss: {}," >> postcss.config.js
echo " autoprefixer: {}," >> postcss.config.js
echo " }" >> postcss.config.js
echo "}" >> postcss.config.js
Tell GIT which keys to use.
export GIT_SSH_COMMAND="ssh -i ~/.ssh/KEY_FILE_GOES_HERE -F /dev/null" git clone REPO
After the clone has happened, you can set the command in git config
In .git/config, add the following to the [core] section:
sshCommand = ssh -i ~/.ssh/KEY_FILE_GOES_HERE -F /dev/null
How to tell SSH/GIT to use a specific key and only that key.
ssh -i ~/.ssh/my_specific_key -o IdentitiesOnly=yes -o PreferredAuthentications=publickey user@remote_server
https://github.com/ryantxr/php-helper
Some utility functions for PHP.
https://adminlte.io Admin theme with lots of features
https://github.com/jeroennoten/Laravel-AdminLTE Laravel installable
https://www.creative-tim.com/learning-lab/tailwind-starter-kit/presentation open source components for TailwindCss
Adds join capabilities to Eloquent models.
https://github.com/fico7489/laravel-eloquent-join
https://www.tumblr.com/docs/en/api/v2
Date and time class for PHP.
https://github.com/erjanmx/laravel-api-auth
Dead simple auth for APIs.
https://github.com/giggsey/libphonenumber-for-php
A PHP library for parsing, formatting, storing and validating international phone numbers. This library is based on Google's libphonenumber.
https://github.com/mailhog/MailHog
SMTP testing
Send SMS
Stock quotes API