Skip to content

Instantly share code, notes, and snippets.

View Mati365's full-sized avatar
🚧
Work Work Work

Mateusz Bagiński Mati365

🚧
Work Work Work
View GitHub Profile
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
entity jk_flipflop is
port(j, k: in std_logic;
clk: in std_logic;
q: inout std_logic);
end jk_flipflop;
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
use IEEE.std_logic_unsigned.all;
entity Counter is
generic (width: integer := 23);
port(
clk: in std_logic;
reset: in std_logic := '0';
@Mati365
Mati365 / klawierka_xd.vhdl
Last active April 15, 2018 13:31
JAKIES TOTALNIE NIEPOTRZEBNE RZECZY ALE WYMAGAJĄ
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
use IEEE.std_logic_unsigned.all;
entity Counter is
generic (width: integer := 23);
port(
clk: in std_logic;
reset: in std_logic := '0';
class Vertex {
constructor(name, value = 0) {
this.name = name;
this.value = value;
this.edges = [];
}
/**
* Links both vertices
*
@Mati365
Mati365 / CV.md
Last active October 4, 2022 10:06
top sikret
@Mati365
Mati365 / rak.c
Last active March 31, 2019 13:03
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <limits.h> // PATH_MAX
#include <unistd.h>
# copied from https://www.e-rave.nl/create-a-self-signed-ssl-key-for-postfix
openssl genrsa -des3 -out mail.domain.tld.key 2048
chmod 600 mail.domain.tld.key
openssl req -new -key mail.domain.tld.key -out mail.domain.tld.csr
openssl x509 -req -days 365 -in mail.domain.tld.csr -signkey mail.domain.tld.key -out mail.domain.tld.crt
openssl rsa -in mail.domain.tld.key -out mail.domain.tld.key.nopass
mv mail.domain.tld.key.nopass mail.domain.tld.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650
chmod 600 mail.domain.tld.key
// https://joanpaon.wordpress.com/2013/07/12/how-to-install-a-custom-swing-component-in-netbeans-palette/
package com.korporejszyn.matrix;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import javax.swing.Box;
import javax.swing.BoxLayout;
[{"score":9090,"neural":{"layers":[{"neuronsMatrix":[{"value":0.8481181345066194},{"value":-1.1485069719759957},{"value":1.0291752299885781},{"value":1.3273447855623552},{"value":2},{"value":2},{"value":2},{"value":1.2674601660781695}],"weightsMatrix":[[1.1179963315792003,-0.7393644430161277,0.6939812918672702,0.7878016312972327,0.9067898490148749,-0.9116947419755952,-0.3846287466160827,0.5399450482576356],[-0.34871383674216155,-0.8659828865329979,-0.09627861769022728,-0.13427546312002114,-0.46107746835986874,-0.13809353581479758,0.8036060972980446,-1.5882111240815728],[0.3631859490124592,-0.12030157726499317,-0.6601128660916425,0.6006719228184938,-0.958388865481941,-0.4024788016829848,0.9909870022900851,1.030879394555638],[0.4065253090853373,1.117779185172078,-0.19634332516981542,0.8410085680417221,0.26689701895927564,1.1900765634804222,0.7001530576111844,0.05688296106601981],[0.9878157181466397,-0.05912759463096313,-0.39524736542942857,-0.8359934585331276,-0.39896750168341555,-0.28690096986021174,-0.1269897
format MZ
stack stk:256
entry text:main
macro delay time {
local ext,iter
push cx
mov cx,time
ext:
push cx