This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Debian local configuration file | |
* | |
* This file overrides the settings made by phpMyAdmin interactive setup | |
* utility. | |
* | |
* For example configuration see /usr/share/doc/phpmyadmin/examples/config.default.php.gz | |
* | |
* NOTE: do not add security sensitive data to this file (like passwords) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Map | |
{ | |
private array $container = []; | |
public function __construct(array $data = [], $keyField = null) | |
{ | |
if (!empty($data) && $keyField !== null) { | |
$this->setMultiple($data, $keyField); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Device Type Detection</title> | |
<style> | |
/* Base styles */ | |
body { | |
font-family: Arial, sans-serif; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Telegram Post Generator</title> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | |
<style> | |
.phone-mockup { | |
width: 360px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const { MongoClient } = require('mongodb'); | |
// Initialize Express app | |
const app = express(); | |
const port = 3000; | |
// MongoDB Connection URL and Database Name | |
const url = 'mongodb://localhost:27017'; | |
const dbName = 'app_db'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
use Curl\Curl; | |
class InstagramDownloader | |
{ | |
private Curl $curl; | |
private string|null $url; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
use Dotenv\Dotenv; | |
use SergiX44\Nutgram\Nutgram; | |
$dotenv = Dotenv::createImmutable(__DIR__); | |
$dotenv->load(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
use Dotenv\Dotenv; | |
use SergiX44\Nutgram\Nutgram; | |
$dotenv = Dotenv::createImmutable(__DIR__); | |
$dotenv->load(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" ng-app="myApp"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>My App</title> | |
<!-- Bootstrap 5.3 CSS --> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
class CustomEventStream { | |
constructor(url, headers) { | |
this.url = url; | |
this.headers = headers; | |
this.reader = null; | |
this.decoder = new TextDecoder("utf-8"); | |
} | |
async start(callback) { |