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
@ssbb
ssbb / null.go
Created November 24, 2015 05:05
package main
import (
"fmt"
"log"
"os/exec"
)
func main() {
data := make([]byte, 1024*512)
@ssbb
ssbb / test.py
Created December 19, 2015 20:14
items = [1, 2, 3]
while items:
item = items.pop(0)
print('Processing item: {}'.format(item))
tries = 0
while tries < 4:
try:
raise Exception('My Exception')
@ssbb
ssbb / test.py
Created December 19, 2015 20:24
urls = [1, 2, 3]
def main():
while urls:
item = urls.pop(0)
print('Processing item: {}'.format(item))
tries = 0
while tries < 4:
@ssbb
ssbb / test.py
Created December 19, 2015 20:39
urls = [1, 2, 3]
def process(url):
print(url)
def main():
while urls:
item = urls.pop(0)
"0": {
"color": "DARK WASH",
"size": "29 W REGULAR - (28 L) REGULAR",
"images": {
"0": {
"normal": "http://oldnavy.gap.com/webcontent/0009/951/025/cn9951025.jpg",
"zoom": "http://oldnavy.gap.com/webcontent/0009/951/262/cn9951262.jpg"
},
"1": {
"normal": "http://oldnavy.gap.com/webcontent/0009/951/260/cn9951260.jpg",
$width: 260px;
@for $i from 1 through 50 {
$min-width: ($width * $i) + 10px;
$max-width: ($width * ($i + 1)) + 10px;
$min-width: if(($min-width + 260px) >= $sidebar-breakpoint, $min-width + 260px, $min-width);
$max-width: if(($max-width + 260px) >= $sidebar-breakpoint, $max-width + 260px, $max-width);
$item-width: 100% / $i;
#!/usr/bin/env python
import wx
class GeneralPage(wx.StockPreferencesPage):
def CreateWindow(self, parent):
panel = wx.Panel(parent)
panel.SetMinSize((600, 300))
sizer = wx.BoxSizer(wx.VERTICAL)
0x09a2bFf33B3c6EB190EcF8eeDf26364e26bf7AA6
payload 7f998dde58da11b9
address 86646-64
payment id: f72f1f2ec95e68e7a38b87d6502226be41e299e5e090a5695111fb2d421b5567
address: 47sghzufGhJJDQEbScMCwVBimTuq6L5JiRixD8VeGbpjCTA12noXmi4ZyBZLc99e66NtnKff34fHsGRoyZk3ES1s1V4QVcB