sudo apt update && sudo apt upgradesudo apt install php-mbstring php-xml php-bcmath php-curl php-cli php-fpm php-mysql unzip mariadb-server| const functions = require('@google-cloud/functions-framework'); | |
| const crc32 = require("fast-crc32c"); | |
| const { Storage } = require('@google-cloud/storage'); | |
| const gcs = new Storage(); | |
| const { PubSub } = require('@google-cloud/pubsub'); | |
| const imagemagick = require("imagemagick-stream"); | |
| functions.cloudEvent('', cloudEvent => { | |
| const event = cloudEvent.data; | 
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "background": "#ffffff", | |
| "foreground": "#000000", | |
| "leading_diamond": "\u256d\u2500", | 
| # Location: UA, EU, ASIA | |
| export LOCATION=ASIA | |
| # Create a bucket on Cloud Storage | |
| gcloud storage buckets create -l $LOCATION gs://$DEVSHELL_PROJECT_ID | |
| # Download image from Cloud Storage Example into a Cloud Shell | |
| gcloud storage cp gs://cloud-training/gcpfci/my-excellent-blog.png my-excellent-blog.png | |
| # Upload image from Cloud Shell into bucket on Cloud Storage | 
| # Run this command below before installing Docker Desktop | |
| # This step manually create symlinks everything about docker desktop installation goes into 'D:\Program Files\Docker' | |
| md "D:\Program Files\Docker\ProgramDataDocker" | |
| md "D:\Program Files\Docker\ProgramDataDockerDesktop" | |
| md "D:\Program Files\Docker\ProgramFiles" | |
| md "D:\Program Files\Docker\RoamingDockerDesktop" | |
| md "D:\Program Files\Docker\RoamingDocker" | |
| md "D:\Program Files\Docker\AppDataDocker" | |
| cmd /c mklink /j "C:\ProgramData\Docker" "D:\Program Files\Docker\ProgramDataDocker" | 
| <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:background="@color/white" | |
| > | |
| <ScrollView | |
| android:layout_width="match_parent" | 
| #!/bin/bash | |
| # Author: Arman Dwi Pangestu | |
| # Github: github.com/armandwipangestu | |
| VERSION=1.0.0 | |
| reverse=no | |
| function createZone() { | |
| if [ $reverse == "yes" ]; then | 
| #include <SoftwareSerial.h> | |
| int flameSensor = A0; | |
| int sensorValue = 0; | |
| int ledPin = 9; | |
| int buzzerPin = 10; | |
| String sensorPrint = "Sensor Value: "; | |
| String strConcate; | |
| void setup() { | 
| <?php | |
| $cars = [ | |
| (object) [ | |
| "brand" => "Porcshe", | |
| "price" => "5000000000" | |
| ], | |
| (object) [ | |
| "brand" => "Mazda RX 8", | |
| "price" => "3000000000" |