Skip to content

Instantly share code, notes, and snippets.

View haaami01's full-sized avatar
💭
I learn

G. Szabi #Luckylukee haaami01

💭
I learn
View GitHub Profile
Doyensec Vulnerability Advisory
CVE-2021-27292
=======================================================================
* Regular Expression Denial of Service (REDoS) in ua-parser-js
* Affected Product: ua-parser-js >= 0.7.14, fixed in 0.7.24
* Vendor: https://github.com/faisalman
* Severity: Medium
* Vulnerability Class: Denial of Service
* Status: Fixed
* Author(s): Ben Caller (Doyensec)
static/css/components/buttonCta--js.less
13:7 ✖ Unexpected declaration-block-no-shorthand-property-overrides
shorthand
"background" after
"background-color"
20:7 ✖ Unexpected declaration-block-no-shorthand-property-overrides
shorthand
"background" after
"background-color"
@timoschilling
timoschilling / benchmark_except.rb
Last active April 18, 2021 10:35
Benchmark Hash#except
require 'benchmark/ips'
require 'active_support/hash_with_indifferent_access'
require 'active_support/core_ext/hash'
class Hash
def except_new(*keys)
slice(*(self.keys - keys))
end
end
@rohitrawat
rohitrawat / sources.list
Created June 12, 2017 18:17
Ubuntu 16.04 Xenial default /etc/apt/sources.list
#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
@waylan
waylan / mdx_math.py
Created February 22, 2012 16:59
Math extension for Python-Markdown
#!/usr/bin/env python
"""
Math extension for Python-Markdown
Copied from http://freewisdom.org/projects/python-markdown/mdx_math for preservation.
The following description was attached by the author:
> This is a quick and dirty implementation of allowing <math> LaTeX </math> to do