Skip to content

Instantly share code, notes, and snippets.

View illusionfield's full-sized avatar

IF illusionfield

View GitHub Profile
@illusionfield
illusionfield / ssl.rules
Created October 9, 2016 09:10 — forked from konklone/ssl.rules
nginx TLS / SSL configuration options for konklone.com
# Basically the nginx configuration I use at konklone.com.
# I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com
#
# To provide feedback, please tweet at @konklone or email [email protected].
# Comments on gists don't notify the author.
#
# Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites.
# Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration.
server {
@illusionfield
illusionfield / arm-elf-gcc_on_osx.sh
Last active January 23, 2018 10:04 — forked from steakunderscore/arm-elf-gcc_on_osx.sh
How I installed arm-elf-gcc on Mac OS X
#!/bin/bash
mkdir toolchain
cd toolchain
wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz
wget ftp://ftp.gnu.org/gnu/gdb/gdb-7.2a.tar.gz
wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.bz2
wget ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.4/gcc-core-4.6.4.tar.bz2
@illusionfield
illusionfield / update-ffmpeg-rpi.sh
Created July 25, 2018 13:00 — forked from enzanki-ars/update-ffmpeg-rpi.sh
Install/Update FFmpeg with hardware acceleration on the Raspberry Pi
#!/bin/bash
# Compile and install/update (or install via Apt) FFmpeg Codecs
# Compile and install/update FFmpeg suite
# Compile with hardware acceleration
# Modified from https://retroresolution.com/compiling-ffmpeg-from-source-code-all-in-one-script/
echo "Begining Installation of FFmpeg Suite"
#Update APT Repository
echo "Updating the APT repository information"
@illusionfield
illusionfield / bunny.smil
Last active August 11, 2021 11:33
smil bunny
<smil>
<head>
<meta http-equiv="refresh" content="20"/>
<layout>
<!-- define the screen resolution -->
<root-layout width="1920" height="1080" backgroundColor="#18182c" />
<!-- define the screen layout, in this case single fullscreen zone -->
<region regionName="main" left="0" top="0" width="1920" height="1080" z-index="1" backgroundColor="#18182c"/>
</layout>
<smil>
<head>
<meta http-equiv="refresh" content="20"/>
<layout>
<!-- define the screen resolution -->
<root-layout width="1920" height="1080" backgroundColor="#18182c" />
<!-- define the screen layout zones in relative % -->
<region regionName="full" left="0" top="0" width="100%" height="100%" z-index="1" backgroundColor="#fdc400"/>
@illusionfield
illusionfield / !eki-cib-autofill-card-bookmarklet.md
Last active January 15, 2025 07:35
CIB internetes fizetés bankkártya autofill bookmarklet

CIB eCommerce Autofill Probléma és Megoldás

Probléma

A CIB eCommerce fizetőfelületén a bankkártya-adatok automatikus kitöltése nem működik megfelelően. Ez azért van, mert az űrlap mezőihez nem megfelelő autocomplete attribútumokat rendeltek. Ennek eredményeként az automatikus kitöltés funkció nem tudja felismerni és helyesen kitölteni a bankkártyaszámot, a lejárati dátumot, valamint a CVC kódot.

Megoldás

A problémát egy egyszerű JavaScript alapú bookmarklettel oldottam meg. Ez a szkript a helytelen vagy hiányzó autocomplete attribútumokat javítja az űrlap megfelelő mezőin:

  • A bankkártyaszám mezőhöz a cc-number értéket állítja be.
  • A lejárati dátum mezőhöz a cc-exp értéket adja meg.