Skip to content

Instantly share code, notes, and snippets.

View alaa-aqeel's full-sized avatar
🐍
Only the snake in my heart

Alaa Aqeel alaa-aqeel

🐍
Only the snake in my heart
View GitHub Profile
@loilo
loilo / pass-slots.md
Last active October 16, 2024 18:16
Vue: Pass Slots through from Parent to Child Components

Vue: Pass Slots through from Parent to Child Components

The Situation

  • We've got some components A, B and C which provide different slots.
    const A = {
      template: `<div><slot name="a">Default A Content</slot></div>`
    }

const B = {

@marcoskubis
marcoskubis / table-ellipsis.css
Created February 24, 2017 13:08
Bootstrap table ellipsis
.table.table-ellipsis tbody td {
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap
}
@rambabusaravanan
rambabusaravanan / hulk.py
Last active July 13, 2023 21:32
HULK Python Script : Denial-of-Service (DoS) attack
# ----------------------------------------------------------------------------------------------
# HULK - HTTP Unbearable Load King
#
# this tool is a dos tool that is meant to put heavy load on HTTP servers in order to bring them
# to their knees by exhausting the resource pool, its is meant for research purposes only
# and any malicious usage of this tool is prohibited.
#
# author : Barry Shteiman , version 1.0
# ----------------------------------------------------------------------------------------------
import urllib2