Skip to content

Instantly share code, notes, and snippets.

View ladislavsulc's full-sized avatar

Ladislav Šulc ladislavsulc

View GitHub Profile
@ladislavsulc
ladislavsulc / stylebot.css
Last active April 27, 2023 12:41
Eurofotbal Dark Mode (download Stylebot extension and import the code)
div.e-layout__wrap.e-leagues-layout {
background-color: #434343;
}
div div p {
color: #f3f3f3;
}
div.e-comments-comment.e-comments-comment--highlighted {
background-color: #111;
@ladislavsulc
ladislavsulc / rewards-logged-in.css
Last active August 25, 2022 16:02
stamped.io rewards page (logged in)
.stamped-rewards-widget-text.stamped-customer-logged-in {
margin-top: 24px;
padding: 8px 16px;
border: 1px solid #d2d8e5;
border-radius: 3px;
}
span[data-target-id="label-balance"] {
color: #012169;
}
// https://stackoverflow.com/questions/64573177/unable-to-resolve-dependency-tree-error-when-installing-npm-packages
npm install --legacy-peer-deps
@ladislavsulc
ladislavsulc / license.ps
Created November 16, 2021 19:44
Show WIN serial / license code in terminal
wmic path SoftwareLicensingService get OA3xOriginalProductKey
@ladislavsulc
ladislavsulc / fluid-images.css
Last active February 18, 2021 17:28
Fluid Images
// https://www.zachleat.com/web/fluid-images/
img {
max-width: 100%;
}
img[width] {
width: auto; /* Defer to max-width */
}
img[width][height] {
height: auto; /* Preserve aspect ratio */
@ladislavsulc
ladislavsulc / add-wpcli.sh
Created October 27, 2020 17:29
Add WP CLI to Laragon
cd C:\laragon\usr\bin && curl -L -O https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && echo @ECHO OFF > wp.bat && echo php "%~dp0wp-cli.phar" %* >> wp.bat
@ladislavsulc
ladislavsulc / settings.json
Created March 21, 2020 15:25
Windows Terminal Settings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"globals" :
{
"alwaysShowTabs" : true,
"defaultProfile" : "{1caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"initialCols" : 120,
"initialRows" : 30,
"keybindings" :
[
@ladislavsulc
ladislavsulc / laravel.md
Last active September 26, 2019 14:42
Laravel App Starter (Windows)
@ladislavsulc
ladislavsulc / functions.php
Created August 30, 2019 14:10
Change Admin Login Logo (WordPress)
// Admin Logo
function custom_login_logo() {
echo '<style type="text/css">
h1 a {
background-image:url(/wp-content/uploads/**/logo.svg) !important;
width: ** !important;
background-size: 100% !important;
height: ** !important;
margin-bottom: 2em !important;
}
@ladislavsulc
ladislavsulc / laragon-ssl.md
Last active March 5, 2024 11:33
Laragon SSL

Laragon SSL not working (Windows 10)

When you install the fresh Laragon installation, copy your www and data folders, launch your dev sites, your browser might notify you about an invalid SSL certificate.

Solution

Right click on Laragon / Apache / SSL and make sure it is enabled and click Add laragon.crt to Trust Store!

Voila!