text:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @author zakaridia
 */
@Entity
@Table(name = "profiles")
public class ProfileEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    private String firstName;

    private String lastName;

    @Temporal(TemporalType.DATE)
    private Date birthDay;

    private String phone;

    @Lob //Force to set the type of the column to clob in java db => TEXT in mysql
    private String description;

    private String country;

    private String city;

    @OneToOne
    @JoinColumn(name = "pictureProfile_id")
    private MediaEntity pictureProfile;

    @OneToOne
    @JoinColumn(name = "pictureCover_id")
    private MediaEntity pictureCover;

    @OneToMany(mappedBy = "profile")
    private List<ExperienceEntity> experiences = new ArrayList<>();

    @OneToOne
    @JoinColumn(name = "physical_id")
    private PhysicalEntity physical;

    /**
     *
     */
    public ProfileEntity() {

    }

    /**
     *
     * @param lastName
     * @param firstName
     */
    public ProfileEntity(String lastName, String firstName) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.physical = new PhysicalEntity();
    }

    /**
     *
     * @return
     */
    public Date getBirthDay() {
        return birthDay;
    }

    /**
     *
     * @param birthDay
     */
    public void setBirthDay(Date birthDay) {
        this.birthDay = birthDay;
    }

    /**
     *
     * @return
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     *
     * @param firstName
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     *
     * @return
     */
    public String getLastName() {
        return lastName;
    }

    /**
     *
     * @param lastName
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     *
     * @return
     */
    public String getPhone() {
        return phone;
    }

    /**
     *
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     *
     * @return
     */
    public String getDescription() {
        return description;
    }

    /**
     *
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     *
     * @return
     */
    public Long getId() {
        return id;
    }

    /**
     *
     * @return
     */
    public MediaEntity getPictureProfile() {
        return pictureProfile;
    }

    /**
     *
     * @param pictureProfile
     */
    public void setPictureProfile(MediaEntity pictureProfile) {
        this.pictureProfile = pictureProfile;
    }

    /**
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     *
     * @return
     */
    public List<ExperienceEntity> getExperiences() {
        return experiences;
    }

    /**
     *
     * @param experiences
     */
    public void setExperiences(List<ExperienceEntity> experiences) {
        this.experiences = experiences;
    }

    /**
     *
     * @param e
     */
    public void addExperience(ExperienceEntity e) {
        this.experiences.add(e);
    }

    /**
     *
     * @param e
     */
    public void RemoveExperience(ExperienceEntity e) {
        this.experiences.remove(e);
    }

    /**
     *
     * @return
     */
    public String getCountry() {
        return country;
    }

    /**
     *
     * @param country
     */
    public void setCountry(String country) {
        this.country = country;
    }

    /**
     *
     * @return
     */
    public String getCity() {
        return city;
    }

    /**
     *
     * @param city
     */
    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof ProfileEntity)) {
            return false;
        }
        ProfileEntity other = (ProfileEntity) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "dao.ProfileEntity[ id=" + id + " ]";
    }

    /**
     *
     * @return
     */
    public PhysicalEntity getPhysical() {
        return physical;
    }

    /**
     *
     * @param physical
     */
    public void setPhysical(PhysicalEntity physical) {
        this.physical = physical;
    }

    /**
     *
     * @return
     */
    public MediaEntity getPictureCover() {
        return pictureCover;
    }

    /**
     *
     * @param pictureCover
     */
    public void setPictureCover(MediaEntity pictureCover) {
        this.pictureCover = pictureCover;
    }

}


text:
Template.new_it.rendered = function(){
  $('#postpreview').resizable({
    maxHeight: 1000,
    maxWidth: 1000,
    minHeight: 50,
    minWidth: 50
  });
  Session.set('post_type', 'text');
}

Template.imagePreview.rendered = function(){
  $('#postpreview').resizable({
    maxHeight: 1000,
    maxWidth: 1000,
    minHeight: 50,
    minWidth: 50
  });
  height > width ? (height > 500 ? document.getElementById("postpreview").style.height = '500px' : console.log("false")) : (width > 500 ? document.getElementById("postpreview").style.width = '500px' : console.log("false"));
}

Template.textPreview.rendered = function(){
  $('#postpreview').resizable({
    maxHeight: 1000,
    maxWidth: 1000,
    minHeight: 50,
    minWidth: 50
  });
}

Template.new_it.isText = function(){
	return Session.equals('post_type', 'text');
}

Template.new_it.isImage = function(){
	return Session.equals('post_type', 'image');
}

Template.new_it.isDraw = function(){
	return Session.equals('post_type', 'draw');
}

Template.new_it.events = {
  'change #bColor': function(){
    $('#postpreview').css("background-color", document.getElementById("bColor").value);
  },
  'change #fColor': function(){
    $('#postpreview').css("color", document.getElementById("fColor").value);
  },
  'change textarea[name=content]': function(){
    $('#postpreview h4').html($('textarea[name=content]').val().replace(/\n/gi, '<br>'));
  },

  'click .postType': function(e){
  	$('.postType').removeClass('active');
  	$(e.target).addClass('active');
  	Session.set('post_type', $(e.target).val());
  },

  'click button.submit': function(){
    type = Session.get('post_type');

    if(Session.equals('post_type', 'draw'))
    	type = 'image';

    newPost = new It(type);
    newPost.height = $('#postpreview').height();
    newPost.width = $('#postpreview').width();
    newPost.date = new Date;

    if(newPost.type == "text"){
    	newPost.content = $('textarea[name=content]').val();
    	newPost.bgColor = document.getElementById("bColor").value;
    	newPost.fontColor = document.getElementById("fColor").value;
	    if (newPost.content != "" ){
	      Its.insert (newPost);
	      alert("Post created!");
	      document.getElementById('board').click()
	    }
	    else{
	      alert("Digite o conteúdo do post");
	    }
	}
	if (newPost.type == "image"){
		newPost.content = $('#postpreview').attr('src');
		if(/^data\:image\/(png|jpg|jpeg)\;/.test(newPost.content)){
			Its.insert(newPost);
			alert('Post created!');
        	document.getElementById('board').click();
    	};
	}
	if(Session.equals('post_type', 'draw')){
		newPost.content = document.getElementById('canvas').toDataURL('image/png');
		Its.insert(newPost);
		alert('Post created!');
        document.getElementById('board').click();
	}
  },

  'click button.cancel': function(){
    document.getElementById('board').click()
  },
  'change #imgInput': function(e){
	console.log(e.target);
	input = e.target;
	if (input.files && input.files[0]) {
	  var reader = new FileReader();

	  reader.onload = function (e) {
	      if($('#postpreview').length > 0)
	        $('#postpreview').attr('src', e.target.result);
	      height = $('#postpreview').height();
	      width  = $('#postpreview').width();
	      height > width ? (height > 500 ? document.getElementById("postpreview").style.height = '500px' : console.log("false")) : (width > 500 ? document.getElementById("postpreview").style.width = '500px' : console.log("false"));
	      height = $('#postpreview').height();
	      width  = $('#postpreview').width();
	      document.getElementsByClassName("resizable").style.height = height;
	      document.getElementsByClassName("resizable").style.height	= width;
	  }

	  reader.readAsDataURL(input.files[0]);
	}
  }
}

redpajama_set_name: RedPajamaGithub


text:
<?php

use yii\helpers\Html;
use yii\helpers\Url;
use common\models\CatalogItems;
use common\models\Catalog;

/* @var $this yii\web\View */
/* @var $model common\models\Pages */
$this->title = Html::encode($model->title);
$this->registerMetaTag([
    'name' => 'description',
    'content' => Html::encode($model->description),
]);
$this->registerMetaTag([
    'name' => 'keywords',
    'content' => Html::encode($model->keywords)
]);
?>

Главная /

Каталог

        <?php if(isset($this->params['bread_type'])):?>

Главная /

Каталог /

        <?php if($this->params['bread_type'] == 'catalog'):?>

<?php echo $this->params['name']?>

        <?php else:?>

<a class="breadcrumbs-link" href="/cataloge/<?php echo $this->params['parent']->alias?>"><?php echo $this->params['parent']->name?> /

<?php echo $this->params['name']?>

        <?php endif;?>

    <?php endif;?>

    <?= $this->render('/partials/_catalog_menu')?>
    <?= $this->render('/partials/_catalog_filter')?>

            <?php if ($catalogs = Catalog::find()->select('id,name,alias,text_under_name')->publish()->orderBy('pos ASC')->asArray()->all()):?>
                <?php foreach ($catalogs as $catalog): ?>

                             <a href="/cataloge/<?=$catalog['alias'];?>"><?=$catalog['name'];?>
                            <?=$catalog['text_under_name'];?>

                        <?php if ($items = CatalogItems::loadItemsOneImage($catalog['id'])): ?>
                            <?php foreach($items as $item):?>
                                <li data-composition_id="<?=$item['composition_id'];?>" data-packing_id="<?=$item['packing_id'];?>" data-weight_id="<?=$item['weight_id'];?>" class="catd-text-catalog">
                                    <a href="/product/<?=$item['alias']?>"><img src="<?='/userfiles/gallery/'.$item['galleryImages'][0]['basename'].'.'.$item['galleryImages'][0]['ext']?>" alt="">

<?php echo \common\models\PricesValues::getPriceValue(2, $item['id'])?>цена розничная

                                    <?php if(!Yii::$app->session['id']):?>

оптовая цена

                                    <?php else:?>

<?php echo \common\models\PricesValues::getPriceValue(1, $item['id'])?> цена оптовая

                                    <?php endif;?>

<?=$item['name'];?>

                                    <?php if(!empty($item['short_desc'])): ?>

<?=$item['short_desc']?>

                                    <?php endif;?>

Вес: <?= \common\models\Weight::getValueById($item->weight_id)?> г

                                    <?php echo \common\models\Elements::getValue(1);?>

                            <?php endforeach;?>

                        <?php endif;?>

                <?php endforeach; ?>
            <?php endif; ?>


