Skip to content

Instantly share code, notes, and snippets.

View lexuschert's full-sized avatar
:octocat:

Alexey Yakimov lexuschert

:octocat:
  • Mobile Solutions Ltd.
View GitHub Profile
@lexuschert
lexuschert / iterm2-solarized.md
Created August 7, 2022 15:30 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@lexuschert
lexuschert / meta-tags.md
Created March 29, 2019 10:50 — forked from whitingx/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'>
@lexuschert
lexuschert / gist:c826aab6dd17360fd12798db5ce02fc7
Created June 18, 2018 09:51 — forked from lttlrck/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@lexuschert
lexuschert / CSS3 Media Queries Template
Created May 2, 2018 14:41
CSS3 Media Queries template
/*
* Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
*/
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
@lexuschert
lexuschert / isMobile.js
Created April 12, 2018 14:06 — forked from manfromanotherland/isMobile.js
JS: Detecting mobile devices with JavaScript #snippet
// Detect Mobile Devices
var isMobile = {
Android: function() {
return navigator.userAgent.match(/Android/i);
},
BlackBerry: function() {
return navigator.userAgent.match(/BlackBerry/i);
},
iOS: function() {
return navigator.userAgent.match(/iPhone|iPad|iPod/i);