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 -*- | |
import urllib.request | |
import urllib.error | |
import time | |
import csv | |
import re | |
import json | |
from tabulate import tabulate | |
from random import randint | |
from proxy_parser import get_proxy |
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
-Xms128m | |
-Xmx750m | |
-XX:ReservedCodeCacheSize=240m | |
-XX:+UseConcMarkSweepGC | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-ea | |
-Dsun.io.useCanonCaches=false | |
-Djava.net.preferIPv4Stack=true | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:-OmitStackTraceInFastThrow |
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
/*@font-face { | |
font-family: 'Monoid ligatures'; | |
src: local('Monoid'); | |
unicode-range: U+0021-0026, U+002A-002B, U+002D-002F, U+003A-003E, U+007B-007E; | |
}*/ | |
/*U+007B, U+007D, - curly brackets*/ | |
/*.view-lines { | |
font-family: 'Operator mono ligatures','Monoid ligatures', 'menlo' !important; | |
} |
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
.type.storage.arrow.function { | |
font-family: 'Fira code'; | |
} |
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
let f = []; | |
function addKek(func) { | |
if(typeof func === 'function'){for (let i = 0; i < f.length; i++) {if (f[i].includes(func)) {f[i][1] = true;return;}} | |
f = [...f, [func, false]]; | |
}else{throw new Error('input should be a function')} | |
} | |
function launcKek() { | |
for (let i = 0; i < f.length; i++) {if(typeof f[1] !== 'undefined' ){!f[i][1] ? (()=> {f[i][0](); f[i][1] = true})() : delete f[i];}} | |
} |
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 fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
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
setxkbmap -option ctrl:nocaps |
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
`joy1337 joyka1337 joy joyka1337 joyka.2001artur.32324234 arturka223`.replace(/(?:(joy|artur)((\w+)?[.,-:]?(\w+)?(\d+)?)?)/ig, '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
import _ from 'lodash'; | |
const FIRST_POOL = 'firstPool'; | |
const SECOND_POOL = 'secondPool'; | |
const THIRD_POOL = 'thirdPool'; | |
const FOURTH_POOL = 'fourthPool'; | |
const FIFTH_POOL = 'readySentences'; | |
const INSULTS_LINK = 'https://api.myjson.com/bins/pxhnd'; | |
const isJsonLoaded = {loaded: false, json: {}}; |
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 axios = require("axios"); | |
const urls = ['https://github.com/mzabriskie/axios', 'https://discord.js.org']; | |
async function asyncLoadAllTheChunks() { | |
const resps = await Promise.all(urls.map(url=> axios.get(url))) | |
const [first, second] = resps; | |
console.log(` | |
тут первый ${first} | |
тут второй ${second} |
NewerOlder