Skip to content

Instantly share code, notes, and snippets.

View Serrin's full-sized avatar

Ferenc Czigler Serrin

  • The Walt Disney Company
  • Budapest
  • 07:43 (UTC +01:00)
View GitHub Profile
@Serrin
Serrin / css-units-best-practices.md
Created February 10, 2020 20:04 — forked from basham/css-units-best-practices.md
CSS Units Best Practices

CSS units

Recommendations of unit types per media type:

Media Recommended Occasional use Infrequent use Not recommended
Screen em, rem, % px ch, ex, vw, vh, vmin, vmax cm, mm, in, pt, pc
Print em, rem, % cm, mm, in, pt, pc ch, ex px, vw, vh, vmin, vmax

Relative units

Relative units

@Serrin
Serrin / Apple_mobile_device_types.txt
Created January 30, 2020 19:16 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
iPhone5,1 : iPhone 5 (GSM)
@Serrin
Serrin / Markdown.xml
Created January 25, 2020 14:47 — forked from xCONFLiCTiONx/Markdown.xml
Markdown Language Support for notepad++ (VS2015-Dark)
<NotepadPlus>
<UserLang name="Markdown" ext="md markdown" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" />
<Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00# 01 02((EOL)) 03&lt;!-- 04--&gt;</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@Serrin
Serrin / gist:f9528a34896f6217ddde2abee9ce5c3b
Created January 1, 2020 12:08 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@Serrin
Serrin / XHTML5.xhtml
Last active October 31, 2019 12:05 — forked from sonnyp/XHTML5.xhtml
XHTML5 template
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8"/>
<title>TITLE</title>
<meta name="description" content="$DESCRIPTION"/>
<meta name="author" content="$AUTHOR"/>
@Serrin
Serrin / webdev_online_resources.md
Created July 23, 2018 18:20 — forked from Edwardtonnn/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@Serrin
Serrin / js-frontend-resources.md
Created November 29, 2017 13:37 — forked from diegopacheco/js-frontend-resources.md
Frontend / JavaScript Resources
@Serrin
Serrin / meta-tags.md
Created September 22, 2017 09:59 — forked from jochemstoel/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@Serrin
Serrin / httpStatusCodes.js
Created September 22, 2017 09:58 — forked from jochemstoel/httpStatusCodes.js
An HTTP Status Codes object
/**
* HTTP Status Codes
* Copyright (c) 2012, marlun78
* MIT License, https://gist.github.com/marlun78/bd0800cf5e8053ba9f83
*
* Taken from: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
* Visual Studio find regex: ^(\d{3}) ([^\r\n]+)\r\n
* Visual Studio replace regex: '$1': '$2', //
* Notes wrapped in parens moved manually
*/
@Serrin
Serrin / line-endings.md
Last active August 20, 2017 11:30
line-endings.md
Character Name OS Code ASCII Unicode
LF Line Feed Unix, Linux, OSX \n 10 U+000A
CR Carriage Return macOS-9 \r 13 U+000D
CR+LF CR+LF Windows, DOS \r\n 13+10 U+000D + U+000A