Skip to content

Instantly share code, notes, and snippets.

Busy setting my status on Github.

Andrej Simeonov pudly

View GitHub Profile
View gist:ac227f95480e820a7c7734fa9d6c8f2d
var $featured_nav = document.querySelector('.post--featured > nav');
if ($featured_nav) {
$featured_nav.addEventListener('scroll', function() {
var fw = $featured_nav.scrollWidth;
var fc = $featured_nav.scrollLeft;
var fm = $featured_nav.clientWidth;
View gist:9a96df8c56e70c352c1f88646a73f02a
[]'a[href^=http]'), function(el) {
var url = el.href;
var base = window.location.hostname;
if (!url.indexOf(base)) {
View gist:2012adcdcc8763d8ff478f32aab0d52b
☠ Error: Probably wasn't an image: ./1424132575753/567337605587828737
☠ Error: Probably wasn't an image: ./1427683931805/#prettyPhoto
☠ Error: Probably wasn't an image: ./1427684050967/#
☠ Error: Probably wasn't an image: ./1427769297020/_type=1&theater
☠ Error: Probably wasn't an image: ./1427769997354/_type=1&theater
☠ Error: Probably wasn't an image: ./1427770505171/555165_10151291691914071_668730677_n.jpg_oh=7aab9a16f2758d789fe21550d05a9656&oe=55AD76B9&__gda__=1436833515_da38e12df3e5266e852da52ac8b0b709
☠ Error: Probably wasn't an image: ./1427836365156/_type=1&theater
☠ Error: Probably wasn't an image: ./1428193629985/1653623_593238344085935_465501811_n.png_oh=4e858074d16bf3d6abe685dd368860d5&oe=55A280D6
☠ Error: Probably wasn't an image: ./1428205842675/WrStaatsoper
☠ Error: Probably wasn't an image: ./1428341170392/#
View gist:d6cf7e8fce75b295ae035fa50461d07e
<midzer> meaning we can't derive slug from title in all cases
[14:44:03] <midzer> or we lose those URLs
[14:44:05] <drej> so we check if .json has slug="" something, if so we use that, if not we derrive it from title
[14:44:07] <drej> derive *
[14:44:34] <midzer> yeah, i can capture those cases i think
[14:44:37] <drej> ok cool
[14:44:43] <midzer> we can do it in the end
[14:44:44] <drej> that can be for tomorrow, i know its late
[14:44:52] <midzer> i open a card so we dont forget
[14:44:55] <drej> ok
View gist:3d51df9d008ca116ff9e97a99810d5e4
"-JhHnmtry2J3WAon8fsX": {
"_sort_create_date": 1389659760,
"_sort_last_updated": 1430275680,
"_sort_publish_date": 1389659760,
"authors": [
"authors -JhHnmrPR804lQFkM9Y1"
"body": "On Friday night, PBS aired _Richard Tucker at 100: An Opera Celebration._ The performance was recorded on November 17, 2013, in time to honour the centennial of late American tenor [Richard Tucker]( As of Sunday, the event has been etched into Internet stone, and even a Canadian can [watch it](\n\nAnd what a joy to watch. [Riccardo Frizza]( conducts a night of seriously top-notch opera from the who's-who of today's stars. Audra McDonald hosts, the singers wear the _good_ dresses, and Susan Graham dances with soldiers. It's the kind of event that makes me itch for backstage access. _And PBS gives it to you!_\n\nMezzo-soprano [Isabel Leonard](http://isabelleona
View gist:52fcb8c6b19ae1586c7254d3fc54b0eb
2017-04-05 11:44:13 jen_ oh, our products are scamware?
2017-04-05 11:44:15 MassDebates Yes
2017-04-05 11:44:41 MassDebates
2017-04-05 11:44:43 jen_ An A+ BBB rating company is sketchy my friend?
2017-04-05 11:45:04 MassDebates Puh leez I can get a drug dealer an A+ BBB rating for less than $70
2017-04-05 11:45:08 MassDebates Don't give me that shit
2017-04-05 11:45:10 WhereIsMySpoon MassDebates: it's norton secured tho
2017-04-05 11:45:12 WhereIsMySpoon !
2017-04-05 11:45:14 MassDebates lol
2017-04-05 11:45:16 WhereIsMySpoon :P
View gist:b1ca83124224e2e208bc13e9891fceb1
2016-11-09 15:44:06 drej channel rules in here dictate that he should be pasting a live testcase for you to work with
2016-11-09 15:44:11 drej and that we dont work with screenshots
2016-11-09 15:44:13 drej if you want to continue this
2016-11-09 15:44:16 drej please take it into query
2016-11-09 15:44:17 drej thanks
2016-11-09 15:44:33 <-- m1911 (~m1911@ has quit (Ping timeout: 260 seconds)
2016-11-09 15:46:05 MassDebates drej: That's a load of crap, sorry. You shouldn't have let this get started with the screenshots, let alone become involved this much, if you felt that this situation was detrimentally breaking the rules.
2016-11-09 15:46:35 MassDebates drej: I understand the need for order and rules, but surely you can see this as a fringe case where no harm is done to the channel, the process therein, or the people participating.
2016-11-09 15:47:26 MassDebates drej: Idk, maybe I'm being unreasonable. Am i?
2016-11-09 15:47:41 drej you are.
View gist:ee813354f39f21c276d8d59aa292a85e
sass: {
dev: {
options: {
style: 'expanded',
files: [{
expand: true,
cwd: 'sass',
src: ['schmopera.scss'],
dest: 'static/css',
View gulp-task
var bemLinter = require('./plugins/bem-linter.js');
if (config.environment.lintBEM) {
stream = stream.pipe(cssFileSplit());
stream = stream.pipe(bemLinter());
stream = stream.pipe(cssFileConcat());
pudly / SassMeister-input.scss
Created Mar 6, 2014
Generated by
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
@mixin icon($file) {
background-image: url(assets/icons/$file);
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.