text:
<?xml version="1.0" encoding="utf-8"?>
<MapData>
<Details>
<FileName>[262]M11_C01_B03.rmd</FileName>
<FileType>Red Stone Scenario File 5.7 beta</FileType>
<MapName>河口ダンジョン 'ド' B3</MapName>
<SysWidth>80</SysWidth>
<SysHeight>80</SysHeight>
<TgaWidth>160</TgaWidth>
<TgaHeight>80</TgaHeight>
<MapType>1</MapType>
<isPremiumMap>0</isPremiumMap>
<isPvPMap>0</isPvPMap>
<MapView_Lv>0</MapView_Lv>
<isLocationStrage>1</isLocationStrage>
<P_SubElement1>20</P_SubElement1>
<P_SubElement2>0</P_SubElement2>
<P_SubElement3>0</P_SubElement3>
<P_SubElement4>40</P_SubElement4>
<P_SubElement5>0</P_SubElement5>
<P_SubElement6>0</P_SubElement6>
<M_AddElement1>0</M_AddElement1>
<M_AddElement2>0</M_AddElement2>
<M_AddElement3>0</M_AddElement3>
<M_AddElement4>0</M_AddElement4>
<M_AddElement5>0</M_AddElement5>
<M_AddElement6>0</M_AddElement6>
</Details>
<CharacterData>
<Character id="cUid0">
<CharacterUID>0</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>72.06</PopPoint_X>
<PopPoint_Y>42.09</PopPoint_Y>
</Character>
<Character id="cUid1">
<CharacterUID>1</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>34.19</PopPoint_X>
<PopPoint_Y>48.56</PopPoint_Y>
</Character>
<Character id="cUid2">
<CharacterUID>2</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>55.84</PopPoint_X>
<PopPoint_Y>65.09</PopPoint_Y>
</Character>
<Character id="cUid3">
<CharacterUID>3</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>118.97</PopPoint_X>
<PopPoint_Y>15.94</PopPoint_Y>
</Character>
<Character id="cUid4">
<CharacterUID>4</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>73.78</PopPoint_X>
<PopPoint_Y>17.09</PopPoint_Y>
</Character>
<Character id="cUid5">
<CharacterUID>5</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>19.28</PopPoint_X>
<PopPoint_Y>37.78</PopPoint_Y>
</Character>
<Character id="cUid6">
<CharacterUID>6</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>109.13</PopPoint_X>
<PopPoint_Y>13.28</PopPoint_Y>
</Character>
<Character id="cUid7">
<CharacterUID>7</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>99.13</PopPoint_X>
<PopPoint_Y>9.00</PopPoint_Y>
</Character>
<Character id="cUid8">
<CharacterUID>8</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>99.38</PopPoint_X>
<PopPoint_Y>66.84</PopPoint_Y>
</Character>
<Character id="cUid9">
<CharacterUID>9</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>65.84</PopPoint_X>
<PopPoint_Y>15.47</PopPoint_Y>
</Character>
<Character id="cUid10">
<CharacterUID>10</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>24.41</PopPoint_X>
<PopPoint_Y>46.28</PopPoint_Y>
</Character>
<Character id="cUid11">
<CharacterUID>11</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>66.66</PopPoint_X>
<PopPoint_Y>70.09</PopPoint_Y>
</Character>
<Character id="cUid12">
<CharacterUID>12</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>54.19</PopPoint_X>
<PopPoint_Y>30.28</PopPoint_Y>
</Character>
<Character id="cUid13">
<CharacterUID>13</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>96.59</PopPoint_X>
<PopPoint_Y>28.56</PopPoint_Y>
</Character>
<Character id="cUid14">
<CharacterUID>14</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>92.09</PopPoint_X>
<PopPoint_Y>39.22</PopPoint_Y>
</Character>
<Character id="cUid15">
<CharacterUID>15</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>101.91</PopPoint_X>
<PopPoint_Y>41.59</PopPoint_Y>
</Character>
<Character id="cUid16">
<CharacterUID>16</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>130.56</PopPoint_X>
<PopPoint_Y>20.06</PopPoint_Y>
</Character>
<Character id="cUid17">
<CharacterUID>17</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>151.72</PopPoint_X>
<PopPoint_Y>56.91</PopPoint_Y>
</Character>
<Character id="cUid18">
<CharacterUID>18</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>129.75</PopPoint_X>
<PopPoint_Y>56.34</PopPoint_Y>
</Character>
<Character id="cUid19">
<CharacterUID>19</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>48.00</PopPoint_X>
<PopPoint_Y>39.06</PopPoint_Y>
</Character>
<Character id="cUid20">
<CharacterUID>20</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>56.38</PopPoint_X>
<PopPoint_Y>47.28</PopPoint_Y>
</Character>
<Character id="cUid21">
<CharacterUID>21</CharacterUID>
<CharacterName>不死の死骸</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>2</InternalID>
<PopSpeed>3600</PopSpeed>
<PopPoint_X>124.31</PopPoint_X>
<PopPoint_Y>22.34</PopPoint_Y>
</Character>
<Character id="cUid22">
<CharacterUID>22</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>15.16</PopPoint_X>
<PopPoint_Y>48.81</PopPoint_Y>
</Character>
<Character id="cUid23">
<CharacterUID>23</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>64.81</PopPoint_X>
<PopPoint_Y>26.03</PopPoint_Y>
</Character>
<Character id="cUid24">
<CharacterUID>24</CharacterUID>
<CharacterName>ケリービー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>3</InternalID>
<PopSpeed>60</PopSpeed>
<PopPoint_X>142.50</PopPoint_X>
<PopPoint_Y>60.38</PopPoint_Y>
</Character>
<Character id="cUid25">
<CharacterUID>25</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>74.97</PopPoint_X>
<PopPoint_Y>27.19</PopPoint_Y>
</Character>
<Character id="cUid26">
<CharacterUID>26</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>35.81</PopPoint_X>
<PopPoint_Y>65.00</PopPoint_Y>
</Character>
<Character id="cUid27">
<CharacterUID>27</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>77.13</PopPoint_X>
<PopPoint_Y>52.53</PopPoint_Y>
</Character>
<Character id="cUid28">
<CharacterUID>28</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>42.03</PopPoint_X>
<PopPoint_Y>72.25</PopPoint_Y>
</Character>
<Character id="cUid29">
<CharacterUID>29</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>52.19</PopPoint_X>
<PopPoint_Y>72.06</PopPoint_Y>
</Character>
<Character id="cUid30">
<CharacterUID>30</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>30</PopSpeed>
<PopPoint_X>82.06</PopPoint_X>
<PopPoint_Y>38.75</PopPoint_Y>
</Character>
<Character id="cUid31">
<CharacterUID>31</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>108.22</PopPoint_X>
<PopPoint_Y>46.50</PopPoint_Y>
</Character>
<Character id="cUid32">
<CharacterUID>32</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>35</PopSpeed>
<PopPoint_X>108.91</PopPoint_X>
<PopPoint_Y>32.97</PopPoint_Y>
</Character>
<Character id="cUid33">
<CharacterUID>33</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>127.44</PopPoint_X>
<PopPoint_Y>27.03</PopPoint_Y>
</Character>
<Character id="cUid34">
<CharacterUID>34</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>133.28</PopPoint_X>
<PopPoint_Y>37.31</PopPoint_Y>
</Character>
<Character id="cUid35">
<CharacterUID>35</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>145.75</PopPoint_X>
<PopPoint_Y>21.13</PopPoint_Y>
</Character>
<Character id="cUid36">
<CharacterUID>36</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>140.66</PopPoint_X>
<PopPoint_Y>30.38</PopPoint_Y>
</Character>
<Character id="cUid37">
<CharacterUID>37</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>138.34</PopPoint_X>
<PopPoint_Y>66.25</PopPoint_Y>
</Character>
<Character id="cUid38">
<CharacterUID>38</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>151.72</PopPoint_X>
<PopPoint_Y>65.94</PopPoint_Y>
</Character>
<Character id="cUid39">
<CharacterUID>39</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>139.69</PopPoint_X>
<PopPoint_Y>57.78</PopPoint_Y>
</Character>
<Character id="cUid41">
<CharacterUID>41</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>109.38</PopPoint_X>
<PopPoint_Y>71.16</PopPoint_Y>
</Character>
<Character id="cUid42">
<CharacterUID>42</CharacterUID>
<CharacterName>ファントム</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>1</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>110.00</PopPoint_X>
<PopPoint_Y>62.25</PopPoint_Y>
</Character>
<Character id="cUid43">
<CharacterUID>43</CharacterUID>
<CharacterName>プレーガー</CharacterName>
<CharacterType>2</CharacterType>
<InternalID>0</InternalID>
<PopSpeed>20</PopSpeed>
<PopPoint_X>120.69</PopPoint_X>
<PopPoint_Y>63.97</PopPoint_Y>
</Character>
</CharacterData>
<AreaData>
<Area id="aUid0">
<AreaUID>0</AreaUID>
<AreaName>_필드 전체</AreaName>
<AreaType>0</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>0.00</AreaPos_X>
<AreaPos_X2>0.00</AreaPos_X2>
<AreaPos_Y>0.00</AreaPos_Y>
<AreaPos_Y2>0.00</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid1">
<AreaUID>1</AreaUID>
<AreaName>_화면</AreaName>
<AreaType>0</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>0.00</AreaPos_X>
<AreaPos_X2>0.00</AreaPos_X2>
<AreaPos_Y>0.00</AreaPos_Y>
<AreaPos_Y2>0.00</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid2">
<AreaUID>2</AreaUID>
<AreaName>지하 2층</AreaName>
<AreaType>3</AreaType>
<AccessMap>[261]M11_C01_B02.rmd</AccessMap>
<AccessMapName>河口ダンジョン 'ド' B2</AccessMapName>
<AreaPos_X>2.78</AreaPos_X>
<AreaPos_X2>5.06</AreaPos_X2>
<AreaPos_Y>67.50</AreaPos_Y>
<AreaPos_Y2>69.59</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid3">
<AreaUID>3</AreaUID>
<AreaName>Area 2</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>11.59</AreaPos_X>
<AreaPos_X2>37.00</AreaPos_X2>
<AreaPos_Y>31.22</AreaPos_Y>
<AreaPos_Y2>54.13</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid4">
<AreaUID>4</AreaUID>
<AreaName>Area 3</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>58.09</AreaPos_X>
<AreaPos_X2>80.69</AreaPos_X2>
<AreaPos_Y>9.78</AreaPos_Y>
<AreaPos_Y2>29.69</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid5">
<AreaUID>5</AreaUID>
<AreaName>Area 4</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>33.28</AreaPos_X>
<AreaPos_X2>68.00</AreaPos_X2>
<AreaPos_Y>63.25</AreaPos_Y>
<AreaPos_Y2>73.41</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid6">
<AreaUID>6</AreaUID>
<AreaName>Area 5</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>89.47</AreaPos_X>
<AreaPos_X2>110.97</AreaPos_X2>
<AreaPos_Y>21.38</AreaPos_Y>
<AreaPos_Y2>48.38</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid7">
<AreaUID>7</AreaUID>
<AreaName>Area 6</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>125.50</AreaPos_X>
<AreaPos_X2>147.78</AreaPos_X2>
<AreaPos_Y>15.00</AreaPos_Y>
<AreaPos_Y2>42.25</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid8">
<AreaUID>8</AreaUID>
<AreaName>Area 7</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>127.88</AreaPos_X>
<AreaPos_X2>153.88</AreaPos_X2>
<AreaPos_Y>51.16</AreaPos_Y>
<AreaPos_Y2>68.25</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid9">
<AreaUID>9</AreaUID>
<AreaName>보물상자00</AreaName>
<AreaType>13</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>11.41</AreaPos_X>
<AreaPos_X2>13.91</AreaPos_X2>
<AreaPos_Y>28.75</AreaPos_Y>
<AreaPos_Y2>30.00</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid10">
<AreaUID>10</AreaUID>
<AreaName>보물상자01</AreaName>
<AreaType>13</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>74.22</AreaPos_X>
<AreaPos_X2>75.94</AreaPos_X2>
<AreaPos_Y>67.66</AreaPos_Y>
<AreaPos_Y2>69.38</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid11">
<AreaUID>11</AreaUID>
<AreaName>보물상자02</AreaName>
<AreaType>13</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>51.72</AreaPos_X>
<AreaPos_X2>54.06</AreaPos_X2>
<AreaPos_Y>8.59</AreaPos_Y>
<AreaPos_Y2>10.00</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid12">
<AreaUID>12</AreaUID>
<AreaName>보물상자03</AreaName>
<AreaType>13</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>97.94</AreaPos_X>
<AreaPos_X2>99.97</AreaPos_X2>
<AreaPos_Y>21.88</AreaPos_Y>
<AreaPos_Y2>23.13</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid13">
<AreaUID>13</AreaUID>
<AreaName>보물상자04</AreaName>
<AreaType>13</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>151.69</AreaPos_X>
<AreaPos_X2>153.88</AreaPos_X2>
<AreaPos_Y>38.44</AreaPos_Y>
<AreaPos_Y2>40.00</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid14">
<AreaUID>14</AreaUID>
<AreaName>보물상자05</AreaName>
<AreaType>13</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>93.56</AreaPos_X>
<AreaPos_X2>95.44</AreaPos_X2>
<AreaPos_Y>70.16</AreaPos_Y>
<AreaPos_Y2>72.03</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid15">
<AreaUID>15</AreaUID>
<AreaName>Area 14</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>45.41</AreaPos_X>
<AreaPos_X2>60.13</AreaPos_X2>
<AreaPos_Y>26.25</AreaPos_Y>
<AreaPos_Y2>48.94</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid16">
<AreaUID>16</AreaUID>
<AreaName>Area 15</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>93.88</AreaPos_X>
<AreaPos_X2>123.81</AreaPos_X2>
<AreaPos_Y>57.25</AreaPos_Y>
<AreaPos_Y2>73.88</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid17">
<AreaUID>17</AreaUID>
<AreaName>Area 16</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>87.00</AreaPos_X>
<AreaPos_X2>121.13</AreaPos_X2>
<AreaPos_Y>1.88</AreaPos_Y>
<AreaPos_Y2>20.75</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid18">
<AreaUID>18</AreaUID>
<AreaName>Area 17</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>66.63</AreaPos_X>
<AreaPos_X2>85.13</AreaPos_X2>
<AreaPos_Y>33.00</AreaPos_Y>
<AreaPos_Y2>57.88</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
<Area id="aUid19">
<AreaUID>19</AreaUID>
<AreaName>불사의 송장</AreaName>
<AreaType>4</AreaType>
<AccessMap></AccessMap>
<AccessMapName></AccessMapName>
<AreaPos_X>114.63</AreaPos_X>
<AreaPos_X2>145.13</AreaPos_X2>
<AreaPos_Y>12.09</AreaPos_Y>
<AreaPos_Y2>32.91</AreaPos_Y2>
<AreaExpansion>
</AreaExpansion>
</Area>
</AreaData>
</MapData>


