This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.editor { | |
background-color: #1f1f1f; | |
font-size: 25px; | |
color: #f1f1f1 | |
} | |
.editor p{ | |
min-height: 25px; | |
padding:0 2rem; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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 |
OlderNewer