This file contains 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
#define LED_PIN 0 | |
#define LED_NUM 8 | |
#include "FastLED.h" | |
#include <ESP8266TrueRandom.h> | |
#include <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
#include <ArduinoJson.h> | |
const char* ssid = "WiFi-sssd"; | |
const char* password = "-"; |
This file contains 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'), | |
axios = require('axios'), | |
sizeOf = require('image-size'), | |
os = require("os"); | |
var app = express(); | |
function formatBytes(bytes, decimals = 2) { | |
if (!+bytes) return '0 Bytes' | |
const k = 1024 |
This file contains 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 | |
header("Access-Control-Allow-Origin: *"); | |
include_once('getid3/getid3.php'); | |
$baseURL = "http://p91878l7.beget.tech/api.php"; //For example http://mysite/proxy.php | |
$request = $_GET["reg"]; | |
if ($request == "get_info") { | |
$url = $_GET["url"]; | |
$ch = curl_init(); | |
$headers = array( | |
'cache-control: max-age=0', |
This file contains 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 | |
header("Access-Control-Allow-Origin: *"); | |
$baseURL = "http://site.net/api.php"; //For example http://mysite/proxy.php | |
$request = $_GET["reg"]; | |
if ($request == "get_info") { | |
$url = $_GET["url"]; | |
$ch = curl_init(); | |
$headers = array( | |
'cache-control: max-age=0', | |
'upgrade-insecure-requests: 1', |
This file contains 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
@ECHO OFF | |
chcp 65001 | |
cls | |
for %%f in (./input/*) do ( | |
IF EXIST output\%%~nf ( | |
echo output\%%~nf exist | |
) ELSE ( | |
echo %%f | |
mkdir output\%%~nf | |
ffmpeg.exe -i ./input/%%f -b:a 192K -loglevel quiet -vn ./output/music_from_%%~nf_.mp3 |
This file contains 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
Bukkit.getScheduler().runTaskTimerAsynchronously(main, () -> { | |
Calendar cal = Calendar.getInstance(); // creates calendar | |
cal.setTime(new Date()); // sets calendar time/date | |
cal.add(Calendar.HOUR_OF_DAY, 2); // adds one hour | |
String text = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(cal.getTime())+"|"+Bukkit.getOnlinePlayers().size(); | |
for(Player player : Bukkit.getOnlinePlayers()) nms.sendActionBar(player, "{\"text\": \""+text+"\",\"color\":\"white\"}"); | |
}, 0, 20); |
This file contains 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
// +------------------+ | |
// | UnitPay DONATE | | |
// +------------------+ | |
if (!Bukkit.getPluginManager().isPluginEnabled("HolographicDisplays")) { | |
String email = "твой email"; | |
String key = "Ключ"; | |
int xo4y = 700; //Цель | |
Hologram hologram = HologramsAPI.createHologram(main, new Location(Bukkit.getWorld("world"), 0 , 70, 70,0,0)); |
This file contains 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
// +---------------+ | |
// | QIWI DONATE | | |
// +---------------+ | |
if (!Bukkit.getPluginManager().isPluginEnabled("HolographicDisplays")) { | |
String phone = "твой номер мобилы QIWI"; | |
String token = "Токен"; | |
int xo4y = 700; //Цель | |
Hologram hologram = HologramsAPI.createHologram(main, new Location(Bukkit.getWorld("world"), 0 , 70, 70,0,0)); |