text:
import React from 'react';
import Router from 'react-router';
import routes from './routes';

const app = document.getElementById('app');
const initialState = window._initialState;

Router.run(routes, Router.HistoryLocation, (Handler) => {
  React.render(<Handler initialState={initialState} />, app);
});


text:
package com.drew.lang;

import java.nio.charset.Charset;

/**
 * Holds a set of commonly used character encodings.
 *
 * Newer JDKs include java.nio.charset.StandardCharsets, but we cannot use that in this library.
 *
 * @author Drew Noakes https://drewnoakes.com
 */
public final class Charsets
{
    public static final Charset UTF_8 = Charset.forName("UTF-8");
    public static final Charset UTF_16 = Charset.forName("UTF-16");
    public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    public static final Charset ASCII = Charset.forName("US-ASCII");
    public static final Charset UTF_16BE = Charset.forName("UTF-16BE");
    public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
    public static final Charset WINDOWS_1252 = Charset.forName("Cp1252");
}


text:
Developer Week 2015 - Rapid Prototyping with MEAN Stack
====================

http://developerweek.com/conference/conference-speakers/


text:
console.log('Hello, world!');
phantom.exit();


text:
<TEI xmlns="http://www.tei-c.org/ns/1.0">
   <teiHeader>
      <fileDesc>
         <titleStmt>
            <title>Two dithyrambic odes: I. On enthusiasm. II. To laughter. By the author of Rimes.</title>
            <author>Pinkerton, John, 1758-1826.</author>
         </titleStmt>
         <extent>10 600dpi bitonal TIFF page images and SGML/XML encoded text</extent>
         <publicationStmt>
            <publisher>University of Michigan Library</publisher>
            <pubPlace>Ann Arbor, Michigan</pubPlace>
            <date when="2011-06">2011 June</date>
            <idno type="DLPS">004883011</idno>
            <idno type="ESTC">T124524</idno>
            <idno type="DOCNO">CW114997195</idno>
            <idno type="TCP">K099329.000</idno>
            <idno type="GALEDOCNO">CW3314997195</idno>
            <idno type="CONTENTSET">ECLL</idno>
            <idno type="IMAGESETID">0849900200</idno>
            <availability>

This keyboarded and encoded edition of the
	       work described above is co-owned by the institutions
	       providing financial support to the Early English Books
	       Online Text Creation Partnership. This Phase I text is
	       available for reuse, according to the terms of <ref target="https://creativecommons.org/publicdomain/zero/1.0/">Creative
	       Commons 0 1.0 Universal</ref>. The text can be copied,
	       modified, distributed and performed, even for
	       commercial purposes, all without asking permission.

            </availability>
         </publicationStmt>
         <sourceDesc>
            <biblFull>
               <titleStmt>
                  <title>Two dithyrambic odes: I. On enthusiasm. II. To laughter. By the author of Rimes.</title>
                  <author>Pinkerton, John, 1758-1826.</author>
               </titleStmt>
               <extent>12p. ; 4⁰.</extent>
               <publicationStmt>
                  <publisher>printed for C. Dilly,</publisher>
                  <pubPlace>London :</pubPlace>
                  <date>1782.</date>
               </publicationStmt>
               <notesStmt>
                  <note>Author of Rimes = John Pinkerton.</note>
                  <note>Reproduction of original from the British Library.</note>
                  <note>English Short Title Catalog, ESTCT124524.</note>
                  <note>Electronic data. Farmington Hills, Mich. : Thomson Gale, 2003. Page image (PNG). Digitized image of the microfilm version produced in Woodbridge, CT by Research Publications, 1982-2002 (later known as Primary Source Microfilm, an imprint of the Gale Group).</note>
               </notesStmt>
            </biblFull>
         </sourceDesc>
      </fileDesc>
      <encodingDesc>
         <projectDesc>

Created by converting TCP files to TEI P5 using tcp2tei.xsl,
      TEI @ Oxford.

         </projectDesc>
         <editorialDecl>

