Skip to content

Instantly share code, notes, and snippets.

View djordjecupic's full-sized avatar
🏠
Working from home

Djordje Cupic djordjecupic

🏠
Working from home
View GitHub Profile
@djordjecupic
djordjecupic / index.html
Last active April 12, 2018 20:48
QuickStart for Web Projects
<!DOCTYPE html>
<html lang="en" dir="ltr"> <!-- Language List available here: https://gist.github.com/3748498.git -->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Every master was once a beginner. | Start Somewhere</title>
<!-- PLACE GOOGLE FONTS HERE IF NEEDED -->
<!-- <link rel="stylesheet" href="css/normalize.css"> --> <!-- UNCOMMENT Available here: https://github.com/necolas/normalize.css.git -->
<!-- <link rel="stylesheet" href="css/style.css"> --> <!-- UNCOMMENT if not using quick inline style -->
@djordjecupic
djordjecupic / html-languages.txt
Created April 21, 2017 11:53 — forked from JamieMason/html-languages.txt
HTML lang attribute / ISO language code reference / Culture names
CULTURE SPEC.CULTURE ENGLISH NAME
--------------------------------------------------------------
Invariant Language (Invariant Country)
af af-ZA Afrikaans
af-ZA af-ZA Afrikaans (South Africa)
ar ar-SA Arabic
ar-AE ar-AE Arabic (U.A.E.)
ar-BH ar-BH Arabic (Bahrain)
ar-DZ ar-DZ Arabic (Algeria)
ar-EG ar-EG Arabic (Egypt)
# Exclude the .htaccess file
.htaccess
# Exclude any PSD/AI source
*.psd
*.ai
# Exclude the build products
build/*
*.[oa]
@djordjecupic
djordjecupic / css-selectors.md
Created December 27, 2017 10:43 — forked from magicznyleszek/css-selectors.md
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;
@djordjecupic
djordjecupic / hosts
Created January 30, 2018 23:08
Windows hosts Reset File
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
<table border="1">
<caption>Table Caption</caption>
<thead>
<tr>
<th>Table Column</th>
<th>Table Column</th>
<th>Table Column</th>
</tr>
</thead>
<tfoot>
.clearfix::after {
content:"";
display:block;
clear:both;
}
@djordjecupic
djordjecupic / @font-face
Last active April 10, 2018 07:32
Formal syntax for @font-face
@font-face {
[ font-family: <family-name>; ] ||
[ src: [ <url> [ format(<string>#) ]? | <font-face-name> ]#; ] ||
[ unicode-range: <urange>#; ] ||
[ font-variant: <font-variant>; ] ||
[ font-feature-settings: normal | <feature-tag-value>#; ] ||
[ font-variation-settings: normal | [ <string> <number>] # ||
[ font-stretch: <font-stretch>; ] ||
[ font-weight: <weight>; ] ||
[ font-style: <style>; ]
@djordjecupic
djordjecupic / html_forms_cheatsheet.md
Created August 3, 2018 09:08 — forked from pete-ewg17/html_forms_cheatsheet.md
HTML forms and input tags cheatsheet. All you need to know to write every HTML form possible, including links to good resources on HTML and the new HTML5 form and input options...

HTML Forms

In order that you never go to W3Schools (never go there), here is a basic cheat sheet for writing simple HTML forms.

This is culled from a few sources, [the most important being MDN][MDN]. MDN (the Mozilla Developer Network) should be seen as "the docs" when you are having an issue with HTML.

@djordjecupic
djordjecupic / bash-cheatsheet.sh
Created August 10, 2018 16:09 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04