Skip to content

Instantly share code, notes, and snippets.

View tujlaky's full-sized avatar

Ujlaky Tibor tujlaky

  • Budapest
View GitHub Profile
@tujlaky
tujlaky / SassMeister-input.scss
Created January 11, 2015 21:33
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$breakpoints: (
small: 640px,
large: 1024px
);
@tujlaky
tujlaky / SassMeister-input.scss
Created January 11, 2015 20:44
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$breakpoints: (phone: 640px,
tablet: 768px,
desktop: 1024px) !default;
@tujlaky
tujlaky / SassMeister-input.scss
Created January 11, 2015 19:01
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$breakpoints: (phone: 640px,
tablet: 768px,
desktop: 1024px) !default;
@tujlaky
tujlaky / SassMeister-input.scss
Created January 11, 2015 19:00
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$breakpoints: (phone: 640px,
tablet: 768px,
desktop: 1024px) !default;
@tujlaky
tujlaky / SassMeister-input.scss
Last active August 29, 2015 14:13
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
@function create-media-query($min-width: null, $max-width: null, $retina: false, $dpr: 1.5, $media: 'only-screen') {
$query: $media + ' ';
@if $min-width {
$query: $query + ' and (min-width: ' + $min-width + ')';
@tujlaky
tujlaky / SassMeister-input.scss
Created January 11, 2015 13:41
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
@function create-media-query($max-width: '', $min-width: '', $responsive: false, $dpr: 1.5, $media: 'only-screen') {
$query: '@media ' + $media + ' ';
@if $min-width {
$query: $query + ' and (min-width: ' + $min-width + ')';
@tujlaky
tujlaky / bashrc
Last active August 29, 2015 14:09
CDHISTORY=()
function add_pwd_to_history() {
if [[ ${#CDHISTORY[@]} -gt 9 ]]; then
# remove the first element
CDHISTORY=("${CDHISTORY[@]:1}");
fi
CDHISTORY=("${CDHISTORY[@]}" "$PWD")
}
# Atom Cheatsheet (Linux version).
# Project Key Bindings.
- 'ctrl-shift-p': open the command palette.
- 'ctrl-p' or 'ctrl-t': open the fuzzy finder to find a file.
- 'ctrl-b': look for a file that is already open.
- 'ctrl-shift-b': search the list of files modified and untracked in your project repository.
- 'ctrl-0': open and focus the the tree view.