Skip to content

Instantly share code, notes, and snippets.

@zolotarov
zolotarov / bread.md
Created September 19, 2024 16:41
No-knead bread

No-Knead Bread Recipe

Ingredients

  • 430g bread flour (3.5 cups)
  • 390g water (1.5 cups + 2 tbsp)
  • 12g salt (2 tsp)
  • 1/4 tsp yeast

Note: Use high gluten (bread flour) for best results and that chewy crumb!

Keybase proof

I hereby claim:

  • I am zolotarov on github.
  • I am zolotarov (https://keybase.io/zolotarov) on keybase.
  • I have a public key ASAERC_TYTb-mPiQ2oC3sWVd5Gy-RJtRCAp9oHwIp25sNAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am zolotarov on github.
  • I am zolotarov (https://keybase.io/zolotarov) on keybase.
  • I have a public key ASAERC_TYTb-mPiQ2oC3sWVd5Gy-RJtRCAp9oHwIp25sNAo

To claim this, I am signing this object:

ACP1
CDC14A
CDC14B
CDC25A
CDC25B
CDC25C
CDKN3
DUPD1
DUSP1
DUSP10
@zolotarov
zolotarov / scopes.txt
Last active August 29, 2015 14:14 — forked from iambibhas/scopes.txt
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
CoffeeScript: source.coffee
>fLUC_1F
AGATCCTCATAAAGGCCAAG
>CaMV35S_term_2R
AATAGAGAGAGATAGATTTG
from sys import argv
import csv
from operator import itemgetter
file_in = argv[1]
reader = csv.DictReader(open(file_in,"r"),delimiter="\t")
queries_total = dict()
queries_missing = dict()
@zolotarov
zolotarov / weblogo-fix
Created April 30, 2014 19:44
How to fix weblogo 3.3 when you get a ghostscript error when saving png or jpeg files
Modify weblogolib/__init__.py in the source folder to include the following inside `args` list on line 208:
```
"-dPDFSETTINGS=/screen" # instead of "-dPDFSETTINGS=/printer"
"-dUseCIEColor"
```
Save the file and rebuild and reinstall weblogo
```bash
from sys import argv
with open(argv[1], "r") as file:
for line in file:
line = line.strip()
if ">" in line:
id = line.split("|")[3]
print ">" + id
else:
print line
{
"metadata": {
"name": "notebook"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{