Skip to content

Instantly share code, notes, and snippets.

View manifoldhiker's full-sized avatar

manifoldhiker manifoldhiker

  • 18:41 (UTC -12:00)
View GitHub Profile
<!doctype HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="mitutee">
<title>mitutee - About me</title>
<link rel="icon" href="https://avatars2.githubusercontent.com/u/22048793?s=460&v=4">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<html>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://code.highcharts.com/stock/highstock.js"></script>
<script src="https://code.highcharts.com/stock/modules/exporting.js"></script>
<div id="container" style="height: 400px; min-width: 310px"></div>
<script>
<?php
class Product{
public $name ;
public $price ;
public $allowedAge ;
public function __construct($name, $price, $allowedAge)
{
$this->name = $name;
$this->price = $price;
class Group
{
#region Private Fields
private Student[] _array { get; set; }
private int _last = -1;
private int _size = 2;
SegmentTree _av_mark_t;
#endregion
public class Message
{
public string Target { get; set; }
public string Text { get; set; }
public string Date { get; set; }
public string Out { get; set; }
public Message() { }
private void loadDictionary()
{
try
{
dictionary = new Dictionary<string, List<string>>(); // **field to hold your data. Could be List<> or somethin
using (StreamReader sr = new StreamReader("E:\\Programming\\answer_database.txt")) // **Opening file, create reader
{
//**in my dictionary words were separated by "\"
string[] arr = sr.ReadLine().Split('\\'); // **read first line