- @see https://developerjack.com/blog/2015/12/11/Installing-PHP7-with-homebrew/
- @see https://developerjack.com/blog/2016/08/26/Installing-PHP71-with-homebrew/
Make sure brew is up to date:
brew update
brew upgrade
| FROM php:8.3-fpm | |
| ARG user | |
| ARG uid | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| curl \ | |
| libpng-dev \ | |
| libonig-dev \ |
| #!/bin/bash | |
| # | |
| # DEFINE PROPER WRITABLE PERMISSIONS FOR LARAVEL PROJECT. | |
| # Run this script in a fresh Laravel install. | |
| # | |
| # @author Adriano Rosa (https://adrianorosa.com) | |
| # @created: 2015-02-15 00:59:19 | |
| # @updated: 2021-01-28 14:19:16 | |
| # | |
| # Make storage and bootstrap dirs writable for both users: |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { NgModule } from '@angular/core'; | |
| import { AppComponent } from './app.component'; | |
| //Angular Material Components | |
| import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; | |
| import {MatCheckboxModule} from '@angular/material'; | |
| import {MatButtonModule} from '@angular/material'; |
| #include <iostream> | |
| using namespace std; | |
| #include "zeichenkette4.h" | |
| int main(){ | |
| ClZeichenkette zk1, zk2, zk3; | |
| cout << "Bitte geben Sie eine beliebig lange erste Zeichenkette ein:"; | |
| cin >> zk1; | |
| cout << "Bitte geben Sie eine beliebig lange zweite Zeichenkette ein:"; |
Make sure brew is up to date:
brew update
brew upgrade
| <?php // /app/Http/Middleware/Cors.php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| class Cors { | |
| public function handle($request, Closure $next) | |
| { | |
| return $next($request) |
| <?php | |
| // address to map | |
| $map_address = ""; | |
| $url = "http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=".urlencode($map_address); | |
| $lat_long = get_object_vars(json_decode(file_get_contents($url))); | |
| // pick out what we need (lat,lng) | |
| $lat_long = $lat_long['results'][0]->geometry->location->lat . "," . $lat_long['results'][0]->geometry->location->lng; |
| <IfModule mod_rewrite.c> | |
| Options +FollowSymLinks | |
| Options -MultiViews | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^ index.php [L] | |
| </IfModule> |
| Code | Country | ISO | Nationality | |
|---|---|---|---|---|
| AD | Andorra | 53 | Andorian | |
| AE | United Arab Emirates | 126 | Emirian | |
| AF | Afghanistan | 133 | Afghani | |
| AI | Anguilla | 55 | Anguillan | |
| AM | Armenia | 58 | Armenian | |
| AO | Angola | 54 | Angolian | |
| AQ | Antarctica | 55 | Antarctic | |
| AR | Argentina | 57 | Argentine | |
| AS | Austria | 3 | Austrian |