Skip to content

Instantly share code, notes, and snippets.

View samarkandiy's full-sized avatar
🎯
Focusing

Avaz Bokiev samarkandiy

🎯
Focusing
View GitHub Profile
@samarkandiy
samarkandiy / change-class-on-scroll.html
Created November 22, 2018 18:23 — forked from ohiosveryown/change-class-on-scroll.html
Vanilla JS – change/add class based on scroll position.
// https://codepen.io/cmykw/pen/gemxJm
// layout
<nav/>
// style
<style>
body { min-height: 200vh; }
nav {
#1. SYSTEM
$ uname –a => Display linux system information
$ uname –r => Display kernel release information (refer uname command in detail)
$ cat /etc/redhat_release => Show which version of redhat installed
$ uptime => Show how long system running + load (learn uptime command)
$ hostname => Show system host name
$ hostname -i => Display the IP address of the host (all options hostname)
$ last reboot => Show system reboot history (more examples last command)
$ date => Show the current date and time (options of date command)
@samarkandiy
samarkandiy / dabblet.css
Created September 19, 2012 10:13 — forked from LeaVerou/dabblet.css
Move in a circle without wrapper elements
/**
* Move in a circle without wrapper elements
* Idea by Aryeh Gregor, simplified by Lea Verou
*/
@keyframes rot {
from {
transform: rotate(0deg)
translate(-150px)
rotate(0deg);