- 1
LongLongToULongLong
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
0
LongLongToULongLong
-
−1
const o = {};
o.operationsBtn = '<a class="button" href="market/user/1/payments" style="display:inline-flex;align-items:center">...</a>';
const q = {};
q.renamemodal = '<div class="xenOverlay" style="top: 10%;"><div class="scroll-wrapper sectionMain scrollbar-macosx scrollbar-dynamic" style="position: relative;"><div class="sectionMain scrollbar-macosx scrollbar-dynamic scroll-content" id="SelectForumOverlayScrollbar" style="height: auto; margin-bottom: 0px; margin-right: 0px; max-height: 332px;"><h1 class="heading h1" style="font-size: 1.5em; text-align: center; font-weight: 600; padding: 14px;">Переименовать пользователя</h1><a class="close OverlayCloser"></a><div style="padding: 20px;"><div class="textHeading" style="margin-top: 0">Введите новый никнейм</div><input id="lztnextrename_input" class="textCtrl" style="width: 100%;" maxlength="50"><div style="margin-top:20px"><button class="button primary" id="lztnextrenamesave">Сохранить</button><button class="button" style="margin-left:10px" id="lztnextrenamereset">Сбросить</button><div id="show_renamed_users" style="opacity: 0.4; cursor: pointer; margin-top: 18px; float: right;">Показать переименованных</div></div></div></div></div></div>';
const G = {};
G.admin = o, G.lztnext = q;
const j = G;
function L() {
return "aboba";
}
const b = abc, c = CryptoJS;
let Z = {};
const d = {};
d.md5 = "abc", d.CryptoJS = "crypto";
const D = d;
for (const rQ of Object.entries(D)) {
window[rQ[1]] = window[rQ[0]];
}
if (location.host.match(/\./g).length !== 1 || ["lolz.guru", "zelenka.guru"].indexOf(location.hostname) === -1) return;
const n = {}, E = GM_info.script.updateURL.split("/")[4].split(".")[0];
if (eval != unsafeWindow.eval) {
alert("пашол нахуй");
return;
}
NodeList.prototype.forEach = function (rf) {
return Array.from(this).forEach(rf);
};
const T = [];
ra("#lztnext-custom-smilies {margin-bottom: 20px}");
let i = {get: (...rf) => {
if (i.s) return typeof GM_getValue !== "undefined" ? GM_getValue(...rf) : localStorage.getItem(...rf);
}, set: typeof GM_setValue !== "undefined" ? GM_setValue : localStorage.setItem, cache: {get: rf => {
if (i.s) return i.get("_cache_" + rf);
}, set: (rf, rP) => {
return i.set("_cache_" + rf, rP);
}, clear: (rf = "") => {
i.keys().forEach(rp => {
if (rp.startsWith("_cache_" + rf) && !rp.match(/(banned)/)) i.del(rp);
});
}}, del: typeof GM_deleteValue !== "undefined" ? GM_deleteValue : localStorage.removeItem, keys: typeof GM_listValues !== "undefined" ? GM_listValues : () => {
return Object.keys(localStorage);
}, s: true};
const U = i.get("v");
if (!U || GM_info.script.version > U) {
i.cache.clear(), location.reload(), i.set("v", GM_info.script.version);
}
!i.get("start") && (["hide_contests_content", "start", "hide_ads", "hide_backgrounds"].forEach(rP => i.set(rP, "true")), i.set("theme", "next"));
let I = i.get("xenforo_uuid") || localStorage.getItem("xenforo_uuid"), z = i.get("user_id") || localStorage.getItem("uid");
(!I || !z) && rr();
const Y = false;
let g = JSON.parse(i.cache.get("themes") || "null") || {default: {name: "Обычная", source: "data:text/plain,", author: "Lolzteam", palette: ["rgba(52, 52, 52)", "rgb(214,214,214)"]}, next: {name: "Next", source: "https://lztnext.0-day.pw/assets/themes/next.css", author: "кустик, zoto_ff", palette: ["rgba(33, 33, 33)", "rgb(13, 179, 121)"]}};
const {fetch: k} = unsafeWindow, l = {};
l.headers = {};
const N = (rP, rp = l) => {
return new Promise((a1, a2) => {
rp.headers = rp.headers || {};
if (rP.match(u)) {
if (!z) return;
rp.headers["lztnext-payload"] = E, rp.headers.Authorization = rp.headers.Authorization || "Bearer " + I.split("%")[0], rp.headers["lolz-user-id"] = z, rp.headers["lztnext-version"] = GM_info.script.version;
const a5 = Math.floor(Date.now() / 1e3), a6 = a5 + "," + b(L() + ("-" + rp.headers["lztnext-payload"] + "-" + rp.headers.Authorization + "-" + rp.headers["lolz-user-id"] + "-" + rp.headers["lztnext-version"] + "-" + (a5 - a5 % 22)));
rp.headers["lztnext-hash"] = a6;
}
rp.onabort = () => a2(), rp.onerror = () => a2(), rp.ontimeout = () => a2(), rp.onload = a8 => {
a1(a8.response);
}, rp.url = rP, GM_xmlhttpRequest(rp);
});
};
if (Y) unsafeWindow.storage = i;
const u = "https://lztnext.0-day.pw/";
function t(rP = null, rp = false) {
rM(rP), rO(rP);
if (i.get("hide_avatars") === "true") {
document.querySelectorAll(".avatar img, .avatar span.img").forEach(a3 => rJ(a3));
if (rp) {
const a3 = $$(".avatarScaler");
if (a3.length) {
const a4 = a3.find("img"), a5 = $$("#page_info_wrap .username span");
let a6 = a5.attr("data-renamed") || a5.text();
a4.replaceWith(re(a4, a6, true));
}
}
} else document.querySelectorAll(".avatar img").forEach(async a7 => {
var _U$Cv, _c$CS;
const a9 = await rw(a7.src);
if (!a7.ad) a7.src = a9;
}), document.querySelectorAll(".avatar span.img.s").forEach(async a7 => {
const a8 = await rw(a7.style["background-image"].slice(5, -2));
if (!a7.ad) a7.style["background-image"] = "url(" + a8 + ")";
});
const a1 = i.get("redirect");
if (a1 && a1 !== "none") {
const a7 = a1 === "lolz" ? "zelenka.guru/" : "lolz.guru/", a8 = a1 === "zelenka" ? "zelenka.guru/" : "lolz.guru/";
document.querySelectorAll('a[href*="' + a7 + '"]').forEach(async a9 => {
a9.href = a9.href.replace(a7, a8);
}), Array.from($('a:contains("' + a7 + '")')).forEach(async a9 => {
a9.innerHTML = a9.innerHTML.replace(new RegExp(a7.replace(/\//g, "\\/"), "g"), a8);
});
}
}
0
-
Часто в жизни так бывает, всё случается подряд,
Когда слышу я о мире, то хватаю автомат.
Пригласи меня ты в хати, смачным салом угости,
И вскричу довольный, сытый: "нохчи братья и хохлы".
Много общих интересов у хохлов и у чечняк,
Ты зовёшь вино "горилка", я зову его "шмурдяк".
Часто в жизни так бывает, верить на слово нельзя,
Но поверь на слово нохчи: мы хохяцкие друзья.
0
Просто оффтоп #26
#1: https://govnokod.ru/20162 https://govnokod.xyz/_20162
#2: https://govnokod.ru/25329 https://govnokod.xyz/_25329
#3: https://govnokod.ru/25415 https://govnokod.xyz/_25415
#4: (vanished) https://govnokod.xyz/_25472
#5: https://govnokod.ru/25693 https://govnokod.xyz/_25693
#6: (vanished) https://govnokod.xyz/_26649
#7: https://govnokod.ru/26672 https://govnokod.xyz/_26672
#8: https://govnokod.ru/26924 https://govnokod.xyz/_26924
#9: https://govnokod.ru/27072 https://govnokod.xyz/_27072
#10: https://govnokod.ru/27086 https://govnokod.xyz/_27086
#11: https://govnokod.ru/27122 https://govnokod.xyz/_27122
#12: https://govnokod.ru/27153 https://govnokod.xyz/_27153
#13: https://govnokod.ru/27159 https://govnokod.xyz/_27159
#14: https://govnokod.ru/27200 https://govnokod.xyz/_27200
#15: https://govnokod.ru/27237 https://govnokod.xyz/_27237
#16: https://govnokod.ru/27282 https://govnokod.xyz/_27282
#17: https://govnokod.ru/27319 https://govnokod.xyz/_27319
#18: https://govnokod.ru/27380 https://govnokod.xyz/_27380
#19: https://govnokod.ru/27500 https://govnokod.xyz/_27500
#20: https://govnokod.ru/27607 https://govnokod.xyz/_27607
#21: https://govnokod.ru/27951 https://govnokod.xyz/_27951
#22: https://govnokod.ru/28076 https://govnokod.xyz/_28076
#23: https://govnokod.ru/28266 https://govnokod.xyz/_28266
#24: https://govnokod.ru/28373 https://govnokod.xyz/_28373
#25: https://govnokod.ru/28474 https://govnokod.xyz/_28474
+1
Надо же. Мои скрижали истории подчищены, а быть может, перо их и не касалось...
Как уж тут не поверить в реинкарнацию!..
0
https://www.youtube.com/watch?v=gFHLO_2_THg
Spirit - taurus
0
Приходил Страйко, разъебахал оффтопы.
0
switch(argCount)
{
case 0: sprintf(dst, fmt); break;
case 1: sprintf(dst, fmt, args[0]); break;
case 2: sprintf(dst, fmt, args[0], args[1]); break;
case 3: sprintf(dst, fmt, args[0], args[1], args[2]); break;
case 4: sprintf(dst, fmt, args[0], args[1], args[2], args[3]); break;
case 5: sprintf(dst, fmt, args[0], args[1], args[2], args[3], args[4]); break;
case 6: sprintf(dst, fmt, args[0], args[1], args[2], args[3], args[4], args[5]); break;
case 7: sprintf(dst, fmt, args[0], args[1], args[2], args[3], args[4], args[5], args[6]); break;
case 8: sprintf(dst, fmt, args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7]); break;
...
0
if(((mFlags&0x80)==0)&&(mFlags&0x40)==0){if(samplesArr[_k]>dataAmplitudeHi) //‚믮«ï¥¬ ¨§¬¥à¥¨¥ ¨¬¯ã«ìᮢ-¤¥â¥ªâ®à®¢. ’ ª¦¥ ¬¥à塞 ¯ ã§ã{
while(1){if(samplesArr[_k]>=dataAmplitudeHi){++_k;++_j;}else{break;}}
dMin=dMax=wideTable[pulseCnt]=_j;
++pulseCnt;
dataStack(1,_k);
_i=_j;_j=0;pauseTrig=1;}
while(1)
{if(samplesArr[_k]<=invertSample){++_k;++_j;}else{break;}}
pMin=pMax=pauseTable[pauseCnt]=_j;
++pauseCnt;_i=_j;_j=0;
if(pauseTrig==0){
while(1){
if(samplesArr[_k]>=dataAmplitudeHi){
++_k;
++_j;}else{break;}}
dMin=dMax=wideTable[pulseCnt]=_j;
++pulseCnt;_i=_j;_j=0;}
else{_k=dataStack(0,0);}
pauseTrig=0;
for(uint32_t i=_k;i<bufferLength;++i){
//printf("iteration %d 0x%02X\n",i,samplesArr[i]);
if((samplesArr[i]>dataAmplitudeHi)&&(_j>_p)&&(pauseTrig==0)&&(signalTrig==1)){
//printf("trig pulse up %d",i);if(_j<pMin){pMin=_j;}else if(_j>pMax){pMax=_j;}pauseTrig=1;signalTrig=0;pauseTable[pauseCnt]=_j;++pauseCnt;trigPause=0;_p=_j;_j=0;//printf("\n");}
else if((samplesArr[i]>dataAmplitudeHi)&&(_j<_p)&&(pauseTrig==0)&&(signalTrig==1))
{//printf("trig pulse down %d",i);if(_j<pMin){pMin=_j;}else if(_j>pMax){pMax=_j;}pauseTrig=1;signalTrig=0;pauseTable[pauseCnt]=_j;++pauseCnt;trigPause=0;_p=_j;_j=0;//printf("\n");}
else if((samplesArr[i]>dataAmplitudeHi)&&(_j==_p)&&(pauseTrig==0)&&(signalTrig==1))
{//printf("trig pulse non-change %d",i);if(_j<pMin){pMin=_j;}else if(_j>pMax){pMax=_j;}pauseTrig=1;signalTrig=0;pauseTable[pauseCnt]=_j;++pauseCnt;trigPause=0;_p=_j;_j=0;//printf("\n");}
if((samplesArr[i]<invertSample)&&(_j>dMin-(dMin/4))&&(_j>_i)&&(pauseTrig==1)&&(signalTrig==0))
{//printf("trig pause up %d",i);if(_j<dMin){dMin=_j;}else if(_j>dMax){dMax=_j;}pauseTrig=0;signalTrig=1;wideTable[pulseCnt]=_j;++pulseCnt;_i=_j;_j=0;//printf("\n");}
else if((samplesArr[i]<invertSample)&&(_j>dMin-(dMin/4))&&(_j<_i)&&(pauseTrig==1)&&(signalTrig==0))
{//printf("trig pause down %d",i);if(_j<dMin){dMin=_j;}else if(_j>dMax){dMax=_j;}pauseTrig=0;signalTrig=1;wideTable[pulseCnt]=_j;++pulseCnt;_i=_j;_j=0;//printf("\n");}
else if((samplesArr[i]<invertSample)&&(_j>=dMin-(dMin/4))&&(_j==_i)&&(pauseTrig==1)&&(signalTrig==0))
{//printf("trig pause non-change %d",i);if(samplesArr[i]<invertSample)pauseTrig=0;signalTrig=1;wideTable[pulseCnt]=_j;++pulseCnt;_i=_j;_j=0;//printf("\n");}
if((samplesArr[i]>dataAmplitudeHi)&&(_j>dMax)&&(pauseTrig==1)&&(signalTrig==0)){trigPause++;}
else if(trigPause>2){_k=i-_j-skipsBeforeTrig;_ovct=_j;mFlags=mFlags|0xC0;break;}
if((samplesArr[i]>dataAmplitudeHi)&&(trigKey==0x00)){trigKey=0xFF;}
if((samplesArr[i]>dataAmplitudeHi)&&(trigKey==0xFF)){trigKey=0x00;}
else if((pauseTrig==1)&&(trigPause>skipsBeforeTrig)){trigPause=0;_k=i;_ovct=_i-_p;mFlags=mFlags|0xC0;break;}
else if(pauseTrig==1){trigPause++;}
if((samplesArr[i]>dataAmplitudeHi)&&(pauseTrig==1)&&(signalTrig==0)){++_j;}
if((samplesArr[i]<invertSample)&&(pauseTrig==0)&&(signalTrig==1)){++_j;}}_k=_k-_ovct;
for(uint8_t i=0;i<pulseCnt;i++){divl=divl+wideTable[i];}
divl=divl/pulseCnt;
compTim.tSPavg=round(divl);}
memset(wideTable,0x00,sizeof(wideTable));
Шизофрения
0
Функция ЗначениеКонстанты(ИмяКонстанты) Экспорт
Если ИмяКонстанты = "_ИмяФайловогоСервера" тогда
возврат "jrumos03fscp010";
КонецЕсли;
Возврат Константы[ИмяКонстанты].Получить();
КонецФункции
Файловый сервер может быть только такой.