In your command-line run the following commands:
brew doctorbrew update
| <?php | |
| // Based on <https://github.com/mecha-cms/x.minify> | |
| namespace x\minify\_ { // start namespace | |
| $n = __NAMESPACE__; | |
| \define($n . "\\token_boolean", '\b(?:true|false)\b'); | |
| \define($n . "\\token_number", '-?(?:(?:\d+)?\.)?\d+'); |
| /** | |
| * Converts a string to a "URL-safe" slug. | |
| * Allows for some customization with two optional parameters: | |
| * | |
| * @param {string} Delimiter used. If not specified, defaults to a dash "-" | |
| * @param {array} Adds to the list of non-alphanumeric characters which | |
| * will be converted to the delimiter. The default list includes: | |
| * ['–', '—', '―', '~', '\\', '/', '|', '+', '\'', '‘', '’', ' '] | |
| */ | |
| if (!String.prototype.slugify) { |
| #!/usr/bin/env bash | |
| # | |
| # Nginx - new server block | |
| # Based on this post: http://clubmate.fi/how-to-make-an-nginx-server-block-manually-or-with-a-shell-script/ | |
| # Functions | |
| ok() { echo -e '\e[32m'$1'\e[m'; } # Green | |
| die() { echo -e '\e[1;31m'$1'\e[m'; exit 1; } | |
| # Variables |
| CREATE TABLE `countries` ( | |
| `country_code` varchar(2) NOT NULL default '', | |
| `country_enName` varchar(100) NOT NULL default '', | |
| `country_arName` varchar(100) NOT NULL default '', | |
| `country_enNationality` varchar(100) NOT NULL default '', | |
| `country_arNationality` varchar(100) NOT NULL default '', | |
| PRIMARY KEY (`country_code`) | |
| ) ENGINE=MyISAM DEFAULT CHARSET=utf8; | |
| -- | |
| -- Dumping data for table `countries` |
In your command-line run the following commands:
brew doctorbrew update| <template> | |
| <modal @modal-close="handleClose"> | |
| <form | |
| @submit.prevent="handleConfirm" | |
| slot-scope="props" | |
| class="bg-white rounded-lg shadow-lg overflow-hidden" | |
| style="width: 460px" | |
| > | |
| <slot :uppercaseMode="uppercaseMode" :mode="mode"> | |
| <div class="p-8"> |
| /* | |
| Tailwind - The Utility-First CSS Framework | |
| A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink), | |
| David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger). | |
| Welcome to the Tailwind config file. This is where you can customize | |
| Tailwind specifically for your project. Don't be intimidated by the | |
| length of this file. It's really just a big JavaScript object and |
Although MeiliSearch offers steps to install via apt, there are some dependency libraries that are not installable on the server architecture we have availble on our Tighten Forge servers. However, the servers can run the program just fine with the binary. Here are the steps I took to make it work.
curl -L https://install.meilisearch.com | sh
chmod 755 meilisearch chown root:root meilisearch
| #!/usr/bin/env bash | |
| set -e | |
| set -x | |
| # Update server | |
| sudo apt update | |
| # Install some needed packages | |
| sudo apt install php-cli unzip |