Skip to content

Instantly share code, notes, and snippets.

View DaW888's full-sized avatar

Dawid Wajda DaW888

View GitHub Profile
@DaW888
DaW888 / macOs My.xml
Created January 9, 2024 16:59
Jetbrains Keymap global MacOS
<keymap version="1" name="macOS My" parent="macOS System Shortcuts">
<action id="EditorCloneCaretAbove">
<keyboard-shortcut first-keystroke="ctrl open_bracket" />
</action>
<action id="EditorCloneCaretBelow">
<keyboard-shortcut first-keystroke="ctrl close_bracket" />
</action>
<action id="Git.Branches">
<keyboard-shortcut first-keystroke="shift ctrl b" />
</action>
@DaW888
DaW888 / lab1.cpp
Last active April 9, 2022 10:35
inzynieria oprogramowania
#include <iostream>
using namespace std;
struct node {
int val;
node *next;
};
void Add(node *&H, int x) {
@DaW888
DaW888 / logid.cfg
Created October 1, 2021 18:59
configuration for logitech mx master 3
devices: (
{
name: "Wireless Mouse MX Master 3";
smartshift:
{
on: true;
threshold: 10;
};
dpi: 800;
@DaW888
DaW888 / chemia.md
Last active April 8, 2025 11:14
Chemia baza

Chemia Baza

1. Przy powstawaniu wiązania w cząsteczce azotu udział biorą:

a) wszystkie elektrony walencyjne obu pierwiastków,

b) po dwa elektrony od każdego atomu azotu,

c) pięć elektronów od jednego i jeden od drugiego atomu azotu,

@DaW888
DaW888 / struct.c
Last active January 7, 2021 21:52
pp struct c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct Person {
int wiek;
int wzrost;
float waga;
char kolorOczu[30];

Tablice Ćwiczenia lab. 7.5

Dawid Wajda gr. 9, lab. PP

Wisielec

int wisielec() {
    char haslo[11] = "impotencja";
    char hasloHidden[] = "**********";
@DaW888
DaW888 / index.html
Created December 1, 2020 22:48
Tic Tac Toe
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
display: flex;
@DaW888
DaW888 / tictactoe.cpp
Created November 10, 2020 00:53
Tic Tac Toe
#include <iostream>
using namespace std;
void printTable(int tab[3][3]) {
for (int i = 0; i < 3; i++) {
cout << endl;
for (int j = 0; j < 3; j++) {
char l = tab[i][j] == 1 ? 'X' : tab[i][j] == 2 ? 'O' : ' ';
# Blacklist files/folders in same directory as the .gitignore file
/*
# Whitelist some files
!.gitignore
!README.md
# Ignore all files named .DS_Store or ending with .log
**/.DS_Store
**.log
@DaW888
DaW888 / E14.md
Last active January 15, 2020 16:49
E14Tutek.md

E14 tutek

HTML

<!DOCTYPE html>
<html lang="pl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">