Skip to content

Instantly share code, notes, and snippets.

<img src="{{ image.src | img_url: '480x' }}" alt="{{ image.alt | escape }}"
srcset="
{% if image.width > 640 %}{{ image.src | img_url: '640x' }} 640w{% endif %}
{% if image.width > 720 %},{{ image.src | img_url: '720x' }} 720w{% endif %}
{% if image.width > 900 %},{{ image.src | img_url: '900x' }} 900w{% endif %}
"
sizes="(min-width: 960px) 450px, (min-width: 720px) 50vw, 100vw"
/>

Keybase proof

I hereby claim:

  • I am qq7 on github.
  • I am hvorostian (https://keybase.io/hvorostian) on keybase.
  • I have a public key whose fingerprint is B3DD AEC4 371A DB16 ECF5 87F2 D175 6419 843F 9A37

To claim this, I am signing this object:

@qq7
qq7 / crawler.rb
Last active March 26, 2017 12:29
require 'open-uri'
require 'nokogiri'
(1..20).each do |season|
begin
(1..15).each do |episode|
voice_original = '&voice=3'
if episode <= 9
url = "http://southpark.cc-fan.tv/series.php?id=#{season}0#{episode}#{voice_original}"
else
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
position top
font pango: sans 10.5
tray_output LVDS
colors {
background #232323
statusline #DCDCDC
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod1
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango: Ubuntu Mono 10
<template>
<div class="test">
<p>{{question.answer}}</p>
<p>{{question}}</p>
<span v-for="yo in splitLetters">{{yo}}</span>
</div>
</template>