Skip to content

Instantly share code, notes, and snippets.

View Pan-Maciek's full-sized avatar
🤫

Maciej Kozieja Pan-Maciek

🤫
  • Qualtrics
  • Kraków
View GitHub Profile
var Editor = function(el){
this.element = el
this.cursors = []
this.lines = []
this.creatLine = function (linenum){
var that = this
var el = document.createElement("p")
el.addEventListener("click",function(){
that.lines.push(el)
console.log(that.lines)
.editor {
background-color: #1f1f1f;
font-size: 25px;
color: #f1f1f1
}
.editor p{
min-height: 25px;
padding:0 2rem;
<!DOCTYPE html>
<html>
<head>
<title>edytor</title>
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<script src="editor.js"></script>
</head>
<body>
<div class="editor">
var Editor = function(el){
this.element = el
this.cursors = []
this.lines = []
this.creatLine = function (linenum){
var that = this
var el = document.createElement("p")
el.addEventListener("click",function(){
that.lines.push(el)
console.log(that.lines)
<html>
<head>
<title>Stronka</title>
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<script src="script.js"></script>
</head>
<body>
<table id="can">
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1 {
public class Foo {
public override string ToString() {
private void Generate<T>() {
if (seed != 0) Random.seed = seed;
else seed = Random.seed;
int i = 0;
do {
Vector3 centerOfUniverse;
if (i == 0) {
centerOfUniverse = Vector3.zero;
} else {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
namespace BrainfuckExtanded {
public enum OutputMode {
Chars,
html
head
title tojest tytuł
meta (charset="utf-8")
style .lool{color:red}
| .wow{font-size:2em}
body
#id to jest div z id id
.class to jest div z id class
p#wow.lool domyśl sie
<!DOCTYPE html>
<html>
<head>
<title>Kółko i krzyżyk</title>
<meta charset="utf-8" />
<script src="lib/jquery-3.1.0.min.js"></script>
<script>
var kolor = "black"
var ruchx = true
var rozmiar = 3