1- Get Docker Engine CE installed on Fedora
sudo dnf config-manager \
--add-repo \
https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin
/** | |
C Program to draw Khayam-Pascal Triangle | |
Copyright (C) 2024 Mehdi Haghgoo | |
*/ | |
#include<stdio.h> | |
#define COLS 80 | |
#define ROWS 40 | |
<?php | |
//Use this file to create a simple bot/userbot that receives message and | |
// channel updates and notifies the specified admin about it | |
use danog\MadelineProto\EventHandler; | |
use danog\MadelineProto\Tools; | |
use danog\MadelineProto\API; | |
use danog\MadelineProto\Logger; | |
use danog\MadelineProto\Settings; |
<?php | |
// include __DIR__ . '/vendor/autoload.php'; | |
if (!file_exists('madeline.php')) { | |
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php'); | |
} | |
require_once 'madeline.php'; | |
use \danog\MadelineProto\API; |
package com.droidcon.yourapp.ui.screens | |
import androidx.compose.foundation.Image | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.foundation.layout.padding | |
import androidx.compose.material.icons.Icons | |
import androidx.compose.material.icons.outlined.AccountCircle | |
import androidx.compose.material.icons.outlined.Login | |
import androidx.compose.material3.Button |
<?php | |
include __DIR__ . '/vendor/autoload.php'; | |
/** | |
* This script does 3 things. Get the last `DIALOGS_LIMIT` dialogs of the current user, | |
* gets information about a chat, | |
* get the last `HISTORY_LIMIT` messages within a specific chat | |
* |
@Composable | |
fun SwipeableSample(){ | |
//Adapted from original Android CS sample https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/material/material/samples/src/main/java/androidx/compose/material/samples/SwipeableSamples.kt | |
// Draw a slider-like composable consisting of a red square moving along a | |
// black background, with three states: "A" (min), "B" (middle), and "C" (max). | |
val width = 300.dp | |
val squareSize = 100.dp | |
val swipeState = rememberSwipeableState(Machine.Off) | |
val lengthPx = with(LocalDensity.current) { (width - squareSize).toPx() } |
FROM fedora:32 | |
RUN dnf update -y | |
RUN dnf install -y git composer php php-devel php-zip php-cli php-mbstring php-xml php-intl php-json php-gmp | |
می روم | |
= I am going | |
می روی | |
= You are going | |
می خورد | |
= He/She/It is eating | |
می گوید | |
= He/She/It is saying | |
می گفت | |
= He/She/It was saying (would say). |
Homebrew build logs for php on macOS 10.15 | |
Build date: 2019-10-17 03:10:06 |