EEBO-TCP is a partnership between the Universities of Michigan and Oxford and the publisher ProQuest to create accurately transcribed and encoded texts based on the image sets published by ProQuest via their Early English Books Online (EEBO) database (http://eebo.chadwyck.com). The general aim of EEBO-TCP is to encode one copy (usually the first edition) of every monographic English-language title published between 1473 and 1700 available in EEBO.

EEBO-TCP aimed to produce large quantities of textual data within the usual project restraints of time and funding, and therefore chose to create diplomatic transcriptions (as opposed to critical editions) with light-touch, mainly structural encoding based on the Text Encoding Initiative (http://www.tei-c.org).

The EEBO-TCP project was divided into two phases. The 25,363 texts created during Phase 1 of the project have been released into the public domain as of 1 January 2015. Anyone can now take and use these texts for their own purposes, but we respectfully request that due credit and attribution is given to their original source.

Users should be aware of the process of creating the TCP texts, and therefore of any assumptions that can be made about the data.

Text selection was based on the New Cambridge Bibliography of English Literature (NCBEL). If an author (or for an anonymous work, the title) appears in NCBEL, then their works are eligible for inclusion. Selection was intended to range over a wide variety of subject areas, to reflect the true nature of the print record of the period. In general, first editions of a works in English were prioritized, although there are a number of works in other languages, notably Latin and Welsh, included and sometimes a second or later edition of a work was chosen if there was a compelling reason to do so.

Image sets were sent to external keying companies for transcription and basic encoding. Quality assurance was then carried out by editorial teams in Oxford and Michigan. 5% (or 5 pages, whichever is the greater) of each text was proofread for accuracy and those which did not meet QA standards were returned to the keyers to be redone. After proofreading, the encoding was enhanced and/or corrected and characters marked as illegible were corrected where possible up to a limit of 100 instances per text. Any remaining illegibles were encoded as <gap>s. Understanding these processes should make clear that, while the overall quality of TCP data is very good, some errors will remain and some readable characters will be marked as illegible. Users should bear in mind that in all likelihood such instances will never have been looked at by a TCP editor.

The texts were encoded and linked to page images in accordance with level 4 of the TEI in Libraries guidelines.

Copies of the texts have been issued variously as SGML (TCP schema; ASCII text with mnemonic sdata character entities); displayable XML (TCP schema; characters represented either as UTF-8 Unicode or text strings within braces); or lossless XML (TEI P5, characters represented either as UTF-8 Unicode or TEI g elements).

Keying and markup guidelines are available at the <ref target="http://www.textcreationpartnership.org/docs/.">Text Creation Partnership web site</ref>.

         </editorialDecl>
         <listPrefixDef>
            <prefixDef ident="tcp"
                       matchPattern="([0-9\-]+):([0-9IVX]+)"
                       replacementPattern="https://data.historicaltexts.jisc.ac.uk/view?pubId=ecco-$1&index=ecco&pageId=ecco-$1-$20"/>
            <prefixDef ident="char"
                       matchPattern="(.+)"
                       replacementPattern="https://raw.githubusercontent.com/textcreationpartnership/Texts/master/tcpchars.xml#$1"/>
         </listPrefixDef>
      </encodingDesc>
      <profileDesc>
         <langUsage>
            <language ident="eng">eng</language>
         </langUsage>
      </profileDesc>
   </teiHeader>
   <text xml:lang="eng">
      <front>

            <pb facs="tcp:0849900200:1" rendition="simple:additions"/>

TWO DITHYRAMBIC ODES.

I. ON ENTHUSIASM.

II. TO LAUGHTER.

BY THE AUTHOR OF RIMES.

            <q>
               <l>Numeriſque fertur</l>
               <l>Lege ſolutis.</l>
               <bibl>HOR.</bibl>
            </q>

LONDON, PRINTED FOR C. DILLY.

MDCCLXXXII.

            <pb facs="tcp:0849900200:2"/>
            ADVERTISEMENT.

THE reader may perhaps think that there was no oc<g ref="char:EOLhyphen"/>caſion to give a new title to theſe Odes, the former denomination of Irregular being ſufficient. But, ever ſince the days of Cowley, Irregular Odes have had more pretenſions to the irregularity of chaos than to that of nature. The Author has therefore reſtored their an<g ref="char:EOLhyphen"/>cient name. When a title becomes a badge of indignity, it is ſurely proper to refuſe it. Yet titles are neither here nor there.

The Italians, who alone of all modern nations feel what real poetry, what real painting, what real muſic are, have many productions of high ſame under this title. The flames would have received the following pieces, had not the Author known that they have more merit than many productions, which have the honour to attain the praiſe of thoſe who know nothing. But he pretends not to the exquiſite ſpirit of Poliziano.

      </front>

            <pb facs="tcp:0849900200:3"/>
            DITHYRAMBIC ODE I. ON ENTHUSIASM.
            <lg>
               <l>SHADES of poets bleſt!</l>
               <l>That oft my dreams,</l>
               <l>With rapturous gleams</l>
               <l>Of glory, have poſſeſt;</l>
               <l>Appear, appear, appear!</l>
               <l>If yet the mortal vow ye hear,</l>
               <l>O hither, from your manſions bright,</l>
               <l>O hither bend your ſpeedy flight;</l>
               <l>While light and odours float around,</l>
               <l>And harps unſeen empyreal airs reſound.</l>
            </lg>
            <lg>
               <l>Say, from what living ſpring</l>
               <l>Deſcends the flood of fame,</l>
               <l>That bears your ſacred ſtrains along</l>
               <l>The vales and echoing mountains o'er</l>
               <l>
                  <pb n="6" facs="tcp:0849900200:4"/>Of each admiring ſhore;</l>
               <l>While empires all prolong,</l>
               <l>In every varied ſpeech, the wonders of your ſong;</l>
               <l>And languages, that have as yet no name,</l>
               <l>Their tributary rills ſhall bring</l>
               <l>To ſwell the lordly ſtream?</l>
            </lg>
            <lg>
               <l>Say, from what mighty cauſe</l>
               <l>Is heard the high applauſe,</l>
               <l>That you the diſtant climes,</l>
               <l>That you the diſtant times,</l>
               <l>With adoration have confeſt</l>
               <l>Gods of the human breaſt;</l>
               <l>And, moved with filial awe,</l>
               <l>Have bent their ſenſe and feeling to your law;</l>
               <l>And nobleſt homage brought,</l>
               <l>The homage of the thought?</l>
               <l>Enthuſiaſm was that ſpring!</l>
               <l>Enthuſiaſm was the cauſe</l>
               <l>
                  <pb n="7" facs="tcp:0849900200:5"/>Why heard that high applauſe!</l>
               <l>Enthuſiaſm, race divine! did all thoſe honours bring!</l>
            </lg>
            <lg>
               <l>Ye chief of former days, whoſe daring vows addreſſed</l>
               <l>Nature ere hid in Faſhion's ſpeckled veſt;</l>
               <l>When ſhe, great goddeſs, in her prime,</l>
               <l>Her virgin fancies played at will,</l>
               <l>Fancies ſurpaſſing mortal ſkill;</l>
               <l>And with her ſons held colloquy ſublime,</l>
               <l>By hallowed fount with verdant gloom o'ergrown,</l>
               <l>Or in the whiſpering vale, or deſert mountain lone;</l>
               <l>While forms of heaven not unſeen</l>
               <l>With fairy footſteps paced the green,</l>
               <l>And in myſtic notes conveyed</l>
               <l>Things ſecret from the human thought or eye.</l>
               <l>Full oft, ſuch is thy will, O Poeſy!</l>
               <l>Where vulgar minds diſcern nought, ſave the ſhade,</l>
               <l>The wiſe the ſun deſcry <note n="*" place="bottom">
                     <l>Qualor di Pindo le Reine accolgo,</l>
                     <l>Il fortunato mi o lieto ſoggiorno</l>
                     <l>S'empie di luce intorno,</l>
                     <l>Che ſplende ai ſaggi, e ſi fa nebbia al volgo.</l>

Guidi.

                  </note>.</l>
               <l>
                  <pb n="8" facs="tcp:0849900200:6"/>For oft the ſun will ſhroud</l>
               <l>His flames behind a cloud.</l>
            </lg>
            <lg>
               <l>And, Sages, ye whoſe eloquence divine</l>
               <l>Would, with a golden chain,</l>
               <l>The hearer's ſoul reſtrain,</l>
               <l>And bear to every Paſſion's diſtant ſhrine.</l>
               <l>Whoſe thunder ſhook the throne</l>
               <l>Of each barbaric lord;</l>
               <l>Tho by deluded myriads prone</l>
               <l>Of trembling ſlaves adored.</l>
               <l>Whoſe lucid art of life illumed the plan;</l>
               <l>And heavenly Wiſdom brought to dwell with man.</l>
            </lg>
            <lg>
               <l>Without thy fierce controul,</l>
               <l>Enthuſiaſm, ſoul of the rapt ſoul!</l>
               <l>Picture in vain bids her creation riſe;</l>
               <l>Muſic in vain her vocal ſkill applies;</l>
               <l>In night the fair creation lies;</l>
               <l>
                  <pb n="9" facs="tcp:0849900200:7"/>The bidden airs ſleep in the ſullen ſhell,</l>
               <l>Till thou their birth impell.</l>
               <l>At thy command the glowing forms appear:</l>
               <l>At thy command the ſtrains enchant the ear.</l>
            </lg>
            <lg>
               <l>Thy praiſe may every art,</l>
               <l>And ſcience fair impart;</l>
               <l>For all to thee their richeſt luſtre owe.</l>
               <l>From thee all attributes of mind</l>
               <l>That to gods exalt mankind;</l>
               <l>All deeds immortal flow.</l>
            </lg>
            <lg>
               <l>Hark, hark! The ſounds of conflict riſe;</l>
               <l>What light divine illumes that ſacred field,</l>
               <l>Leonidas! where thy devoted few</l>
               <l>Their fatal falchions drew:</l>
               <l>And of their carcaſes compoſed a ſhield,</l>
               <l>Their country to protect from daſtard enemies!</l>
               <l>In Freedom's holy hand</l>
               <l>Their radiant banner flew:</l>
               <l>
                  <pb n="10" facs="tcp:0849900200:8"/>Before the godlike band</l>
               <l>Her rouſing trump Enthuſiaſm blew.</l>
            </lg>
            <lg>
               <l>When bold Colombo dared the watery realm</l>
               <l>A world unknown to find;</l>
               <l>Enthuſiaſm held the helm,</l>
               <l>And with freſh vigor ſtored his ardent mind.</l>
               <l>Till roſe the wiſhed ſhore,</l>
               <l>Where empires loſt to fame before,</l>
               <l>Where golden cities ſhone,</l>
               <l>And ſhrines of other ſacred powers;</l>
               <l>Groves of new pomp, and meads of other flowers,</l>
               <l>And other muſic from the copſe was blown.</l>
            </lg>
            <lg>
               <l>Oh goddeſs! if one happy clime</l>
               <l>Remains yet ſecret from the Muſe,</l>
               <l>Thy bleſſed influence diffuſe,</l>
               <l>O lend thy votary thy aid ſublime,</l>
               <l>By art's juſt compaſs, and by fancy's gate,</l>
               <l>There to direct his daring ſail,</l>
               <l>And treaſures bring unknown in former time!</l>
            </lg>

            <pb facs="tcp:0849900200:9"/>
            DITHYRAMBIC ODE II. To LAUGHTER.
            <lg>
               <l>THE violet that in the lonely ſtream</l>
               <l>Beholds her humble head,</l>
               <l>Tho ſaved from icy breeze or ſultry beam,</l>
               <l>Her fragrant leaves muſt ſhed.</l>
               <l>Along the ſtream that fed</l>
               <l>Her life, the fragrant leaves are toſt,</l>
               <l>Till in the ruthleſs ocean loſt.</l>
            </lg>
            <lg>
               <l>Meet emblem of man's fading joy,</l>
               <l>That, tho ſaved from all annoy,</l>
               <l>On time's inevitable wave</l>
               <l>Still haſtens to the grave!</l>
            </lg>
            <lg>
               <l>To taſte the fragrance of the flower,</l>
               <l>And not the flower deſtroy,</l>
               <l>Is wiſdom. Haſte, the fleeting hour</l>
               <l>Ye race of Mirth employ.</l>
            </lg>
            <lg>
               <l>Thou, Laughter, lead the feſtal band;</l>
               <l>Wit and Humour, hand in hand,</l>
               <l>
                  <pb n="12" facs="tcp:0849900200:10"/>Sports that dance, and Sports that ſing,</l>
               <l>Love and Rapture with thee bring.</l>
               <l>Now when merry Spring repoſes</l>
               <l>On her bed of balmy roſes,</l>
               <l>In fantaſtic meaſures revel</l>
               <l>All along the flowery level.</l>
            </lg>
            <lg>
               <l>Sweet melody pervades the luminous air <note n="*" place="bottom">
                     <l>E una melodia dolce correva</l>
                     <l>Per l'aer luminoſo—</l>
                     <bibl>Dante, Purg.</bibl>
                  </note>.</l>
               <l>The jocund tribes appear!</l>
            </lg>
            <lg>
               <l>My ſuppliant thy wiſh declare;</l>
               <l>Lo I wait to hear thy prayer.</l>
            </lg>
            <lg>
               <l>While ſome, tho wiſe, in mental gloom</l>
               <l>Their melancholy hours entomb;</l>
               <l>And, from terror of the morrow,</l>
               <l>Waſte the given day in ſorrow:</l>
               <l>Attend, propitious Power, my claim!</l>
               <l>Do thou invading cares repell:</l>
               <l>With thee, dear goddeſs, let me dwell,</l>
               <l>And laugh at life's amuſing game.</l>
            </lg>
            <trailer>THE END.</trailer>

   </text>
</TEI>


text:
module.exports = {
    id: 'android',
    bootstrap: function() {
        var channel = require('cordova/channel'),
            cordova = require('cordova'),
            exec = require('cordova/exec'),
            modulemapper = require('cordova/modulemapper');

        // Get the shared secret needed to use the bridge.
        exec.init();

        // TODO: Extract this as a proper plugin.
        modulemapper.clobbers('cordova/plugin/android/app', 'navigator.app');

        // Inject a listener for the backbutton on the document.
        var backButtonChannel = cordova.addDocumentEventHandler('backbutton');
        backButtonChannel.onHasSubscribersChange = function() {
            // If we just attached the first handler or detached the last handler,
            // let native know we need to override the back button.
            exec(null, null, "App", "overrideBackbutton", [this.numHandlers == 1]);
        };

        // Add hardware MENU and SEARCH button handlers
        cordova.addDocumentEventHandler('menubutton');
        cordova.addDocumentEventHandler('searchbutton');

        function bindButtonChannel(buttonName) {
            // generic button bind used for volumeup/volumedown buttons
            var volumeButtonChannel = cordova.addDocumentEventHandler(buttonName + 'button');
            volumeButtonChannel.onHasSubscribersChange = function() {
                exec(null, null, "App", "overrideButton", [buttonName, this.numHandlers == 1]);
            };
        }
        // Inject a listener for the volume buttons on the document.
        bindButtonChannel('volumeup');
        bindButtonChannel('volumedown');

        // Let native code know we are all done on the JS side.
        // Native code will then un-hide the WebView.
        channel.onCordovaReady.subscribe(function() {
            exec(null, null, "App", "show", []);
        });
    }
};


text:
package de.qaware.theo.mc.annotation;

import javax.inject.Singleton;
import java.lang.annotation.*;

/**
 * The annotation for the config interface.
 * @author andreas.janning
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Singleton
public @interface Configuration {

    /**
     * @return the config name. used to identify the config
     */
    String name();

    /**
     * @return the path to the file containing the config values
     */
    String file();
}


text:
@charset "UTF-8";
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
.ng-cloak, .x-ng-cloak,
.ng-hide {
  display: none !important;
}
ng\:form {
  display: block;
}
.ng-animate-block-transitions {
  transition:0s all!important;
  -webkit-transition:0s all!important;
}
.ng-hide-add-active, .ng-hide-remove {
  display: block!important;
}


text:
<!DOCTYPE html>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="theme" content="hugo-academic">
  <meta name="generator" content="Hugo 0.34" />
  <meta name="author" content="Marina Sanusi">

    <link rel="stylesheet" href="/css/highlight.min.css">

  <link rel="stylesheet" href="/css/bootstrap.min.css">
  <link rel="stylesheet" href="/css/font-awesome.min.css">
  <link rel="stylesheet" href="/css/academicons.min.css">
  <link href='//fonts.googleapis.com/css?family=Raleway|Raleway|Raleway' rel='stylesheet' type='text/css'>

  <link rel="stylesheet" href="/css/hugo-academic.css">

  <link rel="alternate" href="http://mgsanusi.github.io/index.xml" type="application/rss+xml" title="Marina Sanusi">
  <link rel="feed" href="http://mgsanusi.github.io/index.xml" type="application/rss+xml" title="Marina Sanusi">

  <link rel="icon" type="image/png" href="/img/icon.png">
  <link rel="apple-touch-icon" type="image/png" href="/img/apple-touch-icon.png">

  <link rel="canonical" href="http://mgsanusi.github.io/teaching/">

<link href='//fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>

  <title>teaching | Marina Sanusi</title>

      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
              data-target=".navbar-collapse" aria-expanded="false">
        Toggle navigation

      </button>
      Marina Sanusi

            Home

            About Me

            Research

            Teaching

            Courses

teaching

    <time datetime="2017-05-11 16:58:03 -0400 EDT" itemprop="datePublished">
      Thu, May 11, 2017
    </time>

I have been a Teaching Assistant for the following classes. As a TA, I have run labs, held office hours, graded tests, substitute lectured, and written test questions.

CS 1110: Introduction to Computing

CS 2150: Program and Data Representation

CS 4414: Operating Systems

      © 2016 Your Name ·

      Powered by the Academic
      theme for Hugo.


text:
typedef NS_ENUM(NSInteger, ATLMSettingsTableSection) {
    ATLMSettingsTableSectionInfo,
    ATLMSettingsTableSectionLegal,
    ATLMSettingsTableSectionLogout,
    ATLMSettingsTableSectionCount,
};

typedef NS_ENUM(NSInteger, ATLMInfoTableRow) {
    ATLMInfoTableRowAtlasVersion,
    ATLMInfoTableRowLayerKitVersion,
    ATLMInfoTableRowAppIDRow,
    ATLMInfoTableRowCount,
};

typedef NS_ENUM(NSInteger, ATLMLegalTableRow) {
    ATLMLegalTableRowAttribution,
    ATLMLegalTableRowTerms,
    ATLMLegalTableRowCount,
};

@interface ATLMSettingsViewController () <UITextFieldDelegate>

@property (nonatomic) ATLMSettingsHeaderView *headerView;
@property (nonatomic) ATLLogoView *logoView;

@end

@implementation ATLMSettingsViewController

NSString *const ATLMSettingsViewControllerTitle = @"Settings";
NSString *const ATLMSettingsTableViewAccessibilityIdentifier = @"Settings Table View";
NSString *const ATLMSettingsHeaderAccessibilityLabel = @"Settings Header";

NSString *const ATLMDefaultCellIdentifier = @"defaultTableViewCell";
NSString *const ATLMCenterTextCellIdentifier = @"centerContentTableViewCell";

NSString *const ATLMConnected = @"Connected";
NSString *const ATLMDisconnected = @"Disconnected";
NSString *const ATLMLostConnection = @"Lost Connection";
NSString *const ATLMConnecting = @"Connecting";

- (id)initWithStyle:(UITableViewStyle)style
{
    self = [super initWithStyle:style];
    if (self) {
        self.title = ATLMSettingsViewControllerTitle;
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];

    [self.tableView registerClass:[ATLMStyleValue1TableViewCell class] forCellReuseIdentifier:ATLMDefaultCellIdentifier];
    [self.tableView registerClass:[ATLMCenterTextTableViewCell class] forCellReuseIdentifier:ATLMCenterTextCellIdentifier];

    // Left navigation item
    UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone
                                                                                target:self
                                                                                action:@selector(doneTapped:)];
    doneButton.accessibilityLabel = @"Done";
    self.navigationItem.rightBarButtonItem = doneButton;

    self.headerView = [ATLMSettingsHeaderView headerViewWithUser:self.applicationController.APIManager.authenticatedSession.user];
    self.headerView.frame = CGRectMake(0, 0, 320, 148);
    self.headerView.accessibilityLabel = ATLMSettingsHeaderAccessibilityLabel;
    if (self.applicationController.layerClient.isConnected){
        [self.headerView updateConnectedStateWithString:ATLMConnected];
    } else {
        [self.headerView updateConnectedStateWithString:ATLMDisconnected];
    }

    self.logoView = [[ATLLogoView alloc] initWithFrame:CGRectMake(0, 0, 320, 160)];
    self.tableView.tableFooterView = self.logoView;
    self.tableView.tableHeaderView = self.headerView;
    self.tableView.sectionHeaderHeight = 48.0f;
    self.tableView.rowHeight = 44.0f;
    self.tableView.accessibilityIdentifier = ATLMSettingsTableViewAccessibilityIdentifier;

    [self registerNotificationObservers];
}

