Skip to content

Instantly share code, notes, and snippets.

View DaW888's full-sized avatar

Dawid Wajda DaW888

View GitHub Profile
@DaW888
DaW888 / server07.js
Created February 16, 2019 15:14
raycaster 07
$(document).ready(function(){
var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera(
45,
window.innerWidth / window.innerHeight,
0.1,
10000
);
var renderer = new THREE.WebGLRenderer();

KONFIGURACJA SWITCH

putty

Podpinasz COMa do kompa i swicha

odpalasz se puty

  • Serial
    • speed = 38400
  • none none
<!DOCTYPE html>
<html lang="zxx">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="author" content="Dawid Wajda" />
<meta name="description" content="3ic2" />
<title>Strona</title>
<style>
@DaW888
DaW888 / Mikrotik1-3.md
Last active March 24, 2019 17:06
Mikrotik - lekcje 1-3, podstawowa konfiguracja mikrotika

Mikrotik - Ustawienia Startowe

Wyłączamy Internala

Domyślne ustawienia

  • System - Reset Configuration - No Default Configuration

dostaniemy od rutera zew IP (192.168.105.36/24), net: 192.168.105.0 swój ruter nazywamy MT-GR01

@DaW888
DaW888 / extensionsVsCode.md
Created March 25, 2019 17:37
list of install comand extensions vscode

Vscode Extensions Install

vscode

code --install-extension dracula-theme.theme-dracula
code --install-extension christian-kohler.path-intellisense
code --install-extension aaron-bond.better-comments
code --install-extension acarreiro.calculate
code --install-extension alefragnani.project-manager
//// CBA, CT8
//// index.html
<html>
<head>
<meta charset="utf-8"/>
<script>
function send(){
var imie=document.getElementById("imie").value;
var nazwisko=document.getElementById("nazwisko").value;
var xhttp = new XMLHttpRequest();
@DaW888
DaW888 / Bridge.md
Created May 23, 2019 10:46
mosty, brigde

MOSTY Bridge

port 5 - do sieci wydzielonej, port 1 - do usb key w monitorze

  • most = wirtualny switch
/system identity
set name="Firma-06"

DHCP, DNS, FTP, WWW, Routing, AD, pulpit zdalny

wyłączyć echo w zaporze win2012, wyłaczyć zapore na win10

DHCP

  1. zainstalować DHCP
  2. ustalić zakresy (można dodać przystawke mmc)

DNS

@DaW888
DaW888 / i3Linux.md
Created July 3, 2019 17:48
i3 window manager on Debian

i3 window manager

debian reboot problem

do pliku /etc/systemd/system.conf dopisujemy

DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s

Kotlin

Podstawy

Główna Funkcja

fun main(args: Array<String>) {
    println("Hello, world!")
}