Skip to content

Instantly share code, notes, and snippets.

View ignisf's full-sized avatar
😈

Petko Bordjukov ignisf

😈
View GitHub Profile
@ignisf
ignisf / filterlist.txt
Last active April 28, 2023 19:14
List of filter rules that removes the comments from dnevnik.bg
! 2023-04-27 https://www.dnevnik.bg
dnevnik.bg##.gtag-comments-button-homepage
dnevnik.bg##.gtag-comments-button-above-article.comments
dnevnik.bg###CommentsButton
dnevnik.bg##.gtag-comments-button-feeds
dnevnik.bg##[href*="/comments"]
dnevnik.bg##[href*="/#comments"]
||*.dnevnik.bg/*/comments^$document
@ignisf
ignisf / gist:ed4691de467e6125fa1f77d915b3d3cd
Last active December 7, 2022 09:36
Tasmota Nedis WIFIDW10WT
@ignisf
ignisf / gist:d4374fddc368439d1432ad5e8cf6fd5d
Last active May 12, 2023 18:08
Nedis WIFIDS10WT Tasmota Configuration
{"NAME":"Nedis WIFIDS10WT","GPIO":[0,107,0,108,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":54}
Module 54
Backlog TuyaMCU 11,4; TuyaMCU 51,51
Backlog SetOption1 1; SetOption65 1; SetOption66 1
Rule1
ON TuyaReceived#Data=55AA000500056A0400010078 DO publish2 stat/%topic%/FIRE OFF ENDON
@ignisf
ignisf / test.rb
Last active May 4, 2021 23:47 — forked from SamSaffron/test.rb
require 'benchmark/ips'
require 'set'
numbers = (1..10000).to_a
numbers_as_string = "," + (1..10000).to_a.join(",") + ","
numbers_as_set = Set.new(numbers)
Benchmark.ips do |x|
set -x
tc qdisc del dev eth2 root
tc qdisc del dev eth2 ingress
ip link del eth2slowingress
ip link del eth2slowegress
ip link del eth2fastingress
ip link del eth2fastegress
tc qdisc del dev eth2 handle ffff: clsact
tc filter del dev eth2
@ignisf
ignisf / update.log
Last active March 6, 2021 13:50
Dell Optiplex 3040 TPM Update from 1.2 to 2.0 Troubleshooting Log
[root@soho ~]# fwupdmgr get-devices --show-all-devices
OptiPlex 3040
├─HD Graphics 530:
│ Device ID: bbbf1ce3d1cf15550c3760b354592040292415bb
│ Current version: 06
│ Vendor: Intel Corporation (PCI:0x8086)
│ GUIDs: a859f945-baa2-56c7-a529-85716862a8dd ← PCI\VEN_8086&DEV_1912&REV_06
│ c48d1cbc-3c34-5af1-b38f-bed4746a8acf ← PCI\VEN_8086&DEV_1912
│ Device Flags: • Internal device
@ignisf
ignisf / .block
Created September 13, 2019 15:26 — forked from steveharoz/.block
d3-force testing ground
license: gpl-3.0
height: 1030
scrolling: yes
@ignisf
ignisf / gist:c6160f29805ebb5a52b9a215d6831472
Last active March 26, 2019 15:48
Обезбайганьовизация на dnevnik.bg
! 26/03/2019 https://www.dnevnik.bg
www.dnevnik.bg##:xpath(//article[contains(@class,'article') and ./h2/a[contains(text(),'Кубрат')]])
! 26/03/2019 https://www.dnevnik.bg
www.dnevnik.bg##:xpath(//article[contains(@class,'article') and ./h2/a[contains(text(),'Гришо')]])
! 26/03/2019 https://www.dnevnik.bg
www.dnevnik.bg##:xpath(//article[contains(@class,'article') and ./h2/a[contains(text(),'Григор')]])
! 26/03/2019 https://www.dnevnik.bg
@ignisf
ignisf / .pronsolerc
Last active July 30, 2018 09:29
initlab 3d printer settings
# Sample .pronsolerc file - copy this into your home directory
macro up G1 Z6 F200
macro printnow !self.p.send_now("M23 [0]")
macro printme
G21
G90
move z 6
home
move z 6
M109 {0}
Run options: --seed 41163
# Running:
S..........S.../home/ignisf/Projects/mini_racer/test/mini_racer_test.rb:596: [BUG] Segmentation fault at 0x0000000000000038
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0033 p:0015 s:0180 e:000177 BLOCK /home/ignisf/Projects/mini_racer/test/mini_racer_test.rb:596 [FINISH]
c:0032 p:0018 s:0172 e:000171 BLOCK /home/ignisf/Projects/mini_racer/lib/mini_racer.rb:218 [FINISH]