Skip to content

Instantly share code, notes, and snippets.

View a-ignatov-parc's full-sized avatar

Anton Ignatov a-ignatov-parc

View GitHub Profile
@robhrt7
robhrt7 / Fronteers_2013_text_ru.md
Last active December 26, 2015 03:49 — forked from h4/1.fronteers.dump.md
Структурированная версия текстовой трансляции c Fronteers 2013 от @webstandards_up

Текстовая трансляция с Fronteers 2013

Большое спасибо @webstandards_up за текстовую трансляцию!

Вступление

Тест Мы начинаем текстовую трансляцию Fronteers 2013, двухдневной конференции в Амстердаме — http://t.co/QB5SYQ3cMx

Пол Айриш из Google открывает шестую конференцию Fronteers. Россия на шестом месте по количеству участников, например.

function load(url, sectionHeaders, data) {
require(["events"], function(events) {
events.trigger("pageTransition:init", [url, sectionHeaders, "POST", data]);
});
}
load(url, 'pageView: #GlobalContent', {
serviceLogin: jData.login,
servicePassword: jData.password
});
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active November 12, 2025 23:04
A badass list of frontend development resources I collected over time.
mymodule {
@at-root {
.#{&}-header { ... }
.#{&}-footer { ... }
.#{&}-body {
a { ... }
span { ... }
p { ... }
}
}
@pistachiomatt
pistachiomatt / sprite-generation-with-retina.scss
Last active November 5, 2019 12:28
This function generates a sprite sheet of icons, swaps it out for retina versions, and generates the "width" and "height" properties of the icons for you— automatically. Because we're lazy and have better things to do!
// Stick all your icons in a subfolder in your images folder. Put retina versions in a subfolder of that called "@2x".
$sprites: sprite-map("NAME_OF_SUBFOLDER/*.png");
$sprites2x: sprite-map("NAME_OF_SUBFOLDER/@2x/*.png");
// stolen from 37signals
@mixin retina-media() {
@media (min--moz-device-pixel-ratio: 1.3),
(-webkit-min-device-pixel-ratio: 1.3),
(min-device-pixel-ratio: 1.3),
(min-resolution: 1.3dppx) {
@jpawlowski
jpawlowski / brew-sync.sh
Last active September 26, 2023 19:54
Sync Homebrew installations between Macs via Dropbox
#!/bin/bash
# Sync Homebrew installations between Macs via Dropbox
#
BREW="/usr/local/bin/brew"
# first get local settings
echo "Reading local settings ..."
rm -f /tmp/brew-sync.*
@a-kosygin-parc
a-kosygin-parc / gist:5144272
Created March 12, 2013 16:17
Правильная ссылка на товар
{* 1) Ссылка на страничку с карточкой товара *}
<a href="{"products.view?product_id=`$product.product_id`"|fn_url}">Ссылка на карточку товара</a>
{* 2) Тоже самое что и первая ссылка, но оформлено в виде подключаемого извне шаблона. Там много интересного *}
{include file="buttons/button.tpl" but_href="products.view?product_id=`$product.product_id`" but_text=$lang.view_details but_role="submit"}
{**
* 3) Ссылка на быстрый просмотр карточки товара
* Если вызывается AJAX, то возвращает шаблон views/products/quick_view.tpl
* иначе редиректит на ссылку вида 1)
@fanzeyi
fanzeyi / scroll.css
Created November 1, 2012 18:34
Google Plus Scroll Style
::-webkit-scrollbar{
height:16px;
overflow:visible;
width:16px;
}
::-webkit-scrollbar-button{
height:0;
width:0;
}
@agnoster
agnoster / README.md
Last active October 15, 2025 04:02
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

@soffes
soffes / perferences.json
Created August 22, 2012 05:35
My Sublime Text 2 config
{
"bold_folder_labels": true,
"color_scheme": "Packages/User/Espresso Soda.tmTheme",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".DS_Store",
".gitkeep",
"dump.rdb"
],