- 0.5 kg mąki
- 12 dag cukru pudru
- 8 dag margaryny
- 2 żółtka + 1 całe jajo (a białka do posmarowania)
- cukier waniliowy
- Bełtamy (wysiekac margaryne) wszystko poza śmietaną i amoniakiem (dac amoniak do smietany, ma sie spienic) - wygniesc, zwałkować na 0.5 cm, wycinam, białkiem, cukrem i do pieca
- 250ml śmietany 18%
- 1 dag amoniaku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'rubygems' # required for ruby 1.8 | |
require 'sinatra' | |
require 'socket' | |
host = Socket.gethostname | |
get '/ok' do | |
"#{host}\n#{Date.new}" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -r 20 # input frame rate \ | |
-i "%05d.JPG" # input file pattern \ | |
-i audio.mp3 # input audio file \ | |
-af "afade=t=out:st=132:d=4" # fade out audio for 4 seconds starting at 132 second \ | |
-vf "fade=in:0:40, fade=out:2694:40" # fade in video in first 40 frames, then fade out for 40 frames starting at frame 2694 \ | |
-r 30 # out frame rate is 30s (in that way youtube allows hd movies) \ | |
-s 1280x720 # resize video to hd-ready res \ | |
-vcodec libx264 -threads 4 -profile:v main -preset fast # video encoding settings \ | |
-shortest # output file length should be of shortest input file length (usually audio file will be longer, so we fade out and cut) \ | |
output.mp4 #output file name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%setA set < A B C > | |
%setB set < X Y > | |
%setC_relation set[2] < | |
X A | |
X B | |
Y C | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'benchmark' | |
require 'yaml' | |
commands = File.open(ARGV[0], 'r') do |file| | |
file.readlines | |
end.map(&:strip) | |
results = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ticker dhtTicker, lcdTicker; | |
void dhtWrapper(); | |
idDHTLib DHTLib(PTD7, dhtWrapper); | |
void dhtWrapper(){ | |
DHTLib.dht22Callback(); // change do dht11Callback if needed | |
} | |
void readDht() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Usage: $0 DEGREE" | |
exit 1 | |
fi | |
SURVEY=2mass | |
OBJ=M42 | |
BAND=j |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void track_name(char lcd_col, char lcd_row, char lcd_data); | |
char tn_byteA, tn_byteB; | |
void show_message(MIDIMessage msg) { | |
char tn_output, tn_byte2; | |
if(msg.type() == MIDIMessage::ControlChangeType && msg.channel() == 0) { | |
if(msg.controller() >= 0x00 && msg.controller() <= 0x0D) { | |
tn_byteA = (msg.value() << 4); | |
} else if(msg.controller() >= 0x0E && msg.controller() <= 0x19) { | |
tn_byteB = (msg.value() << 4); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# contributed by Kamil Figiela | |
# | |
# brand: Denon | |
# model no. of remote control: RC-1163 | |
# devices being controlled by this remote: DRA-F109/DNP-F109/DCD-F109 | |
# | |
# DRA-F109 has also serial port in its "Remote Connector" that provides better integration. | |
# See blog post for more information: http://kfigiela.github.io/2014/06/15/denon-remote-connector/ | |
begin remote |
OlderNewer