- (void)dealloc
{
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}

#pragma mark - UITableViewDataSource

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
    return ATLMSettingsTableSectionCount;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    switch (section) {
        case ATLMSettingsTableSectionInfo:
            return ATLMInfoTableRowCount;

        case ATLMSettingsTableSectionLegal:
            return ATLMLegalTableRowCount;

        case ATLMSettingsTableSectionLogout:
            return 1;
    }
    return 0;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    switch (indexPath.section) {
        case ATLMSettingsTableSectionInfo: {
            UITableViewCell *cell = [self defaultCellForIndexPath:indexPath];
            switch (indexPath.row) {
                case ATLMInfoTableRowAtlasVersion:
                    cell.textLabel.text = @"Atlas Version";
                    cell.detailTextLabel.text = @"1.0.2";
                    break;

                case ATLMInfoTableRowLayerKitVersion:
                    cell.textLabel.text = @"LayerKit Version";
                    cell.detailTextLabel.text = LYRSDKVersionString;
                    break;

                case ATLMInfoTableRowAppIDRow:
                    cell.textLabel.text = @"App ID";
                    cell.detailTextLabel.text = [self.applicationController.layerClient.appID absoluteString];
                    cell.detailTextLabel.font = [UIFont systemFontOfSize:10];
                    break;

                case ATLMInfoTableRowCount:
                    break;
            }
            return cell;
        }

        case ATLMSettingsTableSectionLegal: {
            UITableViewCell *cell = [self defaultCellForIndexPath:indexPath];
            switch (indexPath.row) {
                case ATLMLegalTableRowAttribution:
                    cell.textLabel.text = @"Attribution";
                    break;

                case ATLMLegalTableRowTerms:
                    cell.textLabel.text = @"Terms Of Service";
                    break;

                case ATLMLegalTableRowCount:
                    break;
            }
            return cell;
        }

        case ATLMSettingsTableSectionLogout: {
            ATLMCenterTextTableViewCell *centerCell = [self.tableView dequeueReusableCellWithIdentifier:ATLMCenterTextCellIdentifier forIndexPath:indexPath];
            centerCell.centerTextLabel.text = @"Log Out";
            centerCell.centerTextLabel.textColor = ATLRedColor();
            return centerCell;
        }

        case ATLMSettingsTableSectionCount:
            break;
    }
    return nil;
}

- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
{
    switch (section) {
        case ATLMSettingsTableSectionInfo:
            return @"Info";

        case ATLMSettingsTableSectionLegal:
            return @"Legal";

        case ATLMSettingsTableSectionLogout:
        case ATLMSettingsTableSectionCount:
            return nil;
    }
    return nil;
}

- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
    if (section == ATLMSettingsTableSectionCount) {
        //TODO - Add Atlas Footer
    }
    return nil;
}

- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
{
    return 0;
}

#pragma mark - Cell Configuration

- (UITableViewCell *)defaultCellForIndexPath:(NSIndexPath *)indexPath
{
    UITableViewCell *cell = [self.tableView dequeueReusableCellWithIdentifier:ATLMDefaultCellIdentifier forIndexPath:indexPath];
    cell.textLabel.font = [UIFont systemFontOfSize:16];
    cell.textLabel.textColor = [UIColor blackColor];
    cell.detailTextLabel.font = [UIFont systemFontOfSize:16];
    cell.detailTextLabel.textColor = [UIColor blackColor];
    cell.detailTextLabel.text = nil;
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    cell.accessoryView = nil;
    return cell;
}

#pragma mark - UITableViewDelegate

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    switch (indexPath.section) {
        case ATLMSettingsTableSectionLogout:
            [self logOut];
            break;
        case ATLMSettingsTableSectionLegal:
            [self legalRowTapped:indexPath.row];
            break;
        default:
            break;
    }
}

#pragma mark - Actions

- (void)doneTapped:(UIControl *)sender
{
    [self.settingsDelegate settingsViewControllerDidFinish:self];
}

- (void)logOut
{
    if (self.applicationController.layerClient.isConnected) {
        [self.settingsDelegate logoutTappedInSettingsViewController:self];
    } else {
        [SVProgressHUD showErrorWithStatus:@"Cannot Logout. Layer is not connected"];
    }

}

- (void)legalRowTapped:(ATLMLegalTableRow)tableRow
{
    switch (tableRow) {
        case ATLMLegalTableRowAttribution:
            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://github.com/layerhq/Atlas-iOS#license"]];
            break;
        case ATLMLegalTableRowTerms:
            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://layer.com/terms"]];
            break;
        default:
            break;
    }
}

# pragma mark - Layer Connection State Monitoring

- (void)registerNotificationObservers
{
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(layerDidConnect:) name:LYRClientDidConnectNotification object:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(layerDidDisconnect:) name:LYRClientDidDisconnectNotification object:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(layerIsConnecting:) name:LYRClientWillAttemptToConnectNotification object:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(layerDidLoseConnection:) name:LYRClientDidLoseConnectionNotification object:nil];
}

- (void)layerDidConnect:(NSNotification *)notification
{
    [self.headerView updateConnectedStateWithString:ATLMConnected];
}

- (void)layerDidDisconnect:(NSNotification *)notification
{
    [self.headerView updateConnectedStateWithString:ATLMDisconnected];
}

- (void)layerIsConnecting:(NSNotification *)notification
{
    [self.headerView updateConnectedStateWithString:ATLMConnecting];
}

- (void)layerDidLoseConnection:(NSNotification *)notification
{
    [self.headerView updateConnectedStateWithString:ATLMLostConnection];
}

@end


text:
package de.katerkamp.szoo;

import java.io.Serializable;
import java.security.Principal;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.context.SessionScoped;
import javax.enterprise.event.Observes;
import javax.inject.Inject;
import javax.inject.Named;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.keycloak.KeycloakPrincipal;
import org.keycloak.KeycloakSecurityContext;
import org.keycloak.representations.IDToken;

/**
 *
 * @author skat
 */
@Named("user")
@RequestScoped
public class KcUser implements Serializable {
	private static final long serialVersionUID = 6233170277394148933L;

	@Inject
	private HttpServletRequest httpServletRequest;

	private static final Logger LOGGER = Logger.getLogger(KcUser.class.getName());

	public KcUser() {
	}

	public boolean isLoggedIn() {
		Principal principal = httpServletRequest.getUserPrincipal();
		if (principal == null) {
			return false;
		}
		return true;
	}

	public String logout() {
		try {
			httpServletRequest.logout();
		} catch (ServletException ex) {
			LOGGER.log(Level.SEVERE, ex.getMessage());
			return "/error";
		}
		return "/home.xhtml?faces-redirect=true";
	}

	public void logPrincipal() {
		Principal principal = httpServletRequest.getUserPrincipal();
		if (principal == null) {
			LOGGER.log(Level.INFO, "No Principal exists.");
			return;
		}
		HttpSession httpSession = httpServletRequest.getSession();
		if (httpSession != null) {

			LocalDateTime lat = LocalDateTime.ofInstant(
				Instant.ofEpochMilli(
					httpSession.getLastAccessedTime()), ZoneId.systemDefault());

			LocalDateTime ct = LocalDateTime.ofInstant(
				Instant.ofEpochMilli(
					httpSession.getCreationTime()), ZoneId.systemDefault());

			LOGGER.info("Time now: " + LocalDateTime.now().toString());
			LOGGER.info("LastAccessedTime (before this one): " + lat.toString());
			LOGGER.info("SessCreationTime: " + ct.toString());
			LOGGER.info("MaxInactiveInterval: " + httpSession.getMaxInactiveInterval());
		}

		if (principal instanceof KeycloakPrincipal) {
			LOGGER.info("Principal is KeycloakPrincipal.");
			KeycloakPrincipal<KeycloakSecurityContext> kp = (KeycloakPrincipal<KeycloakSecurityContext>) principal;
			KeycloakSecurityContext kcsc = kp.getKeycloakSecurityContext();
			IDToken idToken = kcsc.getIdToken();

			// this is how to get the real userName (or rather the login name)
			//userName = idToken.getPreferredUsername();
			LOGGER.info("id GivenName: " + idToken.getGivenName());
			LOGGER.info("id Name: " + idToken.getName());  // Stefan Katerkamp
			LOGGER.info("id Id: " + idToken.getId());
			LOGGER.info("id PUN: " + idToken.getPreferredUsername()); // skat
			for (String s : idToken.getOtherClaims().keySet()) {
				LOGGER.info("id claim: " + s + " = " + idToken.getOtherClaims().get(s));
			}
			LOGGER.info("Name: " + principal.getName());
			LOGGER.info("AuthTime: " + idToken.getAuthTime());
			LOGGER.info("Expiration: " + idToken.getExpiration());
			return;
		}
		LOGGER.info("Principal is java security Principal, not KC.");
		LOGGER.info("Name: " + principal.getName());
	}
}


