Skip to content

Instantly share code, notes, and snippets.

View szepeviktor's full-sized avatar
🍓
Doing byte-level care

Viktor Szépe szepeviktor

🍓
Doing byte-level care
View GitHub Profile
@szepeviktor
szepeviktor / Twitter-howto.md
Last active May 21, 2023 17:16
Twitter 101 - How to tweet?

How to bark tweet

Twitter bird with Doge feathers

  • Who am I talking to? (leaders of digital agencies, future non-expert clients)
  • What is the goal of my tweet? How will the reader react? (hire me)
  • When should I tweet?
  1. Check English/English🌟/Deutsch/magyar text
  2. Use emojis
@szepeviktor
szepeviktor / interfood.js
Last active January 30, 2024 22:23
Összpontosítás az Interfoodra https://www.interfood.hu/etlap-es-rendeles/
// Nagy betűk
document.querySelectorAll(".food-etlap-szoveg").forEach(function (text) {text.style.fontSize="16px"; text.style.lineHeight=1.2;});
// Teljes szélességű táblázat
document.querySelectorAll(".food-table.top").forEach(function (element) {element.style.width="100%";});
document.querySelectorAll(".row").forEach(function (element) {element.style.maxWidth="none";});
// A kis adagos menük elrejtése
document.querySelectorAll("[id^='sorszuro_id-'][id$='K']").forEach(function (menuRow) {menuRow.style.display="none";});
@felixarntz
felixarntz / server-timing-extra.php
Last active August 9, 2023 05:23
Mini WordPress plugin that uses the Server Timing API of the Performance Lab plugin (also see https://github.com/WordPress/performance/pull/553) to capture additional metrics
<?php
/**
* Plugin Name: Server Timing Extra
* Plugin URI: https://gist.github.com/felixarntz/63c05392dbf7d51cc7f8f4a424b1ff39
* Description: Exposes additional Server-Timing metrics using the Performance Lab plugin's Server Timing API.
* Requires at least: 6.1
* Requires PHP: 5.6
* Version: 0.1.0
* Author: Felix Arntz
* Author URI: https://felix-arntz.me
@szepeviktor
szepeviktor / éléskamra.md
Last active February 7, 2024 13:13
Éléskamra 🍇 🍈 🍉 🍊 🍋 🍌 🍍 🥭 🍎 🍏 🍐 🍑 🍒 🍓 🥝 🍅 🥥 🥑 🥔 🥕 🌽 🌶️ 🥒 🥬 🥦 🧄 🧅

Éléskamra

Meleg étel

  • Hikari enjuku koji miso soup (円熟こうじみそ) 155,2 g 🇯🇵
  • Pizzás csiga 70 g
  • Sajttal szórt stangli 80 g
  • Dr. Willi Knoll zsemlegombóc 200 g
  • Mug Shot Mac & Cheese instant tészta 68 g
  • Nissin Cup Noodles marhahúsos 64 g
@szepeviktor
szepeviktor / trinary.php
Last active March 19, 2023 09:20
Fun with PHP 8.1 backed enums
<?php
// This needs PHP 8.1
enum Trinary: int
{
case YES = 1;
case MAYBE = 0;
case NO = -1;
}
@szepeviktor
szepeviktor / Robust.md
Last active June 12, 2022 11:44
Miből áll az üzembiztonság?

Mivel lehet elérni az üzembiztonságot?

A hibák az emberekből jönnek.

  • vezető és vízió
  • szakértő (szakosodott) munkatársak
  • cégszervezés, cégen belüli kommunikáció
  • szolgáltató választás (specializált szolgáltatók)
  • Szolgáltató Gazda, Szolgáltató Gazdaasszony (szolgáltatók ismerete és adminisztrálása, felhasználókezelés, hozzáférés a céges email fiókhoz, bankkártyához, telefonhoz, 2FA eszközhöz)
  • technológia és szoftver választás
@szepeviktor
szepeviktor / facebook-dc.md
Last active February 29, 2024 02:30
Facebook Data Center locations
@szepeviktor
szepeviktor / Principles.md
Last active May 10, 2021 19:19
Principles for manufacturing web applications

Principles

All problems come from humans.

TL;DR

You need a vision and a leader.

Team behaviour

@szepeviktor
szepeviktor / viktor-pricelist.md
Last active June 8, 2021 12:33
Price list of viktor🤖

Prices

I make your web application's life happy.

Hourly rate ⏲️

€29/hour

I take small jobs rarely.

@szepeviktor
szepeviktor / Onboarding-fast-lane.md
Last active February 5, 2021 14:01
Fast lane! 💺 Fasten your seatbelts.

Infrastructure and application setup for new clients

Welcome to the process of setting up your infrastructure and your application!

Requirements

  1. One person able to consider things, decide and act
  2. If moving: access to accounts at all providers below
  3. Company details (registered name, registration number, address)
  4. Access to company email account