Skip to content

Instantly share code, notes, and snippets.


Sergey Veremiychuk veremey

  • Ukraine
View GitHub Profile
akella /
Last active Jul 23, 2020
Мой сетап

То что я использую в работе и стримах

Софт для разработки

View html-dicomment.sublime-snippet
<!-- begin $1 -->
<div class="$1">
<!-- end $1 -->
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
View html2pdf.js
function html2pdf(path, outputPath, opt_callback) {
phantom.create(function(ph) {
ph.createPage(function(page) {
page.set('paperSize', {
format: 'A4',
orientation: 'portrait'
});, function() {
angusjune / favicon.html
Last active Nov 3, 2018
Favicon snippet
View favicon.html
<!-- Place favicon.ico and apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone4.png" />
<link rel="apple-touch-icon-precomposed" href="/touch-icon-android.png"/>
poopsplat / gist:7195274
Last active Aug 7, 2020
Mac Terminal Cheat Sheet
View gist:7195274


Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor
depoulo / gist:5832073
Last active May 15, 2019
CSS-only multi-line ellipsis with generated content. License:
View gist:5832073
@import "compass/css3/images";
// CSS-only multi-line ellipsis with generated content
// yields `position:relative`, so remember to declare an eventual `position:absolute/fixed` *after* including this mixin
@mixin limitLines(
$maxLinesPortrait, // Mandatory: The number of lines after which the clipping should take action.
$maxLinesLandscape: $maxLinesPortrait, // You may provide a different line limit for landscape orientation.
// Note that 'portrait' is our default orientation. However, if you omit $maxLinesLandscape,
// the value of $maxLinesPortrait is used for whatever orientation (that is, without a media query).
sanxac /
Created Mar 15, 2012
convert scss files to sass and delete .scss files in a directory
for f in *.scss; do sass-convert $f ${f%scss}sass ; done
rm *.scss
You can’t perform that action at this time.