Skip to content

Instantly share code, notes, and snippets.

View qya's full-sized avatar
:atom:
On Error

qya

:atom:
On Error
View GitHub Profile
@qya
qya / proxy.js
Created December 11, 2023 08:29
Nginx Proxy with JS
function handleRequest(r) {
var t = '/path/to/cookies.txt',
e = readCookiesFromFile(r, t);
r.headersOut.Cookie = e;
var a = buildTargetUrl(r, 'http://ex.com'),
o = createProxyRequest(r, a),
s = r.subrequest(o);
handleProxyResponse(r, s)
}
@qya
qya / README.MD
Created August 7, 2021 09:23
Backpack Laravel Datatables Footer

#How to Use Footer Data tables To use these u need change

        $this->crud->setDefaultPageLength(20);
@qya
qya / dl.css
Created December 9, 2019 10:54
DL Box CSS
.dlx {
backgound: #ddd;
padding: 3px
}
.dlx h4 {
background: #c2382b;
color: #fff;
font-size: 14px;
@qya
qya / ubsocks.sh
Created October 26, 2019 08:17
Ubuntu Auto Installer SOCK5
#! /bin/sh
echo -e ". -------------------------------------------------------------------. "
echo -e "| [Esc] "$k"[F1][F2][F3][F4][F5]"$m"[F6][F7][F8][F9][F0]"$h"[F10][F11][F12]"$m" o o o"$n"| "
echo -e "| | "
echo -e "| ['][1][2][3][4][5][6][7][8][9][0][-][=][_<_] [I][H][U] [N][/][*][-]| "
echo -e "| [|-]["$m"D"$n"]["$k"E"$n"]["$h"B"$n"]["$b"S"$n"]["$k"E"$n"]["$m"T"$n"]["$k"O"$n"]["$k"O"$n"]["$h"L"$n"]["$k"v"$n"]["$h"0"$n"]["$h"3"$n"] | | [D][E][D] [7][8][9]|+|| "
echo -e "| [CAP]["$m"I"$n"]["$m"N"$n"]["$m"D"$n"]["$m"O"$n"]["$h"E"$n"]["$h"S"$n"]["$h"I"$n"]["$h"A"$n"]["$h"N"$n"][;]['][#]|_| [4][5][6]|_|| "
echo -e "| [^][\][X]["$k"P"$n"]["$k"E"$n"]["$k"O"$n"]["$k"P"$n"]["$k"L"$n"]["$k"E"$n"][,][.][/] [__^__] [^] [1][2][3]| || "
echo -e "|"$k" [c] [a][________________________][a] [c] [<][V][>] [ 0 ][.]|_|"$n"| "
echo -e "'------------------------------
@qya
qya / keybase.md
Created September 13, 2019 18:24

Keybase proof

I hereby claim:

  • I am qya on github.
  • I am qya (https://keybase.io/qya) on keybase.
  • I have a public key ASBIsfv4Rf8Vahc9A4N3yX5DsLJ0O1tW2ey-dDjfM5wGxgo

To claim this, I am signing this object:

@qya
qya / black.css
Created August 11, 2019 17:57
Black mode
/*
Theme Name: AnimeStream
Theme URI: http://enduser.id
Author: Enduser
Author URI: http://enduser.id
Description: theme for streaming.
Version: 1.0.1
Tags: black, blue, green, light, two-columns, right-sidebar, custom-header, custom-menu, featured-images
Text Domain: animestream
*/
@qya
qya / deobfuscate-js.php
Last active February 24, 2019 14:17
Simple Script to decode Obfuscated by JS
<?php
// Simple Script to decode Obfuscated by JS
$replace = 'STRING_NAME';
$arr = array(); //input Array of /nJS
$dat='name_script.txt';
$data = file_get_contents($dat);
$counter = count($arr);
$dap = '';
$i = 0;
while($i < $counter){