Skip to content

Instantly share code, notes, and snippets.

View ssbb's full-sized avatar
🏠
Working from home

Sviatoslav Bulbakha ssbb

🏠
Working from home
View GitHub Profile
{% extends "layout.html" %}
{% block body %}
<input type="text" id="interaction">
<input type="submit" value="submit" id="submit">
<script type="text/javascript" src="/static/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript">
class Base(object):
def process(self, s=''):
return s
class M1(object):
def process(self, *args, **kwargs):
s = super(M1, self).process(*args, **kwargs)
s += '_1_'
return s
<div class="slider hero__slider">
<input class="slider__input" type="radio" name="point" id="slide-1" checked />
<input class="slider__input" type="radio" name="point" id="slide-2" />
<input class="slider__input" type="radio" name="point" id="slide-3" />
<input class="slider__input" type="radio" name="point" id="slide-4" />
<input class="slider__input" type="radio" name="point" id="slide-5" />
<div class="slider__content">
<div class="slider__slide slider__slide--1"><img src="{{ static('temp/slide1.png') }}" class="slider__slide__image" /></div>
<div class="slider__slide slider__slide--2"><img src="{{ static('temp/slide2.png') }}" class="slider__slide__image" /></div>
(require 'twittering-mode)
(twittering-enable-unread-status-notifier)
(setq twittering-use-master-password t)
(add-hook 'twittering-mode-hook
(lambda ()
(setq twittering-timer-interval 300)
(setq twittering-url-show-status nil)
(setq twittering-icon-mode nil)

Extra charges

TaskPrice
Photo cropping like facebook70$
Backup setup35$
Wishbook view35$
All other non-bug fixes[fn:1]20$
Make the grid view by default4$
mobile version problem (so much space)3$
Change notification email for user following5$
my $thisName = "myname";
my $thisPass = "mypassword";
my @series = ();
my %thisData = (login => $thisName, pass => $thisPass);
push(@series, \%thisData);
foreach my $index (0 .. $#series) {
print $series[$index]{'pass'};
}
@ssbb
ssbb / local.py
Created September 23, 2015 23:35
from .development import * # noqa
@ssbb
ssbb / test.py
Created November 17, 2015 23:49
from .production import * # noqa
ALLOWED_HOSTS = ['example.com']
AWS_ACCESS_KEY_ID = ''
AWS_SECRET_ACCESS_KEY = ''
AWS_STORAGE_BUCKET_NAME = ''
DATABASES = {
'default': {
cmd := exec.Command("ffprobe", "-i", "pipe:0", "-show_format",
"-print_format", "json", "-show_streams", "-probesize", "32")
stdin, err := cmd.StdinPipe()
if err != nil {
log.Fatal(stdin)
}
stdin.Write(data)
stdin.Close()
@ssbb
ssbb / null.go
Created November 24, 2015 05:04
package main
import (
"fmt"
"log"
"os/exec"
)
func main() {
data := make([]byte, 1024*512)