Skip to content

Instantly share code, notes, and snippets.

View RinatValiullov's full-sized avatar
๐Ÿ‘ทโ€โ™‚๏ธ
Looking for a job

Rinat Valiullov RinatValiullov

๐Ÿ‘ทโ€โ™‚๏ธ
Looking for a job
View GitHub Profile
<plist version="1.0">
<dict>
<key>name</key>
<string>Mariana</string>
<key>author</key>
<string>Sublime HQ Pty Ltd, Dmitri Voronianski</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@RinatValiullov
RinatValiullov / resp3cols.html
Last active February 22, 2018 13:40
Three responsive columns layout with css(not complete...)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Responsive layout(3 columns)</title>
</head>
<body>
<style>
@RinatValiullov
RinatValiullov / js-task-1.md
Created March 9, 2018 11:05 — forked from codedokode/js-task-1.md
ะ—ะฐะดะฐะฝะธั ะฝะฐ ัะฒะฐัะบั€ะธะฟั‚ (ะฟั€ะพัั‚ั‹ะต)

ะŸั€ะพัั‚ั‹ะต ะทะฐะดะฐั‡ะธ ะฝะฐ ัะฒะฐัะบั€ะธะฟั‚

ะŸั€ะพะฟัƒัั‚ะธั‚ัŒ ั‚ะตะพั€ะธัŽ ะธ ะฟะตั€ะตะนั‚ะธ ะฟั€ัะผะพ ะบ ะทะฐะดะฐั‡ะฐะผ

ะกัั‹ะปะบะฐ ะฝะฐ ัƒั‡ะตะฑะฝะธะบ: http://learn.javascript.ru

ะกั€ะฐะทัƒ ั€ะฐััะบะฐะถัƒ ะฟั€ะพ ะฝะตัะบะพะปัŒะบะพ ะพัะพะฑะตะฝะฝะพัั‚ะตะน ัะฒะฐัะบั€ะธะฟั‚ะฐ, ะพ ะบะพั‚ะพั€ั‹ั… ะผะพะถะตั‚ ะฑั‹ั‚ัŒ ะฝะต ะฝะฐะฟะธัะฐะฝะพ (ะธะปะธ ะผะฐะปะพ ะฝะฐะฟะธัะฐะฝะพ) ะฒ ัƒั‡ะตะฑะฝะธะบะฐั…, ะฝะพ ะบะพั‚ะพั€ั‹ะต ัั‚ะพะธั‚ ะฟะพะฝะธะผะฐั‚ัŒ:

ะ’ะตั€ัะธะธ ัะฒะฐัะบั€ะธะฟั‚ะฐ

Gradient shadow in pure CSS

alt text

HTML
<button>Let's Go !</button>
@RinatValiullov
RinatValiullov / gist:c4c39280a95a6163a598d83b08db7644
Created April 21, 2018 07:56 — 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:

Strings

String.prototype.*

None of the string methods modify this โ€“ they always return fresh strings.

  • charAt(pos: number): string ES1

    Returns the character at index pos, as a string (JavaScript does not have a datatype for characters). str[i] is equivalent to str.charAt(i) and more concise (caveat: may not work on old engines).

@RinatValiullov
RinatValiullov / file_inseveral-folders.sh
Created July 16, 2018 05:06
Add file in several directories
#!/bin/bash
# Add file in several directories
# find . -type d --> searchs directories in the directory structure
# -exec touch {}/hiya \; --> given each result, its value is stored in {}.
# So with touch {}/hiya what we do is to touch that "something"/hiya. The final \; is required by exec in find clauses.
find . -type d -exec touch {}/sample.txt \;
@RinatValiullov
RinatValiullov / Preload CSS - Not blocking CSS.html
Created July 25, 2018 09:45 — forked from thedaviddias/Preload CSS - Not blocking CSS.html
Preload CSS and don't block the DOM with your CSS file request.
<link rel="preload" href="css/global.min.css" as="style" onload="this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="css/global.min.css"></noscript>
<script>
/*! loadCSS. [c]2017 Filament Group, Inc. MIT License */
!function(a){"use strict";var b=function(b,c,d){function j(a){if(e.body)return a();setTimeout(function(){j(a)})}function l(){f.addEventListener&&f.removeEventListener("load",l),f.media=d||"all"}var g,e=a.document,f=e.createElement("link");if(c)g=c;else{var h=(e.body||e.getElementsByTagName("head")[0]).childNodes;g=h[h.length-1]}var i=e.styleSheets;f.rel="stylesheet",f.href=b,f.media="only x",j(function(){g.parentNode.insertBefore(f,c?g:g.nextSibling)});var k=function(a){for(var b=f.href,c=i.length;c--;)if(i[c].href===b)return a();setTimeout(function(){k(a)})};return f.addEventListener&&f.addEventListener("load",l),f.onloadcssdefined=k,k(l),f};"undefined"!=typeof exports?exports.loadCSS=b:a.loadCSS=b}("undefined"!=typeof global?global:this);
/*! loadCSS rel=preload po
console.log("Hello");
@RinatValiullov
RinatValiullov / hello_OCEANjs.js
Last active October 22, 2018 16:44
just for fun (npx + __this url__)
#!/usr/bin/env node
console.log("Hello, OCEANjs!!!");