text:
.if defined(__MINIX)
SUBDIR= bootxx_ffsv1 .WAIT bootxx_minixfs3
.else
SUBDIR=	bootxx_ffsv1 .WAIT bootxx_ffsv2 bootxx_lfsv1 bootxx_lfsv2
SUBDIR+=bootxx_msdos bootxx_ustarfs
.endif # defined(__MINIX)

# Ext2fs doesn't have enough free space (it has only 1KB)
# to store this primary bootloader, but we can put it into
# an independent small 'boot' partition as NetBSD/hp300 does.
SUBDIR+=bootxx_ext2fs

LIBOBJ= ${.OBJDIR}
.MAKEOVERRIDES+= LIBOBJ

.include <bsd.subdir.mk>
.include <bsd.obj.mk>

cleandir distclean: .WAIT cleanlibdir

cleanlibdir:
	-rm -rf lib


text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Statistics of PronType in UD_Hungarian-Szeged</title>
    <link rel="root" href=""/>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../../css/jquery-ui-redmond.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/style-vis.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/hint.css"/>

          home

          edit page
          issue tracker

          <gcse:search></gcse:search>

        This page pertains to UD version 2.

            It appears that you have Javascript disabled.
            Please consider enabling Javascript for this page to see the visualizations.

Treebank Statistics: UD_Hungarian-Szeged: Features: PronType

This feature is universal.
It occurs with 9 different values: Art, Dem, Ind, Int, Neg, Prs, Rcp, Rel, Tot.

7656 tokens (18%) have a non-empty value of PronType.
453 types (3%) occur at least once with a non-empty value of PronType.
204 lemmas (2%) occur at least once with a non-empty value of PronType.
The feature is used with 3 part-of-speech tags: <tt>DET</tt> (5275; 13% instances), <tt>PRON</tt> (1378; 3% instances), <tt>ADV</tt> (1003; 2% instances).

DET

5275 <tt>DET</tt> tokens (100% of all DET tokens) have a non-empty value of PronType.

The most frequent other feature values with which DET and PronType co-occurred: <tt>Definite</tt><tt>=Def</tt> (4870; 92%).

DET tokens may have the following values of PronType:

Art (4936; 94% of non-empty PronType): a, az, egy

Dem (115; 2% of non-empty PronType): ez, ezt, azt, ezen, ebben, ilyen, e, arra, az, azokat

Ind (171; 3% of non-empty PronType): több, egyik, néhány, sok, más, másik, többek, kevesebb, mindkét, sokat

Int (4; 0% of non-empty PronType): milyen, Mekkora

Neg (7; 0% of non-empty PronType): semmi, semmiféle

Prs (7; 0% of non-empty PronType): saját

Tot (35; 1% of non-empty PronType): minden, valamennyi, mindkét, bármelyik

Paradigm az	<tt>Art</tt>	<tt>Dem</tt>

<tt><tt>Case</tt><tt>=Acc</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		azt

<tt><tt>Case</tt><tt>=Acc</tt>|<tt>Number</tt><tt>=Plur</tt>|<tt>Person</tt><tt>=3</tt></tt>		azokat

<tt><tt>Case</tt><tt>=Dat</tt>|<tt>Number</tt><tt>=Plur</tt>|<tt>Person</tt><tt>=3</tt></tt>		azoknak

<tt><tt>Case</tt><tt>=Ela</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		abból

<tt><tt>Case</tt><tt>=Gen</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		annak

<tt><tt>Case</tt><tt>=Gen</tt>|<tt>Number</tt><tt>=Plur</tt>|<tt>Person</tt><tt>=3</tt></tt>		azoknak

<tt><tt>Case</tt><tt>=Ill</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		abba

<tt><tt>Case</tt><tt>=Ine</tt>|<tt>Number</tt><tt>=Plur</tt>|<tt>Person</tt><tt>=3</tt></tt>		azokban

<tt><tt>Case</tt><tt>=Ins</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		azzal

<tt><tt>Case</tt><tt>=Ins</tt>|<tt>Number</tt><tt>=Plur</tt>|<tt>Person</tt><tt>=3</tt></tt>		azokkal

<tt><tt>Case</tt><tt>=Nom</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		az

<tt><tt>Case</tt><tt>=Sbl</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		arra

<tt><tt>Definite</tt><tt>=Def</tt></tt>	az, a

PronType seems to be lexical feature of DET. 92% lemmas (34) occur only with one value of PronType.

PRON

1378 <tt>PRON</tt> tokens (100% of all PRON tokens) have a non-empty value of PronType.

The most frequent other feature values with which PRON and PronType co-occurred: <tt>Person</tt><tt>=3</tt> (1320; 96%), <tt>Number</tt><tt>=Sing</tt> (1218; 88%).

PRON tokens may have the following values of PronType:

Dem (583; 42% of non-empty PronType): azt, az, ez, annak, arra, ezt, ennek, arról, ezzel, azzal

Ind (88; 6% of non-empty PronType): egyik, néhány, más, másik, valaki, mások, egyebek, mást, egyéb, ki

Int (23; 2% of non-empty PronType): mi, milyen, mit, Ki, mire, hány, kik, kivel, melyik, mennyit

Neg (9; 1% of non-empty PronType): semmi, senki, semmibe, semmit

Prs (301; 22% of non-empty PronType): ő, én, őket, maga, hozzá, magát, saját, őt, vele, nekem

Rcp (15; 1% of non-empty PronType): egymás, egymást, egymással, egymásba, egymásnak

Rel (314; 23% of non-empty PronType): aki, amely, ami, amelynek, amit, akik, amelyben, akit, amelyek, mely

Tot (45; 3% of non-empty PronType): minden, mindenki, mindenkinek, mindent, senki, valamennyi, mindegyik, semmi, bárki, bármelyik

EMPTY (2): magát, önmagát

Paradigm mi	<tt>Prs</tt>	<tt>Int</tt>	<tt>Rel</tt>	<tt>Tot</tt>

<tt><tt>Case</tt><tt>=Acc</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		mit	mit

<tt><tt>Case</tt><tt>=Ade</tt>|<tt>Number</tt><tt>=Plur</tt>|<tt>Person</tt><tt>=1</tt></tt>	nálunk

<tt><tt>Case</tt><tt>=Dat</tt>|<tt>Number</tt><tt>=Plur</tt>|<tt>Person</tt><tt>=1</tt></tt>	nekünk

<tt><tt>Case</tt><tt>=Ela</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		miből

<tt><tt>Case</tt><tt>=Nom</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		mi		mi

<tt><tt>Case</tt><tt>=Nom</tt>|<tt>Number</tt><tt>=Plur</tt>|<tt>Person</tt><tt>=1</tt></tt>	mi

<tt><tt>Case</tt><tt>=Sbl</tt>|<tt>Number</tt><tt>=Sing</tt>|<tt>Person</tt><tt>=3</tt></tt>		mire

PronType seems to be lexical feature of PRON. 96% lemmas (90) occur only with one value of PronType.

ADV

1003 <tt>ADV</tt> tokens (32% of all ADV tokens) have a non-empty value of PronType.

ADV tokens may have the following values of PronType:

Dem (309; 31% of non-empty PronType): úgy, akkor, így, ezért, ott, ugyanakkor, azért, eddig, itt, azóta

Ind (15; 1% of non-empty PronType): egyrészt, másrészt, olykor, Valamikor, máskor, némileg, valahol, Sokáig

Int (60; 6% of non-empty PronType): -e, hogyan, miért, mikor, miként, vajon, hová, meddig, Hol, mennyire

Neg (441; 44% of non-empty PronType): nem, sem, name, soha, se, sehova, semmiképpen

Rel (140; 14% of non-empty PronType): amikor, ahol, míg, mint, miközben, ahogy, ahogyan, amint, amíg, mire

Tot (38; 4% of non-empty PronType): mindig, soha, mindenképpen, mind, mindenhol, mindenáron, mindenütt, bármikor

EMPTY (2108): már, még, csak, ki, el, is, fel, például, ma, be

Paradigm soha	<tt>Tot</tt>	<tt>Neg</tt>

<tt></tt>	soha	soha

PronType seems to be lexical feature of ADV. 98% lemmas (91) occur only with one value of PronType.

Relations with Agreement in PronType

The 10 most frequent relations where parent and child node agree in PronType:
<tt>PRON –[<tt>nmod:att</tt>]–> PRON</tt> (3; 75%),
<tt>ADV –[<tt>conj</tt>]–> ADV</tt> (2; 67%),
<tt>PRON –[<tt>conj</tt>]–> ADV</tt> (2; 100%),
<tt>DET –[<tt>conj</tt>]–> DET</tt> (1; 100%),
<tt>PRON –[<tt>advmod:tfrom</tt>]–> ADV</tt> (1; 100%),
<tt>PRON –[<tt>conj</tt>]–> DET</tt> (1; 100%).

© 2014–2021
            Universal Dependencies contributors.
            Site powered by Annodoc and brat
.


text:
#include <_gadget/gadget.contextmenu.h>

class _contextMenuEntryDivider : public _contextMenuEntry
{
	private:

		// Event Handlers
		static _callbackReturn refreshHandler( _event );

	public:

		//! Ctor
		_contextMenuEntryDivider( _style&& style = _style() );
};

#endif


text:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Text.RegularExpressions;

namespace Tavis.Auth
{
    public class HttpCredentialCache : IEnumerable<HttpCredentials>
    {
        private readonly Dictionary<string,HttpCredentials> _Credentials = new Dictionary<string,HttpCredentials>(StringComparer.CurrentCultureIgnoreCase);
        private Regex _RealmParser = new Regex("Realm=\"(?<Realm>.*)\"",RegexOptions.IgnoreCase);
        public void Add(HttpCredentials info)
        {
            var key = MakeKey(info.OriginServer, info.Realm, info.AuthScheme);
            _Credentials.Add(key,info);
        }

