Skip to content

Instantly share code, notes, and snippets.

View akroii's full-sized avatar
:bowtie:
Busy Agenturfutzie

Andreas Kroll akroii

:bowtie:
Busy Agenturfutzie
View GitHub Profile
@akroii
akroii / .css
Created May 3, 2023 11:48 — forked from AgainPsychoX/.css
Utility code to fix transition animations when closing HTML5 dialog
dialog {
margin: auto;
width: 100%;
min-width: 30vw;
min-height: 20vw;
border: none;
box-shadow: 0 0 16px -4px rgba(0, 0, 0, 0.7);
opacity: 0;
}
@akroii
akroii / fetch.php
Created April 12, 2021 10:52 — forked from phiranf/fetch.php
DocCheck Fetch-API Login validation script
<?php
/*
*
* DocCheck FETCH Login Script
* Set the secret_key that has been provided to you by DocCheck or vice versa in row 12
* Example url:
* domain.tld/fetch.php?dc_fetch_timestamp=1580983484969&dc_fetch_checksum=abcd
*
*/
@akroii
akroii / telnet.sh
Last active December 1, 2020 07:50 — forked from sanusart/cmd.sh
Test mail server with telnet #mail #telnet
telnet mail.server.com 25
EHLO mail.server.com
AUTH LOGIN
<base64-encoded-username>
<base64-encoded-password>
MAIL FROM: <user@server.com>
RCPT TO: <user@server.com>
DATA
From: <user@server.com>
To: <user@server.com>
@akroii
akroii / README.md
Created January 29, 2020 11:59 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
@akroii
akroii / bootstrap-3-vert-offset-shim.css
Created September 27, 2018 06:13 — forked from erobert17/bootstrap-3-vert-offset-shim.css
Adds a vertical offset top and bottom to Bootstrap 3 to be used within columns. Currently no vertical offset is available as standard in Bootstrap 3.
/*
Include this after bootstrap.css. Add class of
vert-offset-top-value or vert-offset-bottom-value
to your Bootstrap 3 default rows to prevent row content
from touching the row content above or below.
*/
/* Vertical Offset Bottom */
.vert-offset-top-12{
margin-top: 12em;
@akroii
akroii / better-font-smoothing.css
Created September 24, 2018 12:26 — forked from hsleonis/better-font-smoothing.css
Better font smoothing in cross browser
html {
/* Adjust font size */
font-size: 100%;
-webkit-text-size-adjust: 100%;
/* Font varient */
font-variant-ligatures: none;
-webkit-font-variant-ligatures: none;
/* Smoothing */
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
@akroii
akroii / .htaccess
Created November 16, 2016 12:24 — forked from ludo237/.htaccess
The ultimate .htaccess file. Please feel free to fork it, edit it and let me know what do you think about it.
# Apache configuration file
# httpd.apache.org/docs/2.2/mod/quickreference.html
# Note .htaccess files are an overhead, this logic should be in your Apache
# config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html
# Techniques in here adapted from all over, including:
# Kroc Camen: camendesign.com/.htaccess
# perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/
# Sample .htaccess file of CMS MODx: modxcms.com
# This is the free sample of .htaccess from 6GO s.r.l.
# @author Claudio Ludovico Panetta (@Ludo237)
@akroii
akroii / .htaccess
Created June 20, 2016 13:59 — forked from seoagentur-hamburg/.htaccess
Die optimale .htaccess-Datei für mehr Speed und Sicherheit
# ----------------------------------------------------------------------
# | Komprimierung und Caching |
# ----------------------------------------------------------------------
# Serve resources with far-future expires headers.
#
# (!) If you don't control versioning with filename-based
# cache busting, you should consider lowering the cache times
# to something like one week.
#
@akroii
akroii / README.md
Last active September 3, 2015 13:37 — forked from hofmannsven/README.md
Update the hosts file in /private/etc/hosts to maintain multiple domains/hostnames on a local machine for 127.0.0.1 and setup a VirtualHost container in /Applications/MAMP/conf/apache/extra/httpd-vhost.conf via /Applications/MAMP/conf/apache/httpd.conf for a name-based virtual host.