Skip to content

Instantly share code, notes, and snippets.

View Ademking's full-sized avatar
🍪
Eating Cookies

Adem Kouki Ademking

🍪
Eating Cookies
View GitHub Profile
@Ademking
Ademking / registry.json
Last active July 14, 2025 16:54
Registry Injection Attacks with shadcn
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "test",
"type": "registry:ui",
"title": "Test",
"devDependencies": [
"vite-plugin-run"
],
"files": [
{
@Ademking
Ademking / README.md
Last active December 23, 2024 16:44
Lean Javascript for FREE
@Ademking
Ademking / README.md
Last active March 17, 2025 13:15
How to install acunetix (linux)
@elmoiv
elmoiv / facebook_user_id.py
Last active November 5, 2020 09:55
Getting ID of any facebook user without scraping.
import re, urllib.request
query = input()
rgx = re.split(r'((http|https):\/\/)?(www\.)?(facebook|fb)\.com\/([.a-z0-9]+)', query.lower())
name = rgx[0] if len(rgx) == 1 else rgx[5]
redirected = urllib.request.urlopen(f'https://m.me/{name}').geturl().split('%2F')
#############################
##### Magic script v1.01 ####
#############################
# Ask for elevated permissions if required
If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator")) {
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs
Exit
}
@joebasurto
joebasurto / autoplay.js
Created July 2, 2019 02:05
YouTube Autoplay Fix (Chrome)
<script>
jQuery("video-iframe")[0].src += "&autoplay=1";
</script>
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active July 19, 2025 07:59
Online Resources For Web Developers (No Downloading)
@peterbrinck
peterbrinck / Laravel on VestaCP.md
Last active July 2, 2023 14:49
Laravel web templates for VestaCP

I'm not using this or VestaCP anymore, so I can't confirm if still working or not.

I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.

Each file should be put in /usr/local/vesta/data/templates/web/apache2

Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html

@carlosgruiz-dev
carlosgruiz-dev / Bookmarks.markdown
Last active December 10, 2024 00:21
Bookmarks

A

  • A bit of Vim - a book which aims to help you to learn how to use the Vim editor.
  • A.W.E.S.O.M. O - The really big list of really interesting open source projects.
  • AMP Project - The project enables the creation of websites and ads that are consistently fast, beautiful and high-performing across devices and distribution platforms.
  • APE - Angular JS REST Client.
  • ASCII Art - Real-Time ASCII Art Rendering Library
  • AST Explorer - A web tool to explore the ASTs generated by various parsers.
  • Advanced Bash-Scripting Guide - An in-depth exploration of the art of shell scripting by Mendel Cooper.
  • Advent of Code - is a series of small programming puzzles for a variety of skill levels.
@FilipQL
FilipQL / CommentController.php
Created October 10, 2016 18:51
Infinite Scroll Pagination Using Laravel & jScroll
<?php
// For more details see: http://laraget.com/blog/implementing-infinite-scroll-pagination-using-laravel-and-jscroll
namespace App\Http\Controllers\InfiniteScrolling;
use App\Comment;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;