        private static string MakeKey(Uri originServer, string realm, string authScheme)
        {
            return originServer.AbsoluteUri + "|" + realm + "|" + authScheme;
        }

        public HttpCredentials GetMatchingCredentials(Uri originServer, IEnumerable<AuthenticationHeaderValue> challenges)
        {
            var matchingCredentials = from c in challenges
                                      let key = MakeKey(originServer, ParseRealm(c.Parameter), c.Scheme)
                                      let credentials = _Credentials.ContainsKey(key) ? _Credentials[key] : null
                                      where credentials != null
                                      orderby credentials.Priority
                                      select new { creds = credentials, challenge = c };

            var match = matchingCredentials.FirstOrDefault();
            if (match == null) return null;
            match.creds.LastChallengeParameters = match.challenge.Parameter;
            return match.creds;
        }

        public IEnumerable<HttpCredentials> GetGatewayCredentials(Uri requestUri)
        {
            var matching = from c in _Credentials.Values
                           where !String.IsNullOrEmpty(c.GatewayId)
                                    && requestUri.AbsoluteUri.StartsWith(c.OriginServer.AbsoluteUri)
                           select c;

            return matching;
        }

        private string ParseRealm(string parameters)
        {
            if (parameters == null) return "";
            var match = _RealmParser.Match(parameters);
            return match.Groups["Realm"].Value ?? "";

        }

        public IEnumerator<HttpCredentials> GetEnumerator()
        {
            return _Credentials.Values.GetEnumerator();
        }

        IEnumerator IEnumerable.GetEnumerator()
        {
            return GetEnumerator();
        }
    }
}


text:
<?php
require_once (dirname(__DIR__,3) . "/php/classes/autoload.php");
require_once (dirname(__DIR__,3) . "/vendor/autoload.php");
require_once (dirname(__DIR__,3) . "/php/lib/xsrf.php");
require_once (dirname(__DIR__,3) . "/php/lib/google-places.php");
require_once("/etc/apache2/capstone-mysql/encrypted-config.php");

use Edu\Cnm\Foodquisition\Restaurant;

/*
 * API for Restaurant class
 *
 * @author Alexander DuBois <adubois@alumni.uci.edu>
 */

// verify there is an active session, and start it if not
if(session_status() !== PHP_SESSION_ACTIVE) {
	session_start();
}

// create an empty reply object
$reply = new stdClass();
$reply->status = 200;
$reply->data = null;

/*
 * TODO[Alex]: Google Places API integration
 */

try {
	// grab the mySQL connection
	$pdo = connectToEncryptedMySQL("/etc/apache2/capstone-mysql/foodquisition.ini");

	//$config = readConfig("/etc/apache2/capstone-mysql/foodquisition.ini");

	// $config["google"] now exists
	//$googleKey = ($config['google']);
	//var_dump($config);

	// Check the SERVER superglobal for the type of HTTP method used; use the ternary operator to set based upon whether
	// it already exists or not
	$method = array_key_exists("HTTP_X_HTTP_METHOD", $_SERVER) ? $_SERVER["HTTP_X_HTTP_METHOD"] : $_SERVER["REQUEST_METHOD"];

	// Can't trust end users, so sanitize the inputs
	$id = filter_input(INPUT_GET, "id", FILTER_VALIDATE_INT);
	$restaurantName = filter_input(INPUT_GET, "restaurantName", FILTER_SANITIZE_STRING, FILTER_FLAG_NO_ENCODE_QUOTES);
	$restaurantGoogleId = filter_input(INPUT_GET, "restaurantGoogleId", FILTER_SANITIZE_STRING, FILTER_FLAG_NO_ENCODE_QUOTES);

	// Handler for GET requests (this should be the only type for this class);
	if($method === 'GET') {
		// first set the XSRF cookie
		setXsrfCookie();

		// get a specific restaurant from its ID and update our reply variable
		if(empty($id) === false) {
			$restaurant = Restaurant::getRestaurantByRestaurantId($pdo, $id);
			if($restaurant !== null) {
				//$googleId = $restaurant->getRestaurantGoogleId();
				//$image = googlePlacesSingle($restaurant, $googleId);
				$reply->data = $restaurant;

					/*(object)[
					"restaurant" => $restaurant,
					"image" => $image
				]; */
			}

		// Personal note -- in PHP, elseif and else if (two words) are treated identically in these if/else blocks
		// The two-word form will not work, however, in the alternative syntax for control structures

		// get restaurants by their name; this should return an array of matches
		} else if(empty($restaurantName) === false) {
			$restaurants = Restaurant::getRestaurantByName($pdo, $restaurantName)->toArray();
			if($restaurants !== null) {
				$data = [];
				foreach($restaurants as $restaurant) {
					$image = googlePlacesSingle($restaurant, $restaurant->getRestaurantGoogleId());
					$data[] = (object)[
						"restaurant" => $restaurant,
						"image" => $image
					];
				}
				$reply->data = $data;
			}
		// get a restaurant by its Google ID if it has one
		} else if(empty($restaurantGoogleId) === false) {
			$restaurant  = Restaurant::getRestaurantByGoogleId($pdo, $restaurantGoogleId);
			if($restaurant !== null) {
				$image = googlePlacesSingle($restaurant, $restaurantGoogleId);
				$reply->data = (object)[
					"restaurant" => $restaurant,
					"image" => $image
				];
			}
 		}
	}
	// catch errors and update the reply variable with the HTTP status code and its associated message
} catch(\Exception | \TypeError $exception) {
	$reply->status = $exception->getCode();
	$reply->message = $exception->getMessage();
}
// set the HTTP header type
header("Content-type: application/json");
if($reply->data === null) {
	unset($reply->data);
}

// JSON encode and return the reply to front end caller
echo json_encode($reply);


text:
import numpy as np

import viz

def diffusion_step(Xmid, t, get_mu_sigma, denoise_sigma, mask, XT, rng):
    """
    Run a single reverse diffusion step
    """
    mu, sigma = get_mu_sigma(Xmid, np.array([[t]]))
    if denoise_sigma is not None:
        sigma_new = (sigma**-2 + denoise_sigma**-2)**-0.5
        mu_new = mu * sigma_new**2 * sigma**-2 + XT * sigma_new**2 * denoise_sigma**-2
        sigma = sigma_new
        mu = mu_new
    if mask is not None:
        mu.flat[mask] = XT.flat[mask]
        sigma.flat[mask] = 0.
    Xmid = mu + sigma*rng.normal(size=Xmid.shape)
    return Xmid

def generate_inpaint_mask(n_samples, n_colors, spatial_width):
    """
    The mask will be True where we keep the true image, and False where we're
    inpainting.
    """
    mask = np.zeros((n_samples, n_colors, spatial_width, spatial_width), dtype=bool)
    # simple mask -- just mask out half the image
    mask[:,:,:,spatial_width/2:] = True
    return mask.ravel()

def generate_samples(model, get_mu_sigma,
            n_samples=36, inpaint=False, denoise_sigma=None, X_true=None,
            base_fname_part1="samples", base_fname_part2='',
            num_intermediate_plots=4, seed=12345):
    """
    Run the reverse diffusion process (generative model).
    """
    # use the same noise in the samples every time, so they're easier to
    # compare across learning
    rng = np.random.RandomState(seed)

    spatial_width = model.spatial_width
    n_colors = model.n_colors

    # set the initial state X^T of the reverse trajectory
    XT = rng.normal(size=(n_samples,n_colors,spatial_width,spatial_width))
    if denoise_sigma is not None:
        XT = X_true + XT*denoise_sigma
        base_fname_part1 += '_denoise%g'%denoise_sigma
    if inpaint:
        mask = generate_inpaint_mask(n_samples, n_colors, spatial_width)
        XT.flat[mask] = X_true.flat[mask]
        base_fname_part1 += '_inpaint'
    else:
        mask = None

    if X_true is not None:
        viz.plot_images(X_true, base_fname_part1 + '_true' + base_fname_part2)
    viz.plot_images(XT, base_fname_part1 + '_t%04d'%model.trajectory_length + base_fname_part2)

    Xmid = XT.copy()
    for t in xrange(model.trajectory_length-1, 0, -1):
        Xmid = diffusion_step(Xmid, t, get_mu_sigma, denoise_sigma, mask, XT, rng)
        if np.mod(model.trajectory_length-t,
            int(np.ceil(model.trajectory_length/(num_intermediate_plots+2.)))) == 0:
            viz.plot_images(Xmid, base_fname_part1 + '_t%04d'%t + base_fname_part2)

    X0 = Xmid
    viz.plot_images(X0, base_fname_part1 + '_t%04d'%0 + base_fname_part2)


text:
namespace NLE
{
	namespace DATA
	{
		class ISharedEntity;
		class SharedData;
		class IDataManager_EService
		{
		public:
			virtual SharedData& getData() = 0;
		};

		class IDataManager_Data
		{
		public:
			virtual void requestSync(ISharedEntity* entity) = 0;
		};

		class IDataManager : public IDataManager_EService, public IDataManager_Data
		{
		public:
			virtual void syncData(unsigned int numThreads) = 0;
		};

		typedef std::shared_ptr<IDataManager> IDataManagerSP;
		typedef std::shared_ptr<IDataManager_EService> IDataManager_EServiceSP;
	}
}


text:
namespace StiGame
{

namespace Gui
{

namespace Effects
{

EffectEventArgs::EffectEventArgs()
{
    effect = nullptr;
    type = EET_None;
}

EffectEventArgs::EffectEventArgs(ItemEffect *m_effect, EffectEventType m_type)
{
    effect = m_effect;
    type = m_type;
}

EffectEventArgs::~EffectEventArgs()
{

}

Item* EffectEventArgs::getItem(void)
{
    return effect->getItem();
}

ItemEffect* EffectEventArgs::getEffect(void)
{
    return effect;
}

EffectEventType EffectEventArgs::getType(void)
{
    return type;
}

}

}

}