Create an empty git repo or reinitialize an existing one
$ git init| #!/bin/sh | |
| echo "Enter your email" | |
| read EMAIL | |
| ssh-keygen -t rsa -b 4096 -C "$EMAIL" |
Create an empty git repo or reinitialize an existing one
$ git init| #!/usr/bin/env php | |
| <?php | |
| /** | |
| * Install bower dependencies | |
| */ | |
| function bowerInstall() { | |
| if (! file_exists("app/assets/bower_components")) { | |
| try { | |
| echo shell_exec("cd app && bower install"); |
| #!/bin/bash | |
| echo "===============================" | |
| echo "Installing PHP 7.1" | |
| echo "===============================" | |
| sudo yum install php71 | |
| echo "===============================" | |
| echo "Installing PHP 7.1 additional commonly used php packages" | |
| echo "===============================" |
| <?php | |
| function validEmail($email){ | |
| // Check the formatting is correct | |
| if(filter_var($email, FILTER_VALIDATE_EMAIL) === false){ | |
| return FALSE; | |
| } | |
| // Next check the domain is real. | |
| $domain = explode("@", $email, 2); | |
| return checkdnsrr($domain[1]); // returns TRUE/FALSE; |
| # ************************************************************ | |
| # Sequel Pro SQL dump | |
| # Version 4541 | |
| # | |
| # http://www.sequelpro.com/ | |
| # https://github.com/sequelpro/sequelpro | |
| # | |
| # Host: 127.0.0.1 (MySQL 5.7.18) | |
| # Database: changehere | |
| # Generation Time: 2018-03-09 19:26:05 +0000 |
| /** | |
| * Get the list of all projects of Azure DevOps. | |
| * | |
| * Example output inside browser console: | |
| * 1. Example 1 | |
| * 2. Example 2 | |
| * 3. Example 3 | |
| * and so on. | |
| */ | |
| function azure_devops_project_list() { |
| #!/bin/bash | |
| echo Please enter your domain... | |
| read domain | |
| DOMAIN=$domain | |
| WILDCARD=*.$DOMAIN | |
| echo "Generating SSL certificate for ${DOMAIN} & ${WILDCARD}" |
| [ | |
| { | |
| "name": "Afghanistan", | |
| "dial_code": "+93", | |
| "code": "AF" | |
| }, | |
| { | |
| "name": "Aland Islands", | |
| "dial_code": "+358", | |
| "code": "AX" |