Skip to content

Instantly share code, notes, and snippets.

//mux_2_1_1_bit_logic.v
module mux_2_1_1_bit_logic (x, y, s, m);
input x, y, s;
output m;
assign m = (~s & x) | (s & y);
endmodule
//#########################
//mux_2_1_1_bit.v
PIERWSZE!
#!/usr/bin/ruby
puts "Jak masz na imie?"
name = gets
puts "ile masz lat?"
age = gets.chomp
year = 2017 - age.to_i
puts "Daniel urodzil sie w roku %d" % [year]
#include "stm32f10x.h"
void GPIO_Config(void);
void RCC_Config(void);
void NVIC_Config(void);
int main(void)
//konfiguracja systemu
{
@embed0
embed0 / ZPI 6.10.2016
Created October 6, 2016 07:59
ZPI 6.10.2016 - wstęp
CEZ2
funkcjie finansowe
IRR - wewnętrzna stopa zwrotu
NPV - wartość bieżąca netto
MDURATION
DURATION
FUNKCJE STATYSTYCZNE
KORELACA -> WSP. KORELACJA
@embed0
embed0 / arduino_reciver_relay.cc
Created March 18, 2016 11:21
arduino reciver relay code
/*
RF_Sniffer
Hacked from http://code.google.com/p/rc-switch/
by @justy to provide a handy RF code sniffer
*/
#include "RCSwitch.h"
#include <stdlib.h>