code
stringlengths 3
1.01M
| repo_name
stringlengths 5
116
| path
stringlengths 3
311
| language
stringclasses 30
values | license
stringclasses 15
values | size
int64 3
1.01M
|
|---|---|---|---|---|---|
/*
Hero Landing Page template styles.
*/
/****** Override Bootparts styles ******/
.hero-subscription-form .right-bottom .form-container {
border-radius: 0px;
padding-bottom: 20px;
}
.image-with-text, .text-with-image {
background: #fff;
padding-top: 50px;
padding-bottom: 50px;
}
.three-column-content {
padding-top: 60px;
padding-bottom: 60px;
}
|
yelluw/Bootparts
|
templates/hero-landing-page/css/main.css
|
CSS
|
mit
| 390
|
# About shadowsocks of Docker
#
# Version:1.0.1
FROM ubuntu:14.04
MAINTAINER Dubu Qingfeng <1135326346@qq.com>
ENV REFRESHED_AT 2015-06-05
RUN apt-get -qq update && \
apt-get install -q -y wget build-essential python-pip python-m2crypto && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install shadowsocks
ENV SS_SERVER_ADDR 0.0.0.0
ENV SS_SERVER_PORT 8388
ENV SS_PASSWORD password
ENV SS_METHOD aes-256-cfb
ENV SS_TIMEOUT 300
#add chacha20
RUN wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz && \
tar zxf LATEST.tar.gz && \
cd libsodium* && \
./configure && make -j2 && make install && \
ldconfig
ADD shadowsocks.json /etc/
ADD start.sh /usr/local/bin/start.sh
RUN chmod 755 /usr/local/bin/start.sh
EXPOSE $SS_SERVER_PORT
CMD ["sh", "-c", "start.sh"]
#ENTRYPOINT ["/usr/local/bin/ssserver"]
|
izuolan/dockerfiles
|
shadowsocks-ubuntu/single-user/Dockerfile
|
Dockerfile
|
mit
| 861
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Login extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->model('m_login');
}
public function index()
{
$this->load->view('pembangun/logindanpendaftaran/v_startcreatebody');
$this->load->view('pembangun/logindanpendaftaran/v_header');
$this->load->view('login/isi');
$this->load->view('pembangun/logindanpendaftaran/v_endcreatebody');
}
public function aksi_login(){
$username = $this->input->post('username');
$password = $this->input->post('password');
$table="login";
$where = array(
'userName' => $username,
'password' => md5($password)
);
$cek = $this->m_login->cek_login($where,$table)->num_rows();
if($cek > 0){
$data= $this->m_login->cek_login($where,$table)->row();
$level=$data->level;
//mendapatkan Identitas Anggota Untuk Di Letakan Di Session
$table="anggota";
$where = array(
'noAnggota' => $username
);
$data= $this->m_login->cek_login($where,$table)->row();
$nama=$data->namaAnggota;
if($level=="admin"){
$data_session = array(
'username' => $username,
'nama' => $nama,
'level' => $level,
'status' => "login",
'page' => "home"
);
}else{
$data_session = array(
'username' => $username,
'nama' => $nama,
'level' => $level,
'status' => "login",
'page' => "home",
);
}
$this->session->set_userdata($data_session);
if($this->session->userdata('level') == "admin"){
redirect(base_url("admin"));
}
else
{
redirect(base_url("anggota"));
}
}else{
echo '<script>alert("Maaf Username Atau Password Salah");</script>';
redirect(base_url("login"), 'refresh');
}
}
public function logout(){
$this->session->sess_destroy();
redirect(base_url('login'));
}
}
|
ealihanip/koperasiprajamuktiweb
|
application/controllers/Login.php
|
PHP
|
mit
| 1,997
|
package com.minxing365.connector.model;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import javax.servlet.ServletInputStream;
import javax.servlet.http.HttpServletRequest;
import org.apache.log4j.Logger;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import com.minxing365.connector.http.MxApi;
import com.minxing365.connector.json.JSONObject;
import com.minxing365.connector.utils.HMACSHA1;
import com.minxing365.connector.utils.StringUtil;
public class OfficialAccount {
static Logger log = Logger.getLogger(OfficialAccount.class.getName());
public MxApi mxApi = new MxApi();
private final static int TEXT = 0;
private final static int ARTICLE = 1;
public boolean sendMessageToUsers(Message message, List<String> receivers) {
String users = usersListToString(receivers);
return sendMessageToUsersStr(message, users);
}
public boolean sendMessageToUsersStr(Message message, String users) {
boolean result = false;
if(message.getClass().equals(TextMessage.class)){
result = post(message, TEXT, false, users);
} else if(message.getClass().equals(ArticleMessage.class)){
sendResourceForId((ArticleMessage)message);
result = post(message, ARTICLE, false, users);
}
return result;
}
public boolean sendMessageToPublic(Message message) {
boolean result = false;
if(message.getClass().equals(TextMessage.class)){
result = post(message, TEXT, true, null);
} else if(message.getClass().equals(ArticleMessage.class)) {
sendResourceForId((ArticleMessage)message);
result = post(message, ARTICLE, true, null);
}
return result;
}
private void sendResourceForId(ArticleMessage message){
List<Article> articles = message.getArticles();
for(Article art : articles){
if("resource".equals(art.getType())){
Resource re = art.getResource();
JSONObject resource;
try {
resource = mxApi.post("/conversations/ocu_resources", new PostParameter[]{new PostParameter("title", re.getTitle()),
new PostParameter("sub_title", re.getSubTitle()), new PostParameter("author", re.getAuthor()),
new PostParameter("create_time", re.getCreateTime()), new PostParameter("pic_url", re.getPicUrl()),
new PostParameter("content", re.getContent())});
art.setResourceId("" + ((Integer) resource.get("resource_id")));
} catch (Exception e) {
e.printStackTrace();
continue;
}
}
}
}
public boolean sendXmlMessageToUsers(String xml, String users){
return sendMessageToUsersStr(transform(xml), users);
}
public boolean sendXmlMessageToPublic(String xml){
return sendMessageToPublic(transform(xml));
}
public String checkSignature(HttpServletRequest request){
String token = null;
String timestamp = null;
String nonce = null;
String openId = null;
if(request != null && request.getMethod().equals("GET")){
try {
token = StringUtil.pathDecode(request.getParameter("token"));
timestamp = request.getParameter("timestamp");
nonce = request.getParameter("nonce");
openId = StringUtil.pathDecode(request.getParameter("open_id"));
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
return null;
}
} else if (request != null && request.getMethod().equals("POST")){
token = request.getHeader("token");
timestamp = request.getHeader("timestamp");
nonce = request.getHeader("nonce");
openId = request.getHeader("open_id");
}
if(token == null || timestamp == null || nonce == null || openId == null){
return null;
}
try {
String sign = HMACSHA1.getSignature(timestamp + nonce, mxApi.getClientSercret());
String t = mxApi.getClientId() + ":" + sign;
if(t.equals(token)){
return openId;
}
return null;
} catch (MxException e) {
e.printStackTrace();
return null;
}
}
public HashMap<String, String> checkSignature2(HttpServletRequest request){
String token = null;
String timestamp = null;
String nonce = null;
String openId = null;
String body = null;
HashMap<String, String> values = new HashMap<String, String>();
if(request != null && request.getMethod().equals("GET")){
try {
token = StringUtil.pathDecode(request.getParameter("token"));
timestamp = request.getParameter("timestamp");
nonce = request.getParameter("nonce");
openId = StringUtil.pathDecode(request.getParameter("open_id"));
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
return null;
}
} else if (request != null && request.getMethod().equals("POST")){
token = request.getHeader("token");
timestamp = request.getHeader("timestamp");
nonce = request.getHeader("nonce");
openId = request.getHeader("open_id");
BufferedReader reader = null;
try {
StringBuilder sb = new StringBuilder();
reader = request.getReader();
String content = null;
while((content = reader.readLine()) != null){
sb.append(content);
}
body = sb.toString();
System.out.println(body);
} catch (IOException e) {
e.printStackTrace();
return null;
}
}
if(token == null || timestamp == null || nonce == null || openId == null){
return null;
}
try {
String sign = HMACSHA1.getSignature(timestamp + nonce, mxApi.getClientSercret());
String t = mxApi.getClientId() + ":" + sign;
if(t.equals(token)){
values.put("openId", openId);
if(body != null){
values.put("body", body);
}
return values;
}
return null;
} catch (MxException e) {
e.printStackTrace();
return null;
}
}
public User getUserInfo(String openId){
try {
JSONObject json = mxApi.get("/oauth/user_info/" + openId);
Iterator iter = json.keys();
User user = new User();
while(iter.hasNext()){
String key = (String)iter.next();
Object obj = json.get(key);
String value = "";
if(obj != null && !obj.equals(JSONObject.NULL)){
value = (String)obj;
}
key = key.substring(0,1).toUpperCase() + key.substring(1); //first letter to uppercase
Method[] methods = User.class.getMethods();
for(Method m : methods){
if(m.getName().equals("set" + key)){
m.invoke(user, value);
}
}
}
return user;
} catch (MxException e) {
e.printStackTrace();
return null;
} catch (Exception e) {
e.printStackTrace();
return null;
}
}
public int uploadResource(String resourceXml){
Document document;
try {
document = DocumentHelper.parseText(resourceXml);
Element root = document.getRootElement();
String heading = root.elementText("heading");
String subHeading = root.elementText("subheading");
String author = root.elementText("author");
String dateTime = root.elementText("datetime");
Element contentEle = root.element("content");
Element image = contentEle.element("image");
String imageUrl = "";
if(image != null){
imageUrl = image.attributeValue("src");
}
List<Element> paragraphs = contentEle.elements("p");
String content = "";
for(Element p:paragraphs){
content += "<p>" + p.getTextTrim() + "</p>";
}
JSONObject resource = mxApi.post("/conversations/ocu_resources", new PostParameter[]{new PostParameter("title", heading),
new PostParameter("sub_title", subHeading), new PostParameter("author", author),
new PostParameter("create_time", dateTime), new PostParameter("pic_url", imageUrl),
new PostParameter("content", content)});
return (Integer) resource.get("resource_id");
} catch (Exception e) {
e.printStackTrace();
return 0;
}
}
private boolean post(Message message, int type, boolean isPublic, String receivers){
List<PostParameter> params = new ArrayList<PostParameter>();
if(type == ARTICLE){
ArticleMessage am = (ArticleMessage)message;
System.out.println(am.getArticleBody());
params.add(new PostParameter("body", am.getArticleBody()));
} else {
TextMessage tm = (TextMessage)message;
params.add(new PostParameter("body", tm.getBody()));
}
if(!isPublic){
if(receivers==null || receivers.trim().equals("")){
log.error("Receiver list is null!");
return false;
}
params.add(new PostParameter("direct_to_user_ids", receivers));
}
params.add(new PostParameter("content_type", type));
try {
mxApi.post("/conversations/ocu_messages", params.toArray(new PostParameter[params.size()]));
return true;
} catch (MxException e) {
e.printStackTrace();
return false;
}
}
private Message transform(String xml){
try {
Message message = null;
Document document = DocumentHelper.parseText(xml.trim());
Element root = document.getRootElement();
String type = root.attributeValue("type");
if(type != null) {
type = type.trim();
}
if("text".equals(type)){
message = new TextMessage(root.getText());
} else if ("richtext".equals(type)){
Element header = root.element("header");
Element title = header.element("title");
Element image = root.element("image");
String url = "";
String appUrl = "";
String headerImageUrl = "";
if(image != null){
Element action = image.element("action");
if(action.attributeValue("type").equals("url")){
url = action.attributeValue("url");
url = getParams(action, url);
}else if(action.attributeValue("type").equals("app")){
appUrl = action.attributeValue("url");
appUrl = getParams(action, appUrl);
}
headerImageUrl = image.attributeValue("src");
}
ArticleMessage am = new ArticleMessage();
am.addArticle(new Article(title.getText(), "", headerImageUrl, url, appUrl));
List<Element> items = root.elements("item");
for(Element e: items){
String text = e.attributeValue("text");
String imageUrl = null;
Element icon = e.element("icon");
if(icon != null){
imageUrl = icon.attributeValue("src");
}
Element itemAction = e.element("action");
String actionType = itemAction.attributeValue("type");
String actionUrl = itemAction.attributeValue("src");
String actionAppUrl = "";
String resourceId = "";
if("url".equals(actionType)){
actionUrl = getParams(itemAction, actionUrl);
} else if("app".equals(actionType)){
actionAppUrl = getAppParams(itemAction);
} else if("resource".equals(actionType)){
resourceId = itemAction.attributeValue("resId");
}
if(resourceId.trim().equals("")){
am.addArticle(new Article(text, "", imageUrl, actionUrl, actionAppUrl));
} else {
am.addArticle(new Article(resourceId, "", ""));
}
}
message = am;
}
return message;
} catch (DocumentException e) {
e.printStackTrace();
return null;
}
}
private String usersListToString(List<String> receivers){
StringBuilder temp = new StringBuilder();
for(int i=0, s = receivers.size(); i< s; i++){
if(i != 0){
temp.append(",");
}
temp.append(receivers.get(i));
}
return temp.toString();
}
private String getParams(Element action, String url) {
Element paramEle = action.element("params");
if(paramEle != null){
List<Element> params = paramEle.elements("param");
Element e = null;
for(int i=0, j=params.size(); i<j; i++){
e = params.get(i);
if(i == 0){
url += "?";
} else {
url += "&";
}
url += e.attributeValue("name") + "=" + e.getTextTrim();
}
}
return url;
}
private String getAppParams(Element action){
Element paramEle = action.element("params");
String appUrl = "";
if(paramEle != null){
List<Element> params = paramEle.elements("param");
Element e = null;
for(int i=0, j=params.size(); i<j; i++){
e = params.get(i);
if(i != 0){
appUrl += ",";
}
appUrl += e.attributeValue("name") + "=" + e.getTextTrim();
}
}
return appUrl;
}
}
|
wangpeile/mx-connector-1.5
|
src/com/minxing365/connector/model/OfficialAccount.java
|
Java
|
mit
| 12,511
|
namespace Hello {
partial class ExamplePicker {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) {
if (disposing && (components != null)) {
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.AutoSize = true;
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0);
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(494, 83);
this.tableLayoutPanel1.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(81, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Example Name:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(90, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(43, 13);
this.label2.TabIndex = 1;
this.label2.Text = "Launch";
//
// ExamplePicker
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(726, 402);
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "ExamplePicker";
this.Text = "ExamplePicker";
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
}
}
|
ericrrichards/rts
|
Hello/ExamplePicker.Designer.cs
|
C#
|
mit
| 3,620
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Identity.Client.Http;
using Microsoft.Identity.Client.PlatformsCommon.Interfaces;
namespace Microsoft.Identity.Client.PlatformsCommon.Shared
{
/// <summary>
/// Used for platforms that do not implement PKeyAuth.
/// </summary>
internal class NullDeviceAuthManager : IDeviceAuthManager
{
public bool TryCreateDeviceAuthChallengeResponseAsync(HttpResponseHeaders headers, Uri endpointUri, out string responseHeader)
{
if (!DeviceAuthHelper.IsDeviceAuthChallenge(headers))
{
responseHeader = string.Empty;
return false;
}
//Bypassing challenge
responseHeader = DeviceAuthHelper.GetBypassChallengeResponse(headers);
return true;
}
}
}
|
AzureAD/microsoft-authentication-library-for-dotnet
|
src/client/Microsoft.Identity.Client/PlatformsCommon/Shared/NullDeviceAuthManager.cs
|
C#
|
mit
| 1,076
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.;
using System;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
using Microsoft.Identity.Client.Cache.CacheImpl;
namespace WebApi.Misc
{
internal interface ICacheSerializationProvider
{
// Important - do not use SetBefore / SetAfter methods, as these are reserved for app developers
// Instead, use AfterAccess = x, BeforeAccess = y
// See UapTokenCacheBlobStorage for an example
void Initialize(ITokenCache tokenCache);
}
/// <summary>
/// A token cache base that is useful for ConfidentialClient scenarios, as it partitions the cache using the SuggestedWebKey
/// </summary>
internal abstract class AbstractPartitionedCacheSerializer : ICacheSerializationProvider
{
/// <summary>
/// Important - do not use SetBefore / SetAfter methods, as these are reserved for app developers
/// Instead, use AfterAccess = x, BeforeAccess = y
/// </summary>
public void Initialize(ITokenCache tokenCache)
{
if (tokenCache == null)
{
throw new ArgumentNullException(nameof(tokenCache));
}
tokenCache.SetBeforeAccess(OnBeforeAccess);
tokenCache.SetAfterAccess(OnAfterAccess);
}
/// <summary>
/// Raised AFTER MSAL added the new token in its in-memory copy of the cache.
/// This notification is called every time MSAL accesses the cache, not just when a write takes place:
/// If MSAL's current operation resulted in a cache change, the property TokenCacheNotificationArgs.HasStateChanged will be set to true.
/// If that is the case, we call the TokenCache.SerializeMsalV3() to get a binary blob representing the latest cache content – and persist it.
/// </summary>
/// <param name="args">Contains parameters used by the MSAL call accessing the cache.</param>
private void OnAfterAccess(TokenCacheNotificationArgs args)
{
// The access operation resulted in a cache update.
if (args.HasStateChanged)
{
if (args.HasTokens)
{
WriteCacheBytes(args.SuggestedCacheKey, args.TokenCache.SerializeMsalV3());
}
else
{
// No token in the cache. we can remove the cache entry
RemoveKey(args.SuggestedCacheKey);
}
}
}
private void OnBeforeAccess(TokenCacheNotificationArgs args)
{
if (!string.IsNullOrEmpty(args.SuggestedCacheKey))
{
byte[] tokenCacheBytes = ReadCacheBytes(args.SuggestedCacheKey);
args.TokenCache.DeserializeMsalV3(tokenCacheBytes, shouldClearExistingCache: true);
}
}
/// <summary>
/// Clear the cache.
/// </summary>
/// <param name="homeAccountId">HomeAccountId for a user account in the cache.</param>
/// <returns>A <see cref="Task"/> that represents a completed clear operation.</returns>
public void ClearAsync(string homeAccountId)
{
// This is a user token cache
RemoveKey(homeAccountId);
}
/// <summary>
/// Method to be implemented by concrete cache serializers to write the cache bytes.
/// </summary>
/// <param name="cacheKey">Cache key.</param>
/// <param name="bytes">Bytes to write.</param>
/// <returns>A <see cref="Task"/> that represents a completed write operation.</returns>
protected abstract void WriteCacheBytes(string cacheKey, byte[] bytes);
/// <summary>
/// Method to be implemented by concrete cache serializers to Read the cache bytes.
/// </summary>
/// <param name="cacheKey">Cache key.</param>
/// <returns>Read bytes.</returns>
protected abstract byte[] ReadCacheBytes(string cacheKey);
/// <summary>
/// Method to be implemented by concrete cache serializers to remove an entry from the cache.
/// </summary>
/// <param name="cacheKey">Cache key.</param>
/// <returns>A <see cref="Task"/> that represents a completed remove key operation.</returns>
protected abstract void RemoveKey(string cacheKey);
}
}
|
AzureAD/microsoft-authentication-library-for-dotnet
|
tests/devapps/WebApi/Misc/AbstractPartitionedCacheSerializer.cs
|
C#
|
mit
| 4,487
|
# Please require your code below, respecting the naming conventions in the
# bioruby directory tree.
#
# For example, say you have a plugin named bio-plugin, the only uncommented
# line in this file would be
#
# require 'bio/bio-plugin/plugin'
#
# In this file only require other files. Avoid other source code.
require 'bio-rectos/rectos.rb'
|
wwood/bioruby-rectos
|
lib/bio-rectos.rb
|
Ruby
|
mit
| 348
|
/** @jsx jsx */
import { Editor } from 'slate'
import { jsx } from '../../..'
export const run = editor => {
Editor.delete(editor, { reverse: true })
}
export const input = (
<editor>
<block>Hello</block>
<block>
<block>
<cursor />
world!
</block>
</block>
</editor>
)
export const output = (
<editor>
<block>
Hello
<cursor />
world!
</block>
</editor>
)
|
isubastiCadmus/slate
|
packages/slate/test/transforms/delete/point/depths-reverse.js
|
JavaScript
|
mit
| 435
|
package fr.pizzeria.admin.web.rest;
import java.sql.SQLException;
import java.util.List;
import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.ResponseBuilder;
import fr.pizzeria.admin.metier.PizzaService;
import fr.pizzeria.exception.DaoException;
import fr.pizzeria.model.Pizza;
@Path("/pizzas")
public class PizzaResource {
@Inject private PizzaService pizzaService;
@GET
@Produces(MediaType.APPLICATION_JSON)
public List<Pizza> lister() throws DaoException, SQLException{
return pizzaService.findAllPizzas();
}
@POST
@Consumes(MediaType.APPLICATION_JSON)
public void creer(Pizza newPizza) throws DaoException, SQLException{
pizzaService.savePizza(newPizza);
}
@PUT
@Consumes(MediaType.APPLICATION_JSON)
public void update(Pizza updatePizza) throws DaoException, SQLException{
pizzaService.updatePizza(updatePizza.getCode(), updatePizza);
}
@DELETE
@Consumes(MediaType.APPLICATION_JSON)
@Path("/code")
public void delete(@PathParam("code") String codePizza) throws DaoException, SQLException{
pizzaService.deletePizza(codePizza);
}
}
|
amonmart/formation_DTA
|
Maven Pizzeria/pizzeria-admin-app/src/main/java/fr/pizzeria/admin/web/rest/PizzaResource.java
|
Java
|
mit
| 1,365
|
# jquery.nonSuckyYouTubeEmbed
Embedding videos using YouTube's iFrame embed code sucks. Just how much does it suck you might ask? Well, each YouTube video you embed forces the user to download roughly 400K of data before they even click play.
Use *jquery.nonSuckyYouTubeEmbed.js* for a huge performance boost whenever your site calls for embedded YouTube videos. This plugin takes the YouTube video ID as the ID attribute of the element it is called on and fetches the thumbnail image and displays that first (with a play button laid over). Only when the thumbnail is clicked does it fetch the heavy iFrame. Optimized for responsive design environments!
## Demo
Check out *jquery.nonSuckyYouTubeEmbed* live and in action [here](http://mpchadwick.github.io/jquery.nonSuckyYouTubeEmbed/index.html)...
## Usage
Create an element (or elements) with the ID attribute set to the video's YouTube ID. For example if the video's URL is youtube.com/watch?v=HoQN7K6HdRw then the ID is HoQN7K6HdRw.
```
<div id="CqZgd6-xQl8" class="nonSuckyYouTubeEmbed"></div>
```
Then call the plugin on that (or those) element(s).
```
$('.nonSuckyYouTubeEmbed').nonSuckyYouTubeEmbed();
```
## HTML Attributes
The following attributes can (and should) be set on each element that *jquery.nonSuckyYouTubeEmbed()* is called on. These attributes are set on the element rather than as options when calling the plugin so the plugin can easily be called on a group of elements where these attributes are different.
**data-width:** The width of the iFrame player. While *jquery.nonSuckyYouTubeEmbed* will make the iFrame responsive / fluid, this value, combined with data-height is used to calculate the iFrame's aspect ratio. This parameter is optional but recommended to avoid black bars on the sides of the video.
**data-height:** The height of the iFrame player. While *jquery.nonSuckyYouTubeEmbed* will make the iFrame responsive / fluid, this value, combined with data-width is used to calculate the iFrame's aspect ratio. This parameter is optional but recommended to avoid black bars on the sides of the video.
**data-alt:** The alt text for the thumbnail image. Optional, but recommended.
## Options
The following options are available when calling *jquery.nonSuckyYouTubeEmbed*...
**defaultWidth:** This will be used for the iFrame's width if the `data-width` attribute is not supplied.
**defaultHeight:** This will be used for the iFrame's height if the `data-height` attribute is not supplied.
**playBtnSrc:** Source of play button that is laid over thumbnail. Default uses data URI
**playBtnStyle:** If you are changing the play button source you will need to change the style as well to ensure that it is centered over the thumbnail. Here's a code snippet on [how to do that](http://css-tricks.com/snippets/css/exactly-center-an-imagediv-horizontally-and-vertically/). Parameter takes a string of CSS that will be used for the inline style attribute on the play button element.
**thumbStyle:** A string of CSS that will be used for the inline style attribute on the thumbnail image. Uses `width: 100%; height: auto; display: inline; cursor: pointer` by default to make images responsive. If you are changing this keep in mind that `display: inline;` is important for to keep the play button laid on top of the thumbnail.
## Browser Compatibility
Tested in the following browsers...
**On Mac OS X 10.9**
- Chrome 31.0.1650.57
- Firefox 25.0.1
- Safari 7.0
- Opera 12.16
**Via BrowserStack**
- IE 7+ (With IE 7 you need to change play button source to non-dataURI)
- iOS 4+
- Android 4.0 (Motorola Razr)
- Android 2.2 (LG Optimus 2.2)
## Gotchas
- The videos are fetched with `autoplay=1` in the URL, but autoplay generally does not work on mobile, so users will have to click play one more time :/. See [this Stack Overflow thread](http://stackoverflow.com/questions/8141652/youtube-embedded-video-autoplay-feature-not-working-in-iphone)
|
mpchadwick/jquery.nonSuckyYouTubeEmbed
|
README.md
|
Markdown
|
mit
| 3,948
|
<?php
class Chofer_controller extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Chofer_model');
}
//carga la vista solo si existen las variables de sesion
function vista_agregar_chofer()
{
if($this->session->userdata('correo') && ($this->session->userdata('rol_id') == 1)) {
$info['titulo'] = "Add Driver";
$this->load->view('tema/header',$info);
$this->load->view('chofer/insertar_chofer');
$this->load->view('tema/footer');
}else{
$this->session->set_flashdata('error','Login to access.');
redirect('Login_controller/index','refresh');
}
}
//Procesa los datos del formulario de insertar chofer
function agregar_chofer()
{
$data['nombre'] = $this->security->xss_clean(strip_tags($this->input->post('nombre')));
$data['dpi'] = $this->security->xss_clean(strip_tags($this->input->post('dpi')));
$data['direccion'] = $this->security->xss_clean(strip_tags($this->input->post('direccion')));
$data['telefono'] = $this->security->xss_clean(strip_tags($this->input->post('telefono')));
$data['no_licencia'] = $this->security->xss_clean(strip_tags($this->input->post('no_licencia')));
$data['fecha_vencimiento'] = $this->security->xss_clean(strip_tags($this->input->post('fecha_vencimiento')));
if (($data['nombre'] !='') && ($data['dpi'] !='') && ($data['direccion'] !='') && ($data['telefono'] !='') && ($data['no_licencia'] !='') && ($data['fecha_vencimiento'] !='')) {
$query = $this->Chofer_model->procesa_agegar_chofer($data);
if (isset($query)) {
if ($query == FALSE) {
$this->session->set_flashdata('error',' Existing driver Please check');
redirect('Chofer_controller/vista_agregar_chofer', 'refresh');
}else{
$this->session->set_flashdata('correcto',' Driver added successfully.');
redirect('Chofer_controller/vista_agregar_chofer', 'refresh');
}
}
}else{
$this->session->set_flashdata('correcto',' Empty input .');
redirect('Chofer_controller/vista_agregar_chofer', 'refresh');
}
}
//Carga la lista de choferes existentes.
function listar_chofer()
{
if($this->session->userdata('correo') && ($this->session->userdata('rol_id') == 1)) {
$limit = 10;
$offset = ($this->uri->segment(3) != '' ? $this->uri->segment(3):0);
/* URL a la que se desea agregar la paginación*/
$config['base_url'] = base_url().'Chofer_controller/listar_chofer/';
/*Obtiene el total de registros a paginar */
$config['total_rows'] = $this->Chofer_model->obtener_cant_registros_chofer();
/*Obtiene el numero de registros a mostrar por pagina */
$config['per_page'] = $limit;
$config['num_links'] = 20;
/*Indica que segmento de la URL tiene la paginación, por default es 3*/
$config['uri_segment'] = '3';
/*Se personaliza la paginación para que se adapte a bootstrap*/
$config['cur_tag_open'] = '<li class="active"><a href="#">';
$config['cur_tag_close'] = '</a></li>';
$config['num_tag_open'] = '<li>';
$config['num_tag_close'] = '</li>';
$config['first_link'] = '<button class="btn btn-white btn-sm" type="button">First</button>';//primer link
$config['last_link'] = '<button class="btn btn-white btn-sm" type="button">Last</button>';//último link
$config['next_link'] = 'Next';
$config['next_tag_open'] = '<li>';
$config['next_tag_close'] = '</li>';
$config['prev_link'] = 'Back';
$config['prev_tag_open'] = '<li>';
$config['prev_tag_close'] = '</li>';
/* Se inicializa la paginacion*/
$this->pagination->initialize($config);
$query = $this->Chofer_model->listar_chofer($limit,$offset);
$info['titulo'] = "Show Driver";
if(isset($query)){
if ($query == FALSE) {
$data['vacio'] = 'No data to print';
$this->load->view('tema/header',$info);
$this->load->view('chofer/listar_chofer');
$this->load->view('tema/footer');
}else{
$data['query'] = $query;
$this->load->view('tema/header',$info);
$this->load->view('chofer/listar_chofer',$data);
$this->load->view('tema/footer');
}
}
}else{
$this->session->set_flashdata('error','Login to access.');
redirect('Login_controller/index','refresh');
}
}
//Carga carga el formulario con los datos del registro a actualizar.
function vista_modificar_chofer()
{
if($this->session->userdata('correo') && ($this->session->userdata('rol_id') == 1)) {
$info['titulo'] = "Update Driver";
$id = $this->uri->segment(3);
$query = $this->Chofer_model->editar_chofer($id);
if (isset($query)) {
if ($query != FALSE) {
$data['query'] = $query;
$data['id'] = $id;
$this->load->view('tema/header',$info);
$this->load->view('chofer/modificar_chofer',$data);
$this->load->view('tema/footer');
}
}
}else{
$this->session->set_flashdata('error','Login to access.');
redirect('Login_controller/index','refresh');
}
}
function ingresar_modificacion_chofer()
{
$id = $this->uri->segment('3');
$data['nombre'] = $this->security->xss_clean(strip_tags($this->input->post('nombre')));
$data['dpi'] = $this->security->xss_clean(strip_tags($this->input->post('dpi')));
$data['direccion'] = $this->security->xss_clean(strip_tags($this->input->post('direccion')));
$data['telefono'] = $this->security->xss_clean(strip_tags($this->input->post('telefono')));
$data['no_licencia'] = $this->security->xss_clean(strip_tags($this->input->post('no_licencia')));
$data['fecha_vencimiento'] = $this->security->xss_clean(strip_tags($this->input->post('fecha_vencimiento')));
if(($data['nombre'] !='') && ($data['dpi'] !='') && ($data['direccion'] !='') && ($data['telefono'] !='') && ($data['no_licencia'] !='') && ($data['fecha_vencimiento'] !='')){
$query = $this->Chofer_model->modificar_chofer($id, $data);
if (isset($query) && $query == TRUE)
{
$this->session->set_flashdata('correcto','The driver is successfully updated');
redirect('Chofer_Controller/vista_modificar_chofer/'.$id,'refresh');
}
else
{
$this->session->set_flashdata('error','Failed to update , revice information');
redirect('Chofer_Controller/vista_modificar_chofer/'.$id,'refresh');
}
}else{
$this->session->set_flashdata('correcto',' Empty input .');
redirect('Chofer_Controller/vista_modificar_chofer'.$id, 'refresh');
}
}
function eliminar_chofer()
{
$id = $this->uri->segment('3');
if (isset($id) && $id != '') {
$query = $this->Chofer_model->eliminar_chofer($id);
if (isset($query) && $query == TRUE) {
$this->session->set_flashdata('correcto','Registry is successfully deleted ');
redirect('Chofer_Controller/listar_chofer/','refresh');
}else{
$this->session->set_flashdata('error','Registry is not eliminated');
redirect('Chofer_Controller/listar_chofer/','refresh');
}
}else{
$this->session->set_flashdata('error',' ');
redirect('Chofer_Controller/listar_chofer/','refresh');
}
}
}
|
cindygp/froyo_pedidos
|
application/controllers/Chofer_controller.php
|
PHP
|
mit
| 8,564
|
@pushd "%~dp0"
@set location=%~dp0
@set EXIT_CODE=0
@call log a a a
@setx script_a a
@goto :SUCCESS
:ERROR
@set EXIT_CODE=1
@call log %~n0: exited with error %1
:SUCCESS
@popd
echo %DATE% %TIME% %~n0
@exit /b %EXIT_CODE%
|
mvw684/Experiments
|
BatchFile/a.cmd
|
Batchfile
|
mit
| 224
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
using Windows.Storage;
using Windows.Media.SpeechRecognition;
using Windows.ApplicationModel.VoiceCommands;
using Windows.UI.Popups;
using Windows.ApplicationModel.Background;
namespace FC_TUD_Mensa
{
/// <summary>
/// Stellt das anwendungsspezifische Verhalten bereit, um die Standardanwendungsklasse zu ergänzen.
/// </summary>
sealed partial class App : Application
{
/// <summary>
/// Initialisiert das Singletonanwendungsobjekt. Dies ist die erste Zeile von erstelltem Code
/// und daher das logische Äquivalent von main() bzw. WinMain().
/// </summary>
public App()
{
this.InitializeComponent();
this.Suspending += OnSuspending;
}
/// <summary>
/// Wird aufgerufen, wenn die Anwendung durch den Endbenutzer normal gestartet wird. Weitere Einstiegspunkte
/// werden z. B. verwendet, wenn die Anwendung gestartet wird, um eine bestimmte Datei zu öffnen.
/// </summary>
/// <param name="e">Details über Startanforderung und -prozess.</param>
protected /*async*/ override void OnLaunched(LaunchActivatedEventArgs e)
{
Frame rootFrame = Window.Current.Content as Frame;
// App-Initialisierung nicht wiederholen, wenn das Fenster bereits Inhalte enthält.
// Nur sicherstellen, dass das Fenster aktiv ist.
if (rootFrame == null)
{
// Frame erstellen, der als Navigationskontext fungiert und zum Parameter der ersten Seite navigieren
rootFrame = new Frame();
rootFrame.NavigationFailed += OnNavigationFailed;
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
//TODO: Zustand von zuvor angehaltener Anwendung laden
}
// Den Frame im aktuellen Fenster platzieren
Window.Current.Content = rootFrame;
}
if (e.PrelaunchActivated == false)
{
if (rootFrame.Content == null)
{
// Wenn der Navigationsstapel nicht wiederhergestellt wird, zur ersten Seite navigieren
// und die neue Seite konfigurieren, indem die erforderlichen Informationen als Navigationsparameter
// übergeben werden
rootFrame.Navigate(typeof(MainPage), e.Arguments);
}
// Sicherstellen, dass das aktuelle Fenster aktiv ist
Window.Current.Activate();
}
/*
//Cortana Zeug
try
{
// Install the main VCD.
StorageFile vcdStorageFile =
await Package.Current.InstalledLocation.GetFileAsync(
@"MensaCommands.xml");
await Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager.
InstallCommandDefinitionsFromStorageFileAsync(vcdStorageFile);
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine("Installing Voice Commands Failed: " + ex.ToString());
}*/
}
/// <summary>
/// Wird aufgerufen, wenn die Navigation auf eine bestimmte Seite fehlschlägt
/// </summary>
/// <param name="sender">Der Rahmen, bei dem die Navigation fehlgeschlagen ist</param>
/// <param name="e">Details über den Navigationsfehler</param>
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
}
/// <summary>
/// Wird aufgerufen, wenn die Ausführung der Anwendung angehalten wird. Der Anwendungszustand wird gespeichert,
/// ohne zu wissen, ob die Anwendung beendet oder fortgesetzt wird und die Speicherinhalte dabei
/// unbeschädigt bleiben.
/// </summary>
/// <param name="sender">Die Quelle der Anhalteanforderung.</param>
/// <param name="e">Details zur Anhalteanforderung.</param>
private void OnSuspending(object sender, SuspendingEventArgs e)
{
var deferral = e.SuspendingOperation.GetDeferral();
//TODO: Anwendungszustand speichern und alle Hintergrundaktivitäten beenden
deferral.Complete();
}
/*
protected async override void OnActivated(IActivatedEventArgs args)
{
base.OnActivated(args);
if(args.Kind == ActivationKind.VoiceCommand)
{
VoiceCommandActivatedEventArgs command = args as VoiceCommandActivatedEventArgs;
SpeechRecognitionResult result = command.Result;
MessageDialog dialog = new MessageDialog("Something went wrong");
string commandName = result.RulePath[0];
switch (commandName)
{
case "OpenMensa":
//
dialog = new MessageDialog("Not implemented yet");
break;
case "wasGibtEsInDerSpeziellenMensa":
//
dialog = new MessageDialog("Not implemented yet");
break;
case "wasGibtEsInDerMensa":
//
dialog = new MessageDialog("Not implemented yet");
break;
default:
System.Diagnostics.Debug.WriteLine("Could not find command");
break;
}
dialog.ShowAsync();
}
}*/
/// <summary>
/// Returns the semantic interpretation of a speech result.
/// Returns null if there is no interpretation for that key.
/// </summary>
/// <param name="interpretationKey">The interpretation key.</param>
/// <param name="speechRecognitionResult">The speech recognition result to get the semantic interpretation from.</param>
/// <returns></returns>
private string SemanticInterpretation(string interpretationKey, SpeechRecognitionResult speechRecognitionResult)
{
return speechRecognitionResult.SemanticInterpretation.Properties[interpretationKey].FirstOrDefault();
}
}
}
|
MaxS1996/UWP-TU-Dresden-Mensa
|
FC_TUD_Mensa/FC_TUD_Mensa/App.xaml.cs
|
C#
|
mit
| 6,987
|
/*******************************************************************************
* bars coming out from a circle
*/
function VizRadialBars(variant) {
this.dampen = true;
this.hasVariants = true;
this.variants = [[false], [true]];
this.vary(variant);
}
VizRadialBars.prototype.resize = function() {}
VizRadialBars.prototype.vary = function(variant) {
this.variant = variant;
this.fade = this.variants[variant][0];
}
VizRadialBars.prototype.draw = function(spectrum) {
ctx.save();
ctx.clearRect(0, 0, cv.width, cv.height)
ctx.translate(cv.width / 2, cv.height / 2);
ctx.rotate(allRotate);
for (var i = 0; i < bandCount; i++) {
ctx.rotate(rotateAmount);
var hue = Math.floor(360.0 / bandCount * i);
if (this.fade) {
var brightness = constrain(Math.floor(spectrum[i] / 1.5), 25, 99);
ctx.fillStyle = bigColorMap[hue * 100 + brightness];
ctx.fillRect(-bandWidth / 2, centerRadius, bandWidth,
Math.max(2, spectrum[i] * heightMultiplier));
} else {
var avg = 0;
avg = (spectrum[i] + lastVolumes[i]) / 2;
ctx.fillStyle = bigColorMap[hue * 100 + 50];
ctx.fillRect(-bandWidth / 2, centerRadius + avg, bandWidth, 2);
ctx.fillStyle = bigColorMap[hue * 100 + 99];
ctx.fillRect(-bandWidth / 2, centerRadius, bandWidth,
spectrum[i] * heightMultiplier);
}
}
allRotate += 0.002;
ctx.restore();
}
|
ianharmon/visualizer
|
js/vizRadialBars.js
|
JavaScript
|
mit
| 1,401
|
processGoogleToken({"newToken":"AE3Dx9aK3LQnhKzNv0kv9PYihJmwErt6SUKSiCdFy2nuPqU9RIHm72lwytcOh_wVXg","validLifetimeSecs":86400,"freshLifetimeSecs":86400,"1p_jar":"2018-1-31-12","pucrd":"CgwIABAAGAMgACgAOAESAhgH"});
|
ReasonOnFaith/ReasonOnFaith.github.io
|
Reddit/Unfulfilled or fulfilled prophecy/Unfulfilled or fulfilled prophecy_files/integrator(1).js
|
JavaScript
|
mit
| 213
|
/*
* The MIT License
*
* Copyright (c) 2016 Marcelo "Ataxexe" Guimarães <ataxexe@devnull.tools>
*
* 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.
*/
package tools.devnull.boteco.plugins.user;
import tools.devnull.boteco.Destination;
import tools.devnull.boteco.MessageLocation;
import tools.devnull.boteco.message.IncomeMessage;
import tools.devnull.boteco.plugins.user.spi.UserRepository;
import tools.devnull.boteco.request.RequestManager;
import tools.devnull.boteco.user.PrimaryDestinationRequest;
import tools.devnull.boteco.user.User;
import tools.devnull.boteco.user.UserManager;
public class BotecoUserManager implements UserManager {
private final UserRepository repository;
private final RequestManager requestManager;
public BotecoUserManager(UserRepository repository, RequestManager requestManager) {
this.repository = repository;
this.requestManager = requestManager;
}
@Override
public User find(MessageLocation destination) {
return repository.find(destination);
}
@Override
public User find(String userId) {
return repository.find(userId);
}
@Override
public User create(String userId, MessageLocation destination) {
return repository.create(userId, destination);
}
@Override
public void link(IncomeMessage message, String userId, String channel, String target) {
UserRequest request = message.user()
.filter(user -> user.id().equals(userId))
.map(user -> new UserRequest(userId, channel, target, Destination.channel(channel).to(target)))
.orElseReturn(() -> new UserRequest(userId, channel, target, Destination.channel("user").to(userId)));
this.requestManager.create(request, "user.link", "link account to user " + userId);
}
@Override
public void unlink(String userId, String channel) {
this.requestManager.create(new UserRequest(userId, channel),
"user.unlink", "unlink account from user " + userId);
}
@Override
public void changePrimaryDestination(PrimaryDestinationRequest request) {
this.requestManager.create(request, "user.primaryDestination",
"primary destination to " + request.channel() + " for user " + request.userId());
}
}
|
devnull-tools/boteco
|
plugins/boteco-plugin-user/src/main/java/tools/devnull/boteco/plugins/user/BotecoUserManager.java
|
Java
|
mit
| 3,288
|
test:
@./node_modules/.bin/mocha test/commands --timeout 15000
.PHONY: test
|
apigee/swagger-apigee-node-utility
|
Makefile
|
Makefile
|
mit
| 77
|
// line comment
// line comment with prefix space
/**
* block comment
*/
function test () {
var a = 'ok'
var error
}
|
ustccjw/editorconfig-validate
|
test/dir/indent.js
|
JavaScript
|
mit
| 129
|
using System;
using System.Collections.Generic;
using System.Xml;
namespace SharpOCSP
{
public class Configuration
{
private Dictionary<string, string> _config = new Dictionary<string, string>();
public string getConfigValue(string key)
{
try{
return _config[key];
}catch (KeyNotFoundException){
return null;
}
}
public Configuration(string configFile)
{
XmlDocument doc = new XmlDocument();
try{
doc.Load ("file://" + configFile);
}catch (XmlException e){
throw new ConfigurationException ("XML Sytax error in: " + configFile, e);
}
//build tokens
XmlNode tokensNode = doc.SelectSingleNode ("//tokens");
if (tokensNode == null) {
throw new ConfigurationException ("No tokens supplied!");
}
XmlNodeList tokenNodeList = tokensNode.SelectNodes("./token");
if (tokenNodeList.Count <= 0) {
throw new ConfigurationException ("No tokens supplied!");
}
foreach (XmlElement token_config in tokenNodeList){
string name, type, ocspCertificate, ocspKey;
if (token_config ["name"] != null) {
name = token_config ["name"].InnerText;
} else {
throw new ConfigurationException("Unable to parse token name.");
}
//default to software
type = ( token_config ["type"] != null) ? token_config["type"].InnerText : "software";
if (token_config ["certificate"] != null) {
ocspCertificate = token_config ["certificate"].InnerText;
}else{
throw new ConfigurationException ("Unable to parse certificate path.");
}
if (token_config ["certificateKey"] != null) {
ocspKey = token_config ["certificateKey"].InnerText;
} else {
throw new ConfigurationException ("Unable to parse key path.");
}
if(type == "software"){
SharpOCSP.token_list.Add(new SoftToken(name, ocspCertificate, ocspKey));
}else{
throw new ConfigurationException("Only software tokens for now...");
}
}
//build CAs
XmlNode calistNode = doc.SelectSingleNode ("//calist");
if (calistNode == null) {
throw new ConfigurationException ("No CAs supplied!");
}
XmlNodeList caNodeList = calistNode.SelectNodes("./ca");
if (caNodeList.Count <= 0) {
throw new ConfigurationException ("No CAs supplied!");
}
foreach (XmlElement ca_config in caNodeList){
try{
var name = ca_config ["name"].InnerText;
var caCertPath = ca_config ["certificate"].InnerText;
var token = ca_config ["token"].InnerText;
var crl = ca_config ["crl"].InnerText;
var index = (ca_config["serials"] != null) ? ca_config["serials"].InnerText : null;
bool compromised;
if (!Boolean.TryParse (
(ca_config ["compromised"] != null) ? ca_config ["compromised"].InnerText : "false"
, out compromised)){
compromised = false;
}
SharpOCSP.ca_list.Add(CA.CreateCA(name, caCertPath, token, crl, index, compromised));
}catch (NullReferenceException e){
throw new ConfigurationException ("Unable to parse CA: " + ca_config ["name"].InnerText ?? "unknown", e);
}
}
//get interfaces
XmlNode uriprefixesNode = doc.SelectSingleNode ("//uriprefixes");
if (uriprefixesNode == null) {
throw new ConfigurationException ("No URI list supplied!");
}
XmlNodeList uriprefixNodeList = uriprefixesNode.SelectNodes("./uriprefix");
if (uriprefixNodeList.Count <= 0) {
throw new ConfigurationException ("URI list is empty!");
}
foreach (XmlElement url in uriprefixNodeList) {
SharpOCSP.url_list.Add (url.InnerText);
}
//read rest settings
var extended_revoke = doc.SelectSingleNode ("//extendedrevoke");
//check if extendedrevoke is yes or no
_config.Add("extendedrevoke",
( extended_revoke != null && (extended_revoke.InnerText == "yes" || extended_revoke.InnerText == "no")) ? extended_revoke.InnerText : null);
var user = doc.SelectSingleNode ("//user");
if (user != null && user.InnerText != null && user.InnerText != "") {
_config.Add ("user", user.InnerText);
}
var group = doc.SelectSingleNode ("//group");
if (group != null && group.InnerText != null && group.InnerText != "") {
_config.Add ("group", group.InnerText);
}
var nextupdate = doc.SelectSingleNode ("//nextupdate");
if (nextupdate != null && nextupdate.InnerText != null && nextupdate.InnerText != "") {
double dummy_double;
if (Double.TryParse(nextupdate.InnerText, out dummy_double)) {
_config.Add ("nextupdate", nextupdate.InnerText);
}
}
}
}
}
|
vtsingaras/SharpOCSP
|
SharpOCSP/Configuration.cs
|
C#
|
mit
| 4,548
|
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
import { isBlank } from '@ember/utils';
export default Route.extend({
/**
Service that get current project contexts.
@property currentProjectContext
@type {Class}
@default service()
*/
currentProjectContext: service('fd-current-project-context'),
/**
List exist subsystems.
@property subsystems
@type Array
*/
subsystems: undefined,
/**
A hook you can implement to convert the URL into the model for this route.
[More info](http://emberjs.com/api/classes/Ember.Route.html#method_model).
@method model
*/
model: function() {
const subsystems = this.get('subsystems');
const stage = this.get('currentProjectContext').getCurrentStage();
const adapter = this.get('store').adapterFor('application');
const data = { 'project': stage, 'moduleSettingTypes': subsystems };
return adapter.callAction('GetCurrentModuleSettings', data, null, { withCredentials: true }).then((subsystemsSettings) => {
let currentSubsystemsSettings = JSON.parse(subsystemsSettings.value);
let updateSubsystemsSettings = {};
for (let prop in currentSubsystemsSettings) {
let value = currentSubsystemsSettings[prop];
let newValue = !isBlank(value) ? JSON.parse(value) : {};
updateSubsystemsSettings[prop] = newValue;
}
return updateSubsystemsSettings;
});
},
init() {
this._super(...arguments);
this.set('subsystems', ['GisSubsystemSettings'/*, 'SecuritySubsystemSettings', 'AuditSubsystemSettings'*/]);
},
/**
A hook you can use to setup the controller for the current route.
[More info](https://www.emberjs.com/api/ember/release/classes/Route/methods/setupController?anchor=setupController).
@method setupController
@param {<a href="https://emberjs.com/api/ember/release/classes/Controller">Controller</a>} controller
*/
setupController(controller) {
this._super(...arguments);
controller.set('routeName', this.get('routeName'));
}
});
|
Flexberry/ember-flexberry-designer
|
addon/routes/fd-architecture.js
|
JavaScript
|
mit
| 2,092
|
var searchData=
[
['incomelinks',['incomeLinks',['../classDAGraphNode.html#abdf9c01751f27d2294ce2bd00f197778',1,'DAGraphNode']]]
];
|
olga-perederieieva/TAsK
|
vendor/Docs/search/variables_7.js
|
JavaScript
|
mit
| 134
|
import layout from '../templates/components/input-for';
import FormControl from './form-control';
import Ember from 'ember';
const {
get,
set,
isPresent,
computed
} = Ember;
export default FormControl.extend({
layout,
classNameBindings: ['hasValue'],
init() {
this._super(...arguments);
let field = get(this, 'field');
this.hasValue = computed(`data.${field}`, 'placeholder', () => {
if (isPresent(get(this, 'placeholder'))) {
return true;
}
return isPresent(get(this, `data.${field}`));
});
},
didReceiveAttrs() {
this._super(...arguments);
if (!get(this, 'type')) {
set(this, 'type', 'text');
}
}
});
|
quipuapp/ember-quipu-forms
|
addon/components/input-for.js
|
JavaScript
|
mit
| 692
|
#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstring>
#include <assert.h>
#define INF 1023123123
#define EPS 1e-11
#define LSOne(S) (S & (-S))
#define FORN(X,Y) for (int (X) = 0;(X) < (Y);++(X))
#define FORB(X,Y) for (int (X) = (Y);(X) >= 0;--(X))
#define REP(X,Y,Z) for (int (X) = (Y);(X) < (Z);++(X))
#define REPB(X,Y,Z) for (int (X) = (Y);(X) >= (Z);--(X))
#define SZ(Z) ((int)(Z).size())
#define ALL(W) (W).begin(), (W).end()
#define PB push_back
#define MP make_pair
#define A first
#define B second
#define FORIT(X,Y) for(typeof((Y).begin()) X = (Y).begin();X!=(Y).end();X++)
using namespace std;
typedef long long ll;
typedef double db;
typedef vector<int> vi;
typedef pair<int, int> ii;
typedef vector<ii> vii;
vi pset;
vi cset;
int ndisjoint;
void initSet(int N) { cset = vi(N); pset.assign(N, 0); ndisjoint = N; for (int i = 0; i < N; i++) { pset[i] = i; cset[i] = 1; } }
int findSet(int i) { return pset[i] == i ? i : pset[i] = (findSet(pset[i])); }
bool isSameSet(int i, int j) { return findSet(i) == findSet(j); }
void unionSet(int i, int j) { int pi = findSet(i); int pj = findSet(j); if (pi != pj) { pset[pi] = pj; ndisjoint--; cset[pj] += cset[pi]; } }
int numDisjointSets() { return ndisjoint; }
int sizeOfSet(int i) { return cset[findSet(i)]; }
map<string, int> cars;
map<string, int> spycost, rlog;
int price[500], cost[500], cpm[500];
int main() {
int ntc;
scanf("%d\n", &ntc);
FORN(kk, ntc)
{
int n, m;
scanf("%d%d\n", &n, &m);
cars.clear();
rlog.clear();
spycost.clear();
FORN(i, n)
{
string s;
cin >> s;
scanf("%d%d%d\n", &price[i], &cost[i], &cpm[i]);
cars[s] = i;
}
FORN(i, m)
{
int t;
char ty;
string name, car;
cin >> t >> name >> ty;
if (ty == 'p')
{
cin >> car;
int cn = cars[car];
if (rlog.count(name))
{
spycost[name] = -1;
}
else if (spycost[name] != -1)
{
rlog[name] = cn;
}
}
else if (ty == 'r')
{
int time;
cin >> time;
if (rlog.count(name) && spycost[name] != -1)
{
int cn = rlog[name];
spycost[name] += cost[cn] + cpm[cn] * time;
rlog.erase(name);
}
else
{
spycost[name] = -1;
}
}
else if (ty == 'a')
{
int severity;
cin >> severity;
if (rlog.count(name) && spycost[name] != -1)
{
int cn = rlog[name];
spycost[name] += (int)ceil(price[cn] * (severity / 100.0));
}
else
{
spycost[name] = -1;
}
}
}
for (auto i = rlog.begin(); i != rlog.end(); i++)
{
spycost[i->first] = -1;
}
for (auto i = spycost.begin(); i != spycost.end(); i++)
{
if (i->second == -1)
{
cout << i->first << " INCONSISTENT" << endl;
}
else
{
cout << i->first << ' ' << i->second << endl;
}
}
}
}
|
fvannee/competitive-coding
|
UvA/BAPC2013A.cpp
|
C++
|
mit
| 3,620
|
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Client side html widgets</title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1>Client side html widgets</h1>
<div class="well">
<p>
This shows how you can use new "html-client" recipe to create editable html widgets. "html-client" recipe is the
only one being rendered on the client (browser) side. This allows widgets to be more user interactive and use
javascript functions provided by the parent page.
</p>
<p>
Hover the widget and click Edit button to pop up jsreport editor where you can modify widget.
</p>
</div>
<div class="grid">
<div class="row">
<div class="col-md-4">
<div data-jsreport-widget="b1I_ThWlS" style="height: 500px"></div>
</div>
<div class="col-md-8">
<div data-jsreport-widget="WJXsC2-er" style="height: 500px"></div>
</div>
</div>
</div>
<div class="jsreport-backdrop" style="display:none;background-color: #a3a3a3; opacity: 0.5; position: fixed; left: 0; top: 0; right:0; bottom:0; z-index: 100;"></div>
</div>
<script>
var issues = [
{title: "Invalid html", priority: "important"},
{title: "Failure on startup", priority: "minor"},
{title: "Missing validation for email", priority: "medium"},
{title: "Performance issues", priority: "medium"},
{title: "Blue screen", priority: "medium"},
{title: "Double click prevention", priority: "medium"},
{title: "Reset password", priority: "minor"},
{title: "Deleting account", priority: "medium"}
];
window.jsreportInit = function (jsreport) {
jsreport.setClientContext({
loadData: function(filter, cb) {
if (!cb)
return filter({ issues: issues});
var filteredIssues = issues.filter(function(i) {
return i.title.lastIndexOf(filter, 0) === 0;
});
cb({ issues: filteredIssues});
}
});
jsreport.renderAll();
};
</script>
<script>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {
return;
}
js = d.createElement(s);
js.id = id;
js.src = "http://local.net:2000/extension/embedding/public/embed.min.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'jsreport-embedding'));
</script>
</body>
</html>
|
pofider/jsreport-embedding
|
views/example3.html
|
HTML
|
mit
| 2,786
|
require 'spec_helper'
describe Capistrano::NetStorage::Config do
let(:config) { Capistrano::NetStorage::Config.new }
before :context do
env = Capistrano::Configuration.env
env.set :deploy_to, '/path/to/deploy'
env.server 'web1', role: %w(web), active: true
env.server 'web2', role: %w(web), no_release: true
env.server 'db1', role: %w(db), active: true
env.role :web, %w(web1 web2)
env.role :db, %w(db1)
end
after :context do
Capistrano::Configuration.reset!
end
describe 'Configuration params' do
it 'Default parameters' do
# executor_class
expect(config.executor_class(:archiver)).to be Capistrano::NetStorage::Archiver::Zip
expect(config.executor_class(:scm)).to be Capistrano::NetStorage::SCM::Git
expect(config.executor_class(:bundler)).to be Capistrano::NetStorage::Bundler
expect { config.executor_class(:transport) }.to raise_error(Capistrano::NetStorage::Error, /You have to set :net_storage_transport/)
expect { config.executor_class(:no_such_type) }.to raise_error(RuntimeError, /Unknown type!/)
# Others
expect(config.servers.map(&:hostname)).to eq %w(web1 db1)
expect(config.max_parallels).to eq 2
expect(config.config_files).to be nil
expect(config.skip_bundle?).to be true
expect(config.archive_on_missing?).to be true
expect(config.upload_files_by_rsync?).to be false
expect(config.rsync_options).to eq({})
expect(config.local_base_path.to_s).to eq "#{Dir.pwd}/.local_repo"
expect(config.local_mirror_path.to_s).to eq "#{config.local_base_path}/mirror"
expect(config.local_releases_path.to_s).to eq "#{config.local_base_path}/releases"
expect(config.local_release_path.to_s).to eq "#{config.local_releases_path}/#{config.release_timestamp}"
expect(config.local_bundle_path.to_s).to eq "#{config.local_base_path}/bundle"
expect(config.local_archive_path.to_s).to eq "#{config.local_release_path}.zip"
expect(config.archive_path.to_s).to eq "#{config.release_path}.zip"
end
it 'Customized parameters' do
env = Capistrano::Configuration.env
{
net_storage_archiver: Object,
net_storage_scm: Object,
net_storage_bundler: Object,
net_storage_transport: Object,
net_storage_servers: -> { env.roles_for([:web]) },
net_storage_max_parallels: 5,
net_storage_config_files: %w(app.yml db.yml).map { |f| "/path/to/config/#{f}" },
net_storage_with_bundle: true,
net_storage_archive_on_missing: false,
net_storage_upload_files_by_rsync: true,
net_storage_rsync_options: { user: 'bob' },
net_storage_local_base_path: '/path/to/local_base',
net_storage_local_mirror_path: '/path/to/local_mirror',
net_storage_local_releases_path: Pathname.new('/path/to/local_releases'),
net_storage_local_release_path: '/path/to/local_release',
net_storage_local_bundle_path: '/path/to/local_bundle',
net_storage_local_archive_path: '/path/to/local_archive',
net_storage_archive_path: '/path/to/archive',
}.each { |k, v| env.set k, v }
# executor_class
expect(config.executor_class(:archiver)).to be Object
expect(config.executor_class(:scm)).to be Object
expect(config.executor_class(:bundler)).to be Object
expect(config.executor_class(:transport)).to be Object
# Others
expect(config.servers.map(&:hostname)).to eq %w(web1 web2)
expect(config.max_parallels).to eq 5
expect(config.config_files).to eq %w(app.yml db.yml).map { |f| "/path/to/config/#{f}" }
expect(config.skip_bundle?).to be false
expect(config.archive_on_missing?).to be false
expect(config.upload_files_by_rsync?).to be true
expect(config.rsync_options).to eq(user: 'bob')
expect(config.local_base_path.to_s).to eq '/path/to/local_base'
expect(config.local_mirror_path.to_s).to eq '/path/to/local_mirror'
expect(config.local_releases_path.to_s).to eq '/path/to/local_releases'
expect(config.local_release_path.to_s).to eq '/path/to/local_release'
expect(config.local_bundle_path.to_s).to eq '/path/to/local_bundle'
expect(config.local_archive_path.to_s).to eq '/path/to/local_archive'
expect(config.archive_path.to_s).to eq '/path/to/archive'
end
end
end
|
DeNADev/capistrano-net_storage
|
spec/capistrano/net_storage/config_spec.rb
|
Ruby
|
mit
| 4,386
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<A name=1></a><hr>
<A name=2></a><hr>
<A name=3></a><hr>
<A name=4></a><hr>
<A name=5></a><hr>
<A name=6></a><hr>
<A name=7></a><hr>
<A name=8></a><hr>
<A name=9></a>Directional Survey Certification<br>
Operator: Continental Resources Inc.<br>
Well Name: Stangeland 3-7H1<br>
API: 33-105-03650<br>
Enseco Job#: ND1409-0006CON<br>
Job Type: MWD D&I<br>
County, State: Wil iams County, N. Dakota<br>
Well Surface Hole Location (SHL): Lot 7, Sec. 6, T153N, R99W, (300' FSL 790' FWL)<br>
Latitude: 48° 05' 50.678 N<br>
Longitude: 103° 28' 17.706 W<br>
Datum: Nad 83<br>
Final MWD Report Date: Sep. 06, 2014<br>
MWD Survey Run Date: Sep. 05, 2014 to Sep. 06, 2014<br>
Tied In to Surveys Provided By: Enseco Directional Dril ing D&I MWD<br>
MD: Surface<br>
MWD Surveyed from 00 ft to 2328 ft MD Survey Type: Positive Pulse D&I MWD<br>
Sensor to Bit: 40 ft<br>
Rig Contractor: Cyclone<br>
Rig Number:33<br>
RKB Height: 2326.1 ft<br>
GL Elevation: 2306.1 ft<br>
MWD Surveyor Name: Jonathan Hopper<br>
"The data and calculations for this survey have been checked by me and conform to the calibration<br>
standards and operational procedures set forth by Enseco Energy Services USA Corp. I am authorized and<br>
qualified to review the data, calculations and this report and that the report represents a true and correct<br>
Directional Survey of this well based on the original data corrected to True North and obtained at the well<br>
site. Wellbore coordinates are calculated using the minimum curvature method."<br>
Jonathan Hovland, Wel Planner<br>
Jonathan Hovland<br>
September 22</span><span class="ft5">nd </span><span class="ft1">2014<br>
Enseco Representative Name, Title<br>
Signature<br>
Date Signed<br>
On this the __ day of ___, 20__, before me personally appeared First & Last Name, to me known as<br>
the person described in and who executed the foregoing instrument and acknowledged the<br>
(s)he executed the same as his/her free act and deed.<br>
Seal:<br>
Notary Public<br>
Commission Expiry<br>
<hr>
<A name=10></a>Enseco Survey Report<br>
22 September, 2014<br>
Continental Resources Inc.<br>
Williams County, N. Dakota<br>
Lot 7 Sec..6 Twp.153N Rge.99W<br>
Stangeland 3-7H1<br>
Job # ND1409-0006CON<br>
API#: 33-105-03650<br>
Design: Final Surveys Vertical Section<br>
<hr>
<A name=11></a>ENSECO Energy Services<br>
Survey Report<br>
Company:<br>
Continental Resources Inc.<br>
Local Co-ordinate Reference:<br>
Well Stangeland 3-7H1<br>
Project:<br>
Williams County, N. Dakota<br>
Ground Level Elevation:<br>
2,306.10usft<br>
Site:<br>
Lot 7 Sec..6 Twp.153N Rge.99W<br>
Wellhead Elevation:<br>
KB 20 @ 2326.10usft (Cyclone #33)<br>
Well:<br>
Stangeland 3-7H1<br>
North Reference:<br>
True<br>
Wellbore:<br>
Job # ND1409-0006CON<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
Design:<br>
Final Surveys Vertical Section<br>
Database:<br>
EDM5000<br>
Project<br>
Williams County, N. Dakota<br>
Map System:<br>
US State Plane 1983<br>
System Datum:<br>
Mean Sea Level<br>
Geo Datum:<br>
North American Datum 1983<br>
Map Zone:<br>
North Dakota Northern Zone<br>
Using geodetic scale factor<br>
Site<br>
Lot 7 Sec..6 Twp.153N Rge.99W<br>
Site Position:<br>
Northing:<br>
414,309.94 usft<br>
Latitude:<br>
48° 5' 50.677 N<br>
From:<br>
Lat/Long<br>
Easting:<br>
1,242,509.41 usft<br>
Longitude:<br>
103° 28' 18.369 W<br>
Position Uncertainty:<br>
0.00 usft<br>
Slot Radius:<br>
13-3/16 "<br>
Grid Convergence:<br>
-2.211 °<br>
Well<br>
Stangeland 3-7H1<br>
|<br>
API#: 33-105-03650<br>
Well Position<br>
+N/-S<br>
0.09 usft<br>
Northing:<br>
414,308.29 usft<br>
Latitude:<br>
48° 5' 50.678 N<br>
+E/-W<br>
45.01 usft<br>
Easting:<br>
1,242,554.38 usft<br>
Longitude:<br>
103° 28' 17.706 W<br>
Position Uncertainty<br>
0.00 usft<br>
Wellhead Elevation:<br>
2,326.10 usft<br>
Ground Level:<br>
2,306.10usft<br>
Wellbore<br>
Job # ND1409-0006CON<br>
Magnetics<br>
Model Name<br>
Sample Date<br>
Declination<br>
Dip Angle<br>
Field Strength<br>
(°)<br>
(°)<br>
(nT)<br>
IGRF2010<br>
9/15/2014<br>
8.129<br>
73.012<br>
56,421<br>
Design:<br>
Final Surveys Vertical Section<br>
Survey Error Model:<br>
Standard ISCWSA MWD Tool<br>
Audit Notes:<br>
Version:<br>
1.0<br>
Phase:<br>
ACTUAL<br>
Tie On Depth:<br>
0.00<br>
Vertical Section:<br>
Depth From (TVD)<br>
+N/-S<br>
+E/-W<br>
Direction<br>
(usft)<br>
(usft)<br>
(usft)<br>
(°)<br>
0.00<br>
0.00<br>
0.00<br>
258.33<br>
9/22/2014 9:10:18AM<br>
Page 2<br>
COMPASS 5000.1 Build 56<br>
<hr>
<A name=12></a>ENSECO Energy Services<br>
Survey Report<br>
Company:<br>
Continental Resources Inc.<br>
Local Co-ordinate Reference:<br>
Well Stangeland 3-7H1<br>
Project:<br>
Williams County, N. Dakota<br>
Ground Level Elevation:<br>
2,306.10usft<br>
Site:<br>
Lot 7 Sec..6 Twp.153N Rge.99W<br>
Wellhead Elevation:<br>
KB 20 @ 2326.10usft (Cyclone #33)<br>
Well:<br>
Stangeland 3-7H1<br>
North Reference:<br>
True<br>
Wellbore:<br>
Job # ND1409-0006CON<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
Design:<br>
Final Surveys Vertical Section<br>
Database:<br>
EDM5000<br>
Survey<br>
Vertical<br>
Dogleg<br>
Build<br>
Turn<br>
MD<br>
Inc<br>
Azi<br>
TVD<br>
SS<br>
+N/-S<br>
+E/-W<br>
Section<br>
Rate<br>
Rate<br>
Rate<br>
(usft)<br>
(°)<br>
(°)<br>
(usft)<br>
(usft)<br>
(usft)<br>
(usft)<br>
(usft)<br>
(°/100usft)<br>
(°/100usft)<br>
(°/100usft)<br>
0.00<br>
0.00<br>
0.00<br>
0.00<br>
2,326.10<br>
0.00<br>
0.00<br>
0.00<br>
0.00<br>
0.00<br>
0.00<br>
125.00<br>
0.90<br>
289.50<br>
124.99<br>
2,201.11<br>
0.33<br>
-0.93<br>
0.84<br>
0.72<br>
0.72<br>
0.00<br>
204.00<br>
0.40<br>
329.20<br>
203.99<br>
2,122.11<br>
0.77<br>
-1.65<br>
1.46<br>
0.82<br>
-0.63<br>
50.25<br>
284.00<br>
0.50<br>
311.20<br>
283.99<br>
2,042.11<br>
1.24<br>
-2.06<br>
1.76<br>
0.21<br>
0.12<br>
-22.50<br>
364.00<br>
0.50<br>
282.80<br>
363.98<br>
1,962.12<br>
1.55<br>
-2.66<br>
2.29<br>
0.31<br>
0.00<br>
-35.50<br>
456.00<br>
0.50<br>
277.10<br>
455.98<br>
1,870.12<br>
1.69<br>
-3.45<br>
3.04<br>
0.05<br>
0.00<br>
-6.20<br>
549.00<br>
0.50<br>
245.20<br>
548.98<br>
1,777.12<br>
1.57<br>
-4.22<br>
3.82<br>
0.30<br>
0.00<br>
-34.30<br>
642.00<br>
0.40<br>
232.50<br>
641.97<br>
1,684.13<br>
1.20<br>
-4.85<br>
4.50<br>
0.15<br>
-0.11<br>
-13.66<br>
736.00<br>
0.40<br>
206.10<br>
735.97<br>
1,590.13<br>
0.70<br>
-5.25<br>
5.00<br>
0.19<br>
0.00<br>
-28.09<br>
830.00<br>
0.50<br>
194.50<br>
829.97<br>
1,496.13<br>
0.01<br>
-5.50<br>
5.38<br>
0.14<br>
0.11<br>
-12.34<br>
923.00<br>
0.40<br>
241.30<br>
922.97<br>
1,403.13<br>
-0.54<br>
-5.88<br>
5.87<br>
0.40<br>
-0.11<br>
50.32<br>
1,015.00<br>
0.40<br>
251.50<br>
1,014.96<br>
1,311.14<br>
-0.79<br>
-6.47<br>
6.50<br>
0.08<br>
0.00<br>
11.09<br>
1,108.00<br>
0.40<br>
167.10<br>
1,107.96<br>
1,218.14<br>
-1.21<br>
-6.71<br>
6.81<br>
0.58<br>
0.00<br>
-90.75<br>
1,201.00<br>
0.20<br>
89.80<br>
1,200.96<br>
1,125.14<br>
-1.53<br>
-6.47<br>
6.65<br>
0.44<br>
-0.22<br>
-83.12<br>
1,293.00<br>
0.20<br>
117.20<br>
1,292.96<br>
1,033.14<br>
-1.60<br>
-6.17<br>
6.36<br>
0.10<br>
0.00<br>
29.78<br>
1,386.00<br>
0.40<br>
302.80<br>
1,385.96<br>
940.14<br>
-1.50<br>
-6.30<br>
6.47<br>
0.64<br>
0.22<br>
-187.53<br>
1,480.00<br>
0.40<br>
9.60<br>
1,479.96<br>
846.14<br>
-1.00<br>
-6.52<br>
6.58<br>
0.47<br>
0.00<br>
71.06<br>
1,572.00<br>
0.20<br>
169.20<br>
1,571.96<br>
754.14<br>
-0.84<br>
-6.43<br>
6.47<br>
0.64<br>
-0.22<br>
173.48<br>
1,665.00<br>
0.20<br>
141.40<br>
1,664.96<br>
661.14<br>
-1.12<br>
-6.30<br>
6.40<br>
0.10<br>
0.00<br>
-29.89<br>
1,755.00<br>
0.20<br>
323.20<br>
1,754.96<br>
571.14<br>
-1.12<br>
-6.30<br>
6.40<br>
0.44<br>
0.00<br>
-198.00<br>
1,849.00<br>
0.40<br>
91.90<br>
1,848.96<br>
477.14<br>
-1.00<br>
-6.07<br>
6.15<br>
0.58<br>
0.21<br>
136.91<br>
1,942.00<br>
0.20<br>
169.90<br>
1,941.96<br>
384.14<br>
-1.17<br>
-5.72<br>
5.83<br>
0.44<br>
-0.22<br>
83.87<br>
2,032.00<br>
0.20<br>
61.90<br>
2,031.96<br>
294.14<br>
-1.25<br>
-5.55<br>
5.69<br>
0.36<br>
0.00<br>
-120.00<br>
2,126.00<br>
0.20<br>
359.10<br>
2,125.96<br>
200.14<br>
-1.01<br>
-5.41<br>
5.50<br>
0.22<br>
0.00<br>
-66.81<br>
2,218.00<br>
0.40<br>
114.70<br>
2,217.95<br>
108.15<br>
-0.98<br>
-5.12<br>
5.21<br>
0.56<br>
0.22<br>
125.65<br>
2,312.00<br>
0.50<br>
68.70<br>
2,311.95<br>
14.15<br>
-0.97<br>
-4.44<br>
4.54<br>
0.39<br>
0.11<br>
-48.94<br>
Last MWD Survey<br>
2,328.00<br>
0.50<br>
284.50<br>
2,327.95<br>
-1.85<br>
-0.93<br>
-4.44<br>
4.54<br>
5.95<br>
0.00<br>
-901.25<br>
Design Annotations<br>
Local Coordinates<br>
MD<br>
TVD<br>
+N/-S<br>
+E/-W<br>
(usft)<br>
(usft)<br>
(usft)<br>
(usft)<br>
Comment<br>
2,328.00<br>
2,327.95<br>
-0.93<br>
-4.44<br>
Last MWD Survey<br>
9/22/2014 9:10:18AM<br>
Page 3<br>
COMPASS 5000.1 Build 56<br>
<hr>
<A name=13></a><hr>
<A name=14></a>SURVEY CALCULATION PROGRAM<br>
1/16/15 9:46<br>
V09.04.02<br>
Company:<br>
Continental Resources, Inc.<br>
Well Name:<br>
Stangeland 3-7H1<br>
Location:<br>
Williams County, ND<br>
Rig:<br>
Cyclone #33<br>
Magnetic Declination:<br>
8.14<br>
Job Number:<br>
DDMT-140806<br>
API #:<br>
33-105-03650<br>
Vertical Section Azimuth:<br>
178.03<br>
Proposed Direction:<br>
178.03<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
MD<br>
INC<br>
AZM<br>
TVD<br>
N/S<br>
E/W<br>
VS<br>
PTB:<br>
21,725<br>
89.4<br>
178.5<br>
11224.49<br>
-10607.9<br>
375.3<br>
10614.53<br>
Depth<br>
Inc<br>
Azm<br>
TVD<br>
N/S<br>
E/W<br>
Surface<br>
Closure<br>
DLS/<br>
BUR/<br>
#<br>
Feet<br>
Degrees<br>
Degrees<br>
Feet<br>
Feet<br>
Feet<br>
Vert Sec<br>
Distance<br>
Azm<br>
100<br>
100'<br>
TIE IN<br>
2,328<br>
0.50<br>
284.50<br>
2327.95<br>
-0.93<br>
-4.44<br>
0.78<br>
4.54<br>
258.17<br>
1<br>
2,384<br>
0.70<br>
22.90<br>
2383.95<br>
-0.55<br>
-4.54<br>
0.40<br>
4.58<br>
263.05<br>
1.64<br>
0.36<br>
2<br>
2,479<br>
1.00<br>
50.10<br>
2478.94<br>
0.51<br>
-3.68<br>
-0.64<br>
3.72<br>
277.93<br>
0.52<br>
0.32<br>
3<br>
2,575<br>
0.80<br>
43.70<br>
2574.93<br>
1.53<br>
-2.58<br>
-1.62<br>
3.00<br>
300.78<br>
0.23<br>
-0.21<br>
4<br>
2,669<br>
1.00<br>
53.10<br>
2668.91<br>
2.50<br>
-1.47<br>
-2.55<br>
2.90<br>
329.62<br>
0.26<br>
0.21<br>
5<br>
2,763<br>
1.00<br>
34.20<br>
2762.90<br>
3.67<br>
-0.35<br>
-3.68<br>
3.69<br>
354.56<br>
0.35<br>
0.00<br>
6<br>
2,858<br>
0.80<br>
45.10<br>
2857.89<br>
4.83<br>
0.59<br>
-4.80<br>
4.86<br>
6.92<br>
0.28<br>
-0.21<br>
7<br>
2,953<br>
0.80<br>
19.00<br>
2952.88<br>
5.92<br>
1.27<br>
-5.87<br>
6.06<br>
12.12<br>
0.38<br>
0.00<br>
8<br>
3,048<br>
0.90<br>
28.60<br>
3047.87<br>
7.20<br>
1.84<br>
-7.14<br>
7.44<br>
14.37<br>
0.18<br>
0.11<br>
9<br>
3,143<br>
1.00<br>
6.50<br>
3142.86<br>
8.68<br>
2.30<br>
-8.60<br>
8.98<br>
14.81<br>
0.40<br>
0.11<br>
10<br>
3,237<br>
1.20<br>
10.80<br>
3236.84<br>
10.46<br>
2.57<br>
-10.37<br>
10.78<br>
13.82<br>
0.23<br>
0.21<br>
11<br>
3,332<br>
1.30<br>
5.70<br>
3331.82<br>
12.51<br>
2.87<br>
-12.41<br>
12.84<br>
12.90<br>
0.16<br>
0.11<br>
12<br>
3,426<br>
0.20<br>
251.50<br>
3425.81<br>
13.52<br>
2.82<br>
-13.42<br>
13.81<br>
11.77<br>
1.48<br>
-1.17<br>
13<br>
3,521<br>
0.50<br>
251.20<br>
3520.81<br>
13.34<br>
2.27<br>
-13.25<br>
13.53<br>
9.65<br>
0.32<br>
0.32<br>
14<br>
3,615<br>
0.10<br>
246.50<br>
3614.81<br>
13.17<br>
1.80<br>
-13.10<br>
13.29<br>
7.80<br>
0.43<br>
-0.43<br>
15<br>
3,711<br>
0.20<br>
338.30<br>
3710.81<br>
13.29<br>
1.66<br>
-13.23<br>
13.40<br>
7.14<br>
0.24<br>
0.10<br>
16<br>
3,805<br>
0.10<br>
12.70<br>
3804.80<br>
13.53<br>
1.62<br>
-13.46<br>
13.62<br>
6.84<br>
0.14<br>
-0.11<br>
17<br>
3,901<br>
0.40<br>
352.90<br>
3900.80<br>
13.94<br>
1.60<br>
-13.88<br>
14.03<br>
6.54<br>
0.32<br>
0.31<br>
18<br>
3,994<br>
0.30<br>
291.70<br>
3993.80<br>
14.35<br>
1.33<br>
-14.30<br>
14.41<br>
5.31<br>
0.39<br>
-0.11<br>
19<br>
4,089<br>
0.10<br>
333.90<br>
4088.80<br>
14.52<br>
1.07<br>
-14.47<br>
14.56<br>
4.20<br>
0.25<br>
-0.21<br>
20<br>
4,183<br>
0.10<br>
305.80<br>
4182.80<br>
14.64<br>
0.96<br>
-14.60<br>
14.67<br>
3.76<br>
0.05<br>
0.00<br>
21<br>
4,278<br>
0.30<br>
232.80<br>
4277.80<br>
14.54<br>
0.70<br>
-14.51<br>
14.56<br>
2.75<br>
0.30<br>
0.21<br>
22<br>
4,373<br>
0.20<br>
291.10<br>
4372.80<br>
14.45<br>
0.34<br>
-14.43<br>
14.45<br>
1.37<br>
0.27<br>
-0.11<br>
23<br>
4,468<br>
0.40<br>
258.20<br>
4467.80<br>
14.44<br>
-0.13<br>
-14.44<br>
14.44<br>
359.47<br>
0.27<br>
0.21<br>
24<br>
4,562<br>
0.10<br>
271.50<br>
4561.80<br>
14.38<br>
-0.54<br>
-14.39<br>
14.39<br>
357.86<br>
0.32<br>
-0.32<br>
25<br>
4,655<br>
0.30<br>
282.00<br>
4654.80<br>
14.43<br>
-0.86<br>
-14.45<br>
14.45<br>
356.60<br>
0.22<br>
0.22<br>
26<br>
4,750<br>
0.20<br>
265.30<br>
4749.80<br>
14.47<br>
-1.27<br>
-14.50<br>
14.52<br>
355.00<br>
0.13<br>
-0.11<br>
27<br>
4,845<br>
0.20<br>
76.10<br>
4844.80<br>
14.49<br>
-1.27<br>
-14.53<br>
14.55<br>
354.99<br>
0.42<br>
0.00<br>
28<br>
4,939<br>
0.30<br>
46.90<br>
4938.80<br>
14.70<br>
-0.93<br>
-14.72<br>
14.73<br>
356.38<br>
0.17<br>
0.11<br>
29<br>
5,033<br>
0.50<br>
33.70<br>
5032.79<br>
15.21<br>
-0.52<br>
-15.22<br>
15.22<br>
358.03<br>
0.23<br>
0.21<br>
30<br>
5,128<br>
0.30<br>
28.40<br>
5127.79<br>
15.77<br>
-0.18<br>
-15.77<br>
15.77<br>
359.36<br>
0.21<br>
-0.21<br>
31<br>
5,223<br>
0.70<br>
48.00<br>
5222.79<br>
16.38<br>
0.37<br>
-16.36<br>
16.38<br>
1.31<br>
0.45<br>
0.42<br>
Page 1<br>
<hr>
<A name=15></a>SURVEY CALCULATION PROGRAM<br>
1/16/15 9:46<br>
V09.04.02<br>
Company:<br>
Continental Resources, Inc.<br>
Well Name:<br>
Stangeland 3-7H1<br>
Location:<br>
Williams County, ND<br>
Rig:<br>
Cyclone #33<br>
Magnetic Declination:<br>
8.14<br>
Job Number:<br>
DDMT-140806<br>
API #:<br>
33-105-03650<br>
Vertical Section Azimuth:<br>
178.03<br>
Proposed Direction:<br>
178.03<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
MD<br>
INC<br>
AZM<br>
TVD<br>
N/S<br>
E/W<br>
VS<br>
PTB:<br>
21,725<br>
89.4<br>
178.5<br>
11224.49<br>
-10607.9<br>
375.3<br>
10614.53<br>
Depth<br>
Inc<br>
Azm<br>
TVD<br>
N/S<br>
E/W<br>
Surface<br>
Closure<br>
DLS/<br>
BUR/<br>
#<br>
Feet<br>
Degrees<br>
Degrees<br>
Feet<br>
Feet<br>
Feet<br>
Vert Sec<br>
Distance<br>
Azm<br>
100<br>
100'<br>
32<br>
5,318<br>
0.50<br>
33.70<br>
5317.78<br>
17.11<br>
1.04<br>
-17.07<br>
17.14<br>
3.46<br>
0.26<br>
-0.21<br>
33<br>
5,412<br>
0.30<br>
13.10<br>
5411.78<br>
17.69<br>
1.32<br>
-17.64<br>
17.74<br>
4.26<br>
0.26<br>
-0.21<br>
34<br>
5,507<br>
0.50<br>
19.50<br>
5506.78<br>
18.33<br>
1.51<br>
-18.26<br>
18.39<br>
4.72<br>
0.22<br>
0.21<br>
35<br>
5,602<br>
0.10<br>
65.70<br>
5601.78<br>
18.75<br>
1.73<br>
-18.68<br>
18.83<br>
5.26<br>
0.46<br>
-0.42<br>
36<br>
5,697<br>
0.20<br>
84.00<br>
5696.78<br>
18.80<br>
1.97<br>
-18.72<br>
18.91<br>
5.97<br>
0.12<br>
0.11<br>
37<br>
5,792<br>
0.20<br>
262.80<br>
5791.78<br>
18.80<br>
1.97<br>
-18.72<br>
18.90<br>
5.98<br>
0.42<br>
0.00<br>
38<br>
5,887<br>
0.30<br>
177.50<br>
5886.77<br>
18.53<br>
1.81<br>
-18.46<br>
18.62<br>
5.59<br>
0.36<br>
0.11<br>
39<br>
5,981<br>
0.40<br>
104.80<br>
5980.77<br>
18.20<br>
2.14<br>
-18.12<br>
18.33<br>
6.71<br>
0.45<br>
0.11<br>
40<br>
6,076<br>
0.70<br>
71.20<br>
6075.77<br>
18.30<br>
3.01<br>
-18.19<br>
18.55<br>
9.35<br>
0.45<br>
0.32<br>
41<br>
6,171<br>
0.90<br>
69.70<br>
6170.76<br>
18.75<br>
4.26<br>
-18.59<br>
19.23<br>
12.81<br>
0.21<br>
0.21<br>
42<br>
6,265<br>
1.20<br>
68.10<br>
6264.74<br>
19.37<br>
5.87<br>
-19.16<br>
20.24<br>
16.85<br>
0.32<br>
0.32<br>
43<br>
6,360<br>
0.90<br>
108.80<br>
6359.73<br>
19.50<br>
7.50<br>
-19.23<br>
20.89<br>
21.03<br>
0.82<br>
-0.32<br>
44<br>
6,455<br>
0.70<br>
127.20<br>
6454.72<br>
18.91<br>
8.67<br>
-18.60<br>
20.80<br>
24.62<br>
0.34<br>
-0.21<br>
45<br>
6,549<br>
0.70<br>
147.80<br>
6548.71<br>
18.08<br>
9.43<br>
-17.74<br>
20.39<br>
27.54<br>
0.27<br>
0.00<br>
46<br>
6,644<br>
0.60<br>
116.70<br>
6643.71<br>
17.36<br>
10.18<br>
-17.00<br>
20.13<br>
30.39<br>
0.38<br>
-0.11<br>
47<br>
6,739<br>
0.20<br>
159.90<br>
6738.70<br>
16.98<br>
10.68<br>
-16.61<br>
20.07<br>
32.17<br>
0.50<br>
-0.42<br>
48<br>
6,834<br>
0.30<br>
161.60<br>
6833.70<br>
16.59<br>
10.82<br>
-16.21<br>
19.81<br>
33.11<br>
0.11<br>
0.11<br>
49<br>
6,929<br>
0.20<br>
159.50<br>
6928.70<br>
16.20<br>
10.96<br>
-15.82<br>
19.56<br>
34.07<br>
0.11<br>
-0.11<br>
50<br>
7,024<br>
0.00<br>
233.50<br>
7023.70<br>
16.05<br>
11.01<br>
-15.66<br>
19.46<br>
34.46<br>
0.21<br>
-0.21<br>
51<br>
7,119<br>
0.30<br>
8.40<br>
7118.70<br>
16.29<br>
11.05<br>
-15.90<br>
19.69<br>
34.15<br>
0.32<br>
0.32<br>
52<br>
7,214<br>
0.30<br>
340.00<br>
7213.70<br>
16.77<br>
11.00<br>
-16.38<br>
20.06<br>
33.26<br>
0.15<br>
0.00<br>
53<br>
7,308<br>
0.30<br>
24.80<br>
7307.70<br>
17.23<br>
11.02<br>
-16.84<br>
20.45<br>
32.61<br>
0.24<br>
0.00<br>
54<br>
7,403<br>
0.60<br>
29.10<br>
7402.70<br>
17.89<br>
11.37<br>
-17.49<br>
21.19<br>
32.43<br>
0.32<br>
0.32<br>
55<br>
7,497<br>
0.30<br>
5.90<br>
7496.69<br>
18.56<br>
11.63<br>
-18.15<br>
21.91<br>
32.07<br>
0.37<br>
-0.32<br>
56<br>
7,592<br>
0.10<br>
39.90<br>
7591.69<br>
18.87<br>
11.71<br>
-18.46<br>
22.21<br>
31.82<br>
0.24<br>
-0.21<br>
57<br>
7,686<br>
0.10<br>
312.50<br>
7685.69<br>
18.99<br>
11.70<br>
-18.58<br>
22.31<br>
31.64<br>
0.15<br>
0.00<br>
58<br>
7,781<br>
0.40<br>
116.00<br>
7780.69<br>
18.90<br>
11.94<br>
-18.48<br>
22.36<br>
32.28<br>
0.52<br>
0.32<br>
59<br>
7,876<br>
0.70<br>
100.10<br>
7875.69<br>
18.65<br>
12.81<br>
-18.20<br>
22.63<br>
34.47<br>
0.35<br>
0.32<br>
60<br>
7,970<br>
0.60<br>
96.90<br>
7969.68<br>
18.50<br>
13.86<br>
-18.01<br>
23.11<br>
36.85<br>
0.11<br>
-0.11<br>
61<br>
8,065<br>
0.60<br>
99.80<br>
8064.68<br>
18.35<br>
14.85<br>
-17.83<br>
23.60<br>
38.97<br>
0.03<br>
0.00<br>
62<br>
8,160<br>
0.50<br>
83.80<br>
8159.67<br>
18.31<br>
15.75<br>
-17.76<br>
24.15<br>
40.70<br>
0.19<br>
-0.11<br>
63<br>
8,255<br>
0.90<br>
77.70<br>
8254.67<br>
18.51<br>
16.89<br>
-17.92<br>
25.06<br>
42.37<br>
0.43<br>
0.42<br>
64<br>
8,350<br>
0.40<br>
359.40<br>
8349.66<br>
19.01<br>
Page 2 17.61<br>
-18.39<br>
25.91<br>
42.83<br>
0.96<br>
-0.53<br>
<hr>
<A name=16></a>SURVEY CALCULATION PROGRAM<br>
1/16/15 9:46<br>
V09.04.02<br>
Company:<br>
Continental Resources, Inc.<br>
Well Name:<br>
Stangeland 3-7H1<br>
Location:<br>
Williams County, ND<br>
Rig:<br>
Cyclone #33<br>
Magnetic Declination:<br>
8.14<br>
Job Number:<br>
DDMT-140806<br>
API #:<br>
33-105-03650<br>
Vertical Section Azimuth:<br>
178.03<br>
Proposed Direction:<br>
178.03<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
MD<br>
INC<br>
AZM<br>
TVD<br>
N/S<br>
E/W<br>
VS<br>
PTB:<br>
21,725<br>
89.4<br>
178.5<br>
11224.49<br>
-10607.9<br>
375.3<br>
10614.53<br>
Depth<br>
Inc<br>
Azm<br>
TVD<br>
N/S<br>
E/W<br>
Surface<br>
Closure<br>
DLS/<br>
BUR/<br>
#<br>
Feet<br>
Degrees<br>
Degrees<br>
Feet<br>
Feet<br>
Feet<br>
Vert Sec<br>
Distance<br>
Azm<br>
100<br>
100'<br>
65<br>
8,445<br>
0.20<br>
291.10<br>
8444.66<br>
19.40<br>
17.46<br>
-18.78<br>
26.10<br>
41.99<br>
0.40<br>
-0.21<br>
66<br>
8,540<br>
0.30<br>
276.60<br>
8539.66<br>
19.48<br>
17.06<br>
-18.89<br>
25.89<br>
41.20<br>
0.12<br>
0.11<br>
67<br>
8,634<br>
0.10<br>
154.90<br>
8633.66<br>
19.44<br>
16.85<br>
-18.85<br>
25.72<br>
40.91<br>
0.39<br>
-0.21<br>
68<br>
8,729<br>
0.10<br>
335.90<br>
8728.66<br>
19.44<br>
16.85<br>
-18.85<br>
25.72<br>
40.91<br>
0.21<br>
0.00<br>
69<br>
8,824<br>
0.10<br>
62.40<br>
8823.66<br>
19.55<br>
16.89<br>
-18.96<br>
25.84<br>
40.81<br>
0.14<br>
0.00<br>
70<br>
8,918<br>
0.60<br>
186.60<br>
8917.66<br>
19.10<br>
16.90<br>
-18.51<br>
25.51<br>
41.50<br>
0.70<br>
0.53<br>
71<br>
9,013<br>
0.40<br>
237.10<br>
9012.65<br>
18.43<br>
16.57<br>
-17.85<br>
24.78<br>
41.96<br>
0.49<br>
-0.21<br>
72<br>
9,107<br>
0.90<br>
282.90<br>
9106.65<br>
18.41<br>
15.57<br>
-17.87<br>
24.12<br>
40.22<br>
0.73<br>
0.53<br>
73<br>
9,202<br>
0.50<br>
313.80<br>
9201.64<br>
18.87<br>
14.55<br>
-18.36<br>
23.82<br>
37.63<br>
0.56<br>
-0.42<br>
74<br>
9,296<br>
0.60<br>
295.30<br>
9295.64<br>
19.36<br>
13.80<br>
-18.88<br>
23.78<br>
35.49<br>
0.22<br>
0.11<br>
75<br>
9,390<br>
0.40<br>
339.20<br>
9389.63<br>
19.88<br>
13.24<br>
-19.41<br>
23.89<br>
33.67<br>
0.44<br>
-0.21<br>
76<br>
9,485<br>
0.30<br>
344.60<br>
9484.63<br>
20.43<br>
13.06<br>
-19.97<br>
24.25<br>
32.59<br>
0.11<br>
-0.11<br>
77<br>
9,580<br>
0.50<br>
340.50<br>
9579.63<br>
21.06<br>
12.85<br>
-20.61<br>
24.67<br>
31.40<br>
0.21<br>
0.21<br>
78<br>
9,674<br>
0.50<br>
340.00<br>
9673.62<br>
21.83<br>
12.58<br>
-21.39<br>
25.20<br>
29.95<br>
0.00<br>
0.00<br>
79<br>
9,769<br>
0.40<br>
339.80<br>
9768.62<br>
22.53<br>
12.32<br>
-22.10<br>
25.68<br>
28.67<br>
0.11<br>
-0.11<br>
80<br>
9,864<br>
0.50<br>
329.40<br>
9863.62<br>
23.20<br>
12.00<br>
-22.77<br>
26.12<br>
27.34<br>
0.14<br>
0.11<br>
81<br>
9,958<br>
0.50<br>
349.70<br>
9957.62<br>
23.96<br>
11.71<br>
-23.54<br>
26.67<br>
26.06<br>
0.19<br>
0.00<br>
82<br>
10,053<br>
0.50<br>
350.60<br>
10052.61<br>
24.77<br>
11.57<br>
-24.36<br>
27.34<br>
25.04<br>
0.01<br>
0.00<br>
83<br>
10,148<br>
0.50<br>
333.00<br>
10147.61<br>
25.55<br>
11.32<br>
-25.15<br>
27.95<br>
23.89<br>
0.16<br>
0.00<br>
84<br>
10,243<br>
0.40<br>
26.40<br>
10242.61<br>
26.22<br>
11.28<br>
-25.82<br>
28.54<br>
23.27<br>
0.44<br>
-0.11<br>
85<br>
10,337<br>
0.50<br>
32.00<br>
10336.60<br>
26.86<br>
11.64<br>
-26.44<br>
29.27<br>
23.43<br>
0.12<br>
0.11<br>
86<br>
10,432<br>
0.80<br>
47.90<br>
10431.60<br>
27.66<br>
12.35<br>
-27.22<br>
30.29<br>
24.06<br>
0.37<br>
0.32<br>
87<br>
10,526<br>
0.60<br>
20.40<br>
10525.59<br>
28.56<br>
13.01<br>
-28.09<br>
31.38<br>
24.49<br>
0.41<br>
-0.21<br>
88<br>
10,621<br>
0.70<br>
16.00<br>
10620.58<br>
29.58<br>
13.34<br>
-29.11<br>
32.45<br>
24.28<br>
0.12<br>
0.11<br>
89<br>
10,711<br>
1.00<br>
9.60<br>
10710.57<br>
30.88<br>
13.62<br>
-30.40<br>
33.76<br>
23.80<br>
0.35<br>
0.33<br>
90<br>
10,777<br>
1.60<br>
140.70<br>
10776.57<br>
30.74<br>
14.30<br>
-30.23<br>
33.90<br>
24.95<br>
3.61<br>
0.91<br>
91<br>
10,809<br>
6.00<br>
157.60<br>
10808.49<br>
28.85<br>
15.22<br>
-28.31<br>
32.62<br>
27.82<br>
14.04<br>
13.75<br>
92<br>
10,841<br>
9.90<br>
163.00<br>
10840.17<br>
24.67<br>
16.67<br>
-24.08<br>
29.77<br>
34.05<br>
12.40<br>
12.19<br>
93<br>
10,873<br>
13.90<br>
159.00<br>
10871.48<br>
18.45<br>
18.85<br>
-17.79<br>
26.37<br>
45.62<br>
12.76<br>
12.50<br>
94<br>
10,904<br>
17.40<br>
160.20<br>
10901.33<br>
10.61<br>
21.76<br>
-9.85<br>
24.20<br>
64.01<br>
11.34<br>
11.29<br>
95<br>
10,936<br>
21.60<br>
159.20<br>
10931.49<br>
0.59<br>
25.47<br>
0.28<br>
25.48<br>
88.66<br>
13.17<br>
13.13<br>
96<br>
10,967<br>
26.00<br>
159.10<br>
10959.84<br>
-11.09<br>
29.92<br>
12.12<br>
31.91<br>
110.34<br>
14.19<br>
14.19<br>
Page 3<br>
<hr>
<A name=17></a>SURVEY CALCULATION PROGRAM<br>
1/16/15 9:46<br>
V09.04.02<br>
Company:<br>
Continental Resources, Inc.<br>
Well Name:<br>
Stangeland 3-7H1<br>
Location:<br>
Williams County, ND<br>
Rig:<br>
Cyclone #33<br>
Magnetic Declination:<br>
8.14<br>
Job Number:<br>
DDMT-140806<br>
API #:<br>
33-105-03650<br>
Vertical Section Azimuth:<br>
178.03<br>
Proposed Direction:<br>
178.03<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
MD<br>
INC<br>
AZM<br>
TVD<br>
N/S<br>
E/W<br>
VS<br>
PTB:<br>
21,725<br>
89.4<br>
178.5<br>
11224.49<br>
-10607.9<br>
375.3<br>
10614.53<br>
Depth<br>
Inc<br>
Azm<br>
TVD<br>
N/S<br>
E/W<br>
Surface<br>
Closure<br>
DLS/<br>
BUR/<br>
#<br>
Feet<br>
Degrees<br>
Degrees<br>
Feet<br>
Feet<br>
Feet<br>
Vert Sec<br>
Distance<br>
Azm<br>
100<br>
100'<br>
97<br>
10,999<br>
30.40<br>
158.10<br>
10988.04<br>
-25.17<br>
35.45<br>
26.37<br>
43.47<br>
125.37<br>
13.83<br>
13.75<br>
98<br>
11,030<br>
34.40<br>
160.40<br>
11014.21<br>
-40.70<br>
41.31<br>
42.10<br>
57.99<br>
134.57<br>
13.50<br>
12.90<br>
99<br>
11,062<br>
38.10<br>
159.00<br>
11040.01<br>
-58.44<br>
47.88<br>
60.05<br>
75.55<br>
140.67<br>
11.85<br>
11.56<br>
100<br>
11,094<br>
41.80<br>
158.70<br>
11064.54<br>
-77.60<br>
55.30<br>
79.45<br>
95.29<br>
144.52<br>
11.58<br>
11.56<br>
101<br>
11,125<br>
46.70<br>
158.80<br>
11086.73<br>
-97.75<br>
63.14<br>
99.87<br>
116.37<br>
147.14<br>
15.81<br>
15.81<br>
102<br>
11,156<br>
51.30<br>
158.80<br>
11107.07<br>
-119.56<br>
71.59<br>
121.95<br>
139.36<br>
149.09<br>
14.84<br>
14.84<br>
103<br>
11,188<br>
55.60<br>
160.50<br>
11126.12<br>
-143.66<br>
80.52<br>
146.34<br>
164.69<br>
150.73<br>
14.10<br>
13.44<br>
104<br>
11,220<br>
58.90<br>
159.40<br>
11143.43<br>
-168.93<br>
89.75<br>
171.92<br>
191.30<br>
152.02<br>
10.71<br>
10.31<br>
105<br>
11,252<br>
62.50<br>
160.20<br>
11159.09<br>
-195.12<br>
99.38<br>
198.42<br>
218.97<br>
153.01<br>
11.46<br>
11.25<br>
106<br>
11,283<br>
66.50<br>
160.00<br>
11172.43<br>
-221.42<br>
108.91<br>
225.04<br>
246.76<br>
153.81<br>
12.92<br>
12.90<br>
107<br>
11,315<br>
69.20<br>
160.60<br>
11184.49<br>
-249.33<br>
118.89<br>
253.27<br>
276.22<br>
154.51<br>
8.61<br>
8.44<br>
108<br>
11,346<br>
70.80<br>
161.10<br>
11195.10<br>
-276.84<br>
128.45<br>
281.10<br>
305.19<br>
155.11<br>
5.38<br>
5.16<br>
109<br>
11,378<br>
73.30<br>
160.40<br>
11204.96<br>
-305.58<br>
138.49<br>
310.16<br>
335.50<br>
155.62<br>
8.08<br>
7.81<br>
110<br>
11,409<br>
78.00<br>
160.20<br>
11212.64<br>
-333.85<br>
148.61<br>
338.76<br>
365.43<br>
156.00<br>
15.17<br>
15.16<br>
111<br>
11,441<br>
82.10<br>
158.90<br>
11218.17<br>
-363.37<br>
159.62<br>
368.65<br>
396.89<br>
156.29<br>
13.42<br>
12.81<br>
112<br>
11,457<br>
84.60<br>
159.50<br>
11220.02<br>
-378.23<br>
165.26<br>
383.69<br>
412.76<br>
156.40<br>
16.06<br>
15.63<br>
113<br>
11,534<br>
89.40<br>
158.40<br>
11224.05<br>
-449.97<br>
192.87<br>
456.33<br>
489.56<br>
156.80<br>
6.39<br>
6.23<br>
114<br>
11,565<br>
89.40<br>
158.80<br>
11224.37<br>
-478.83<br>
204.18<br>
485.57<br>
520.55<br>
156.91<br>
1.29<br>
0.00<br>
115<br>
11,658<br>
91.00<br>
160.40<br>
11224.05<br>
-565.99<br>
236.60<br>
573.79<br>
613.45<br>
157.31<br>
2.43<br>
1.72<br>
116<br>
11,687<br>
91.10<br>
160.80<br>
11223.52<br>
-593.34<br>
246.23<br>
601.45<br>
642.40<br>
157.46<br>
1.42<br>
0.34<br>
117<br>
11,719<br>
91.50<br>
160.40<br>
11222.79<br>
-623.51<br>
256.86<br>
631.98<br>
674.35<br>
157.61<br>
1.77<br>
1.25<br>
118<br>
11,750<br>
91.40<br>
159.80<br>
11222.01<br>
-652.65<br>
267.41<br>
661.46<br>
705.31<br>
157.72<br>
1.96<br>
-0.32<br>
119<br>
11,781<br>
90.50<br>
160.90<br>
11221.49<br>
-681.84<br>
277.83<br>
690.99<br>
736.27<br>
157.83<br>
4.58<br>
-2.90<br>
120<br>
11,812<br>
90.00<br>
161.90<br>
11221.36<br>
-711.22<br>
287.72<br>
720.69<br>
767.22<br>
157.97<br>
3.61<br>
-1.61<br>
121<br>
11,843<br>
90.20<br>
162.20<br>
11221.30<br>
-740.72<br>
297.27<br>
750.50<br>
798.14<br>
158.13<br>
1.16<br>
0.65<br>
122<br>
11,874<br>
89.60<br>
162.80<br>
11221.36<br>
-770.28<br>
306.59<br>
780.36<br>
829.05<br>
158.30<br>
2.74<br>
-1.94<br>
123<br>
11,905<br>
89.60<br>
163.20<br>
11221.57<br>
-799.92<br>
315.65<br>
810.30<br>
859.95<br>
158.47<br>
1.29<br>
0.00<br>
124<br>
11,936<br>
89.90<br>
162.20<br>
11221.71<br>
-829.52<br>
324.87<br>
840.20<br>
890.87<br>
158.61<br>
3.37<br>
0.97<br>
125<br>
11,967<br>
88.70<br>
163.50<br>
11222.09<br>
-859.14<br>
334.01<br>
870.11<br>
921.78<br>
158.76<br>
5.71<br>
-3.87<br>
126<br>
11,998<br>
87.60<br>
166.20<br>
11223.09<br>
-889.04<br>
342.11<br>
900.28<br>
952.60<br>
158.95<br>
9.40<br>
-3.55<br>
127<br>
12,029<br>
87.80<br>
166.30<br>
11224.33<br>
-919.13<br>
349.47<br>
930.60<br>
983.33<br>
159.18<br>
0.72<br>
0.65<br>
128<br>
12,060<br>
88.20<br>
167.80<br>
11225.42<br>
-949.32<br>
356.41<br>
961.01<br>
1014.02<br>
159.42<br>
5.00<br>
1.29<br>
Page 4<br>
<hr>
<A name=18></a>SURVEY CALCULATION PROGRAM<br>
1/16/15 9:46<br>
V09.04.02<br>
Company:<br>
Continental Resources, Inc.<br>
Well Name:<br>
Stangeland 3-7H1<br>
Location:<br>
Williams County, ND<br>
Rig:<br>
Cyclone #33<br>
Magnetic Declination:<br>
8.14<br>
Job Number:<br>
DDMT-140806<br>
API #:<br>
33-105-03650<br>
Vertical Section Azimuth:<br>
178.03<br>
Proposed Direction:<br>
178.03<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
MD<br>
INC<br>
AZM<br>
TVD<br>
N/S<br>
E/W<br>
VS<br>
PTB:<br>
21,725<br>
89.4<br>
178.5<br>
11224.49<br>
-10607.9<br>
375.3<br>
10614.53<br>
Depth<br>
Inc<br>
Azm<br>
TVD<br>
N/S<br>
E/W<br>
Surface<br>
Closure<br>
DLS/<br>
BUR/<br>
#<br>
Feet<br>
Degrees<br>
Degrees<br>
Feet<br>
Feet<br>
Feet<br>
Vert Sec<br>
Distance<br>
Azm<br>
100<br>
100'<br>
129<br>
12,091<br>
88.90<br>
168.90<br>
11226.20<br>
-979.67<br>
362.67<br>
991.56<br>
1044.65<br>
159.69<br>
4.20<br>
2.26<br>
130<br>
12,121<br>
89.20<br>
169.90<br>
11226.70<br>
-1009.16<br>
368.19<br>
1021.22<br>
1074.23<br>
159.96<br>
3.48<br>
1.00<br>
131<br>
12,152<br>
89.40<br>
170.50<br>
11227.08<br>
-1039.70<br>
373.47<br>
1051.93<br>
1104.74<br>
160.24<br>
2.04<br>
0.65<br>
132<br>
12,183<br>
90.00<br>
173.20<br>
11227.24<br>
-1070.39<br>
377.86<br>
1082.74<br>
1135.12<br>
160.56<br>
8.92<br>
1.94<br>
133<br>
12,214<br>
90.40<br>
173.80<br>
11227.13<br>
-1101.19<br>
381.37<br>
1113.65<br>
1165.36<br>
160.90<br>
2.33<br>
1.29<br>
134<br>
12,245<br>
90.30<br>
174.80<br>
11226.94<br>
-1132.03<br>
384.45<br>
1144.58<br>
1195.53<br>
161.24<br>
3.24<br>
-0.32<br>
135<br>
12,276<br>
90.80<br>
175.00<br>
11226.64<br>
-1162.91<br>
387.20<br>
1175.53<br>
1225.68<br>
161.58<br>
1.74<br>
1.61<br>
136<br>
12,307<br>
90.30<br>
177.10<br>
11226.35<br>
-1193.83<br>
389.34<br>
1206.51<br>
1255.71<br>
161.94<br>
6.96<br>
-1.61<br>
137<br>
12,339<br>
89.10<br>
177.70<br>
11226.51<br>
-1225.80<br>
390.79<br>
1238.51<br>
1286.58<br>
162.32<br>
4.19<br>
-3.75<br>
138<br>
12,370<br>
88.60<br>
178.60<br>
11227.14<br>
-1256.77<br>
391.79<br>
1269.50<br>
1316.43<br>
162.69<br>
3.32<br>
-1.61<br>
139<br>
12,401<br>
88.70<br>
180.80<br>
11227.87<br>
-1287.76<br>
391.95<br>
1300.48<br>
1346.09<br>
163.07<br>
7.10<br>
0.32<br>
140<br>
12,495<br>
91.10<br>
181.20<br>
11228.03<br>
-1381.74<br>
390.31<br>
1394.34<br>
1435.81<br>
164.23<br>
2.59<br>
2.55<br>
141<br>
12,586<br>
90.90<br>
181.90<br>
11226.44<br>
-1472.69<br>
387.85<br>
1485.16<br>
1522.91<br>
165.25<br>
0.80<br>
-0.22<br>
142<br>
12,679<br>
89.30<br>
181.20<br>
11226.28<br>
-1565.66<br>
385.34<br>
1577.98<br>
1612.38<br>
166.17<br>
1.88<br>
-1.72<br>
143<br>
12,772<br>
90.10<br>
180.50<br>
11226.77<br>
-1658.64<br>
383.96<br>
1670.86<br>
1702.50<br>
166.97<br>
1.14<br>
0.86<br>
144<br>
12,864<br>
89.40<br>
180.50<br>
11227.17<br>
-1750.64<br>
383.15<br>
1762.78<br>
1792.08<br>
167.65<br>
0.76<br>
-0.76<br>
145<br>
12,964<br>
89.30<br>
179.40<br>
11228.30<br>
-1850.63<br>
383.24<br>
1862.71<br>
1889.90<br>
168.30<br>
1.10<br>
-0.10<br>
146<br>
13,063<br>
89.90<br>
180.40<br>
11228.99<br>
-1949.63<br>
383.41<br>
1961.65<br>
1986.97<br>
168.87<br>
1.18<br>
0.61<br>
147<br>
13,158<br>
89.60<br>
179.60<br>
11229.41<br>
-2044.62<br>
383.41<br>
2056.60<br>
2080.26<br>
169.38<br>
0.90<br>
-0.32<br>
148<br>
13,255<br>
90.10<br>
180.20<br>
11229.66<br>
-2141.62<br>
383.58<br>
2153.54<br>
2175.70<br>
169.85<br>
0.81<br>
0.52<br>
149<br>
13,352<br>
91.20<br>
182.70<br>
11228.56<br>
-2238.58<br>
381.13<br>
2250.36<br>
2270.79<br>
170.34<br>
2.82<br>
1.13<br>
150<br>
13,449<br>
91.70<br>
182.20<br>
11226.11<br>
-2335.46<br>
376.98<br>
2347.04<br>
2365.69<br>
170.83<br>
0.73<br>
0.52<br>
151<br>
13,546<br>
91.40<br>
182.90<br>
11223.48<br>
-2432.32<br>
372.67<br>
2443.70<br>
2460.71<br>
171.29<br>
0.78<br>
-0.31<br>
152<br>
13,643<br>
90.60<br>
181.60<br>
11221.79<br>
-2529.23<br>
368.86<br>
2540.42<br>
2555.99<br>
171.70<br>
1.57<br>
-0.82<br>
153<br>
13,739<br>
90.80<br>
180.60<br>
11220.62<br>
-2625.21<br>
367.02<br>
2636.27<br>
2650.74<br>
172.04<br>
1.06<br>
0.21<br>
154<br>
13,835<br>
90.10<br>
180.20<br>
11219.86<br>
-2721.20<br>
366.35<br>
2732.19<br>
2745.75<br>
172.33<br>
0.84<br>
-0.73<br>
155<br>
13,931<br>
91.40<br>
179.70<br>
11218.61<br>
-2817.19<br>
366.43<br>
2828.12<br>
2840.92<br>
172.59<br>
1.45<br>
1.35<br>
156<br>
14,026<br>
89.90<br>
179.20<br>
11217.53<br>
-2912.18<br>
367.35<br>
2923.08<br>
2935.25<br>
172.81<br>
1.66<br>
-1.58<br>
157<br>
14,121<br>
89.30<br>
178.20<br>
11218.19<br>
-3007.15<br>
369.50<br>
3018.07<br>
3029.76<br>
172.99<br>
1.23<br>
-0.63<br>
158<br>
14,217<br>
89.10<br>
177.80<br>
11219.53<br>
-3103.08<br>
372.85<br>
3114.06<br>
3125.40<br>
173.15<br>
0.47<br>
-0.21<br>
159<br>
14,311<br>
89.50<br>
178.90<br>
11220.68<br>
-3197.03<br>
375.56<br>
3208.05<br>
3219.01<br>
173.30<br>
1.25<br>
0.43<br>
160<br>
14,407<br>
90.80<br>
181.70<br>
11220.43<br>
-3293.02<br>
375.05<br>
3303.97<br>
3314.31<br>
173.50<br>
3.22<br>
1.35<br>
Page 5<br>
<hr>
<A name=19></a>SURVEY CALCULATION PROGRAM<br>
1/16/15 9:46<br>
V09.04.02<br>
Company:<br>
Continental Resources, Inc.<br>
Well Name:<br>
Stangeland 3-7H1<br>
Location:<br>
Williams County, ND<br>
Rig:<br>
Cyclone #33<br>
Magnetic Declination:<br>
8.14<br>
Job Number:<br>
DDMT-140806<br>
API #:<br>
33-105-03650<br>
Vertical Section Azimuth:<br>
178.03<br>
Proposed Direction:<br>
178.03<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
MD<br>
INC<br>
AZM<br>
TVD<br>
N/S<br>
E/W<br>
VS<br>
PTB:<br>
21,725<br>
89.4<br>
178.5<br>
11224.49<br>
-10607.9<br>
375.3<br>
10614.53<br>
Depth<br>
Inc<br>
Azm<br>
TVD<br>
N/S<br>
E/W<br>
Surface<br>
Closure<br>
DLS/<br>
BUR/<br>
#<br>
Feet<br>
Degrees<br>
Degrees<br>
Feet<br>
Feet<br>
Feet<br>
Vert Sec<br>
Distance<br>
Azm<br>
100<br>
100'<br>
161<br>
14,503<br>
90.90<br>
181.10<br>
11219.01<br>
-3388.98<br>
372.71<br>
3399.79<br>
3409.41<br>
173.72<br>
0.63<br>
0.10<br>
162<br>
14,599<br>
88.70<br>
179.50<br>
11219.34<br>
-3484.97<br>
372.21<br>
3495.70<br>
3504.79<br>
173.90<br>
2.83<br>
-2.29<br>
163<br>
14,695<br>
89.40<br>
179.90<br>
11220.93<br>
-3580.95<br>
372.71<br>
3591.65<br>
3600.30<br>
174.06<br>
0.84<br>
0.73<br>
164<br>
14,790<br>
90.00<br>
179.90<br>
11221.43<br>
-3675.95<br>
372.87<br>
3686.60<br>
3694.81<br>
174.21<br>
0.63<br>
0.63<br>
165<br>
14,886<br>
88.70<br>
177.90<br>
11222.52<br>
-3771.92<br>
374.72<br>
3782.57<br>
3790.49<br>
174.33<br>
2.48<br>
-1.35<br>
166<br>
14,983<br>
89.60<br>
179.10<br>
11223.96<br>
-3868.87<br>
377.26<br>
3879.56<br>
3887.22<br>
174.43<br>
1.55<br>
0.93<br>
167<br>
15,079<br>
89.00<br>
178.90<br>
11225.13<br>
-3964.85<br>
378.93<br>
3975.53<br>
3982.92<br>
174.54<br>
0.66<br>
-0.62<br>
168<br>
15,174<br>
89.40<br>
180.60<br>
11226.46<br>
-4059.84<br>
379.35<br>
4070.48<br>
4077.52<br>
174.66<br>
1.84<br>
0.42<br>
169<br>
15,270<br>
89.70<br>
180.30<br>
11227.21<br>
-4155.83<br>
378.59<br>
4166.39<br>
4173.04<br>
174.79<br>
0.44<br>
0.31<br>
170<br>
15,366<br>
89.50<br>
181.80<br>
11227.88<br>
-4251.81<br>
376.83<br>
4262.25<br>
4268.48<br>
174.94<br>
1.58<br>
-0.21<br>
171<br>
15,462<br>
91.00<br>
182.30<br>
11227.46<br>
-4347.74<br>
373.40<br>
4358.01<br>
4363.75<br>
175.09<br>
1.65<br>
1.56<br>
172<br>
15,559<br>
91.90<br>
181.20<br>
11225.01<br>
-4444.67<br>
370.44<br>
4454.77<br>
4460.08<br>
175.24<br>
1.46<br>
0.93<br>
173<br>
15,655<br>
91.40<br>
180.70<br>
11222.24<br>
-4540.61<br>
368.85<br>
4550.61<br>
4555.57<br>
175.36<br>
0.74<br>
-0.52<br>
174<br>
15,749<br>
89.40<br>
180.60<br>
11221.59<br>
-4634.60<br>
367.78<br>
4644.50<br>
4649.17<br>
175.46<br>
2.13<br>
-2.13<br>
175<br>
15,844<br>
88.90<br>
180.00<br>
11223.00<br>
-4729.59<br>
367.28<br>
4739.42<br>
4743.83<br>
175.56<br>
0.82<br>
-0.53<br>
176<br>
15,940<br>
89.40<br>
180.90<br>
11224.42<br>
-4825.57<br>
366.53<br>
4835.32<br>
4839.47<br>
175.66<br>
1.07<br>
0.52<br>
177<br>
16,035<br>
88.70<br>
180.70<br>
11226.00<br>
-4920.55<br>
365.20<br>
4930.19<br>
4934.08<br>
175.76<br>
0.77<br>
-0.74<br>
178<br>
16,131<br>
88.00<br>
179.90<br>
11228.76<br>
-5016.51<br>
364.70<br>
5026.08<br>
5029.75<br>
175.84<br>
1.11<br>
-0.73<br>
179<br>
16,228<br>
89.80<br>
180.60<br>
11230.62<br>
-5113.48<br>
364.28<br>
5122.98<br>
5126.44<br>
175.93<br>
1.99<br>
1.86<br>
180<br>
16,324<br>
90.80<br>
182.70<br>
11230.12<br>
-5209.43<br>
361.51<br>
5218.78<br>
5221.96<br>
176.03<br>
2.42<br>
1.04<br>
181<br>
16,420<br>
90.80<br>
181.00<br>
11228.78<br>
-5305.37<br>
358.41<br>
5314.56<br>
5317.46<br>
176.14<br>
1.77<br>
0.00<br>
182<br>
16,516<br>
90.30<br>
180.10<br>
11227.86<br>
-5401.36<br>
357.49<br>
5410.46<br>
5413.18<br>
176.21<br>
1.07<br>
-0.52<br>
183<br>
16,612<br>
90.80<br>
179.50<br>
11226.94<br>
-5497.36<br>
357.83<br>
5506.41<br>
5508.99<br>
176.28<br>
0.81<br>
0.52<br>
184<br>
16,709<br>
90.00<br>
178.50<br>
11226.26<br>
-5594.34<br>
359.52<br>
5603.39<br>
5605.88<br>
176.32<br>
1.32<br>
-0.82<br>
185<br>
16,803<br>
90.50<br>
178.80<br>
11225.85<br>
-5688.31<br>
361.74<br>
5697.38<br>
5699.80<br>
176.36<br>
0.62<br>
0.53<br>
186<br>
16,898<br>
91.30<br>
178.30<br>
11224.36<br>
-5783.27<br>
364.14<br>
5792.37<br>
5794.72<br>
176.40<br>
0.99<br>
0.84<br>
187<br>
16,993<br>
91.40<br>
178.00<br>
11222.12<br>
-5878.19<br>
367.20<br>
5887.34<br>
5889.65<br>
176.43<br>
0.33<br>
0.11<br>
188<br>
17,089<br>
89.60<br>
178.20<br>
11221.28<br>
-5974.13<br>
370.39<br>
5983.33<br>
5985.60<br>
176.45<br>
1.89<br>
-1.88<br>
189<br>
17,184<br>
89.20<br>
178.30<br>
11222.28<br>
-6069.08<br>
373.29<br>
6078.33<br>
6080.55<br>
176.48<br>
0.43<br>
-0.42<br>
190<br>
17,281<br>
89.40<br>
178.90<br>
11223.46<br>
-6166.04<br>
375.66<br>
6175.31<br>
6177.48<br>
176.51<br>
0.65<br>
0.21<br>
191<br>
17,376<br>
90.60<br>
180.60<br>
11223.46<br>
-6261.04<br>
376.07<br>
6270.26<br>
6272.32<br>
176.56<br>
2.19<br>
1.26<br>
192<br>
17,471<br>
92.70<br>
181.50<br>
11220.72<br>
-6355.98<br>
374.33<br>
6365.09<br>
6366.99<br>
176.63<br>
2.40<br>
2.21<br>
Page 6<br>
<hr>
<A name=20></a>SURVEY CALCULATION PROGRAM<br>
1/16/15 9:46<br>
V09.04.02<br>
Company:<br>
Continental Resources, Inc.<br>
Well Name:<br>
Stangeland 3-7H1<br>
Location:<br>
Williams County, ND<br>
Rig:<br>
Cyclone #33<br>
Magnetic Declination:<br>
8.14<br>
Job Number:<br>
DDMT-140806<br>
API #:<br>
33-105-03650<br>
Vertical Section Azimuth:<br>
178.03<br>
Proposed Direction:<br>
178.03<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
MD<br>
INC<br>
AZM<br>
TVD<br>
N/S<br>
E/W<br>
VS<br>
PTB:<br>
21,725<br>
89.4<br>
178.5<br>
11224.49<br>
-10607.9<br>
375.3<br>
10614.53<br>
Depth<br>
Inc<br>
Azm<br>
TVD<br>
N/S<br>
E/W<br>
Surface<br>
Closure<br>
DLS/<br>
BUR/<br>
#<br>
Feet<br>
Degrees<br>
Degrees<br>
Feet<br>
Feet<br>
Feet<br>
Vert Sec<br>
Distance<br>
Azm<br>
100<br>
100'<br>
193<br>
17,567<br>
92.80<br>
181.80<br>
11216.12<br>
-6451.83<br>
371.57<br>
6460.79<br>
6462.52<br>
176.70<br>
0.33<br>
0.10<br>
194<br>
17,663<br>
92.00<br>
180.40<br>
11212.10<br>
-6547.72<br>
369.73<br>
6556.56<br>
6558.15<br>
176.77<br>
1.68<br>
-0.83<br>
195<br>
17,758<br>
89.80<br>
179.60<br>
11210.61<br>
-6642.70<br>
369.73<br>
6651.49<br>
6652.98<br>
176.81<br>
2.46<br>
-2.32<br>
196<br>
17,855<br>
88.60<br>
179.30<br>
11211.96<br>
-6739.69<br>
370.66<br>
6748.44<br>
6749.87<br>
176.85<br>
1.28<br>
-1.24<br>
197<br>
17,952<br>
87.30<br>
179.30<br>
11215.43<br>
-6836.61<br>
371.85<br>
6845.36<br>
6846.72<br>
176.89<br>
1.34<br>
-1.34<br>
198<br>
18,048<br>
88.90<br>
181.50<br>
11218.61<br>
-6932.55<br>
371.18<br>
6941.21<br>
6942.48<br>
176.94<br>
2.83<br>
1.67<br>
199<br>
18,143<br>
91.30<br>
182.50<br>
11218.45<br>
-7027.48<br>
367.86<br>
7035.98<br>
7037.11<br>
177.00<br>
2.74<br>
2.53<br>
200<br>
18,238<br>
91.40<br>
181.90<br>
11216.21<br>
-7122.39<br>
364.21<br>
7130.70<br>
7131.69<br>
177.07<br>
0.64<br>
0.11<br>
201<br>
18,334<br>
90.50<br>
181.70<br>
11214.62<br>
-7218.33<br>
361.20<br>
7226.48<br>
7227.36<br>
177.14<br>
0.96<br>
-0.94<br>
202<br>
18,430<br>
91.30<br>
180.80<br>
11213.11<br>
-7314.29<br>
359.11<br>
7322.31<br>
7323.10<br>
177.19<br>
1.25<br>
0.83<br>
203<br>
18,526<br>
90.70<br>
179.50<br>
11211.43<br>
-7410.27<br>
358.85<br>
7418.23<br>
7418.96<br>
177.23<br>
1.49<br>
-0.62<br>
204<br>
18,622<br>
91.60<br>
178.90<br>
11209.51<br>
-7506.24<br>
360.19<br>
7514.19<br>
7514.88<br>
177.25<br>
1.13<br>
0.94<br>
205<br>
18,718<br>
92.30<br>
177.90<br>
11206.24<br>
-7602.15<br>
362.87<br>
7610.13<br>
7610.80<br>
177.27<br>
1.27<br>
0.73<br>
206<br>
18,813<br>
90.00<br>
180.40<br>
11204.33<br>
-7697.10<br>
364.28<br>
7705.08<br>
7705.72<br>
177.29<br>
3.58<br>
-2.42<br>
207<br>
18,910<br>
90.70<br>
180.20<br>
11203.74<br>
-7794.10<br>
363.77<br>
7802.00<br>
7802.58<br>
177.33<br>
0.75<br>
0.72<br>
208<br>
19,006<br>
90.70<br>
179.30<br>
11202.57<br>
-7890.09<br>
364.19<br>
7897.95<br>
7898.49<br>
177.36<br>
0.94<br>
0.00<br>
209<br>
19,101<br>
91.20<br>
178.50<br>
11200.99<br>
-7985.06<br>
366.02<br>
7992.92<br>
7993.44<br>
177.38<br>
0.99<br>
0.53<br>
210<br>
19,196<br>
90.00<br>
178.80<br>
11200.00<br>
-8080.03<br>
368.25<br>
8087.91<br>
8088.41<br>
177.39<br>
1.30<br>
-1.26<br>
211<br>
19,292<br>
88.80<br>
180.00<br>
11201.00<br>
-8176.01<br>
369.26<br>
8183.87<br>
8184.35<br>
177.41<br>
1.77<br>
-1.25<br>
212<br>
19,388<br>
89.40<br>
179.10<br>
11202.51<br>
-8272.00<br>
370.01<br>
8279.83<br>
8280.27<br>
177.44<br>
1.13<br>
0.63<br>
213<br>
19,484<br>
88.40<br>
178.70<br>
11204.36<br>
-8367.96<br>
371.86<br>
8375.80<br>
8376.22<br>
177.46<br>
1.12<br>
-1.04<br>
214<br>
19,579<br>
87.90<br>
180.60<br>
11207.42<br>
-8462.90<br>
372.44<br>
8470.70<br>
8471.09<br>
177.48<br>
2.07<br>
-0.53<br>
215<br>
19,675<br>
88.70<br>
180.90<br>
11210.27<br>
-8558.85<br>
371.18<br>
8566.55<br>
8566.90<br>
177.52<br>
0.89<br>
0.83<br>
216<br>
19,771<br>
90.70<br>
182.20<br>
11210.77<br>
-8654.81<br>
368.58<br>
8662.36<br>
8662.65<br>
177.56<br>
2.48<br>
2.08<br>
217<br>
19,867<br>
91.00<br>
180.90<br>
11209.35<br>
-8750.76<br>
365.99<br>
8758.17<br>
8758.41<br>
177.61<br>
1.39<br>
0.31<br>
218<br>
19,963<br>
90.50<br>
180.40<br>
11208.09<br>
-8846.75<br>
364.90<br>
8854.06<br>
8854.27<br>
177.64<br>
0.74<br>
-0.52<br>
219<br>
20,058<br>
91.20<br>
180.20<br>
11206.68<br>
-8941.73<br>
364.40<br>
8948.97<br>
8949.15<br>
177.67<br>
0.77<br>
0.74<br>
220<br>
20,153<br>
90.00<br>
179.60<br>
11205.69<br>
-9036.73<br>
364.57<br>
9043.92<br>
9044.08<br>
177.69<br>
1.41<br>
-1.26<br>
221<br>
20,249<br>
87.50<br>
178.80<br>
11207.78<br>
-9132.68<br>
365.91<br>
9139.87<br>
9140.01<br>
177.71<br>
2.73<br>
-2.60<br>
222<br>
20,344<br>
88.10<br>
179.30<br>
11211.43<br>
-9227.60<br>
367.48<br>
9234.78<br>
9234.92<br>
177.72<br>
0.82<br>
0.63<br>
223<br>
20,438<br>
88.60<br>
179.80<br>
11214.14<br>
-9321.56<br>
368.22<br>
9328.71<br>
9328.83<br>
177.74<br>
0.75<br>
0.53<br>
224<br>
20,533<br>
89.00<br>
178.40<br>
11216.13<br>
-9416.52<br>
369.71<br>
9423.67<br>
9423.78<br>
177.75<br>
1.53<br>
0.42<br>
Page 7<br>
<hr>
<A name=21></a>SURVEY CALCULATION PROGRAM<br>
1/16/15 9:46<br>
V09.04.02<br>
Company:<br>
Continental Resources, Inc.<br>
Well Name:<br>
Stangeland 3-7H1<br>
Location:<br>
Williams County, ND<br>
Rig:<br>
Cyclone #33<br>
Magnetic Declination:<br>
8.14<br>
Job Number:<br>
DDMT-140806<br>
API #:<br>
33-105-03650<br>
Vertical Section Azimuth:<br>
178.03<br>
Proposed Direction:<br>
178.03<br>
Survey Calculation Method:<br>
Minimum Curvature<br>
MD<br>
INC<br>
AZM<br>
TVD<br>
N/S<br>
E/W<br>
VS<br>
PTB:<br>
21,725<br>
89.4<br>
178.5<br>
11224.49<br>
-10607.9<br>
375.3<br>
10614.53<br>
Depth<br>
Inc<br>
Azm<br>
TVD<br>
N/S<br>
E/W<br>
Surface<br>
Closure<br>
DLS/<br>
BUR/<br>
#<br>
Feet<br>
Degrees<br>
Degrees<br>
Feet<br>
Feet<br>
Feet<br>
Vert Sec<br>
Distance<br>
Azm<br>
100<br>
100'<br>
225<br>
20,628<br>
87.60<br>
179.20<br>
11218.94<br>
-9511.46<br>
371.70<br>
9518.61<br>
9518.72<br>
177.76<br>
1.70<br>
-1.47<br>
226<br>
20,723<br>
87.30<br>
179.70<br>
11223.17<br>
-9606.36<br>
372.61<br>
9613.49<br>
9613.58<br>
177.78<br>
0.61<br>
-0.32<br>
227<br>
20,818<br>
87.20<br>
181.70<br>
11227.73<br>
-9701.24<br>
371.45<br>
9708.27<br>
9708.35<br>
177.81<br>
2.11<br>
-0.11<br>
228<br>
20,913<br>
88.90<br>
182.10<br>
11230.96<br>
-9796.13<br>
368.30<br>
9803.00<br>
9803.05<br>
177.85<br>
1.84<br>
1.79<br>
229<br>
21,007<br>
90.10<br>
180.90<br>
11231.78<br>
-9890.09<br>
365.84<br>
9896.82<br>
9896.85<br>
177.88<br>
1.81<br>
1.28<br>
230<br>
21,101<br>
91.10<br>
180.20<br>
11230.80<br>
-9984.08<br>
364.94<br>
9990.72<br>
9990.74<br>
177.91<br>
1.30<br>
1.06<br>
231<br>
21,198<br>
90.80<br>
179.20<br>
11229.19<br>
-10081.06<br>
365.45<br>
10087.66<br>
10087.68<br>
177.92<br>
1.08<br>
-0.31<br>
232<br>
21,294<br>
91.10<br>
179.20<br>
11227.60<br>
-10177.04<br>
366.79<br>
10183.63<br>
10183.64<br>
177.94<br>
0.31<br>
0.31<br>
233<br>
21,390<br>
91.40<br>
179.60<br>
11225.50<br>
-10273.01<br>
367.79<br>
10279.58<br>
10279.59<br>
177.95<br>
0.52<br>
0.31<br>
234<br>
21,486<br>
90.60<br>
178.90<br>
11223.83<br>
-10368.98<br>
369.05<br>
10375.54<br>
10375.55<br>
177.96<br>
1.11<br>
-0.83<br>
235<br>
21,582<br>
89.90<br>
178.30<br>
11223.41<br>
-10464.95<br>
371.39<br>
10471.54<br>
10471.54<br>
177.97<br>
0.96<br>
-0.73<br>
236<br>
21,677<br>
89.40<br>
178.50<br>
11223.99<br>
-10559.91<br>
374.05<br>
10566.53<br>
10566.54<br>
177.97<br>
0.57<br>
-0.53<br>
Page 8<br>
<hr>
<A name=22></a>CONTINENTAL RESOURCES, INC.<br>
Stangeland 3-7H1<br>
API 33-105-03650<br>
SHL: 300' FSL & 790' FWL, S6-T153N R99W<br>
Williams County, North Dakota<br>
BHL: 231' FSL & 1165' FWL, S18-T153N-R99W<br>
Williams County, North Dakota<br>
Monaco Services Geologist<br>
Peter J. Waldon PG3389<br>
<hr>
<A name=23></a>TABLE OF CONTENTS<br>
Page<br>
Well Data and Personnel Information<br>
3-4<br>
Geologist's Summary<br>
5-11<br>
Well Cross Section Views<br>
12-14<br>
ROP / Time Chart<br>
15<br>
Drilling Chronology<br>
16-22<br>
Non-Certified<br>
Directional Surveys<br>
23-28<br>
2<br>
<hr>
<A name=24></a>WELL DATA<br>
OPERATOR:<br>
CONTINENTAL RESOURCES, INC<br>
WELL NAME:<br>
Stangeland 3-7H1<br>
API NUMBER:<br>
33-105-03650<br>
SURFACE LOCATION:<br>
300' FSL & 790' FWL, S6-T153N R99W<br>
Williams County, North Dakota<br>
7" INTERMEDIATE CSG: 132' FNL 976' FWL, S7-T153N-R99W<br>
Williams County, North Dakota<br>
MD 11515' TVD 11223'<br>
BOTTOM HOLE:<br>
231' FSL & 1165' FWL, S18-T153N-R99W<br>
Williams County, North Dakota<br>
MD 21725' TVD 11225'<br>
ELEVATIONS:<br>
GL 2306'<br>
KB 2326'<br>
WELL TYPE:<br>
Extended Reach Horizontal in the Three Forks FM First Bench<br>
REGION:<br>
Williston Basin<br>
PROSPECT:<br>
Williston<br>
FIELD:<br>
Crazy Man Creek<br>
SPUD DATE:<br>
September 22, 2014, Drilled Sfc. Csg. Shoe @ 22:30 Hrs.<br>
TOTAL DEPTH<br>
VERTICAL AND CURVE: MD 11523' TVD 11222' September 29, 2014 @ 12:05 Hrs.<br>
TOTAL DEPTH<br>
LATERAL:<br>
MD 21725' TVD 11225' October 10, 2014 @ 19:30 Hrs.<br>
CUTTINGS SAMPLING:<br>
30' samples 8950' to 11523'<br>
100' samples 11523' to TD @ 21725'<br>
Lagged samples caught by Monaco personnel<br>
Invert contaminated samples cleaned with PC-Citrasolve<br>
HOLE SIZE:<br>
12.25" to 2423'<br>
8.75" to 11523'<br>
6.00" to 21725'<br>
CASING:<br>
9 625" 36# J55 STC to 2423'<br>
7.00" 32# P110 IC LTC to 11515'<br>
10820' of 4.50" 11.6# P110 BTC<br>
3<br>
<hr>
<A name=25></a>WELLSITE PERSONNEL INFORMATION<br>
CONTINENTAL RESOURCES, INC.<br>
GEOLOGIST:<br>
Roko Svast<br>
MONACO SERVICES<br>
GEOLOGIST:<br>
Peter Waldon PG3389<br>
MUDLOGGING:<br>
Monaco Services, Inc.<br>
EQUIPMENT/TECHNOLOGY:<br>
Bloodhound #5003 IR TG & Chromat.<br>
Monaco 2200 Electric Extractor<br>
PERSONNEL:<br>
Lance Erickson, Chris Scheidecker<br>
DRILL CONTRACTOR:<br>
Cyclone Rig 33<br>
DRILLING SUPERVISORS:<br>
Adam Knudson, Ian Calder<br>
DRILLING FLUIDS:<br>
GEO Drilling Fluids<br>
MUD ENGINEER:<br>
Scot Bloomfield, David Leighton<br>
MWD:<br>
MultiShot Energy Services<br>
MWD ENGINEERS:<br>
Nathan Dutton, Josh Hill<br>
DIRECTIONAL:<br>
MultiShot Energy Services<br>
DIRECTIONAL DRILLERS:<br>
Ben Matteson, Justin Klauzer<br>
4<br>
<hr>
<A name=26></a>GEOLOGIST'S SUMMARY<br>
INTRODUCTION<br>
Continental Resources, Inc. Stangeland Hayes ecopad is a four well location approximately<br>
6 miles southeast of Williston, North Dakota and within the boundaries of the Crazy Man<br>
Creek Field. The Stangeland Hayes ecopad location and drilling procedures were<br>
designed to allow efficient extraction of hydrocarbon resources from the Bakken and Three<br>
Forks Formations lying beneath sections 6,7 and 18 of T153N, R99 and section 31 of T154N<br>
R99W. Stangeland 3-7H1 was the first lateral drilled in the unit and targeted the First Bench<br>
of the Three Forks Formation. Surface location coordinates are 300' FSL & 790' FWL, S6-<br>
T153N R99W, Williams County, North Dakota. The Stangeland Hayes drilling unit consists<br>
the aforementioned four sections. The Stangeland 2-7H and 3-7H1 are southerly transects<br>
and the Hayes 2-6H and 3-6H1 are northerly transects. All holes are planned as ~10,000'<br>
laterals. The completed wells will utilize hydraulic fracturing technology to enhance their<br>
petroleum yields from the Middle member of the Bakken and First Bench of the Three Forks<br>
Formations. Drilling the Stangeland 3-7H1 began September 22, 2014 and the hole reached<br>
total depth of 21725' on October 10, 2014.<br>
5<br>
<hr>
<A name=27></a>Figure 1. Map of surface location area<br>
Tofte No. 1-1<br>
Hayes 1-6H<br>
Stangeland<br>
Hayes Eco pad<br>
Stangeland 3-7H1<br>
Stangeland 2-7H<br>
Stangeland 1-18H<br>
Figure 2. Stangeland Hayes Ecopad location S6 T153N R99W<br>
Initial Structural interpretation and Key Offset Wells<br>
Offset Wells<br>
Three nearby wells were selected as offsets for structural interpretation and as an aid to<br>
accurately land the build curve for the Stangeland 3-7H1. As noted on Figure 2, they were<br>
6<br>
<hr>
<A name=28></a>MAPCO Production Company, Tofte No. 1-1, a vertical hole drilled to the Red River<br>
Formation in 1981 and located approximately 4200'<br>
northwest of the Stangeland 3-7H1.<br>
Continental Resources, Hayes 1-6H, located approximately 2600' east of the Stangeland 3-<br>
7H1 and Continental Resources, Inc. Stangeland 1-18H, located approximately<br>
10500'<br>
south. A TVD gamma type section of the First Bench of the Three Forks Formation was<br>
modeled from data from the vertical and curve of Stangeland 3-7H1 and the Mapco Tofte<br>
hole and and proved to be sufficiently accurate to successfully geosteer the lateral.<br>
GEOLOGICAL EVALUATION<br>
Well site geological supervision of Stangeland 3-7H1 was provided Monaco Services, Inc.,<br>
with one well site Geologist and two mudloggers.<br>
Monaco personnel obtained gas<br>
quantification utilizing Bloodhound Unit #5003 and a Monaco System 2200 electric gas<br>
extractor. WITS information was imported from the drilling rig EDR system.<br>
Monaco<br>
personnel caught lagged 30' samples in the vertical and curve portions of the hole and 100'<br>
samples during the lateral. Cuttings from the invert mud drilled portions of the hole were<br>
cleaned with PC Citrasolve. Fresh water was used to clean cuttings form the lateral portion<br>
of the hole. Cleaned and graded samples were examined damp with a 3x-30x stereo<br>
binocular microscope and Geoscope UV fluoroscope. Acetone was used as the solvent for<br>
hydrocarbon cut evaluation. All processed samples were preserved and sent to the North<br>
Dakota Geological Survey in Grand Forks, North Dakota. Gamma and survey data was<br>
provided by the MultiShot MWD personnel on location.<br>
TARGET ZONE IDENTIFICATION<br>
The geological objective of the lateral was to remain in an 11' thick target zone in the First<br>
Bench of the Three Forks Formation. The target zone is stratigraphically situated between 14'<br>
and 25' beneath the base of the Lower Bakken Shale. A type section is depicted in Figure 3.<br>
below.<br>
FIGURE 3.<br>
MWD GAMMA STANGELAND 3-7H1<br>
WIRELINE GAMMA TOFTE No. 1-1<br>
7<br>
<hr>
<A name=29></a>DRILLING OPERATIONS<br>
Vertical and Curve<br>
Cyclone Rig 33 spudded the Stangeland 3-7H1 on September 22, 2014. Prior to the Cyclone<br>
rig moving onto the hole, a spudding rig drilled a 12-1/4" hole with fresh water to 2423'. The<br>
surface hole was isolated with 9 5/8" 36# J55 STC casing and cemented to surface. A 8 ¾"<br>
PDC bit, 1.83°mud motor and diesel invert mud were used to drill the vertical hole to kick off<br>
point at MD 10760' in the Lodgepole Formation. Directional tools employing a 2.38°degree<br>
bent assembly were used to land the build curve at MD 11523' with a projected TVD of<br>
11223' and inclination of 89.7°. 7", 32# P110 LTC intermediate casing was then run to MD<br>
11515', TVD 11223' and cemented. The Intermediate casing shoe location is 132' FNL &<br>
976' FWL, S7-T153N-R99W, Williams County, North Dakota.<br>
Lateral<br>
Diesel invert mud used while drilling the vertical and curve portions of the hole was replaced<br>
with 9.8# sodium chloride brine for the remainder of drilling operations. Two 6" PDC bits and<br>
1.5° steerable motors were used to drill the lateral section. A single 10210' long southerly<br>
transect was drilled in the First Bench of the Three Forks Formation on a 180°azimuth to MD<br>
21725', TVD 11225', terminating 231' north of the unit boundary hard-line near the south end<br>
of Section18. The initial structural interpretation assumed relatively flat formation dip to MD<br>
16500 followed by crossing perpendicular to the axis of a subtle eastward trending local high<br>
from MD 16500 to MD 19500. After crossing the subtle structural high, the formation dip was<br>
anticipated to remain essentially flat to TD. Over the course of the lateral, the formation<br>
dipped 4' upward resulting in an average formation dip of 90.02°.<br>
FORMATION TOPS AND WELL CORRELATION<br>
Tofte 1 1-R<br>
Stangeland 2-H<br>
Stangeland 3-H1<br>
Hayes 1-6H<br>
S1 T153N R100W<br>
S6 T153N R99W<br>
S6 T153N R99W<br>
S6 T153N R99W<br>
Extrapolated Depth<br>
E LOG TOPS<br>
E LOG TOPS<br>
E LOG TOPS<br>
E LOG TOPS<br>
KB ELEV<br>
2313<br>
Dist to KB ELEV 2326<br>
KB ELEV 2326<br>
Dist to land at KB Elev<br>
2391<br>
Dist to<br>
TVD<br>
SS TVD Isopach Tgt.<br>
TVD<br>
SS TVD Isopach<br>
TVD<br>
SS TVD Isopach<br>
Tgt.<br>
TVD<br>
SS TVD Isopach<br>
Tgt.<br>
Charles<br>
8885<br>
-6572<br>
673<br>
2301<br>
8917<br>
-6591<br>
660<br>
8931.7 -6605.7 643.3<br>
2301 11218<br>
8984<br>
-6593<br>
683<br>
2300<br>
BLCS<br>
9558<br>
-7245<br>
201<br>
1628<br>
9577<br>
-7251<br>
212<br>
9575<br>
-7249<br>
216<br>
1641 11218<br>
9667<br>
-7276<br>
192<br>
1617<br>
Mission C<br>
9759<br>
-7446<br>
589<br>
1427<br>
9789<br>
-7463<br>
596<br>
9791<br>
-7465<br>
592<br>
1429 11218<br>
9859<br>
-7468<br>
595<br>
1425<br>
Lodgepole<br>
10348<br>
-8035<br>
132<br>
838<br>
10385<br>
-8059<br>
114<br>
10383<br>
-8057<br>
117<br>
833 11218<br>
10454<br>
-8063<br>
115<br>
830<br>
LP1<br>
10480<br>
-8167<br>
174<br>
706<br>
10499<br>
-8173<br>
166<br>
10500<br>
-8174<br>
165<br>
719 11218<br>
10569<br>
-8178<br>
173<br>
715<br>
LP2<br>
10654<br>
-8341<br>
276<br>
532<br>
10665<br>
-8339<br>
289<br>
10665<br>
-8339<br>
292<br>
553 11218<br>
10742<br>
-8351<br>
286<br>
542<br>
LP3<br>
10930<br>
-8617<br>
54<br>
256<br>
10954<br>
-8628<br>
63<br>
10957<br>
-8631<br>
64<br>
264 11218<br>
11028<br>
-8637<br>
54<br>
256<br>
LP4<br>
10984<br>
-8671<br>
92<br>
202<br>
11017<br>
-8691<br>
96<br>
11021<br>
-8695<br>
94<br>
201 11218<br>
11082<br>
-8691<br>
95<br>
202<br>
False Bkn<br>
11076<br>
-8763<br>
9<br>
110<br>
11113<br>
-8787<br>
6<br>
11115<br>
-8789<br>
10<br>
105 11218<br>
11177<br>
-8786<br>
9<br>
107<br>
Upper Bkn<br>
11085<br>
-8772<br>
20<br>
101<br>
11119<br>
-8793<br>
19<br>
11125<br>
-8799<br>
18<br>
99 11218<br>
11186<br>
-8795<br>
17<br>
98<br>
Middle Bkn<br>
11105<br>
-8792<br>
20<br>
81<br>
11138<br>
-8812<br>
17<br>
11143<br>
-8817<br>
20<br>
80 11223<br>
11203<br>
-8812<br>
20<br>
81<br>
Target<br>
11125<br>
-8812<br>
20<br>
61<br>
11155<br>
-8829<br>
24<br>
11163<br>
-8837<br>
21<br>
63 11223<br>
11223<br>
-8832<br>
20<br>
61<br>
Lower Bakken<br>
11145<br>
-8832<br>
21<br>
41<br>
11179<br>
-8853<br>
20<br>
11184<br>
-8858<br>
20<br>
39 11223<br>
11243<br>
-8852<br>
21<br>
41<br>
Three Forks<br>
11166<br>
-8853<br>
20<br>
20<br>
11199<br>
-8873<br>
19<br>
11204<br>
-8878<br>
20<br>
19 11223<br>
11264<br>
-8873<br>
20<br>
20<br>
Target<br>
11186<br>
-8873<br>
0<br>
11218<br>
-8892<br>
0<br>
11224<br>
-8898<br>
0<br>
0 11223<br>
11284<br>
-8893<br>
0<br>
8<br>
<hr>
<A name=30></a>LITHOLOGY AND HYDROCARBON SHOWS<br>
Vertical and Curve<br>
Geologic evaluation of Stangeland 3-7H1 began at MD 8950' in the Charles Formation. The<br>
Base of the Last Charles Salt was encountered at MD 9575' TVD 9575' (SS TVD -7249), 2'<br>
structurally high to Stangeland 2-7H and 27' structurally high to Hayes 1-6H. The Ratcliffe<br>
and Midale intervals are composed of compact wackestone to mudstone with interbeds of<br>
massive anhydrite. No significant hydrocarbon shows were observed while drilling through<br>
the Ratcliffe and Midale intervals.<br>
The top of the Mission Canyon Formation was encountered at MD 9791' TVD 9791', (SS<br>
TVD -7465), 2' structurally low to Stangeland 2-7H and 3' structurally high to Hayes 1-6H.<br>
Samples from the Rival interval (9791' to 9810') consisted of light gray to light graybrown<br>
microcrystalline wackestone with poor to fair anhydrite occluded pinpoint vuggy porosity a<br>
trace of dark brown oil stain, dull yellow fluorescence and faint milky pale yellow cut. Total<br>
gas increased from 190 units to 340 units and then declined rapidly to 230 units while the<br>
Rival was penetrated. It is unlikely that the Rival interval would be commercially productive<br>
at this location. No other significant porous zones or gas shows were observed while drilling<br>
through the Mission Canyon Formation.<br>
The top of the Lodgepole Formation was encountered at MD 10383' TVD 10383' (SS TVD -<br>
8057), ), 2' structurally high to Stangeland 2-7H and 6' structurally high to Hayes 1-6H. The<br>
curve was "kickedoff" at MD 10772'. Four gamma markers were selected and used to<br>
calculate the curve landing point while drilling through the Lodgepole. Lodgepole samples<br>
consisted of compact ARGILLACEOUS MUDSTONE with minor carbonaceous shale present<br>
at the False Bakken Marker. A significant gas show from a background of 540 units to 6400<br>
units was observed while drilling in the base of the Scallion Interval From MD 11170' to MD<br>
11186'. It must be noted that, the rig was broken down for 2 hours and 5 minutes at MD<br>
11178', contributing significantly to the gas show from this interval.<br>
Samples from the<br>
Scallion consisted tan to cream and light gray brown microcrystalline wackestone with no<br>
visible porosity, spotty bright yellow fluorescence and an immediate milky yellow cut. It is<br>
likely that fractures emanating vertically from the Bakken shale are the source of this<br>
hydrocarbon show.<br>
The Bakken Formation Upper Shale was encountered at MD 11186' TVD 11125' (SS TVD<br>
-8799'), ),<br>
6' structurally low to Stangeland 2-7H and 4' structurally low to Hayes 1-6H.<br>
Samples consisted of CARBONACEOUS SHALE, black, firm blocky, non calcareous, slightly<br>
siltaceous in part, non fluorescent, weak milky pale yellow cut. Total gas at the top of the<br>
shale was 5500 units and decreased slightly to 5000 units while the shale bed was<br>
penetrated.<br>
The Middle Member of the Bakken Formation was encountered at MD 11230', TVD 11143'<br>
(SS TVD -8817), 5' structurally low Stangeland 2-7H and 5 structurally low Hayes 1-6H.<br>
Samples observed while drilling through the Middle Member of the Bakken Formation were<br>
very consistent and consisted of argillaceous to siltaceous and slightly arenaceous slightly<br>
dolomitic mudstone. Weak shows with a trace of dark brown stain pale yellow fluorescence<br>
and immediate pale yellow milky cut were persistent in all samples. No significant hight or<br>
low gamma horizons were obvious with gamma counts ranging from 75 to 90 API. Total gas<br>
was static and ranged from 1800 to 2400 units while the Middle Member of the Bakken was<br>
penetrated.<br>
9<br>
<hr>
<A name=31></a>The Bakken Formation Lower Shale was encountered at MD 11312', TVD 11184' (SS TVD<br>
-8858), ), Samples consisted of CARBONACEOUS SHALE, very dark brown to black, firm,<br>
blocky, non calcareous, non fluorescent, immediate streaming pale yellow green cut. While<br>
drilling through lower shale, total gas was static ranging from 2300 to 2600 units.<br>
The Three Forks Formation was encountered at MD 11374', TVD 11204' (SS TVD -8878)<br>
Samples observed while drilling downward through the 14 vertical feet of section above the<br>
top of the First Bench consisted of ARGILLACEOUS DOLOMITE: dark brown grading to light<br>
gray brown, mottled and laminated with light gray green waxy dolomitic micropyritic shale<br>
interbeds. Gray and gray brown very fine sucrosic dolomite interbeds contained a trace of<br>
spotty medium brown stain even very dull yellow fluorescence faint slow milky pale yellow<br>
cut. Total gas was stable and slowly decreased from 2400 units to 1800 units while drilling<br>
downward through the laminated upper horizons.<br>
The top of the First Bench was first<br>
encountered while drilling the curve at MD 11460' TVD 11220'. Samples consisted of slightly<br>
arenaceous DOLOMITE: tan to light brown some cream firm fine sucrosic slightly calcareous<br>
very fine arenaceous in part with a trace of spotty medium brown stain even bright pale<br>
yellow fluorescence immediate milky blue white and streaming pale yellow cut. Thin local<br>
waxy pale gray green dolomitic shale laminae were persistent throughout most of the first<br>
bench. Total gas was variable with readings ranging from 1200 units to 2500 units. Gamma<br>
values observed the somewhat laminated nature of the target zone and ranged from 110<br>
counts at the top of the target to 40 units in the middle and 120 counts at the Internal One<br>
Marker. 7" intermediate casing was set in the First Bench of the Three Forks Formation at<br>
MD 11515', TVD 11223, (SSTVD -8897)' with a projected inclination of 89.7°.<br>
TARGET ZONE IDENTIFICATION IN THE LATERAL<br>
The Target Zone within the Three Forks consists of a 11' thick Primary Low Gamma Target<br>
beginning 14' beneath the base of the Lower Bakken Shale. Lithology within the target was<br>
consistent over the course of the lateral, when samples were available. Target lithology was<br>
observed to be SLIGHTLY ARENACEOUS SLIGHTLY CALCAREOUS DOLOMITE very<br>
light to light brown and cream, firm to sub-hard very fine sucrosic, very fine arenaceous in<br>
part, trace intercrystalline porosity, even moderately bright pale yellow to yellow green<br>
fluorescence, scattered medium to dark brown oil stain, slow milky pale yellow green cut.<br>
The center of the target was evidenced by gamma counts from 42 to 50 API. Lithology above<br>
the target zone was observed to be highly laminated ARGILLACEOUS DOLOMITE light gray<br>
brown, mottled and laminated with light gray green waxy dolomitic micro-pyritic shale<br>
interbeds. Gray and gray brown very fine sucrosic dolomite interbeds contained a trace of<br>
spotty medium brown stain even very dull yellow fluorescence faint slow milky pale yellow<br>
cut. Gamma counts from the upper laminated fascies ranged from 100 to 110 and reflected<br>
the thinly bedded nature of the fascies. The Internal 1 Marker was briefly and intentionally<br>
contacted 4 times to provide accurate formation dip during the lateral. Samples from the<br>
internal 1 consisted ARGILLACEOUS DOLOMITE, light gray firm to sub-hard very fine<br>
sucrosic tight moderately argillaceous with no visible hydrocarbon shows. Gamma counts<br>
were observed to increase rapidly to 120 counts, clearly differentiating the bottom of the<br>
target zone from the top of the target zone<br>
LATERAL OIL AND GAS SHOWS<br>
Oil and gas shows observed in the samples when the well path was in the target zone were<br>
consistent over the course of the lateral. There were no obvious shows of oil in the drilling<br>
mud or gas flares during the lateral and no obviously fractured intervals were observed.<br>
Mud gas increased in a somewhat linear relationship to the holes VS, beginning at 500 units<br>
and increasing to approximately 3500 units near the end of the lateral.<br>
10<br>
<hr>
<A name=32></a>LATERAL DRILLING OBSERVATIONS AND GEOSTEERING<br>
Diesel invert mud used while drilling the vertical curve portions of the hole was displaced with<br>
d 9.8# sodium chloride brine for the lateral. Two trips were required during the drilling of the<br>
lateral.<br>
The first, a short trip at MD 13014 into the intermediate casing to allow wireline<br>
retrieval of a failed MWD tool. The second trip at MD 20885 for a new bit and motor. Upon<br>
exiting the 7" casing shoe at MD 11515', steering procedures were executed to evaluate all of<br>
the discrete lithologic horizons in the First Bench of the Three Forks Formation. No single<br>
horizon within the target appeared to display a favorable advantage with respect to oil shows<br>
or rate of penetration. From MD 19700' to TD cuttings were heavily contaminated with drilling<br>
lube and challenging to evaluate. Steering response was adequate to achieve targets for the<br>
entire length of the lateral. Structural interpretation indicates a nearly flat formation dip of<br>
89.9° from the 7" casing shoe to approximately MD 16000'.<br>
From MD 16000' to<br>
approximately MD 18500' the formation rose upward approximately 14 vertical feet resulting<br>
in a local dip of 90.32°. From MD 18500' to TD at MD 21725 the formation gradually fell 11'<br>
vertically resulting in a local dip of 89.8°. TD. Over the course of the lateral, the formation<br>
rose 4' upward resulting in an average formation dip of 90.02°. The 6" bore exposed 10210<br>
lineal feet of hole through the First Bench of the Three Forks Formation. While drilling the<br>
lateral, the BHA was slid 1563' (8%). The bore remained in the target zone for 7224' (63%)<br>
of the lateral.<br>
LATERAL STATISTICS<br>
Stangeland 3-<br>
7H1<br>
Total Lateral Footage<br>
10210<br>
Target Zone Thickness<br>
11<br>
Footage in Target<br>
7224<br>
Average Background Gas<br>
1815 U<br>
Lateral Slide Feet<br>
1563<br>
Total Slide Time %<br>
8<br>
Total Slide Depth %<br>
15<br>
CONCLUSIONS<br>
Oil shows observed while drilling Stangeland 3-7H1 were fair with a spotty oil stain<br>
persistently present in the arenaceous to silty dolomite of all target zone samples. Mud gas<br>
shows climbed steadily as the laterals vertical section increased, indicative of the very low<br>
permeability of the formation. Subsurface structural control, utilizing data from nearby Middle<br>
Bakken laterals was adequate to land the curve and geosteer the lateral. The lateral was<br>
drilled with a 2 BHA's. Trip gas of 5500 units after running the 4 ½" liner is a positive<br>
indication of hydrocarbons. Stangeland 3-7H1 will be completed with a multi-stage fracture<br>
stimulation after which its production potential will be revealed.<br>
11<br>
<hr>
<A name=33></a>Figure 4.<br>
As depicted in Fig. 4, the well path exited the intermediate casing shoe in the target zone.<br>
Steering inputs were utilize to halt<br>
and reverse the well bore's downward trajectory and begin evaluation of the target zone<br>
<hr>
<A name=34></a>.<br>
Figure 5.<br>
As depicted in Fig.5, the base of the target zone was contacted once times by MD 16500'. Formation dip was calculated at<br>
89.99°for this portion of the lateral. Figure 5 also indicates the beginning of the subtle eastward trending local high'. It became<br>
apparent by the mid point of the lateral, MD 17000'; there was no specific horizon that was obviously more favorable with<br>
respect to hydrocarbon shows or rate of penetration.<br>
13<br>
<hr>
<A name=35></a>Figure 6.<br>
Fig. 6, accurately depicts the subtle rolling structure that was traversed. Accurate formation dip was verified using intentional<br>
contact with the base of the target zone four times over the course od the lateral depicted in Fig. 6. Accurate formation dip<br>
over the entire lateral should allow drilling the subsequent Stangeland 2-7H with increased efficiency.<br>
<hr>
<A name=36></a>INTERPRETIVE CROSS SECTION<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
5<br>
0<br>
1<br>
1<br>
2<br>
2<br>
3<br>
3<br>
4<br>
4<br>
5<br>
5<br>
6<br>
6<br>
7<br>
7<br>
8<br>
8<br>
9<br>
9<br>
0<br>
0<br>
1<br>
1<br>
2<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
MD<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
2<br>
2<br>
2<br>
2<br>
2<br>
11140<br>
3000<br>
7" CASING SHOE<br>
Bottom Hole Location:<br>
11150<br>
Wellbore<br>
Lower Bakken Shale<br>
Three Forks Top<br>
Target Zone Top<br>
Target Zone Bottom<br>
Internal 1<br>
Casing Point<br>
Trips<br>
N<br>
LOCATION: MD 11515'<br>
TD<br>
Targets<br>
Daily Footage<br>
BH Temperature<br>
MD 21725' TVD 11224.5'<br>
S<br>
11160<br>
Diff. Pressure<br>
TVD 11223' (-8897)<br>
230.7' FSL 1165' FWL<br>
2500<br>
11170<br>
132' FNL 976' FWL<br>
Stangeland 3-7H1 S6 T153N R99W, WILLIAMS CO. ND<br>
S18-T153-R99W<br>
si<br>
11180<br>
S7-T153-R99W<br>
1853<br>
90.26<br>
90.03<br>
89.69<br>
89.74<br>
2000<br>
11190<br>
89.90<br>
1557<br>
89.93<br>
/°f/p<br>
90.49<br>
1462<br>
e<br>
11200<br>
1383<br>
89.99<br>
g<br>
D<br>
89.72<br>
150ta0<br>
11210<br>
VT<br>
o<br>
1061<br>
1078<br>
oF<br>
11220<br>
827<br>
ily<br>
745<br>
1000<br>
11230<br>
aD<br>
Estimated Dip: 90.00<br>
494<br>
11240<br>
376<br>
11250<br>
0500<br>
129<br>
11260<br>
11270<br>
0000<br>
62% IN Target<br>
8% Slide/27.21 Hrs. Sliding<br>
150<br>
0015<br>
Gamma Ray<br>
Torque<br>
ts125<br>
nu100<br>
f<br>
o<br>
0010<br>
CI 75<br>
f-lb<br>
P<br>
k<br>
A 50<br>
0005<br>
25<br>
0<br>
0000<br>
400<br>
0150<br>
ROP<br>
WOB<br>
Rotary<br>
300<br>
m<br>
2r00<br>
0100<br>
100<br>
ft/h<br>
s/rp<br>
0<br>
005lb0<br>
k<br>
-100<br>
-200<br>
0000<br>
3000<br>
TG<br>
C1<br>
C2<br>
C3<br>
C4<br>
C5<br>
Mud Weight<br>
10.0<br>
2s)500<br>
a<br>
l<br>
2<br>
9.8a<br>
(g000<br>
1500<br>
9.6<br>
its<br>
s/g<br>
1n000<br>
9.4lb<br>
U500<br>
9.2<br>
0<br>
9.0<br>
100<br>
1.0<br>
Wh<br>
Bh<br>
Ch<br>
75<br>
h<br>
h<br>
C<br>
/Bh 50<br>
0.5<br>
W 25<br>
0<br>
0.0<br>
15<br>
<hr>
<A name=37></a>ROP / TIME CHART<br>
DATE<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
4<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
0<br>
1<br>
2<br>
1<br>
2<br>
3<br>
4<br>
5<br>
6<br>
7<br>
8<br>
9<br>
0<br>
/1<br>
/2<br>
/3<br>
/4<br>
/5<br>
/6<br>
/7<br>
/8<br>
/9<br>
/1<br>
/1<br>
/1<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/2<br>
/3<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
0<br>
9<br>
9<br>
9<br>
9<br>
9<br>
9<br>
9<br>
9<br>
9<br>
9<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
0<br>
5000<br>
10000<br>
HTPED<br>
15000<br>
20000<br>
16<br>
<hr>
<A name=38></a>DAILY DRILLING CHRONOLOGY<br>
Date<br>
Depth<br>
Begin<br>
End<br>
Activity<br>
Time<br>
Time<br>
21-<br>
2245<br>
0<br>
3<br>
WALK RIG TO NEW WELL PAD<br>
Sep<br>
3<br>
5.5<br>
RIG UP MUD LINES, PASON LINES, CATWALK, FLOW<br>
LINE,SIUTCASES, WTR & AIR LINES<br>
GERONIMO LINE , SLOW DESENT LINE<br>
5.5<br>
6<br>
NIPPLE UP B.O.P.<br>
6<br>
9.5<br>
NIPPLE UP B.O.P. FINNISH NIPPLE UP BOP- RIG UP FLOW LINE, RE-<br>
WELD CHOKE LINE<br>
CENTER BOP TO RIG,<br>
9.5<br>
11<br>
PRE SPUD WALK AROUND INSPECTUIION<br>
11<br>
15<br>
TEST B.O.P. - PIPE RAMS, HCR, MID KILL, IMV, INSIDE KILL, TIW, 250<br>
LOW 5000 PSI<br>
HELD 10 MINS EACH WAY, ANN 250 LOW 2500 PSI HELD 10 MIN, BLIND<br>
RAMS, OUTSIDE<br>
MANIFOLD, INSIDE MANIFOLD, KILL VALVE, 250 LOW 5000 HIGH, HELD<br>
10 MIN, ACC<br>
FUNCTION TEST, CASING TEST 1500 30 MIN.<br>
15<br>
15<br>
INSTALL WEAR BUSHING<br>
15<br>
16<br>
DIR. WORK - P/U AND M/U DIR TOOLS<br>
16<br>
18<br>
TRIPS - RIH / 98' TO 2245'<br>
22-<br>
6347<br>
18<br>
20<br>
SLIP & CUT DRILL LINE<br>
Sep<br>
20<br>
20<br>
LUBRICATE BLOCKS &TOPDRIVE<br>
20<br>
23<br>
DRILL CEMT & FLOAT COLLAR @ 2339 DRILL SHOE TRACK AND SHOE<br>
@2384<br>
DRILL 10' OF NEW HOLE FIT TO 236 PSI EMW 11.5 LB PER GAL @ 239<br>
23<br>
6<br>
DRILL F/ 2395 TO 3761<br>
6<br>
13<br>
DRILL ACTUAL F/ 3761' TO 5557'<br>
13<br>
14<br>
LUBRICATE RIG TOP DRIVE, BLOCKS AND CROWN, FUNCTION HCR 3<br>
SEC TO CLOSE<br>
14<br>
18<br>
DRILL ACTUAL F /5557' TO 6347'<br>
23-<br>
6947<br>
18<br>
22<br>
DRILL F/6247 TO 6633<br>
Sep<br>
22<br>
22<br>
CURCULATE TO TOOH<br>
22<br>
1.5<br>
FLOW CHECK, PUMP DRY JOB & TOOH<br>
1.5<br>
3.5<br>
SWAP OUT BIT & MOTOR, ORIENT & SCRIBE, SURFCE TEST MWD &<br>
MOTOR<br>
FUNCTION BLIND RAMS ON BANK<br>
3.5<br>
4<br>
SERVICE TOPDRIVE, CLEAN UP FLOOR<br>
4<br>
6<br>
TROUBLE SHOOT TOP DRIVE -BAD ETHERNET CORD<br>
FUNCTION CROWN & FLOOR SAVER (JH)<br>
6<br>
10<br>
TOP Drive WAIT ON ETHERNET CABLE -AND TOP DRIVE HAND,<br>
10<br>
11<br>
LUBRICATE RIG - TOP DRIVE AND BLOCKS FUNCTION HCR 3 SEC TO<br>
CLOSE<br>
11<br>
15<br>
TRIPS - RIH F/ 98' TO 6636'<br>
15<br>
18<br>
DRILL ACTUAL F/ 6636' TO 6947'<br>
24-<br>
8157<br>
18<br>
1.5<br>
DRILL F/6947 TO 7358<br>
Sep<br>
1.5<br>
2<br>
LUBRICATE BLOCKS & TOP DRIVE FUNCTION TIW VALVE &<br>
ANNULAR<br>
17<br>
<hr>
<A name=39></a>2<br>
6<br>
DRILL F/ 7358 TO 7642<br>
6<br>
17<br>
DRILL ACTUAL F/ 7642' TO 8115'<br>
17<br>
17<br>
LUBRICATE RIG - TOP DRIVE AND BLOCKS, FUNCTION PIPE RAMS 5<br>
SEC TO CLOSE<br>
17<br>
18<br>
DRILL ACTUAL F/ 8115' TO 8157'<br>
25-<br>
9283<br>
18<br>
2.5<br>
DRILL F/ 8157' TO 8590'<br>
Sep<br>
2.5<br>
3<br>
LUBRICATE BLOCKS & TOP DRIVE<br>
3<br>
6<br>
DRILL F/ 8590' TO 8716'<br>
6<br>
16<br>
DRILL ACTUAL F/ 8716' TO 9157'<br>
16<br>
16<br>
LUBRICATE RIG - TOP DRIVE, BLOCKS & CROWN FUNCTION HCR 3<br>
SEC TO CLOSE<br>
16<br>
18<br>
DRILL ACTUAL / 9157' TO 9283'<br>
26-<br>
9508<br>
18<br>
20<br>
DRILL F/ 9283 TO 9346<br>
Sep<br>
20<br>
5<br>
TRIP OUT OF THE HOLE, BACK REAM 9346'-8800' AND 5146'-5055'<br>
5<br>
6<br>
LAID DOWN DIR TOOLS<br>
6<br>
6.5<br>
CLEAN RIG FLOOR<br>
6.5<br>
7.5<br>
DIR. WORK - P/U AND M/U DIR TOOLS AND TEST<br>
7.5<br>
8<br>
TRIPS RIH F/ 98' TO 1089'<br>
8<br>
9.5<br>
HELD SAFETY STAND DOWN<br>
9.5<br>
13<br>
TRIPS - CONTINUE RIH F/ 1089' TO 8932'<br>
13<br>
15<br>
REAMING F/ 8932' TO 9345'<br>
15<br>
17<br>
DRILL ACTUAL F/ 9345' TO 9439'<br>
17<br>
17<br>
LUBRICATE RIG TOP DRIVE AND BLOCKS FUNCTION PIPE RAMS 5<br>
SEC TO CLOSE<br>
17<br>
18<br>
DRILL ACTUAL F/ 9439' TO 9508'<br>
27-<br>
10760<br>
18<br>
0<br>
DRILL F/ 9508 TO9723<br>
Sep<br>
0<br>
0.5<br>
LUBRICATE BLOCKS & TOP DRIVE FUNCTION ANNULAR<br>
0.5<br>
6<br>
DRILL F/ 9723 TO 10102.79<br>
6<br>
17<br>
DRILL ACTUAL F/ 10102' TO 10481'<br>
17<br>
17<br>
LUBRICATE RIG TOP DRIVE, BLOCKS AND CROWN FUNCTION HCR 3<br>
SEC TO CLOSE<br>
17<br>
18<br>
DRILL ACTUAL F 10481' TO 10540'<br>
28-<br>
10899<br>
18<br>
23<br>
DRILL F/ 10540 10760<br>
Sep<br>
23<br>
24<br>
CIRCULATE<br>
24<br>
0<br>
LUBRICATE BLOCKS & TOP DRIVE<br>
0<br>
5<br>
TOOH<br>
5<br>
6<br>
LAY DOWN DIRECTIONAL TOOLS<br>
6<br>
6.5<br>
LAY DOWN DIRECTIONAL TOOLS AND DRAIN MOTOR, LAY DOWN BIT<br>
6.5<br>
8<br>
PICK UP DIRECTIONAL TOOLS AND TEST MWD & MUD MOTOR<br>
8<br>
15<br>
TRIP IN HOLE F/ 98' TO 10760'<br>
15<br>
17<br>
DRILL CURVE F/ 10760' TO 10867'<br>
17<br>
18<br>
LUBRICATE RIG TOP DRIVE AND BLOCKS, FUNCTION HCR 3 SEC TO<br>
CLOSE<br>
18<br>
18<br>
DRILL CURVE F/ 10867' TO 10899'<br>
29-<br>
11515<br>
18<br>
0.5<br>
DRILL F/ 10899 TO 11174<br>
Sep<br>
0.5<br>
1<br>
LUBRICATE RIG - GREASE TD ( FUNCTION PIPE RAMS )<br>
1<br>
2.5<br>
REPAIR RIG - DRYING SHAKERS SHORTED OUT ELEC PLUG<br>
2.5<br>
6<br>
DRILL F/ 11174 TO 11278<br>
6<br>
12<br>
DRILL ACTUAL F/11278 T/11515 T/D<br>
18<br>
<hr>
<A name=40></a>12<br>
13<br>
CIRCULATE<br>
13<br>
14<br>
SHORT TRIP 9 STANDS TO TOP OF CURVE<br>
14<br>
15<br>
T.I.H 9 STD<br>
15<br>
17<br>
CIRCULATE HOLE CLEAN<br>
17<br>
18<br>
L/D 5''DP<br>
30-<br>
11515<br>
18<br>
22<br>
PJSM - LDDP<br>
Sep<br>
22<br>
22<br>
CHANGE OUT DIES ON WR-80<br>
22<br>
4<br>
LDDP & HWDP<br>
4<br>
4.5<br>
DIR. WORK - L/D ALL TOOLS<br>
4.5<br>
5<br>
PULL WEAR BUSHING<br>
5<br>
5.5<br>
CLEAN FLOOR<br>
5.5<br>
6<br>
LUBRICATE RIG, GREASE TOPDRIVE, BLKS, CROWN<br>
6<br>
7<br>
HOLD SAFETY MEETING RIG UP CASING CREW<br>
7<br>
18<br>
MAKE UP SHOE FLOAT EQ RUN CASING 249 JTS 7\ LTC 32# P-110"<br>
1-Oct<br>
11515<br>
18<br>
19<br>
LAND CASING WITH LANDING JT<br>
19<br>
21<br>
CIRCULATE CASING WITH RIG<br>
21<br>
0.5<br>
PJSM - SHUT DOWN & R/U CEMENT HEAD<br>
CEMENT 7\ CASING - TEST LINES 6500<br>
LEAD CMT 238 BBL 11.8#, TAIL CMT 151 BBL 15.6#, DROP PLUG<br>
DISPLACE H2O 411 BBL, BUMP PLUG & CHECK FLOATS<br>
0.5<br>
1<br>
R/D CEMENTERS<br>
1<br>
3.5<br>
FLUSH STACK, BACK OUT OF LANDING JT, SET & TEST PACK OFF TO<br>
5K 15 MIN<br>
3.5<br>
4.5<br>
L/D CASING BUDDY BAILS, SLIPS & ELEVATORS - SET BIT GUIDE IN<br>
WELL HEAD<br>
4.5<br>
6<br>
CHANGE OUT SAVER SUB TO XT-39, INSTALL 4\ ELEVATORS<br>
FILL MUD TANKS WITH SALT WATER<br>
TEST CROWN/FLOOR SAVER ( JT ) (WS)<br>
BOP DRILL TIME 2:00<br>
6<br>
8.5<br>
CHANGE SHAKER SCREENS RACK STRAP 4''DP INSTALL STABING<br>
GUIDES,ELEVATORS<br>
FINISH TRANSFERRING SALT WATER TO MUD TANKS<br>
8.5<br>
9.5<br>
DIR. WORK MAKE UP BIT MOTOR SLICKS MWD XO<br>
9.5<br>
18<br>
T.I.H PICKING UP 4'' XT-39 DP<br>
2-Oct<br>
12299<br>
18<br>
20<br>
P/U 4\ DP TO 9000' - INSTALL ROT ROBBER & FILLL PIPE"<br>
20<br>
21<br>
CUT OFF DRILLING LINE - 15 RAPS 117'<br>
21<br>
1<br>
P/U 4\ DP TO 11342 - FILL PIPE & TAG @ 11365"<br>
1<br>
1.5<br>
PICK UP SPACE OUT SHUT IN - CASING TEST TO 1500 PSI FOR 30<br>
MIN<br>
1.5<br>
2.5<br>
DRILL OUT FLOAT@ 11435, CEMENT & SHOE@ 11515<br>
2.5<br>
3<br>
DRILL 10' NEW HOLE 11515 TO 11525 PICK UP SPACE OUT - FIT 875<br>
PSI @ EMW 11.5<br>
3<br>
6<br>
DRILL F/ 11525 TO 11712<br>
6<br>
17<br>
DRILL ACTUAL F/11712 T/12263<br>
17<br>
18<br>
LUBRICATE RIG<br>
18<br>
18<br>
DRILL ACTUAL F/12263 T/12299<br>
3-Oct<br>
13014<br>
18<br>
2.5<br>
DRILL F/ 12299 TO 13014<br>
2.5<br>
3<br>
LUBRICATE RIG - GREASE TD ( FUNCTION PIPE RAMS )<br>
3<br>
3.5<br>
TRIP OUT 7 STDs TO 12361<br>
3.5<br>
4<br>
TROUBLE SHOOT MWD ( GAMMA )<br>
4<br>
5<br>
TRIP OUT 20 STDs TO 10489<br>
5<br>
6<br>
CIRCULATE - WAIT ON WIRE LINE<br>
19<br>
<hr>
<A name=41></a>6<br>
9.5<br>
Directional Tool Failure WAIT ON WIRE LINE MACHINE<br>
9.5<br>
14<br>
PULL MWD INSTALL NEW MWD USING WIRELINE MACHINE<br>
14<br>
15<br>
T.I.H F/10489' TO 12361'<br>
15<br>
18<br>
RE-LOG GAMMA F/12361' TO 13014'<br>
4-Oct<br>
14700<br>
18<br>
19<br>
DIR. WORK - RELOG GAMMA F/ 12888 TO 13014<br>
19<br>
4<br>
DRILL F/ 13014 TO 13691<br>
4<br>
4.5<br>
LUBRICATE RIG - GREASE TD ( FUNCTION ANNULAR )<br>
4.5<br>
6<br>
DRILL F/ 13691 TO 13787<br>
6<br>
14<br>
DRILL ACTUAL F/13787 T/14453<br>
14<br>
15<br>
LUBRICATE RIG, GREASED TOPDRIVE, BLKS, CROWN<br>
15<br>
18<br>
DRILL ACTUAL F/14453 T/14700<br>
5-Oct<br>
16308<br>
18<br>
0<br>
DRILL F/ 14700 TO 15222<br>
0<br>
0.5<br>
LUBRICATE RIG - GREASE TD ( FUNCTION PIPE RAMS )<br>
0.5<br>
6<br>
DRILL F/ 15222 TO 15645<br>
6<br>
16<br>
DRILL ACTUAL F/15645 T/16275<br>
16<br>
17<br>
LUBRICATE RIG, GREASE TOPDRIVE, BLKS , CROWN<br>
17<br>
18<br>
DRILL ACTUAL F/16275 T/16308<br>
6-Oct<br>
17903<br>
18<br>
0.5<br>
DRILL F/ 16308 TO 16851<br>
0.5<br>
1<br>
LUBRICATE RIG - GREASE TD ( FUNCTION ANNULAR )<br>
1<br>
6<br>
DRILL F/ 16851 TO 17200<br>
6<br>
16<br>
DRILL ACTUAL F/17200 T/17709<br>
16<br>
16<br>
LUBRICATE RIG<br>
16<br>
18<br>
DRILL ACTUAL F/17709 T/17903<br>
7-Oct<br>
19121<br>
18<br>
1<br>
DRILL F/ 17903 TO 18286<br>
1<br>
1.5<br>
LUBRICATE RIG - GREASE TD ( FUNCTION ANNULAR )<br>
1.5<br>
6<br>
DRILL F/ 18286 TO 18700<br>
6<br>
16<br>
DRILL ACTUALF/18700 T/19121<br>
16<br>
16<br>
LUBRICATE RIG<br>
16<br>
18<br>
TROUBLE SHOOT DRAWWORKS COM PROB<br>
8-Oct<br>
20676<br>
18<br>
19<br>
TROUBLE SHOOT DRAWWORKS COM<br>
19<br>
2<br>
DRILL F/ 19121 TO 19532<br>
2<br>
2.5<br>
LUBRICATE RIG - GREASE TD ( FUNCTION PIPE RAMS )<br>
2.5<br>
6<br>
DRILL F/ 19532 TO 19705<br>
6<br>
17<br>
DRILL ACTUAL F/19705 T/20201<br>
17<br>
17<br>
LUBRICATE RIG<br>
17<br>
18<br>
DRILL ACTUAL F/20201 T/20297<br>
9-Oct<br>
20885<br>
18<br>
2<br>
DRILL F/ 20297 TO 20676<br>
2<br>
2.5<br>
LUBRICATE RIG - GREASE TD ( FUNCTION ANNULAR )<br>
2.5<br>
6<br>
DRILL F/ 20676 TO 20790<br>
6<br>
9.5<br>
DRILL ACTUAL F/20790 T/20885<br>
9.5<br>
17<br>
TRIP OUT F/ MTR & BIT<br>
17<br>
18<br>
DIR. WORK<br>
LAY DWN MTR UBHO SUB<br>
10-Oct<br>
21725<br>
18<br>
19<br>
DIR. WORK - L/D UBHO, FLOAT SUB, BIT & MTR - P/U NEW SCRIBE<br>
TOOLS & TEST<br>
19<br>
3.5<br>
TRIP IN HOLE FILLING PIPE AS NEEDED - INSTALL ROT RUBBER @<br>
SHOE<br>
3.5<br>
4.5<br>
WASH 120 TO BOTTOM F/ 20765 TO 20885<br>
4.5<br>
6<br>
DRILL F/ 20885 TO 20910<br>
6<br>
16<br>
DRILL ACTUAL F/20910 T/21340<br>
16<br>
16<br>
LUBRICATE RIG<br>
16<br>
18<br>
DRILL ACTUAL F/21340 T/21548<br>
11-Oct<br>
21725<br>
18<br>
20<br>
DRILL F/ 21548 TO 21725 ( TD )<br>
20<br>
21<br>
SHORT TRIP 10 STDs TO 20771<br>
20<br>
<hr>
<A name=42></a>21<br>
21<br>
LUBRICATE RIG - GREASE TD & CROWN ( FUNCTION PIPE RAMS )<br>
21<br>
23<br>
CIRCULATE - PUMP & SPOT LUBE IN LATERAL<br>
23<br>
6<br>
FLOW CHECK - TRIP OUT TO RUN LOGS & CASING ( DROP RABBIT &<br>
SLM )<br>
6<br>
6.5<br>
TRIP OUT RUN LOGS & CASING<br>
6.5<br>
7.5<br>
DIR. WORK ,LAY DWN BIT MOTOR RACK BACK MONELS<br>
7.5<br>
8<br>
PULL WEAR BUSHING<br>
8<br>
18<br>
HLD SAFETY MEETING RIG UP LOGGERS RUN WIRELINE LOGS<br>
12-Oct<br>
21725<br>
18<br>
19<br>
R/D LOGERS<br>
19<br>
19<br>
PJSM - R/U CASING<br>
19<br>
5<br>
MAKE UP SHOE & FLOATS - RUN CASING 4.5\ 11.6# 246 JOINTS & 39<br>
PACKERS"<br>
5<br>
5.5<br>
P/U HANGER, BUMPER SUB & 1 STD OF HWDP<br>
5.5<br>
6<br>
R/D CASING CREW<br>
6<br>
12<br>
TRIP IN HOLE WITH LINER<br>
12<br>
16<br>
CIRCULATE BOTTOMS UP,CIRC,FRESH WATER INTO LAT 196 BBLS<br>
FRESH WATER<br>
16<br>
18<br>
DROP BALL, HANG LINER, STING OUT AND PRESSURE TEST LINER<br>
TOP TO 3000PSI/30MIN<br>
18<br>
18<br>
DISPLACE ,7'' CASING WITH SALT WATER 330BBLS<br>
21<br>
<hr>
<A name=43></a>NON-CERTIFIED FIELD DIRECTIONAL SURVEYS<br>
Tool<br>
MD<br>
INC<br>
AZI<br>
CL<br>
TVD<br>
VS<br>
Coordinates<br>
Closure<br>
DLS<br>
Build<br>
Walk<br>
BRN<br>
Rate<br>
Rate<br>
No.<br>
Type<br>
(ft)<br>
(°)<br>
(°)<br>
(ft<br>
(ft)<br>
(ft)<br>
N/S (ft)<br>
E/W (ft)<br>
Dist (ft)<br>
Ang (°)<br>
(°/100'<br>
(°/100')<br>
(°/100')<br>
(°/100'<br>
)<br>
)<br>
)<br>
0<br>
TIE-IN<br>
2328<br>
0.50<br>
284.50<br>
2327.95<br>
0.78<br>
-0.93<br>
-4.44<br>
1<br>
MWD<br>
2384<br>
0.70<br>
22.90<br>
56<br>
2383.95<br>
0.55<br>
-0.55<br>
S<br>
-4.54<br>
W<br>
4.58<br>
263.05<br>
1.64<br>
0.36<br>
-467.1<br>
0.64<br>
2<br>
MWD<br>
2479<br>
1.00<br>
50.10<br>
95<br>
2478.94<br>
-0.51<br>
0.51<br>
N<br>
-3.68<br>
W<br>
3.72<br>
277.93<br>
0.52<br>
0.32<br>
28.6<br>
0.64<br>
3<br>
MWD<br>
2575<br>
0.80<br>
43.70<br>
96<br>
2574.93<br>
-1.53<br>
1.53<br>
N<br>
-2.58<br>
W<br>
3.00<br>
300.78<br>
0.23<br>
-0.21<br>
-6.7<br>
0.65<br>
4<br>
MWD<br>
2669<br>
1.00<br>
53.10<br>
94<br>
2668.91<br>
-2.50<br>
2.50<br>
N<br>
-1.47<br>
W<br>
2.90<br>
329.62<br>
0.26<br>
0.21<br>
10.0<br>
0.66<br>
5<br>
MWD<br>
2763<br>
1.00<br>
34.20<br>
94<br>
2762.90<br>
-3.67<br>
3.67<br>
N<br>
-0.35<br>
W<br>
3.69<br>
354.56<br>
0.35<br>
0.00<br>
-20.1<br>
0.67<br>
6<br>
MWD<br>
2858<br>
0.80<br>
45.10<br>
95<br>
2857.89<br>
-4.83<br>
4.83<br>
N<br>
0.59<br>
E<br>
4.86<br>
6.92<br>
0.28<br>
-0.21<br>
11.5<br>
0.68<br>
7<br>
MWD<br>
2953<br>
0.80<br>
19.00<br>
95<br>
2952.88<br>
-5.92<br>
5.92<br>
N<br>
1.27<br>
E<br>
6.06<br>
12.12<br>
0.38<br>
0.00<br>
-27.5<br>
0.68<br>
8<br>
MWD<br>
3048<br>
0.90<br>
28.60<br>
95<br>
3047.87<br>
-7.20<br>
7.20<br>
N<br>
1.84<br>
E<br>
7.44<br>
14.37<br>
0.18<br>
0.11<br>
10.1<br>
0.69<br>
9<br>
MWD<br>
3143<br>
1.00<br>
6.50<br>
95<br>
3142.86<br>
-8.68<br>
8.68<br>
N<br>
2.30<br>
E<br>
8.98<br>
14.81<br>
0.40<br>
0.11<br>
-23.3<br>
0.70<br>
10<br>
MWD<br>
3237<br>
1.20<br>
10.80<br>
94<br>
3236.84<br>
-10.46<br>
10.46<br>
N<br>
2.57<br>
E<br>
10.78<br>
13.82<br>
0.23<br>
0.21<br>
4.6<br>
0.70<br>
11<br>
MWD<br>
3332<br>
1.30<br>
5.70<br>
95<br>
3331.82<br>
-12.51<br>
12.51<br>
N<br>
2.87<br>
E<br>
12.84<br>
12.90<br>
0.16<br>
0.11<br>
-5.4<br>
0.71<br>
12<br>
MWD<br>
3426<br>
0.20<br>
251.50<br>
94<br>
3425.81<br>
-13.52<br>
13.52<br>
N<br>
2.82<br>
E<br>
13.81<br>
11.77<br>
1.48<br>
-1.17<br>
261.5<br>
0.73<br>
13<br>
MWD<br>
3521<br>
0.50<br>
251.20<br>
95<br>
3520.81<br>
-13.34<br>
13.34<br>
N<br>
2.27<br>
E<br>
13.53<br>
9.65<br>
0.32<br>
0.32<br>
-0.3<br>
0.74<br>
14<br>
MWD<br>
3615<br>
0.10<br>
246.50<br>
94<br>
3614.80<br>
-13.17<br>
13.17<br>
N<br>
1.80<br>
E<br>
13.29<br>
7.80<br>
0.43<br>
-0.43<br>
-5.0<br>
0.75<br>
15<br>
MWD<br>
3711<br>
0.20<br>
338.30<br>
96<br>
3710.80<br>
-13.29<br>
13.29<br>
N<br>
1.66<br>
E<br>
13.40<br>
7.14<br>
0.24<br>
0.10<br>
95.6<br>
0.76<br>
16<br>
MWD<br>
3805<br>
0.10<br>
12.70<br>
94<br>
3804.80<br>
-13.53<br>
13.53<br>
N<br>
1.62<br>
E<br>
13.62<br>
6.84<br>
0.14<br>
-0.11<br>
-346.4<br>
0.77<br>
17<br>
MWD<br>
3901<br>
0.40<br>
352.90<br>
96<br>
3900.80<br>
-13.94<br>
13.94<br>
N<br>
1.60<br>
E<br>
14.03<br>
6.54<br>
0.32<br>
0.31<br>
354.4<br>
0.78<br>
18<br>
MWD<br>
3994<br>
0.30<br>
291.70<br>
93<br>
3993.80<br>
-14.35<br>
14.35<br>
N<br>
1.33<br>
E<br>
14.41<br>
5.31<br>
0.39<br>
-0.11<br>
-65.8<br>
0.79<br>
19<br>
MWD<br>
4089<br>
0.10<br>
333.90<br>
95<br>
4088.80<br>
-14.52<br>
14.52<br>
N<br>
1.07<br>
E<br>
14.56<br>
4.20<br>
0.25<br>
-0.21<br>
44.4<br>
0.80<br>
20<br>
MWD<br>
4183<br>
0.10<br>
305.80<br>
94<br>
4182.80<br>
-14.64<br>
14.64<br>
N<br>
0.96<br>
E<br>
14.67<br>
3.76<br>
0.05<br>
0.00<br>
-29.9<br>
0.81<br>
21<br>
MWD<br>
4278<br>
0.30<br>
232.80<br>
95<br>
4277.80<br>
-14.54<br>
14.54<br>
N<br>
0.70<br>
E<br>
14.56<br>
2.75<br>
0.30<br>
0.21<br>
-76.8<br>
0.82<br>
22<br>
MWD<br>
4373<br>
0.20<br>
291.10<br>
95<br>
4372.80<br>
-14.45<br>
14.45<br>
N<br>
0.34<br>
E<br>
14.45<br>
1.37<br>
0.27<br>
-0.11<br>
61.4<br>
0.83<br>
23<br>
MWD<br>
4468<br>
0.40<br>
258.20<br>
95<br>
4467.80<br>
-14.44<br>
14.44<br>
N<br>
-0.13<br>
W<br>
14.44<br>
359.47<br>
0.27<br>
0.21<br>
-34.6<br>
0.84<br>
24<br>
MWD<br>
4562<br>
0.10<br>
271.50<br>
94<br>
4561.80<br>
-14.38<br>
14.38<br>
N<br>
-0.54<br>
W<br>
14.39<br>
357.86<br>
0.32<br>
-0.32<br>
14.1<br>
0.86<br>
25<br>
MWD<br>
4655<br>
0.30<br>
282.00<br>
93<br>
4654.80<br>
-14.43<br>
14.43<br>
N<br>
-0.86<br>
W<br>
14.45<br>
356.60<br>
0.22<br>
0.22<br>
11.3<br>
0.87<br>
26<br>
MWD<br>
4750<br>
0.20<br>
265.30<br>
95<br>
4749.80<br>
-14.47<br>
14.47<br>
N<br>
-1.27<br>
W<br>
14.52<br>
355.00<br>
0.13<br>
-0.11<br>
-17.6<br>
0.88<br>
27<br>
MWD<br>
4845<br>
0.20<br>
76.10<br>
95<br>
4844.80<br>
-14.49<br>
14.49<br>
N<br>
-1.27<br>
W<br>
14.55<br>
354.99<br>
0.42<br>
0.00<br>
-199.2<br>
0.90<br>
28<br>
MWD<br>
4939<br>
0.30<br>
46.90<br>
94<br>
4938.79<br>
-14.70<br>
14.70<br>
N<br>
-0.93<br>
W<br>
14.73<br>
356.38<br>
0.17<br>
0.11<br>
-31.1<br>
0.91<br>
29<br>
MWD<br>
5033<br>
0.50<br>
33.70<br>
94<br>
5032.79<br>
-15.21<br>
15.21<br>
N<br>
-0.52<br>
W<br>
15.22<br>
358.03<br>
0.23<br>
0.21<br>
-14.0<br>
0.92<br>
30<br>
MWD<br>
5128<br>
0.30<br>
28.40<br>
95<br>
5127.79<br>
-15.77<br>
15.77<br>
N<br>
-0.18<br>
W<br>
15.77<br>
359.36<br>
0.21<br>
-0.21<br>
-5.6<br>
0.94<br>
22<br>
<hr>
<A name=44></a>31<br>
MWD<br>
5223<br>
0.70<br>
48.00<br>
95<br>
5222.79<br>
-16.38<br>
16.38<br>
N<br>
0.37<br>
E<br>
16.38<br>
1.31<br>
0.45<br>
0.42<br>
20.6<br>
0.94<br>
32<br>
MWD<br>
5318<br>
0.50<br>
33.70<br>
95<br>
5317.78<br>
-17.11<br>
17.11<br>
N<br>
1.04<br>
E<br>
17.14<br>
3.46<br>
0.26<br>
-0.21<br>
-15.1<br>
0.96<br>
33<br>
MWD<br>
5412<br>
0.30<br>
13.10<br>
94<br>
5411.78<br>
-17.69<br>
17.69<br>
N<br>
1.32<br>
E<br>
17.74<br>
4.26<br>
0.26<br>
-0.21<br>
-21.9<br>
0.98<br>
34<br>
MWD<br>
5507<br>
0.50<br>
19.50<br>
95<br>
5506.78<br>
-18.33<br>
18.33<br>
N<br>
1.51<br>
E<br>
18.39<br>
4.72<br>
0.22<br>
0.21<br>
6.7<br>
0.99<br>
35<br>
MWD<br>
5602<br>
0.10<br>
65.70<br>
95<br>
5601.77<br>
-18.75<br>
18.75<br>
N<br>
1.73<br>
E<br>
18.83<br>
5.26<br>
0.46<br>
-0.42<br>
48.6<br>
1.02<br>
36<br>
MWD<br>
5697<br>
0.20<br>
84.00<br>
95<br>
5696.77<br>
-18.80<br>
18.80<br>
N<br>
1.97<br>
E<br>
18.91<br>
5.97<br>
0.12<br>
0.11<br>
19.3<br>
1.03<br>
37<br>
MWD<br>
5792<br>
0.20<br>
262.80<br>
95<br>
5791.77<br>
-18.80<br>
18.80<br>
N<br>
1.97<br>
E<br>
18.90<br>
5.98<br>
0.42<br>
0.00<br>
188.2<br>
1.05<br>
38<br>
MWD<br>
5887<br>
0.30<br>
177.50<br>
95<br>
5886.77<br>
-18.53<br>
18.53<br>
N<br>
1.81<br>
E<br>
18.62<br>
5.59<br>
0.36<br>
0.11<br>
-89.8<br>
1.07<br>
39<br>
MWD<br>
5981<br>
0.40<br>
104.80<br>
94<br>
5980.77<br>
-18.20<br>
18.20<br>
N<br>
2.14<br>
E<br>
18.33<br>
6.71<br>
0.45<br>
0.11<br>
-77.3<br>
1.09<br>
40<br>
MWD<br>
6076<br>
0.70<br>
71.20<br>
95<br>
6075.77<br>
-18.30<br>
18.30<br>
N<br>
3.01<br>
E<br>
18.55<br>
9.35<br>
0.45<br>
0.32<br>
-35.4<br>
1.10<br>
41<br>
MWD<br>
6171<br>
0.90<br>
69.70<br>
95<br>
6170.76<br>
-18.75<br>
18.75<br>
N<br>
4.26<br>
E<br>
19.23<br>
12.81<br>
0.21<br>
0.21<br>
-1.6<br>
1.12<br>
42<br>
MWD<br>
6265<br>
1.20<br>
68.10<br>
94<br>
6264.74<br>
-19.37<br>
19.37<br>
N<br>
5.87<br>
E<br>
20.24<br>
16.85<br>
0.32<br>
0.32<br>
-1.7<br>
1.13<br>
43<br>
MWD<br>
6360<br>
0.90<br>
108.80<br>
95<br>
6359.73<br>
-19.50<br>
19.50<br>
N<br>
7.50<br>
E<br>
20.89<br>
21.03<br>
0.82<br>
-0.32<br>
42.8<br>
1.16<br>
44<br>
MWD<br>
6455<br>
0.70<br>
127.20<br>
95<br>
6454.72<br>
-18.91<br>
18.91<br>
N<br>
8.67<br>
E<br>
20.80<br>
24.62<br>
0.34<br>
-0.21<br>
19.4<br>
1.19<br>
45<br>
MWD<br>
6549<br>
0.70<br>
147.80<br>
94<br>
6548.71<br>
-18.08<br>
18.08<br>
N<br>
9.43<br>
E<br>
20.39<br>
27.54<br>
0.27<br>
0.00<br>
21.9<br>
1.21<br>
46<br>
MWD<br>
6644<br>
0.60<br>
116.70<br>
95<br>
6643.71<br>
-17.36<br>
17.36<br>
N<br>
10.18<br>
E<br>
20.13<br>
30.39<br>
0.38<br>
-0.11<br>
-32.7<br>
1.24<br>
47<br>
MWD<br>
6739<br>
0.20<br>
159.90<br>
95<br>
6738.70<br>
-16.98<br>
16.98<br>
N<br>
10.68<br>
E<br>
20.07<br>
32.17<br>
0.50<br>
-0.42<br>
45.5<br>
1.27<br>
48<br>
MWD<br>
6834<br>
0.30<br>
161.60<br>
95<br>
6833.70<br>
-16.59<br>
16.59<br>
N<br>
10.82<br>
E<br>
19.81<br>
33.11<br>
0.11<br>
0.11<br>
1.8<br>
1.30<br>
49<br>
MWD<br>
6929<br>
0.20<br>
159.50<br>
95<br>
6928.70<br>
-16.20<br>
16.20<br>
N<br>
10.96<br>
E<br>
19.56<br>
34.07<br>
0.11<br>
-0.11<br>
-2.2<br>
1.33<br>
50<br>
MWD<br>
7024<br>
0.00<br>
233.50<br>
95<br>
7023.70<br>
-16.05<br>
16.05<br>
N<br>
11.01<br>
E<br>
19.46<br>
34.46<br>
0.21<br>
-0.21<br>
77.9<br>
1.36<br>
51<br>
MWD<br>
7119<br>
0.30<br>
8.40<br>
95<br>
7118.70<br>
-16.29<br>
16.29<br>
N<br>
11.05<br>
E<br>
19.69<br>
34.15<br>
0.32<br>
0.32<br>
-236.9<br>
1.39<br>
52<br>
MWD<br>
7214<br>
0.30<br>
340.00<br>
95<br>
7213.70<br>
-16.77<br>
16.77<br>
N<br>
11.00<br>
E<br>
20.06<br>
33.26<br>
0.15<br>
0.00<br>
349.1<br>
1.42<br>
53<br>
MWD<br>
7308<br>
0.30<br>
24.80<br>
94<br>
7307.70<br>
-17.23<br>
17.23<br>
N<br>
11.02<br>
E<br>
20.45<br>
32.61<br>
0.24<br>
0.00<br>
-335.3<br>
1.46<br>
54<br>
MWD<br>
7403<br>
0.60<br>
29.10<br>
95<br>
7402.69<br>
-17.89<br>
17.89<br>
N<br>
11.37<br>
E<br>
21.19<br>
32.43<br>
0.32<br>
0.32<br>
4.5<br>
1.48<br>
55<br>
MWD<br>
7497<br>
0.30<br>
5.90<br>
94<br>
7496.69<br>
-18.56<br>
18.56<br>
N<br>
11.63<br>
E<br>
21.91<br>
32.07<br>
0.37<br>
-0.32<br>
-24.7<br>
1.53<br>
56<br>
MWD<br>
7592<br>
0.10<br>
39.90<br>
95<br>
7591.69<br>
-18.87<br>
18.87<br>
N<br>
11.71<br>
E<br>
22.21<br>
31.82<br>
0.24<br>
-0.21<br>
35.8<br>
1.58<br>
57<br>
MWD<br>
7686<br>
0.10<br>
312.50<br>
94<br>
7685.69<br>
-18.99<br>
18.99<br>
N<br>
11.70<br>
E<br>
22.31<br>
31.64<br>
0.15<br>
0.00<br>
290.0<br>
1.62<br>
58<br>
MWD<br>
7781<br>
0.40<br>
116.00<br>
95<br>
7780.69<br>
-18.90<br>
18.90<br>
N<br>
11.94<br>
E<br>
22.36<br>
32.28<br>
0.52<br>
0.32<br>
-206.8<br>
1.65<br>
59<br>
MWD<br>
7876<br>
0.70<br>
100.10<br>
95<br>
7875.69<br>
-18.65<br>
18.65<br>
N<br>
12.81<br>
E<br>
22.63<br>
34.47<br>
0.35<br>
0.32<br>
-16.7<br>
1.69<br>
60<br>
MWD<br>
7970<br>
0.60<br>
96.90<br>
94<br>
7969.68<br>
-18.50<br>
18.50<br>
N<br>
13.86<br>
E<br>
23.11<br>
36.85<br>
0.11<br>
-0.11<br>
-3.4<br>
1.74<br>
61<br>
MWD<br>
8065<br>
0.60<br>
99.80<br>
95<br>
8064.67<br>
-18.35<br>
18.35<br>
N<br>
14.85<br>
E<br>
23.60<br>
38.97<br>
0.03<br>
0.00<br>
3.1<br>
1.80<br>
62<br>
MWD<br>
8160<br>
0.50<br>
83.80<br>
95<br>
8159.67<br>
-18.31<br>
18.31<br>
N<br>
15.75<br>
E<br>
24.15<br>
40.70<br>
0.19<br>
-0.11<br>
-16.8<br>
1.85<br>
63<br>
MWD<br>
8255<br>
0.90<br>
77.70<br>
95<br>
8254.66<br>
-18.51<br>
18.51<br>
N<br>
16.89<br>
E<br>
25.06<br>
42.37<br>
0.43<br>
0.42<br>
-6.4<br>
1.90<br>
64<br>
MWD<br>
8350<br>
0.40<br>
359.40<br>
95<br>
8349.66<br>
-19.01<br>
19.01<br>
N<br>
17.61<br>
E<br>
25.91<br>
42.83<br>
0.96<br>
-0.53<br>
296.5<br>
1.98<br>
65<br>
MWD<br>
8445<br>
0.20<br>
291.10<br>
95<br>
8444.66<br>
-19.40<br>
19.40<br>
N<br>
17.46<br>
E<br>
26.10<br>
41.99<br>
0.40<br>
-0.21<br>
-71.9<br>
2.06<br>
66<br>
MWD<br>
8540<br>
0.30<br>
276.60<br>
95<br>
8539.66<br>
-19.48<br>
19.48<br>
N<br>
17.06<br>
E<br>
25.89<br>
41.20<br>
0.12<br>
0.11<br>
-15.3<br>
2.12<br>
23<br>
<hr>
<A name=45></a>67<br>
MWD<br>
8634<br>
0.10<br>
154.90<br>
94<br>
8633.66<br>
-19.44<br>
19.44<br>
N<br>
16.85<br>
E<br>
25.72<br>
40.91<br>
0.39<br>
-0.21<br>
-129.5<br>
2.21<br>
68<br>
MWD<br>
8729<br>
0.1<br>
335.9<br>
95<br>
8728.66<br>
-19.44<br>
19.44<br>
N<br>
16.85<br>
E<br>
25.72<br>
40.91<br>
0.21<br>
0.00<br>
190.5<br>
2.29<br>
69<br>
MWD<br>
8824<br>
0.1<br>
62.4<br>
95<br>
8823.66<br>
-19.55<br>
19.55<br>
N<br>
16.89<br>
E<br>
25.84<br>
40.81<br>
0.14<br>
0.00<br>
-287.9<br>
2.38<br>
70<br>
MWD<br>
8918<br>
0.6<br>
186.6<br>
94<br>
8917.65<br>
-19.10<br>
19.10<br>
N<br>
16.90<br>
E<br>
25.51<br>
41.50<br>
0.70<br>
0.53<br>
132.1<br>
2.46<br>
71<br>
MWD<br>
9013<br>
0.4<br>
237.1<br>
95<br>
9012.65<br>
-18.43<br>
18.43<br>
N<br>
16.57<br>
E<br>
24.78<br>
41.96<br>
0.49<br>
-0.21<br>
53.2<br>
2.57<br>
72<br>
MWD<br>
9107<br>
0.9<br>
282.9<br>
94<br>
9106.64<br>
-18.41<br>
18.41<br>
N<br>
15.57<br>
E<br>
24.12<br>
40.22<br>
0.73<br>
0.53<br>
48.7<br>
2.66<br>
73<br>
MWD<br>
9202<br>
0.5<br>
313.8<br>
95<br>
9201.64<br>
-18.87<br>
18.87<br>
N<br>
14.55<br>
E<br>
23.82<br>
37.63<br>
0.56<br>
-0.42<br>
32.5<br>
2.81<br>
74<br>
MWD<br>
9296<br>
0.6<br>
295.3<br>
94<br>
9295.63<br>
-19.36<br>
19.36<br>
N<br>
13.80<br>
E<br>
23.78<br>
35.49<br>
0.22<br>
0.11<br>
-19.7<br>
2.94<br>
75<br>
MWD<br>
9390<br>
0.4<br>
339.2<br>
94<br>
9389.63<br>
-19.88<br>
19.88<br>
N<br>
13.24<br>
E<br>
23.89<br>
33.67<br>
0.44<br>
-0.21<br>
46.7<br>
3.10<br>
76<br>
MWD<br>
9485<br>
0.3<br>
344.6<br>
95<br>
9484.63<br>
-20.43<br>
20.43<br>
N<br>
13.06<br>
E<br>
24.25<br>
32.59<br>
0.11<br>
-0.11<br>
5.7<br>
3.28<br>
77<br>
MWD<br>
9580<br>
0.5<br>
340.5<br>
95<br>
9579.63<br>
-21.06<br>
21.06<br>
N<br>
12.85<br>
E<br>
24.67<br>
31.40<br>
0.21<br>
0.21<br>
-4.3<br>
3.46<br>
78<br>
MWD<br>
9674<br>
0.5<br>
340<br>
94<br>
9673.62<br>
-21.83<br>
21.83<br>
N<br>
12.58<br>
E<br>
25.20<br>
29.95<br>
0.00<br>
0.00<br>
-0.5<br>
3.67<br>
79<br>
MWD<br>
9769<br>
0.4<br>
339.8<br>
95<br>
9768.62<br>
-22.53<br>
22.53<br>
N<br>
12.32<br>
E<br>
25.68<br>
28.67<br>
0.11<br>
-0.11<br>
-0.2<br>
3.91<br>
80<br>
MWD<br>
9864<br>
0.5<br>
329.4<br>
95<br>
9863.62<br>
-23.20<br>
23.20<br>
N<br>
12.00<br>
E<br>
26.12<br>
27.34<br>
0.14<br>
0.11<br>
-10.9<br>
4.18<br>
81<br>
MWD<br>
9958<br>
0.5<br>
349.7<br>
94<br>
9957.61<br>
-23.96<br>
23.96<br>
N<br>
11.71<br>
E<br>
26.67<br>
26.06<br>
0.19<br>
0.00<br>
21.6<br>
4.49<br>
82<br>
MWD<br>
10053<br>
0.5<br>
350.6<br>
95<br>
10052.61<br>
-24.77<br>
24.77<br>
N<br>
11.57<br>
E<br>
27.34<br>
25.04<br>
0.01<br>
0.00<br>
0.9<br>
4.85<br>
83<br>
MWD<br>
10148<br>
0.5<br>
333<br>
95<br>
10147.61<br>
-25.55<br>
25.55<br>
N<br>
11.32<br>
E<br>
27.95<br>
23.89<br>
0.16<br>
0.00<br>
-18.5<br>
5.28<br>
84<br>
MWD<br>
10243<br>
0.4<br>
26.4<br>
95<br>
10242.60<br>
-26.22<br>
26.22<br>
N<br>
11.28<br>
E<br>
28.54<br>
23.27<br>
0.44<br>
-0.11<br>
-322.7<br>
5.80<br>
85<br>
MWD<br>
10337<br>
0.5<br>
32<br>
94<br>
10336.60<br>
-26.86<br>
26.86<br>
N<br>
11.64<br>
E<br>
29.27<br>
23.43<br>
0.12<br>
0.11<br>
6.0<br>
6.41<br>
86<br>
MWD<br>
10432<br>
0.8<br>
47.9<br>
95<br>
10431.59<br>
-27.66<br>
27.66<br>
N<br>
12.35<br>
E<br>
30.29<br>
24.06<br>
0.37<br>
0.32<br>
16.7<br>
7.14<br>
87<br>
MWD<br>
10526<br>
0.6<br>
20.4<br>
94<br>
10525.59<br>
-28.56<br>
28.56<br>
N<br>
13.01<br>
E<br>
31.38<br>
24.49<br>
0.41<br>
-0.21<br>
-29.3<br>
8.13<br>
88<br>
MWD<br>
10621<br>
0.7<br>
16<br>
95<br>
10620.58<br>
-29.58<br>
29.58<br>
N<br>
13.34<br>
E<br>
32.45<br>
24.28<br>
0.12<br>
0.11<br>
-4.6<br>
9.40<br>
89<br>
MWD<br>
10711<br>
1<br>
9.6<br>
90<br>
10710.57<br>
-30.88<br>
30.88<br>
N<br>
13.62<br>
E<br>
33.76<br>
23.80<br>
0.35<br>
0.33<br>
-7.1<br>
10.99<br>
90<br>
MWD<br>
10777<br>
1.6<br>
140.7<br>
66<br>
10776.56<br>
-30.74<br>
30.74<br>
N<br>
14.30<br>
E<br>
33.90<br>
24.95<br>
3.61<br>
0.91<br>
198.6<br>
12.48<br>
91<br>
MWD<br>
10809<br>
6<br>
157.6<br>
32<br>
10808.48<br>
-28.85<br>
28.85<br>
N<br>
15.22<br>
E<br>
32.62<br>
27.82<br>
14.04<br>
13.75<br>
52.8<br>
12.38<br>
92<br>
MWD<br>
10841<br>
9.9<br>
163<br>
32<br>
10840.17<br>
-24.67<br>
24.67<br>
N<br>
16.67<br>
E<br>
29.77<br>
34.05<br>
12.40<br>
12.19<br>
16.9<br>
12.39<br>
93<br>
MWD<br>
10873<br>
13.9<br>
159<br>
32<br>
10871.48<br>
-18.45<br>
18.45<br>
N<br>
18.85<br>
E<br>
26.37<br>
45.62<br>
12.76<br>
12.50<br>
-12.5<br>
12.38<br>
94<br>
MWD<br>
10904<br>
17.4<br>
160.2<br>
31<br>
10901.32<br>
-10.61<br>
10.61<br>
N<br>
21.76<br>
E<br>
24.20<br>
64.01<br>
11.34<br>
11.29<br>
3.9<br>
12.49<br>
95<br>
MWD<br>
10936<br>
21.6<br>
159.2<br>
32<br>
10931.48<br>
-0.59<br>
0.59<br>
N<br>
25.47<br>
E<br>
25.48<br>
88.66<br>
13.17<br>
13.13<br>
-3.1<br>
12.42<br>
96<br>
MWD<br>
10967<br>
26<br>
159.1<br>
31<br>
10959.84<br>
11.09<br>
-11.09<br>
S<br>
29.92<br>
E<br>
31.91<br>
110.34<br>
14.19<br>
14.19<br>
-0.3<br>
12.23<br>
97<br>
MWD<br>
10999<br>
30.4<br>
158.1<br>
32<br>
10988.03<br>
25.17<br>
-25.17<br>
S<br>
35.45<br>
E<br>
43.47<br>
125.37<br>
13.83<br>
13.75<br>
-3.1<br>
12.05<br>
98<br>
MWD<br>
11030<br>
34.4<br>
160.4<br>
31<br>
11014.20<br>
40.70<br>
-40.70<br>
S<br>
41.31<br>
E<br>
57.99<br>
134.57<br>
13.50<br>
12.90<br>
7.4<br>
11.94<br>
99<br>
MWD<br>
11062<br>
38.1<br>
159<br>
32<br>
11040.01<br>
58.44<br>
-58.44<br>
S<br>
47.88<br>
E<br>
75.55<br>
140.67<br>
11.85<br>
11.56<br>
-4.4<br>
11.99<br>
100<br>
MWD<br>
11094<br>
41.8<br>
158.7<br>
32<br>
11064.53<br>
77.60<br>
-77.60<br>
S<br>
55.30<br>
E<br>
95.29<br>
144.52<br>
11.58<br>
11.56<br>
-0.9<br>
12.06<br>
101<br>
MWD<br>
11125<br>
46.7<br>
158.8<br>
31<br>
11086.73<br>
97.75<br>
-97.75<br>
S<br>
63.14<br>
E<br>
116.37<br>
147.14<br>
15.81<br>
15.81<br>
0.3<br>
11.45<br>
102<br>
MWD<br>
11156<br>
51.3<br>
158.8<br>
31<br>
11107.06<br>
119.56<br>
-119.56<br>
S<br>
71.59<br>
E<br>
139.36<br>
149.09<br>
14.84<br>
14.84<br>
0.0<br>
10.85<br>
24<br>
<hr>
<A name=46></a>103<br>
MWD<br>
11188<br>
55.6<br>
160.5<br>
32<br>
11126.12<br>
143.66<br>
-143.66<br>
S<br>
80.52<br>
E<br>
164.69<br>
150.73<br>
14.10<br>
13.44<br>
5.3<br>
10.34<br>
104<br>
MWD<br>
11220<br>
58.9<br>
159.4<br>
32<br>
11143.43<br>
168.93<br>
-168.93<br>
S<br>
89.75<br>
E<br>
191.30<br>
152.02<br>
10.71<br>
10.31<br>
-3.4<br>
10.35<br>
105<br>
MWD<br>
11252<br>
62.5<br>
160.2<br>
32<br>
11159.08<br>
195.12<br>
-195.12<br>
S<br>
99.38<br>
E<br>
218.97<br>
153.01<br>
11.46<br>
11.25<br>
2.5<br>
10.13<br>
106<br>
MWD<br>
11283<br>
66.5<br>
160<br>
31<br>
11172.43<br>
221.42<br>
-221.42<br>
S<br>
108.91<br>
E<br>
246.76<br>
153.81<br>
12.92<br>
12.90<br>
-0.6<br>
9.40<br>
107<br>
MWD<br>
11315<br>
69.2<br>
160.6<br>
32<br>
11184.49<br>
249.33<br>
-249.33<br>
S<br>
118.89<br>
E<br>
276.22<br>
154.51<br>
8.61<br>
8.44<br>
1.9<br>
9.70<br>
108<br>
MWD<br>
11346<br>
70.8<br>
161.1<br>
31<br>
11195.09<br>
276.84<br>
-276.84<br>
S<br>
128.45<br>
E<br>
305.19<br>
155.11<br>
5.38<br>
5.16<br>
1.6<br>
11.42<br>
109<br>
MWD<br>
11378<br>
73.3<br>
160.4<br>
32<br>
11204.95<br>
305.58<br>
-305.58<br>
S<br>
138.49<br>
E<br>
335.50<br>
155.62<br>
8.08<br>
7.81<br>
-2.2<br>
13.39<br>
110<br>
MWD<br>
11409<br>
78<br>
160.2<br>
31<br>
11212.64<br>
333.85<br>
-333.85<br>
S<br>
148.61<br>
E<br>
365.43<br>
156.00<br>
15.17<br>
15.16<br>
-0.6<br>
12.08<br>
111<br>
MWD<br>
11441<br>
82.1<br>
158.9<br>
32<br>
11218.16<br>
363.37<br>
-363.37<br>
S<br>
159.62<br>
E<br>
396.89<br>
156.29<br>
13.42<br>
12.81<br>
-4.1<br>
11.24<br>
112<br>
MWD<br>
11457<br>
84.6<br>
159.5<br>
16<br>
11220.02<br>
378.23<br>
-378.23<br>
S<br>
165.26<br>
E<br>
412.76<br>
156.40<br>
16.06<br>
15.63<br>
3.7<br>
8.52<br>
113<br>
MWD<br>
11534<br>
89.4<br>
158.4<br>
77<br>
11224.05<br>
449.97<br>
-449.97<br>
S<br>
192.87<br>
E<br>
489.56<br>
156.80<br>
6.39<br>
6.23<br>
-1.4<br>
-0.29<br>
114<br>
MWD<br>
11565<br>
89.4<br>
158.8<br>
31<br>
11224.37<br>
478.83<br>
-478.83<br>
S<br>
204.18<br>
E<br>
520.55<br>
156.91<br>
1.29<br>
0.00<br>
1.3<br>
-0.22<br>
115<br>
MWD<br>
11658<br>
91<br>
160.4<br>
93<br>
11224.05<br>
565.99<br>
-565.99<br>
S<br>
236.60<br>
E<br>
613.45<br>
157.31<br>
2.43<br>
1.72<br>
1.7<br>
-0.83<br>
116<br>
MWD<br>
11687<br>
91.1<br>
160.8<br>
29<br>
11223.51<br>
593.34<br>
-593.34<br>
S<br>
246.23<br>
E<br>
642.40<br>
157.46<br>
1.42<br>
0.34<br>
1.4<br>
-2.04<br>
117<br>
MWD<br>
11719<br>
91.5<br>
160.4<br>
32<br>
11222.79<br>
623.51<br>
-623.51<br>
S<br>
256.86<br>
E<br>
674.35<br>
157.61<br>
1.77<br>
1.25<br>
-1.3<br>
9.24<br>
118<br>
MWD<br>
11750<br>
91.4<br>
159.8<br>
31<br>
11222.00<br>
652.65<br>
-652.65<br>
S<br>
267.41<br>
E<br>
705.31<br>
157.72<br>
1.96<br>
-0.32<br>
-1.9<br>
1.71<br>
119<br>
MWD<br>
11781<br>
90.5<br>
160.9<br>
31<br>
11221.49<br>
681.84<br>
-681.84<br>
S<br>
277.83<br>
E<br>
736.27<br>
157.83<br>
4.58<br>
-2.90<br>
3.5<br>
0.14<br>
120<br>
MWD<br>
11812<br>
90<br>
161.9<br>
31<br>
11221.35<br>
711.22<br>
-711.22<br>
S<br>
287.72<br>
E<br>
767.22<br>
157.97<br>
3.61<br>
-1.61<br>
3.2<br>
-0.01<br>
121<br>
MWD<br>
11843<br>
90.2<br>
162.2<br>
31<br>
11221.30<br>
740.72<br>
-740.72<br>
S<br>
297.27<br>
E<br>
798.14<br>
158.13<br>
1.16<br>
0.65<br>
1.0<br>
0.02<br>
122<br>
MWD<br>
11874<br>
89.6<br>
162.8<br>
31<br>
11221.35<br>
770.28<br>
-770.28<br>
S<br>
306.59<br>
E<br>
829.05<br>
158.30<br>
2.74<br>
-1.94<br>
1.9<br>
0.08<br>
123<br>
MWD<br>
11905<br>
89.6<br>
163.2<br>
31<br>
11221.57<br>
799.92<br>
-799.92<br>
S<br>
315.65<br>
E<br>
859.95<br>
158.47<br>
1.29<br>
0.00<br>
1.3<br>
0.09<br>
124<br>
MWD<br>
11936<br>
89.9<br>
162.2<br>
31<br>
11221.71<br>
829.52<br>
-829.52<br>
S<br>
324.87<br>
E<br>
890.87<br>
158.61<br>
3.37<br>
0.97<br>
-3.2<br>
0.00<br>
125<br>
MWD<br>
11967<br>
88.7<br>
163.5<br>
31<br>
11222.09<br>
859.14<br>
-859.14<br>
S<br>
334.01<br>
E<br>
921.78<br>
158.76<br>
5.71<br>
-3.87<br>
4.2<br>
1.60<br>
126<br>
MWD<br>
11998<br>
87.6<br>
166.2<br>
31<br>
11223.09<br>
889.04<br>
-889.04<br>
S<br>
342.11<br>
E<br>
952.60<br>
158.95<br>
9.40<br>
-3.55<br>
8.7<br>
-58.29<br>
127<br>
MWD<br>
12029<br>
87.8<br>
166.3<br>
31<br>
11224.33<br>
919.13<br>
-919.13<br>
S<br>
349.47<br>
E<br>
983.33<br>
159.18<br>
0.72<br>
0.65<br>
0.3<br>
-3.17<br>
128<br>
MWD<br>
12060<br>
88.2<br>
167.8<br>
31<br>
11225.41<br>
949.32<br>
-949.32<br>
S<br>
356.41<br>
E<br>
1014.02<br>
159.42<br>
5.00<br>
1.29<br>
4.8<br>
-1.17<br>
129<br>
MWD<br>
12091<br>
88.9<br>
168.9<br>
31<br>
11226.20<br>
979.67<br>
-979.67<br>
S<br>
362.67<br>
E<br>
1044.65<br>
159.69<br>
4.20<br>
2.26<br>
3.5<br>
-0.33<br>
130<br>
MWD<br>
12121<br>
89.2<br>
169.9<br>
30<br>
11226.69<br>
1009.16<br>
-1009.16<br>
S<br>
368.19<br>
E<br>
1074.23<br>
159.96<br>
3.48<br>
1.00<br>
3.3<br>
-0.15<br>
131<br>
MWD<br>
12152<br>
89.4<br>
170.5<br>
31<br>
11227.07<br>
1039.70<br>
-1039.70<br>
S<br>
373.47<br>
E<br>
1104.74<br>
160.24<br>
2.04<br>
0.65<br>
1.9<br>
-0.07<br>
132<br>
MWD<br>
12183<br>
90<br>
173.2<br>
31<br>
11227.24<br>
1070.39<br>
-1070.39<br>
S<br>
377.86<br>
E<br>
1135.12<br>
160.56<br>
8.92<br>
1.94<br>
8.7<br>
0.00<br>
133<br>
MWD<br>
12214<br>
90.4<br>
173.8<br>
31<br>
11227.13<br>
1101.19<br>
-1101.19<br>
S<br>
381.37<br>
E<br>
1165.36<br>
160.90<br>
2.33<br>
1.29<br>
1.9<br>
-0.03<br>
134<br>
MWD<br>
12245<br>
90.3<br>
174.8<br>
31<br>
11226.94<br>
1132.03<br>
-1132.03<br>
S<br>
384.45<br>
E<br>
1195.53<br>
161.24<br>
3.24<br>
-0.32<br>
3.2<br>
-0.02<br>
135<br>
MWD<br>
12276<br>
90.8<br>
175<br>
31<br>
11226.64<br>
1162.91<br>
-1162.91<br>
S<br>
387.20<br>
E<br>
1225.68<br>
161.58<br>
1.74<br>
1.61<br>
0.6<br>
-0.15<br>
136<br>
MWD<br>
12307<br>
90.3<br>
177.1<br>
31<br>
11226.34<br>
1193.83<br>
-1193.83<br>
S<br>
389.34<br>
E<br>
1255.71<br>
161.94<br>
6.96<br>
-1.61<br>
6.8<br>
-0.02<br>
137<br>
MWD<br>
12339<br>
89.1<br>
177.7<br>
32<br>
11226.51<br>
1225.80<br>
-1225.80<br>
S<br>
390.79<br>
E<br>
1286.58<br>
162.32<br>
4.19<br>
-3.75<br>
1.9<br>
-0.20<br>
138<br>
MWD<br>
12370<br>
88.6<br>
178.6<br>
31<br>
11227.13<br>
1256.77<br>
-1256.77<br>
S<br>
391.79<br>
E<br>
1316.43<br>
162.69<br>
3.32<br>
-1.61<br>
2.9<br>
-0.41<br>
25<br>
<hr>
<A name=47></a>139<br>
MWD<br>
12401<br>
88.7<br>
180.8<br>
31<br>
11227.86<br>
1287.76<br>
-1287.76<br>
S<br>
391.95<br>
E<br>
1346.09<br>
163.07<br>
7.10<br>
0.32<br>
7.1<br>
-0.30<br>
140<br>
MWD<br>
12495<br>
91.1<br>
181.2<br>
94<br>
11228.03<br>
1381.74<br>
-1381.74<br>
S<br>
390.31<br>
E<br>
1435.81<br>
164.23<br>
2.59<br>
2.55<br>
0.4<br>
-0.21<br>
141<br>
MWD<br>
12586<br>
90.9<br>
181.9<br>
91<br>
11226.44<br>
1472.69<br>
-1472.69<br>
S<br>
387.85<br>
E<br>
1522.91<br>
165.25<br>
0.80<br>
-0.22<br>
0.8<br>
-0.20<br>
142<br>
MWD<br>
12679<br>
89.3<br>
181.2<br>
93<br>
11226.28<br>
1565.66<br>
-1565.66<br>
S<br>
385.34<br>
E<br>
1612.38<br>
166.17<br>
1.88<br>
-1.72<br>
-0.8<br>
-0.13<br>
143<br>
MWD<br>
12772<br>
90.1<br>
180.5<br>
93<br>
11226.76<br>
1658.64<br>
-1658.64<br>
S<br>
383.96<br>
E<br>
1702.50<br>
166.97<br>
1.14<br>
0.86<br>
-0.8<br>
0.00<br>
144<br>
MWD<br>
12864<br>
89.4<br>
180.5<br>
92<br>
11227.16<br>
1750.64<br>
-1750.64<br>
S<br>
383.15<br>
E<br>
1792.08<br>
167.65<br>
0.76<br>
-0.76<br>
0.0<br>
-0.07<br>
145<br>
MWD<br>
12964<br>
89.3<br>
179.4<br>
10<br>
11228.30<br>
1850.63<br>
-1850.63<br>
S<br>
383.24<br>
E<br>
1889.90<br>
168.30<br>
1.10<br>
-0.10<br>
-1.1<br>
-0.08<br>
0<br>
146<br>
MWD<br>
13063<br>
89.9<br>
180.4<br>
99<br>
11228.99<br>
1949.63<br>
-1949.63<br>
S<br>
383.41<br>
E<br>
1986.97<br>
168.87<br>
1.18<br>
0.61<br>
1.0<br>
0.00<br>
147<br>
MWD<br>
13158<br>
89.6<br>
179.6<br>
95<br>
11229.40<br>
2044.62<br>
-2044.62<br>
S<br>
383.41<br>
E<br>
2080.26<br>
169.38<br>
0.90<br>
-0.32<br>
-0.8<br>
-0.02<br>
148<br>
MWD<br>
13255<br>
90.1<br>
180.2<br>
97<br>
11229.66<br>
2141.62<br>
-2141.62<br>
S<br>
383.58<br>
E<br>
2175.70<br>
169.85<br>
0.81<br>
0.52<br>
0.6<br>
0.00<br>
149<br>
MWD<br>
13352<br>
91.2<br>
182.7<br>
97<br>
11228.56<br>
2238.58<br>
-2238.58<br>
S<br>
381.13<br>
E<br>
2270.79<br>
170.34<br>
2.82<br>
1.13<br>
2.6<br>
-0.22<br>
150<br>
MWD<br>
13449<br>
91.7<br>
182.2<br>
97<br>
11226.10<br>
2335.46<br>
-2335.46<br>
S<br>
376.98<br>
E<br>
2365.69<br>
170.83<br>
0.73<br>
0.52<br>
-0.5<br>
-0.81<br>
151<br>
MWD<br>
13546<br>
91.4<br>
182.9<br>
97<br>
11223.48<br>
2432.32<br>
-2432.32<br>
S<br>
372.67<br>
E<br>
2460.71<br>
171.29<br>
0.78<br>
-0.31<br>
0.7<br>
-3.55<br>
152<br>
MWD<br>
13643<br>
90.6<br>
181.6<br>
97<br>
11221.79<br>
2529.23<br>
-2529.23<br>
S<br>
368.86<br>
E<br>
2555.99<br>
171.70<br>
1.57<br>
-0.82<br>
-1.3<br>
0.25<br>
153<br>
MWD<br>
13739<br>
90.8<br>
180.6<br>
96<br>
11220.61<br>
2625.21<br>
-2625.21<br>
S<br>
367.02<br>
E<br>
2650.74<br>
172.04<br>
1.06<br>
0.21<br>
-1.0<br>
0.23<br>
154<br>
MWD<br>
13835<br>
90.1<br>
180.2<br>
96<br>
11219.86<br>
2721.20<br>
-2721.20<br>
S<br>
366.35<br>
E<br>
2745.75<br>
172.33<br>
0.84<br>
-0.73<br>
-0.4<br>
0.00<br>
155<br>
MWD<br>
13931<br>
91.4<br>
179.7<br>
96<br>
11218.60<br>
2817.19<br>
-2817.19<br>
S<br>
366.43<br>
E<br>
2840.92<br>
172.59<br>
1.45<br>
1.35<br>
-0.5<br>
0.39<br>
156<br>
MWD<br>
14026<br>
89.9<br>
179.2<br>
95<br>
11217.53<br>
2912.18<br>
-2912.18<br>
S<br>
367.35<br>
E<br>
2935.25<br>
172.81<br>
1.66<br>
-1.58<br>
-0.5<br>
0.00<br>
157<br>
MWD<br>
14121<br>
89.3<br>
178.2<br>
95<br>
11218.19<br>
3007.15<br>
-3007.15<br>
S<br>
369.50<br>
E<br>
3029.76<br>
172.99<br>
1.23<br>
-0.63<br>
-1.1<br>
0.09<br>
158<br>
MWD<br>
14217<br>
89.1<br>
177.8<br>
96<br>
11219.53<br>
3103.08<br>
-3103.08<br>
S<br>
372.85<br>
E<br>
3125.40<br>
173.15<br>
0.47<br>
-0.21<br>
-0.4<br>
0.20<br>
159<br>
MWD<br>
14311<br>
89.5<br>
178.9<br>
94<br>
11220.68<br>
3197.03<br>
-3197.03<br>
S<br>
375.56<br>
E<br>
3219.01<br>
173.30<br>
1.25<br>
0.43<br>
1.2<br>
0.09<br>
160<br>
MWD<br>
14407<br>
90.8<br>
181.7<br>
96<br>
11220.43<br>
3293.02<br>
-3293.02<br>
S<br>
375.05<br>
E<br>
3314.31<br>
173.50<br>
3.22<br>
1.35<br>
2.9<br>
0.21<br>
161<br>
MWD<br>
14503<br>
90.9<br>
181.1<br>
96<br>
11219.00<br>
3388.98<br>
-3388.98<br>
S<br>
372.71<br>
E<br>
3409.41<br>
173.72<br>
0.63<br>
0.10<br>
-0.6<br>
0.17<br>
162<br>
MWD<br>
14599<br>
88.7<br>
179.5<br>
96<br>
11219.34<br>
3484.97<br>
-3484.97<br>
S<br>
372.21<br>
E<br>
3504.79<br>
173.90<br>
2.83<br>
-2.29<br>
-1.7<br>
0.40<br>
163<br>
MWD<br>
14695<br>
89.4<br>
179.9<br>
96<br>
11220.93<br>
3580.95<br>
-3580.95<br>
S<br>
372.71<br>
E<br>
3600.30<br>
174.06<br>
0.84<br>
0.73<br>
0.4<br>
0.15<br>
164<br>
MWD<br>
14790<br>
90<br>
179.9<br>
95<br>
11221.43<br>
3675.95<br>
-3675.95<br>
S<br>
372.87<br>
E<br>
3694.81<br>
174.21<br>
0.63<br>
0.63<br>
0.0<br>
-0.01<br>
165<br>
MWD<br>
14886<br>
88.7<br>
177.9<br>
96<br>
11222.52<br>
3771.92<br>
-3771.92<br>
S<br>
374.72<br>
E<br>
3790.49<br>
174.33<br>
2.48<br>
-1.35<br>
-2.1<br>
3.03<br>
166<br>
MWD<br>
14983<br>
89.6<br>
179.1<br>
97<br>
11223.95<br>
3868.87<br>
-3868.87<br>
S<br>
377.26<br>
E<br>
3887.22<br>
174.43<br>
1.55<br>
0.93<br>
1.2<br>
-0.14<br>
167<br>
MWD<br>
15079<br>
89<br>
178.9<br>
96<br>
11225.13<br>
3964.85<br>
-3964.85<br>
S<br>
378.93<br>
E<br>
3982.92<br>
174.54<br>
0.66<br>
-0.62<br>
-0.2<br>
-0.41<br>
168<br>
MWD<br>
15174<br>
89.4<br>
180.6<br>
95<br>
11226.45<br>
4059.84<br>
-4059.84<br>
S<br>
379.35<br>
E<br>
4077.52<br>
174.66<br>
1.84<br>
0.42<br>
1.8<br>
-0.09<br>
169<br>
MWD<br>
15270<br>
89.7<br>
180.3<br>
96<br>
11227.21<br>
4155.83<br>
-4155.83<br>
S<br>
378.59<br>
E<br>
4173.04<br>
174.79<br>
0.44<br>
0.31<br>
-0.3<br>
-0.02<br>
170<br>
MWD<br>
15366<br>
89.5<br>
181.8<br>
96<br>
11227.88<br>
4251.81<br>
-4251.81<br>
S<br>
376.83<br>
E<br>
4268.48<br>
174.94<br>
1.58<br>
-0.21<br>
1.6<br>
-0.04<br>
171<br>
MWD<br>
15462<br>
91<br>
182.3<br>
96<br>
11227.46<br>
4347.74<br>
-4347.74<br>
S<br>
373.40<br>
E<br>
4363.75<br>
175.09<br>
1.65<br>
1.56<br>
0.5<br>
-0.19<br>
172<br>
MWD<br>
15559<br>
91.9<br>
181.2<br>
97<br>
11225.00<br>
4444.67<br>
-4444.67<br>
S<br>
370.44<br>
E<br>
4460.08<br>
175.24<br>
1.46<br>
0.93<br>
-1.1<br>
-1.57<br>
173<br>
MWD<br>
15655<br>
91.4<br>
180.7<br>
96<br>
11222.24<br>
4540.61<br>
-4540.61<br>
S<br>
368.85<br>
E<br>
4555.57<br>
175.36<br>
0.74<br>
-0.52<br>
-0.5<br>
2.24<br>
174<br>
MWD<br>
15749<br>
89.4<br>
180.6<br>
94<br>
11221.58<br>
4634.60<br>
-4634.60<br>
S<br>
367.78<br>
E<br>
4649.17<br>
175.46<br>
2.13<br>
-2.13<br>
-0.1<br>
0.22<br>
26<br>
<hr>
<A name=48></a>175<br>
MWD<br>
15844<br>
88.9<br>
180<br>
95<br>
11222.99<br>
4729.59<br>
-4729.59<br>
S<br>
367.28<br>
E<br>
4743.83<br>
175.56<br>
0.82<br>
-0.53<br>
-0.6<br>
156.69<br>
176<br>
MWD<br>
15940<br>
89.4<br>
180.9<br>
96<br>
11224.42<br>
4825.57<br>
-4825.57<br>
S<br>
366.53<br>
E<br>
4839.47<br>
175.66<br>
1.07<br>
0.52<br>
0.9<br>
-0.22<br>
177<br>
MWD<br>
16035<br>
88.7<br>
180.7<br>
95<br>
11225.99<br>
4920.55<br>
-4920.55<br>
S<br>
365.20<br>
E<br>
4934.08<br>
175.76<br>
0.77<br>
-0.74<br>
-0.2<br>
-0.49<br>
178<br>
MWD<br>
16131<br>
88<br>
179.9<br>
96<br>
11228.76<br>
5016.51<br>
-5016.51<br>
S<br>
364.70<br>
E<br>
5029.75<br>
175.84<br>
1.11<br>
-0.73<br>
-0.8<br>
-0.60<br>
179<br>
MWD<br>
16228<br>
89.8<br>
180.6<br>
97<br>
11230.62<br>
5113.48<br>
-5113.48<br>
S<br>
364.28<br>
E<br>
5126.44<br>
175.93<br>
1.99<br>
1.86<br>
0.7<br>
0.00<br>
180<br>
MWD<br>
16324<br>
90.8<br>
182.7<br>
96<br>
11230.12<br>
5209.43<br>
-5209.43<br>
S<br>
361.51<br>
E<br>
5221.96<br>
176.03<br>
2.42<br>
1.04<br>
2.2<br>
-0.08<br>
181<br>
MWD<br>
16420<br>
90.8<br>
181<br>
96<br>
11228.78<br>
5305.37<br>
-5305.37<br>
S<br>
358.41<br>
E<br>
5317.46<br>
176.14<br>
1.77<br>
0.00<br>
-1.8<br>
-0.10<br>
182<br>
MWD<br>
16516<br>
90.3<br>
180.1<br>
96<br>
11227.85<br>
5401.36<br>
-5401.36<br>
S<br>
357.49<br>
E<br>
5413.18<br>
176.21<br>
1.07<br>
-0.52<br>
-0.9<br>
-0.01<br>
183<br>
MWD<br>
16612<br>
90.8<br>
179.5<br>
96<br>
11226.93<br>
5497.36<br>
-5497.36<br>
S<br>
357.83<br>
E<br>
5508.99<br>
176.28<br>
0.81<br>
0.52<br>
-0.6<br>
-0.14<br>
184<br>
MWD<br>
16709<br>
90<br>
178.5<br>
97<br>
11226.26<br>
5594.34<br>
-5594.34<br>
S<br>
359.52<br>
E<br>
5605.88<br>
176.32<br>
1.32<br>
-0.82<br>
-1.0<br>
0.00<br>
185<br>
MWD<br>
16803<br>
90.5<br>
178.8<br>
94<br>
11225.85<br>
5688.31<br>
-5688.31<br>
S<br>
361.74<br>
E<br>
5699.80<br>
176.36<br>
0.62<br>
0.53<br>
0.3<br>
-0.07<br>
186<br>
MWD<br>
16898<br>
91.3<br>
178.3<br>
95<br>
11224.35<br>
5783.27<br>
-5783.27<br>
S<br>
364.14<br>
E<br>
5794.72<br>
176.40<br>
0.99<br>
0.84<br>
-0.5<br>
-1.08<br>
187<br>
MWD<br>
16993<br>
91.4<br>
178<br>
95<br>
11222.11<br>
5878.19<br>
-5878.19<br>
S<br>
367.20<br>
E<br>
5889.65<br>
176.43<br>
0.33<br>
0.11<br>
-0.3<br>
1.92<br>
188<br>
MWD<br>
17089<br>
89.6<br>
178.2<br>
96<br>
11221.28<br>
5974.13<br>
-5974.13<br>
S<br>
370.39<br>
E<br>
5985.60<br>
176.45<br>
1.89<br>
-1.88<br>
0.2<br>
0.08<br>
189<br>
MWD<br>
17184<br>
89.2<br>
178.3<br>
95<br>
11222.27<br>
6069.08<br>
-6069.08<br>
S<br>
373.29<br>
E<br>
6080.55<br>
176.48<br>
0.43<br>
-0.42<br>
0.1<br>
0.76<br>
190<br>
MWD<br>
17281<br>
89.4<br>
178.9<br>
97<br>
11223.46<br>
6166.04<br>
-6166.04<br>
S<br>
375.66<br>
E<br>
6177.48<br>
176.51<br>
0.65<br>
0.21<br>
0.6<br>
-0.67<br>
191<br>
MWD<br>
17376<br>
90.6<br>
180.6<br>
95<br>
11223.46<br>
6261.04<br>
-6261.04<br>
S<br>
376.07<br>
E<br>
6272.32<br>
176.56<br>
2.19<br>
1.26<br>
1.8<br>
-0.67<br>
192<br>
MWD<br>
17471<br>
92.7<br>
181.5<br>
95<br>
11220.72<br>
6355.98<br>
-6355.98<br>
S<br>
374.33<br>
E<br>
6366.99<br>
176.63<br>
2.40<br>
2.21<br>
0.9<br>
2.79<br>
193<br>
MWD<br>
17567<br>
92.8<br>
181.8<br>
96<br>
11216.12<br>
6451.83<br>
-6451.83<br>
S<br>
371.57<br>
E<br>
6462.52<br>
176.70<br>
0.33<br>
0.10<br>
0.3<br>
0.99<br>
194<br>
MWD<br>
17663<br>
92<br>
180.4<br>
96<br>
11212.10<br>
6547.72<br>
-6547.72<br>
S<br>
369.73<br>
E<br>
6558.15<br>
176.77<br>
1.68<br>
-0.83<br>
-1.5<br>
0.32<br>
195<br>
MWD<br>
17758<br>
89.8<br>
179.6<br>
95<br>
11210.60<br>
6642.70<br>
-6642.70<br>
S<br>
369.73<br>
E<br>
6652.98<br>
176.81<br>
2.46<br>
-2.32<br>
-0.8<br>
0.00<br>
196<br>
MWD<br>
17855<br>
88.6<br>
179.3<br>
97<br>
11211.96<br>
6739.69<br>
-6739.69<br>
S<br>
370.66<br>
E<br>
6749.87<br>
176.85<br>
1.28<br>
-1.24<br>
-0.3<br>
0.15<br>
197<br>
MWD<br>
17952<br>
87.3<br>
179.3<br>
97<br>
11215.43<br>
6836.61<br>
-6836.61<br>
S<br>
371.85<br>
E<br>
6846.72<br>
176.89<br>
1.34<br>
-1.34<br>
0.0<br>
0.84<br>
198<br>
MWD<br>
18048<br>
88.9<br>
181.5<br>
96<br>
11218.61<br>
6932.55<br>
-6932.55<br>
S<br>
371.18<br>
E<br>
6942.48<br>
176.94<br>
2.83<br>
1.67<br>
2.3<br>
0.24<br>
199<br>
MWD<br>
18143<br>
91.3<br>
182.5<br>
95<br>
11218.44<br>
7027.48<br>
-7027.48<br>
S<br>
367.86<br>
E<br>
7037.11<br>
177.00<br>
2.74<br>
2.53<br>
1.1<br>
0.32<br>
200<br>
MWD<br>
18238<br>
91.4<br>
181.9<br>
95<br>
11216.21<br>
7122.39<br>
-7122.39<br>
S<br>
364.21<br>
E<br>
7131.69<br>
177.07<br>
0.64<br>
0.11<br>
-0.6<br>
0.25<br>
201<br>
MWD<br>
18334<br>
90.5<br>
181.7<br>
96<br>
11214.62<br>
7218.33<br>
-7218.33<br>
S<br>
361.20<br>
E<br>
7227.36<br>
177.14<br>
0.96<br>
-0.94<br>
-0.2<br>
0.02<br>
202<br>
MWD<br>
18430<br>
91.3<br>
180.8<br>
96<br>
11213.11<br>
7314.29<br>
-7314.29<br>
S<br>
359.11<br>
E<br>
7323.10<br>
177.19<br>
1.25<br>
0.83<br>
-0.9<br>
0.15<br>
203<br>
MWD<br>
18526<br>
90.7<br>
179.5<br>
96<br>
11211.43<br>
7410.27<br>
-7410.27<br>
S<br>
358.85<br>
E<br>
7418.96<br>
177.23<br>
1.49<br>
-0.62<br>
-1.4<br>
0.04<br>
204<br>
MWD<br>
18622<br>
91.6<br>
178.9<br>
96<br>
11209.51<br>
7506.24<br>
-7506.24<br>
S<br>
360.19<br>
E<br>
7514.88<br>
177.25<br>
1.13<br>
0.94<br>
-0.6<br>
0.16<br>
205<br>
MWD<br>
18718<br>
92.3<br>
177.9<br>
96<br>
11206.24<br>
7602.15<br>
-7602.15<br>
S<br>
362.87<br>
E<br>
7610.80<br>
177.27<br>
1.27<br>
0.73<br>
-1.0<br>
0.27<br>
206<br>
MWD<br>
18813<br>
90<br>
180.4<br>
95<br>
11204.33<br>
7697.10<br>
-7697.10<br>
S<br>
364.28<br>
E<br>
7705.72<br>
177.29<br>
3.58<br>
-2.42<br>
2.6<br>
0.00<br>
207<br>
MWD<br>
18910<br>
90.7<br>
180.2<br>
97<br>
11203.74<br>
7794.10<br>
-7794.10<br>
S<br>
363.77<br>
E<br>
7802.58<br>
177.33<br>
0.75<br>
0.72<br>
-0.2<br>
0.02<br>
208<br>
MWD<br>
19006<br>
90.7<br>
179.3<br>
96<br>
11202.57<br>
7890.09<br>
-7890.09<br>
S<br>
364.19<br>
E<br>
7898.49<br>
177.36<br>
0.94<br>
0.00<br>
-0.9<br>
0.02<br>
209<br>
MWD<br>
19101<br>
91.2<br>
178.5<br>
95<br>
11200.99<br>
7985.06<br>
-7985.06<br>
S<br>
366.02<br>
E<br>
7993.44<br>
177.38<br>
0.99<br>
0.53<br>
-0.8<br>
0.06<br>
210<br>
MWD<br>
19196<br>
90<br>
178.8<br>
95<br>
11200.00<br>
8080.03<br>
-8080.03<br>
S<br>
368.25<br>
E<br>
8088.41<br>
177.39<br>
1.30<br>
-1.26<br>
0.3<br>
0.00<br>
27<br>
<hr>
<A name=49></a>211<br>
MWD<br>
19292<br>
88.8<br>
180<br>
96<br>
11201.00<br>
8176.01<br>
-8176.01<br>
S<br>
369.26<br>
E<br>
8184.35<br>
177.41<br>
1.77<br>
-1.25<br>
1.2<br>
0.06<br>
212<br>
MWD<br>
19388<br>
89.4<br>
179.1<br>
96<br>
11202.51<br>
8272.00<br>
-8272.00<br>
S<br>
370.01<br>
E<br>
8280.27<br>
177.44<br>
1.13<br>
0.63<br>
-0.9<br>
0.01<br>
213<br>
MWD<br>
19484<br>
88.4<br>
178.7<br>
96<br>
11204.35<br>
8367.96<br>
-8367.96<br>
S<br>
371.86<br>
E<br>
8376.22<br>
177.46<br>
1.12<br>
-1.04<br>
-0.4<br>
0.12<br>
214<br>
MWD<br>
19579<br>
87.9<br>
180.6<br>
95<br>
11207.42<br>
8462.90<br>
-8462.90<br>
S<br>
372.44<br>
E<br>
8471.09<br>
177.48<br>
2.07<br>
-0.53<br>
2.0<br>
0.25<br>
215<br>
MWD<br>
19675<br>
88.7<br>
180.9<br>
96<br>
11210.27<br>
8558.85<br>
-8558.85<br>
S<br>
371.18<br>
E<br>
8566.90<br>
177.52<br>
0.89<br>
0.83<br>
0.3<br>
0.12<br>
216<br>
MWD<br>
19771<br>
90.7<br>
182.2<br>
96<br>
11210.77<br>
8654.81<br>
-8654.81<br>
S<br>
368.58<br>
E<br>
8662.65<br>
177.56<br>
2.48<br>
2.08<br>
1.4<br>
0.03<br>
217<br>
MWD<br>
19867<br>
91<br>
180.9<br>
96<br>
11209.35<br>
8750.76<br>
-8750.76<br>
S<br>
365.99<br>
E<br>
8758.41<br>
177.61<br>
1.39<br>
0.31<br>
-1.4<br>
0.06<br>
218<br>
MWD<br>
19963<br>
90.5<br>
180.4<br>
96<br>
11208.09<br>
8846.75<br>
-8846.75<br>
S<br>
364.90<br>
E<br>
8854.27<br>
177.64<br>
0.74<br>
-0.52<br>
-0.5<br>
0.01<br>
219<br>
MWD<br>
20058<br>
91.2<br>
180.2<br>
95<br>
11206.68<br>
8941.73<br>
-8941.73<br>
S<br>
364.40<br>
E<br>
8949.15<br>
177.67<br>
0.77<br>
0.74<br>
-0.2<br>
0.08<br>
220<br>
MWD<br>
20153<br>
90<br>
179.6<br>
95<br>
11205.69<br>
9036.73<br>
-9036.73<br>
S<br>
364.57<br>
E<br>
9044.08<br>
177.69<br>
1.41<br>
-1.26<br>
-0.6<br>
0.00<br>
221<br>
MWD<br>
20249<br>
87.5<br>
178.8<br>
96<br>
11207.78<br>
9132.68<br>
-9132.68<br>
S<br>
365.91<br>
E<br>
9140.01<br>
177.71<br>
2.73<br>
-2.60<br>
-0.8<br>
0.36<br>
222<br>
MWD<br>
20344<br>
88.1<br>
179.3<br>
95<br>
11211.43<br>
9227.60<br>
-9227.60<br>
S<br>
367.48<br>
E<br>
9234.92<br>
177.72<br>
0.82<br>
0.63<br>
0.5<br>
0.27<br>
223<br>
MWD<br>
20438<br>
88.6<br>
179.8<br>
94<br>
11214.13<br>
9321.56<br>
-9321.56<br>
S<br>
368.22<br>
E<br>
9328.83<br>
177.74<br>
0.75<br>
0.53<br>
0.5<br>
0.19<br>
224<br>
MWD<br>
20533<br>
89<br>
178.4<br>
95<br>
11216.12<br>
9416.52<br>
-9416.52<br>
S<br>
369.71<br>
E<br>
9423.78<br>
177.75<br>
1.53<br>
0.42<br>
-1.5<br>
0.13<br>
225<br>
MWD<br>
20628<br>
87.6<br>
179.2<br>
95<br>
11218.94<br>
9511.46<br>
-9511.46<br>
S<br>
371.70<br>
E<br>
9518.72<br>
177.76<br>
1.70<br>
-1.47<br>
0.8<br>
1.24<br>
226<br>
MWD<br>
20723<br>
87.3<br>
179.7<br>
95<br>
11223.17<br>
9606.36<br>
-9606.36<br>
S<br>
372.61<br>
E<br>
9613.58<br>
177.78<br>
0.61<br>
-0.32<br>
0.5<br>
-37.95<br>
227<br>
MWD<br>
20818<br>
87.2<br>
181.7<br>
95<br>
11227.73<br>
9701.24<br>
-9701.24<br>
S<br>
371.45<br>
E<br>
9708.35<br>
177.81<br>
2.11<br>
-0.11<br>
2.1<br>
-1.45<br>
228<br>
MWD<br>
20913<br>
88.9<br>
182.1<br>
95<br>
11230.96<br>
9796.13<br>
-9796.13<br>
S<br>
368.30<br>
E<br>
9803.05<br>
177.85<br>
1.84<br>
1.79<br>
0.4<br>
-0.13<br>
229<br>
MWD<br>
21007<br>
90.1<br>
180.9<br>
94<br>
11231.78<br>
9890.09<br>
-9890.09<br>
S<br>
365.84<br>
E<br>
9896.85<br>
177.88<br>
1.81<br>
1.28<br>
-1.3<br>
0.00<br>
230<br>
MWD<br>
21101<br>
91.1<br>
180.2<br>
94<br>
11230.79<br>
9984.08<br>
-9984.08<br>
S<br>
364.94<br>
E<br>
9990.74<br>
177.91<br>
1.30<br>
1.06<br>
-0.7<br>
-0.13<br>
231<br>
MWD<br>
21198<br>
90.8<br>
179.2<br>
97<br>
11229.19<br>
10081.06<br>
-10081.06<br>
S<br>
365.45<br>
E<br>
10087.68<br>
177.92<br>
1.08<br>
-0.31<br>
-1.0<br>
-0.09<br>
232<br>
MWD<br>
21294<br>
91.1<br>
179.2<br>
96<br>
11227.59<br>
10177.04<br>
-10177.04<br>
S<br>
366.79<br>
E<br>
10183.64<br>
177.94<br>
0.31<br>
0.31<br>
0.0<br>
-0.23<br>
233<br>
MWD<br>
21390<br>
91.4<br>
179.6<br>
96<br>
11225.50<br>
10273.01<br>
-10273.01<br>
S<br>
367.79<br>
E<br>
10279.59<br>
177.95<br>
0.52<br>
0.31<br>
0.4<br>
-0.68<br>
234<br>
MWD<br>
21486<br>
90.6<br>
178.9<br>
96<br>
11223.82<br>
10368.98<br>
-10368.98<br>
S<br>
369.05<br>
E<br>
10375.55<br>
177.96<br>
1.11<br>
-0.83<br>
-0.7<br>
-0.37<br>
235<br>
MWD<br>
21582<br>
89.9<br>
178.3<br>
96<br>
11223.41<br>
10464.95<br>
-10464.95<br>
S<br>
371.39<br>
E<br>
10471.54<br>
177.97<br>
0.96<br>
-0.73<br>
-0.6<br>
0.00<br>
236<br>
MWD<br>
21677<br>
89.4<br>
178.5<br>
95<br>
11223.99<br>
10559.91<br>
-10559.91<br>
S<br>
374.05<br>
E<br>
10566.54<br>
177.97<br>
0.57<br>
-0.53<br>
0.2<br>
-0.31<br>
237<br>
prj<br>
21725<br>
89.4<br>
179<br>
48<br>
11224.49<br>
10607.90<br>
-10607.90<br>
S<br>
375.09<br>
E<br>
10614.53<br>
177.97<br>
1.04<br>
0.00<br>
1.0<br>
-0.21<br>
28<br>
<hr>
<A name=50></a><hr>
<A name=51></a><hr>
<A name=52></a><hr>
<A name=53></a><hr>
<A name=54></a><hr>
<A name=55></a><hr>
<A name=56></a>29035<br>
Notify NDIC inspector Jessica Gilkey at 701-770-7340 with spud and TD info.<br>
X<br>
8/1/14<br>
Nathaniel Erbele<br>
Petroleum Resource Specialist<br>
<hr>
<A name=57></a>29035<br>
X<br>
8/1/14<br>
Nathaniel Erbele<br>
Petroleum Resource Specialist<br>
<hr>
<A name=58></a>August 1, 2014<br>
Terry L. Olson<br>
Regulatory Compliance Specialist<br>
CONTINENTAL RESOURCES, INC.<br>
P.O. Box 268870<br>
Oklahoma City, OK 73126<br>
RE:<br>
HORIZONTAL WELL<br>
STANGELAND 3-7H1<br>
LOT7 Section 6-153N-99W<br>
Williams County<br>
Well File # 29035<br>
Dear Terry :<br>
Pursuant to Commission Order No. 23455, approval to drill the above captioned well is hereby given. The<br>
approval is granted on the condition that all portions of the well bore not isolated by cement, be no closer than<br>
the </span><span class="ft5">200' setback </span><span class="ft4">from the north & south boundaries and </span><span class="ft5">500' setback </span><span class="ft4">from the east & west boundaries within the<br>
2560 acre spacing unit consisting of Sec 31-154N-99W, Sec 6, 7, & 18-153N-99W.<br>
PERMIT STIPULATIONS: Effective June 1, 2014, a covered leak-proof container (with placard) for<br>
filter sock disposal must be maintained on the well site beginning when the well is spud, and must<br>
remain on-site during clean-out, completion, and flow-back whenever filtration operations are<br>
conducted.A MINIMUM OF FOUR HORIZONTAL WELLS, TWO IN EACH "1280", SHALL BE<br>
DRILLED AND COMPLETED IN THE STANDUP 2560-ACRE SPACING UNIT WITHIN<br>
TWELVE MONTHS OF EACH OTHER, AND AN EQUAL NUMBER OF HORIZONTAL WELLS<br>
SHALL BE DRILLED AND COMPLETED IN BOTH "1280S" OF THE STANDUP 2560-ACRE<br>
SPACING UNIT WITH THE NUMBER OF WELLS BEING EQUAL WITHIN TWELVE<br>
MONTHS OF EACH OTHER. CONTINENTAL RESOURCES must contact NDIC Field Inspector<br>
Jessica Gilkey at 701-770-7340 prior to location construction.<br>
Drilling pit<br>
NDAC 43-02-03-19.4 states that "a pit may be utilized to bury drill cuttings and solids generated during well<br>
drilling and completion operations, providing the pit can be constructed, used and reclaimed in a manner that will<br>
prevent pollution of the land surface and freshwaters. Reserve and circulation of mud system through earthen pits<br>
are prohibited. All pits shall be inspected by an authorized representative of the director prior to lining and use.<br>
Drill cuttings and solids must be stabilized in a manner approved by the director prior to placement in a cuttings<br>
pit."<br>
Form 1 Changes & Hard Lines<br>
Any changes, shortening of casing point or lengthening at Total Depth must have prior approval by the NDIC.<br>
The proposed directional plan is at a legal location. Based on the azimuth of the proposed lateral the maximum<br>
legal coordinate from the well head is: 10638' south.<br>
<hr>
<A name=59></a>Location Construction Commencement (Three Day Waiting Period)<br>
Operators shall not commence operations on a drill site until the 3rd business day following publication of the<br>
approved drilling permit on the NDIC - OGD Daily Activity Report. If circumstances require operations to<br>
commence before the 3rd business day following publication on the Daily Activity Report, the waiting period may<br>
be waived by the Director. Application for a waiver must be by sworn affidavit providing the information<br>
necessary to evaluate the extenuating circumstances, the factors of NDAC 43-02-03-16.2 (1), (a)-(f), and any other<br>
information that would allow the Director to conclude that in the event another owner seeks revocation of the<br>
drilling permit, the applicant should retain the permit.<br>
Permit Fee & Notification<br>
Payment was received in the amount of $100 via credit card. It is requested that notification be given<br>
immediately upon the spudding of the well. This information should be relayed to the Oil & Gas Division,<br>
Bismarck, via telephone. The following information must be included: Well name, legal location, permit number,<br>
drilling contractor, company representative, date and time of spudding. Office hours are 8:00 a.m. to 12:00 p.m.<br>
and 1:00 p.m. to 5:00 p.m. Central Time. Our telephone number is (701) 328-8020, leave a message if after hours<br>
or on the weekend.<br>
Survey Requirements for Horizontal, Horizontal Re-entry, and Directional Wells<br>
NDAC Section 43-02-03-25 (Deviation Tests and Directional Surveys) states in part (that) the survey<br>
contractor shall file a certified copy of all surveys with the director free of charge within thirty days of completion.<br>
Surveys must be submitted as one electronic copy, or in a form approved by the director. However, the director<br>
may require the directional survey to be filed immediately after completion if the survey is needed to conduct the<br>
operation of the director's office in a timely manner. Certified surveys must be submitted via email in one adobe<br>
document, with a certification cover page to </span><span class="ft2">certsurvey@nd.gov</span><span class="ft1">.<br>
Survey points shall be of such frequency to accurately determine the entire location of the well bore.<br>
Specifically, the Horizontal and Directional well survey frequency is 100 feet in the vertical, 30 feet in the curve<br>
(or when sliding) and 90 feet in the lateral.<br>
Confidential status<br>
Your request for confidential status of all information furnished to the Director, or his representatives, is<br>
hereby granted. Such information, except production runs, shall remain confidential for six months commencing<br>
on the date the well is spud.<br>
Confidential status notwithstanding, the Director and his representatives shall have access to all well<br>
records wherever located. Your company personnel, or any person performing work for your company shall<br>
permit the Director and his representatives to come upon any lease, property, well, or drilling rig operated or<br>
controlled by them, complying with all safety rules, and to inspect the records and operation of such wells and to<br>
have access at all times to any and all records of wells. The Commission's field personnel periodically inspect<br>
producing and drilling wells. Any information regarding such wells shall be made available to them at any time<br>
upon request. The information so obtained by the field personnel shall be maintained in strict confidence and<br>
shall be available only to the Commission and its staff.<br>
Surface casing cement<br>
Tail cement utilized on surface casing must have a minimum compressive strength of 500 psi within 12<br>
hours, and tail cement utilized on production casing must have a minimum compressive strength of 500 psi<br>
before drilling the plug or initiating tests.<br>
Logs </span><span class="ft3">NDAC Section 43-02-03-31 requires the running of (1) a suite of open hole logs from which formation tops and<br>
porosity zones can be determined, (2) a Gamma Ray Log run from total depth to ground level elevation of the well bore, and<br>
(3) a log from which the presence and quality of cement can be determined (Standard CBL or Ultrasonic cement evaluation<br>
log) in every well in which production or intermediate casing has been set, this log must be run prior to completing the well.<br>
All logs run must be submitted free of charge, as one digital TIFF (tagged image file format) copy and one digital LAS (log<br>
ASCII) formatted copy. Digital logs may be submitted on a standard CD, DVD, or attached to an email sent to<br>
digitallogs@nd.gov </span><span class="ft1">Thank you for your cooperation.<br>
Sincerely,<br>
Nathaniel Erbele<br>
Petroleum Resource Specialist<br>
<hr>
<A name=60></a>INDUSTRIAL COMMISSION OF NORTH DAKOTA<br>
OIL AND GAS DIVISION<br>
600 EAST BOULEVARD DEPT 405<br>
BISMARCK, ND 58505-0840<br>
SFN 54269 (08-2005)<br>
PLEASE READ INSTRUCTIONS BEFORE FILLING OUT FORM.<br>
PLEASE SUBMIT THE ORIGINAL AND ONE COPY.<br>
Type of Work<br>
Type of Well<br>
Approximate Date Work Will Start<br>
Confidential Status<br>
New Location<br>
Oil & Gas<br>
8 / 3 / 2014<br>
Yes<br>
Operator<br>
Telephone Number<br>
CONTINENTAL RESOURCES, INC.<br>
405-234-9000<br>
Address<br>
City<br>
State<br>
Zip Code<br>
P.O. Box 268870<br>
Oklahoma City<br>
OK<br>
73126<br>
Notice has been provided to the owner of any<br>
This well is not located within five hundred<br>
permanently occupied dwelling within 1,320 feet.<br>
feet of an occupied dwelling.<br>
enter data for additional laterals on page 2)<br>
Well Name<br>
Well Number<br>
STANGELAND<br>
3-7H1<br>
Surface Footages<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
300 </span><span class="ft0">FL<br>
S790 </span><span class="ft0">F </span><span class="ft6">W </span><span class="ft0">L<br>
LOT7<br>
6<br>
153<br>
99<br>
Williams<br>
Longstring Casing Point Footages<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
100 </span><span class="ft0">F </span><span class="ft6">N </span><span class="ft0">L<br>
976 </span><span class="ft0">F </span><span class="ft6">W </span><span class="ft0">L<br>
LOT1<br>
7<br>
153<br>
99<br>
Williams<br>
Longstring Casing Point Coordinates From Well Head<br>
Azimuth<br>
Longstring Total Depth<br>
400 S </span><span class="ft0">From WH<br>
186 E </span><span class="ft0">From WH<br>
155<br>
11462 </span><span class="ft0">Feet MD<br>
11210 </span><span class="ft0">Feet TVD<br>
Bottom Hole Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
200 </span><span class="ft0">F </span><span class="ft6">S<br>
LF<br>
1155<br>
W </span><span class="ft0">L<br>
LOT4<br>
18<br>
153<br>
99<br>
Williams<br>
Bottom Hole Coordinates From Well Head<br>
KOP Lateral 1<br>
Azimuth Lateral 1<br>
Estimated Total Depth Lateral 1<br>
10638 S </span><span class="ft0">From WH<br>
365 E </span><span class="ft0">From WH<br>
10769 </span><span class="ft0">Feet MD<br>
180<br>
21726 </span><span class="ft0">Feet MD<br>
11201 </span><span class="ft0">Feet TVD<br>
Latitude of Well Head<br>
Longitude of Well Head<br>
NAD Reference<br>
Description of<br>
(Subject to NDIC Approval)<br>
48<br>
05<br>
50.68<br>
-103<br>
28<br>
17.71<br>
NAD83<br>
Spacing Unit:<br>
S 31-154N99W, S 6,7,18-153N99W<br>
Ground Elevation<br>
Acres in Spacing/Drilling Unit<br>
Spacing/Drilling Unit Setback Requirement<br>
Industrial Commission Order<br>
2312 </span><span class="ft0">Feet Above S.L.<br>
2560<br>
200 </span><span class="ft8">Feet N/S<br>
500<br>
Feet<br>
Feet E/W<br>
23455<br>
North Line of Spacing/Drilling Unit<br>
South Line of Spacing/Drilling Unit<br>
East Line of Spacing/Drilling Unit<br>
West Line of Spacing/Drilling Unit<br>
5192 </span><span class="ft0">Feet<br>
5238 </span><span class="ft0">Feet<br>
21112 </span><span class="ft0">Feet<br>
21105 </span><span class="ft0">Feet<br>
Objective Horizons<br>
Pierre Shale Top<br>
Three Forks B1<br>
2225<br>
Proposed<br>
Size<br>
Weight<br>
Depth<br>
Cement Volume<br>
Surface Casing<br>
9<br>
5/8<br>
36 </span><span class="ft0">Lb./Ft. </span><span class="ft6">2330<br>
Feet<br>
880<br>
Sacks<br>
Proposed<br>
Size<br>
Weight(s)<br>
Longstring Total Depth<br>
Cement Volume<br>
Cement Top<br>
Top Dakota Sand<br>
Longstring Casing<br>
732<br>
Lb./Ft.<br>
11462 </span><span class="ft0">Feet MD<br>
11210 </span><span class="ft0">Feet TVD<br>
941<br>
Sacks<br>
0<br>
Feet<br>
5266<br>
Feet<br>
Base of Last<br>
Last<br>
Salt (If<br>
Charles </span><span class="ft0">Applicable)<br>
Salt (If Applicable)<br>
9594 </span><span class="ft0">Feet<br>
Proposed Logs<br>
CBL/GR from deepest depth obtainable to ground surface<br>
Drilling Mud Type (Vertical Hole - Below Surface Casing)<br>
Drilling Mud Type (Lateral)<br>
Invert<br>
Brine<br>
Survey Type in Vertical Portion of Well<br>
Survey Frequency: Build Section<br>
Survey Frequency: Lateral<br>
Survey Contractor<br>
MWD </span><span class="ft0">Every 100 Feet<br>
30 </span><span class="ft0">Feet<br>
90 </span><span class="ft0">Feet<br>
MS Energy<br>
proposed mud/cementing plan,<br>
directional plot/plan, $100 fee.<br>
<hr>
<A name=61></a>Page 2<br>
SFN 54269 (08-2005)<br>
The Hayes 2-6H and 3-6H1 and the Stangeland 2-7H and 3-7H1 will all be drilled from a common pad.<br>
Lateral 2<br>
KOP Lateral 2<br>
Azimuth Lateral 2<br>
Estimated Total Depth Lateral 2<br>
KOP Coordinates From Well Head<br>
Feet MD<br>
Feet MD<br>
Feet TVD<br>
From WH<br>
From WH<br>
Formation Entry Point Coordinates From Well Head<br>
Bottom Hole Coordinates From Well Head<br>
From WH<br>
From WH<br>
From WH<br>
From WH<br>
KOP Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
FL<br>
FL<br>
Bottom Hole Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
FL<br>
F<br>
L<br>
Lateral 3<br>
KOP Lateral 3<br>
Azimuth Lateral 3<br>
Estimated Total Depth Lateral 3<br>
KOP Coordinates From Well Head<br>
Feet MD<br>
Feet MD<br>
Feet TVD<br>
From WH<br>
From WH<br>
Formation Entry Point Coordinates From Well Head<br>
Bottom Hole Coordinates From Well Head<br>
From WH<br>
From WH<br>
From WH<br>
From WH<br>
KOP Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
F<br>
L<br>
FL<br>
Bottom Hole Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
F<br>
L<br>
FL<br>
Lateral 4<br>
KOP Lateral 4<br>
Azimuth Lateral 4<br>
Estimated Total Depth Lateral 4<br>
KOP Coordinates From Well Head<br>
Feet MD<br>
Feet MD<br>
Feet TVD<br>
From WH<br>
From WH<br>
Formation Entry Point Coordinates From Well Head<br>
Bottom Hole Coordinates From Well Head<br>
From WH<br>
From WH<br>
From WH<br>
From WH<br>
KOP Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
FL<br>
FL<br>
Bottom Hole Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
FL<br>
FL<br>
Lateral 5<br>
KOP Lateral 5<br>
Azimuth Lateral 5<br>
Estimated Total Depth Lateral 5<br>
KOP Coordinates From Well Head<br>
Feet MD<br>
Feet MD<br>
Feet TVD<br>
From WH<br>
From WH<br>
Formation Entry Point Coordinates From Well Head<br>
Bottom Hole Coordinates From Well Head<br>
From WH<br>
From WH<br>
From WH<br>
From WH<br>
KOP Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
FL<br>
FL<br>
Bottom Hole Footages From Nearest Section Line<br>
Qtr-Qtr<br>
Section<br>
Township<br>
Range<br>
County<br>
FL<br>
FL<br>
Date<br>
I hereby swear or affirm the information provided is true, complete and correct as determined from all available records.<br>
7 / 17 / 2014<br>
Signature<br>
Printed Name<br>
Title<br>
ePermit<br>
Terry L. Olson<br>
Regulatory Compliance Specialist<br>
Email Address(es)<br>
Permit and File Number<br>
API Number<br>
Date Approved<br>
29035<br>
105<br>
03650<br>
8 / 1 / 2014<br>
Field<br>
By<br>
CRAZY MAN CREEK<br>
Nathaniel Erbele<br>
Pool<br>
Permit Type<br>
Title<br>
BAKKEN<br>
DEVELOPMENT<br>
Petroleum Resource Specialist<br>
<hr>
<A name=62></a>April 9, 2014<br>
RE:<br>
Filter Socks and Other Filter Media<br>
Leakproof Container Required<br>
Oil and Gas Wells<br>
Dear Operator,<br>
North Dakota Administrative Code Section 43-02-03-19.2 states in part that all waste material associated with<br>
exploration or production of oil and gas must be properly disposed of in an authorized facility in accord with all<br>
applicable local, state, and federal laws and regulations.<br>
Filtration systems are commonly used during oil and gas operations in North Dakota. The Commission is very<br>
concerned about the proper disposal of used filters (including filter socks) used by the oil and gas industry.<br>
Effective June 1, 2014, a container must be maintained on each well drilled in North Dakota beginning when the<br>
well is spud and must remain on-site during clean-out, completion, and flow-back whenever filtration operations<br>
are conducted. The on-site container must be used to store filters until they can be properly disposed of in an<br>
authorized facility. Such containers must be:<br>
leakproof to prevent any fluids from escaping the container<br>
covered to prevent precipitation from entering the container<br>
placard to indicate only filters are to be placed in the container<br>
If the operator will not utilize a filtration system, a waiver to the container requirement will be considered, but<br>
only upon the operator submitting a Sundry Notice (Form 4) justifying their request.<br>
As previously stated in our March 13, 2014 letter, North Dakota Administrative Code Section 33-20-02.1-01<br>
states in part that every person who transports solid waste (which includes oil and gas exploration and production<br>
wastes) is required to have a valid permit issued by the North Dakota Department of Health, Division of Waste<br>
Management. Please contact the Division of Waste Management at (701) 328-5166 with any questions on the<br>
solid waste program. Note oil and gas exploration and production wastes include produced water, drilling mud,<br>
invert mud, tank bottom sediment, pipe scale, filters, and fly ash.<br>
Thank you for your cooperation.<br>
Sincerely,<br>
Bruce E. Hicks<br>
Assistant Director<br>
<hr>
<A name=63></a><hr>
<A name=64></a><hr>
<A name=65></a><hr>
<A name=66></a><hr>
<A name=67></a><hr>
<A name=68></a><hr>
<A name=69></a><hr>
<A name=70></a><hr>
<A name=71></a><hr>
<A name=72></a><hr>
<A name=73></a><hr>
<A name=74></a><hr>
<A name=75></a><hr>
<A name=76></a><hr>
<A name=77></a><hr>
<A name=78></a><hr>
<A name=79></a><hr>
<A name=80></a><hr>
<A name=81></a><hr>
<A name=82></a><hr>
<A name=83></a><hr>
<A name=84></a><hr>
<A name=85></a><hr>
<A name=86></a><hr>
<A name=87></a><hr>
<A name=88></a><hr>
<A name=89></a><hr>
<A name=90></a><hr>
<A name=91></a><hr>
<A name=92></a><hr>
<A name="outline"></a><h1>Document Outline</h1>
<ul><li>Form 6 - Bakken
<li>Form 6 - Bakken
<li>Certified Surveys
<li>Geo Rpt
<li>Form 4
<ul><li>4-OH log waiver
<li>4-waiver to container requirement
<li>4-spud with small rig
<li>4-flow back exemption
</ul><li>Form 1
</ul><hr>
</BODY>
</HTML>
|
datamade/elpc_bakken
|
html/pdf/W29035.pdfs.html
|
HTML
|
mit
| 141,612
|
//
// The MIT License (MIT)
//
// Copyright 2013-2014 The MilkCat Project Developers
//
// 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.
//
// utils_posix.cc --- Created at 2014-03-18
//
#include <stdio.h>
#include "util/util.h"
namespace milkcat {
int64_t ftell64(FILE *fd) {
return ftello(fd);
}
} // namespace milkcat
|
milkcat/MilkCat
|
src/util/util_posix.cc
|
C++
|
mit
| 1,352
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Unity Buy SDK: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Unity Buy SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespace_shopify.html">Shopify</a></li><li class="navelem"><a class="el" href="namespace_shopify_1_1_unity.html">Unity</a></li><li class="navelem"><a class="el" href="namespace_shopify_1_1_unity_1_1_graph_q_l.html">GraphQL</a></li><li class="navelem"><a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">CustomerCreatePayload</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Shopify.Unity.GraphQL.CustomerCreatePayload Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">Shopify.Unity.GraphQL.CustomerCreatePayload</a>, including all inherited members.</p>
<table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Clone</b>() (defined in <a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">Shopify.Unity.GraphQL.CustomerCreatePayload</a>)</td><td class="entry"><a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">Shopify.Unity.GraphQL.CustomerCreatePayload</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>customer</b>() (defined in <a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">Shopify.Unity.GraphQL.CustomerCreatePayload</a>)</td><td class="entry"><a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">Shopify.Unity.GraphQL.CustomerCreatePayload</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html#ac40d78612c8f52cab978bb1474549944">CustomerCreatePayload</a>(Dictionary< string, object > dataJSON)</td><td class="entry"><a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">Shopify.Unity.GraphQL.CustomerCreatePayload</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>Data</b> (defined in <a class="el" href="class_shopify_1_1_unity_1_1_s_d_k_1_1_abstract_response.html">Shopify.Unity.SDK.AbstractResponse</a>)</td><td class="entry"><a class="el" href="class_shopify_1_1_unity_1_1_s_d_k_1_1_abstract_response.html">Shopify.Unity.SDK.AbstractResponse</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>DataJSON</b> (defined in <a class="el" href="class_shopify_1_1_unity_1_1_s_d_k_1_1_abstract_response.html">Shopify.Unity.SDK.AbstractResponse</a>)</td><td class="entry"><a class="el" href="class_shopify_1_1_unity_1_1_s_d_k_1_1_abstract_response.html">Shopify.Unity.SDK.AbstractResponse</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>Get< T ></b>(string field, string alias=null) (defined in <a class="el" href="class_shopify_1_1_unity_1_1_s_d_k_1_1_abstract_response.html">Shopify.Unity.SDK.AbstractResponse</a>)</td><td class="entry"><a class="el" href="class_shopify_1_1_unity_1_1_s_d_k_1_1_abstract_response.html">Shopify.Unity.SDK.AbstractResponse</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>userErrors</b>() (defined in <a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">Shopify.Unity.GraphQL.CustomerCreatePayload</a>)</td><td class="entry"><a class="el" href="class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload.html">Shopify.Unity.GraphQL.CustomerCreatePayload</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
<address class="footer"><small>
<a href="https://www.shopify.ca/">
<img class="footer" height="50" src="https://camo.githubusercontent.com/10d580ddb06e6e6ff66ae43959842201195c6269/68747470733a2f2f63646e2e73686f706966792e636f6d2f73686f706966792d6d61726b6574696e675f6173736574732f6275696c64732f31392e302e302f73686f706966792d66756c6c2d636f6c6f722d626c61636b2e737667" alt="Shopify">
</a>
</small></address>
|
Shopify/unity-buy-sdk
|
docs/class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload-members.html
|
HTML
|
mit
| 6,645
|
<?php
/* WebProfilerBundle:Collector:memory.html.twig */
class __TwigTemplate_751c0a009a5df8996652fe3991435306 extends Twig_Template
{
protected $parent;
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->blocks = array(
'toolbar' => array($this, 'block_toolbar'),
);
}
public function getParent(array $context)
{
if (null === $this->parent) {
$this->parent = $this->env->loadTemplate("WebProfilerBundle:Profiler:layout.html.twig");
}
return $this->parent;
}
protected function doDisplay(array $context, array $blocks = array())
{
$context = array_merge($this->env->getGlobals(), $context);
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_toolbar($context, array $blocks = array())
{
// line 4
echo " ";
ob_start();
// line 5
echo " <img width=\"13\" height=\"28\" alt=\"Memory Usage\" style=\"vertical-align: middle; margin-right: 5px;\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAcCAYAAAC6YTVCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJBJREFUeNpi/P//PwOpgImBDDAcNbE4ODiAg+/AgQOC586d+4BLoZGRkQBQ7Xt0mxQIWKCAzXkCBDQJDEBAIHOKiooicSkEBtTz0WQ0xFI5Mqevr285HrUOMAajvb09ySULk5+f3w1SNIDUMwKLsAIg256IrAECoEx6EKQJlLkkgJiDCE0/gPgF4+AuLAECDAAolCeEmdURAgAAAABJRU5ErkJggg==\"/>
";
$context['icon'] = new Twig_Markup(ob_get_clean());
// line 7
echo " ";
ob_start();
// line 8
echo " ";
echo twig_escape_filter($this->env, sprintf("%.0f", ($this->getAttribute($this->getContext($context, 'collector'), "memory", array(), "any", false) / 1024)), "html");
echo " KB
";
$context['text'] = new Twig_Markup(ob_get_clean());
// line 10
echo " ";
$this->env->loadTemplate("WebProfilerBundle:Profiler:toolbar_item.html.twig")->display(array_merge($context, array("link" => false)));
}
public function getTemplateName()
{
return "WebProfilerBundle:Collector:memory.html.twig";
}
public function isTraitable()
{
return false;
}
}
|
codeninja-ru/overmap
|
app/cache/dev/twig/75/1c/0a009a5df8996652fe3991435306.php
|
PHP
|
mit
| 2,299
|
// Copyright (c) 2001-2019 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
// "as is", without warranty of any kind, either expressed or implied.
//////////////////////////////////////////////////////////////////////////
package ApiExamples;
// ********* THIS FILE IS AUTO PORTED *********
import org.testng.annotations.Test;
import com.aspose.words.Document;
import java.util.Iterator;
import com.aspose.words.Style;
import com.aspose.ms.System.msConsole;
import com.aspose.ms.NUnit.Framework.msAssert;
import org.testng.Assert;
import com.aspose.words.StyleCollection;
import com.aspose.words.StyleType;
import com.aspose.words.StyleIdentifier;
import com.aspose.words.Paragraph;
import com.aspose.words.NodeType;
import com.aspose.words.TabStop;
import java.awt.Color;
import com.aspose.words.ParagraphAlignment;
import com.aspose.ms.System.IO.MemoryStream;
import com.aspose.words.SaveFormat;
@Test
public class ExStyles extends ApiExampleBase
{
@Test
public void styles() throws Exception
{
//ExStart
//ExFor:DocumentBase.Styles
//ExFor:Style.Document
//ExFor:Style.Name
//ExFor:Style.IsHeading
//ExFor:Style.IsQuickStyle
//ExFor:Style.NextParagraphStyleName
//ExFor:Style.Styles
//ExFor:Style.Type
//ExFor:StyleCollection.Document
//ExFor:StyleCollection.GetEnumerator
//ExSummary:Shows how to get access to the collection of styles defined in the document.
Document doc = new Document();
Iterator<Style> stylesEnum = doc.getStyles().iterator();
try /*JAVA: was using*/
{
while (stylesEnum.hasNext())
{
Style curStyle = stylesEnum.next();
msConsole.writeLine($"Style name:\t\"{curStyle.Name}\", of type \"{curStyle.Type}\"");
msConsole.writeLine($"\tSubsequent style:\t{curStyle.NextParagraphStyleName}");
msConsole.writeLine($"\tIs heading:\t\t\t{curStyle.IsHeading}");
msConsole.writeLine($"\tIs QuickStyle:\t\t{curStyle.IsQuickStyle}");
msAssert.areEqual(doc, curStyle.getDocument());
}
}
finally { if (stylesEnum != null) stylesEnum.close(); }
//ExEnd
}
@Test
public void styleCollection() throws Exception
{
//ExStart
//ExFor:StyleCollection.Add(Style)
//ExFor:StyleCollection.Count
//ExFor:StyleCollection.DefaultFont
//ExFor:StyleCollection.DefaultParagraphFormat
//ExFor:StyleCollection.Item(StyleIdentifier)
//ExFor:StyleCollection.Item(Int32)
//ExSummary:Shows how to add a Style to a StyleCollection.
Document doc = new Document();
// New documents come with a collection of default styles that can be applied to paragraphs
StyleCollection styles = doc.getStyles();
msAssert.areEqual(4, styles.getCount());
// We can set default parameters for new styles that will be added to the collection from now on
styles.getDefaultFont().setName("Courier New");
styles.getDefaultParagraphFormat().setFirstLineIndent(15.0);
styles.add(StyleType.PARAGRAPH, "MyStyle");
// Styles within the collection can be referenced either by index or name
msAssert.areEqual("Courier New", styles.get(4).getFont().getName());
msAssert.areEqual(15.0, styles.get("MyStyle").getParagraphFormat().getFirstLineIndent());
//ExEnd
}
@Test
public void setAllStyles() throws Exception
{
//ExStart
//ExFor:Style.Font
//ExFor:Style
//ExSummary:Shows how to change the font formatting of all styles in a document.
Document doc = new Document();
for (Style style : doc.getStyles())
{
if (style.getFont() != null)
{
style.getFont().clearFormatting();
style.getFont().setSize(20.0);
style.getFont().setName("Arial");
}
}
//ExEnd
}
@Test
public void changeStyleOfTocLevel() throws Exception
{
Document doc = new Document();
// Retrieve the style used for the first level of the TOC and change the formatting of the style.
doc.getStyles().getByStyleIdentifier(StyleIdentifier.TOC_1).getFont().setBold(true);
}
@Test
public void changeTocsTabStops() throws Exception
{
//ExStart
//ExFor:TabStop
//ExFor:ParagraphFormat.TabStops
//ExFor:Style.StyleIdentifier
//ExFor:TabStopCollection.RemoveByPosition
//ExFor:TabStop.Alignment
//ExFor:TabStop.Position
//ExFor:TabStop.Leader
//ExSummary:Shows how to modify the position of the right tab stop in TOC related paragraphs.
Document doc = new Document(getMyDir() + "Document.TableOfContents.doc");
// Iterate through all paragraphs in the document
for (Paragraph para : doc.getChildNodes(NodeType.PARAGRAPH, true).<Paragraph>OfType() !!Autoporter error: Undefined expression type )
{
// Check if this paragraph is formatted using the TOC result based styles. This is any style between TOC and TOC9.
if (para.getParagraphFormat().getStyle().getStyleIdentifier() >= StyleIdentifier.TOC_1 &&
para.getParagraphFormat().getStyle().getStyleIdentifier() <= StyleIdentifier.TOC_9)
{
// Get the first tab used in this paragraph, this should be the tab used to align the page numbers.
TabStop tab = para.getParagraphFormat().getTabStops().get(0);
// Remove the old tab from the collection.
para.getParagraphFormat().getTabStops().removeByPosition(tab.getPosition());
// Insert a new tab using the same properties but at a modified position.
// We could also change the separators used (dots) by passing a different Leader type
para.getParagraphFormat().getTabStops().add(tab.getPosition() - 50.0, tab.getAlignment(), tab.getLeader());
}
}
doc.save(getArtifactsDir() + "Document.TableOfContentsTabStops.doc");
//ExEnd
}
@Test
public void copyStyleSameDocument() throws Exception
{
Document doc = new Document(getMyDir() + "Document.doc");
//ExStart
//ExFor:StyleCollection.AddCopy
//ExFor:Style.Name
//ExSummary:Demonstrates how to copy a style within the same document.
// The AddCopy method creates a copy of the specified style and automatically generates a new name for the style, such as "Heading 1_0".
Style newStyle = doc.getStyles().addCopy(doc.getStyles().get("Heading 1"));
// You can change the new style name if required as the Style.Name property is read-write.
newStyle.setName("My Heading 1");
//ExEnd
Assert.assertNotNull(newStyle);
msAssert.areEqual("My Heading 1", newStyle.getName());
msAssert.areEqual(doc.getStyles().get("Heading 1").getType(), newStyle.getType());
}
@Test
public void copyStyleDifferentDocument() throws Exception
{
Document dstDoc = new Document();
Document srcDoc = new Document();
//ExStart
//ExFor:StyleCollection.AddCopy
//ExSummary:Demonstrates how to copy style from one document into a different document.
// This is the style in the source document to copy to the destination document.
Style srcStyle = srcDoc.getStyles().getByStyleIdentifier(StyleIdentifier.HEADING_1);
// Change the font of the heading style to red.
srcStyle.getFont().setColor(Color.RED);
// The AddCopy method can be used to copy a style from a different document.
Style newStyle = dstDoc.getStyles().addCopy(srcStyle);
//ExEnd
Assert.assertNotNull(newStyle);
msAssert.areEqual("Heading 1", newStyle.getName());
msAssert.areEqual(Color.RED.getRGB(), newStyle.getFont().getColor().getRGB());
}
@Test
public void overwriteStyleDifferentDocument() throws Exception
{
Document dstDoc = new Document();
Document srcDoc = new Document();
//ExStart
//ExFor:StyleCollection.AddCopy
//ExSummary:Demonstrates how to copy a style from one document to another and override an existing style in the destination document.
// This is the style in the source document to copy to the destination document.
Style srcStyle = srcDoc.getStyles().getByStyleIdentifier(StyleIdentifier.HEADING_1);
// Change the font of the heading style to red.
srcStyle.getFont().setColor(Color.RED);
// The AddCopy method can be used to copy a style to a different document.
Style newStyle = dstDoc.getStyles().addCopy(srcStyle);
// The name of the new style can be changed to the name of any existing style. Doing this will override the existing style.
newStyle.setName("Heading 1");
//ExEnd
Assert.assertNotNull(newStyle);
msAssert.areEqual("Heading 1", newStyle.getName());
Assert.assertNull(dstDoc.getStyles().get("Heading 1_0"));
msAssert.areEqual(Color.RED.getRGB(), newStyle.getFont().getColor().getRGB());
}
@Test
public void defaultStyles() throws Exception
{
Document doc = new Document();
//Add document-wide defaults parameters
doc.getStyles().getDefaultFont().setName("PMingLiU");
doc.getStyles().getDefaultFont().setBold(true);
doc.getStyles().getDefaultParagraphFormat().setSpaceAfter(20.0);
doc.getStyles().getDefaultParagraphFormat().setAlignment(ParagraphAlignment.RIGHT);
MemoryStream dstStream = new MemoryStream();
doc.save(dstStream, SaveFormat.RTF);
Assert.assertTrue(doc.getStyles().getDefaultFont().getBold());
msAssert.areEqual("PMingLiU", doc.getStyles().getDefaultFont().getName());
msAssert.areEqual(20, doc.getStyles().getDefaultParagraphFormat().getSpaceAfter());
msAssert.areEqual(ParagraphAlignment.RIGHT, doc.getStyles().getDefaultParagraphFormat().getAlignment());
}
@Test
public void removeEx() throws Exception
{
//ExStart
//ExFor:Style.Remove
//ExSummary:Shows how to pick a style that is defined in the document and remove it.
Document doc = new Document();
doc.getStyles().get("Normal").remove();
//ExEnd
}
@Test
public void styleAliases() throws Exception
{
//ExStart
//ExFor:Style.Aliases
//ExFor:Style.BaseStyleName
//ExFor:Style.Equals(Aspose.Words.Style)
//ExFor:Style.LinkedStyleName
//ExSummary:Shows how to use style aliases.
// Open a document that had a style inserted with commas in its name which separate the style name and aliases
Document doc = new Document(getMyDir() + "StyleWithAlias.docx");
// The aliases, separate from the name can be found here
Style style = doc.getStyles().get("MyStyle");
msAssert.areEqual(new String[] { "MyStyle Alias 1", "MyStyle Alias 2" }, style.getAliases());
msAssert.areEqual("Title", style.getBaseStyleName());
msAssert.areEqual("MyStyle Char", style.getLinkedStyleName());
// A style can be referenced by alias as well as name
Assert.assertTrue(style.equals(doc.getStyles().get("MyStyle Alias 1")));
//ExEnd
}
}
|
asposewords/Aspose_Words_Java
|
ApiExamples/JavaPorting/ExStyles.java
|
Java
|
mit
| 11,727
|
<html>
<head>
<title>Duncan Weir's panel show appearances</title>
<script type="text/javascript" src="../common.js"></script>
<link rel="stylesheet" media="all" href="../style.css" type="text/css"/>
<script type="text/javascript" src="../people.js"></script>
<!--#include virtual="head.txt" -->
</head>
<body>
<!--#include virtual="nav.txt" -->
<div class="page">
<h1>Duncan Weir's panel show appearances</h1>
<p>Duncan Weir (born 1991-05-10<sup><a href="https://en.wikipedia.org/wiki/Duncan_Weir">[ref]</a></sup>) has appeared in <span class="total">1</span> episodes between 2015-2015. <a href="https://en.wikipedia.org/wiki/Duncan_Weir">Duncan Weir on Wikipedia</a>.</p>
<div class="performerholder">
<table class="performer">
<tr style="vertical-align:bottom;">
<td><div style="height:100px;" class="performances male" title="1"></div><span class="year">2015</span></td>
</tr>
</table>
</div>
<ol class="episodes">
<li><strong>2015-03-20</strong> / <a href="../shows/qos.html">A Question of Sport</a></li>
</ol>
</div>
</body>
</html>
|
slowe/panelshows
|
people/gpxf3n0j.html
|
HTML
|
mit
| 1,065
|
# vi: ts=8 sts=4 sw=4 et
#
# robot.py: web robot detection
#
# This file is part of Draco2. Draco2 is free software and is made available
# under the MIT license. Consult the file "LICENSE" that is distributed
# together with this file for the exact licensing terms.
#
# Draco2 is copyright (c) 1999-2007 by the Draco2 authors. See the file
# "AUTHORS" for a complete overview.
#
# $Revision: 1187 $
import os
import bisect
import logging
class RobotSignatures(object):
"""A repository of robot signatures.
The repository is used for detecting web robots by matching their
'User-Agent' HTTP header.
"""
def __init__(self):
"""Constructor."""
self.m_robots = []
self.m_files = []
self.m_change_context = None
@classmethod
def _create(cls, api):
"""Factory method."""
robots = cls()
robots._set_change_manager(api.changes)
section = api.config.ns('draco2')
datadir = section['datadirectory']
path = os.path.join(datadir, 'robots.ini')
robots.add_file(path)
docroot = section['documentroot']
path = os.path.join(docroot, 'robots.ini')
robots.add_file(path)
return robots
def _set_change_manager(self, changes):
"""Use change manager `changes'."""
self.m_change_context = changes.get_context('draco2.draco.robot')
self.m_change_context.add_callback(self._change_callback)
def _change_callback(self, api):
"""Change manager callback (when files in the ctx change)."""
self.m_robots = []
for fname in self.m_files:
self._parse_file(fname)
logger = logging.getLogger('draco2.draco.robot')
logger.debug('Reloaded robot signatures (change detected).')
def add_file(self, fname):
"""Load robot signatures from file `fname'."""
self.m_files.append(fname)
self._parse_file(fname)
if self.m_change_context:
self.m_change_context.add_file(fname)
def _parse_file(self, fname):
"""Parse a robot signatures file."""
try:
fin = file(fname)
except IOError:
return
for line in fin:
line = line.strip()
if not line or line.startswith('#'):
continue
self.m_robots.append(line.lower())
fin.close()
self.m_robots.sort()
def match(self, agent):
"""Match user agent string `agent' against the signatures.
The match operation done is a prefix match, i.e. we have a match
if `agent' matches a prefix of a registered signature.
"""
agent = agent.lower()
i = bisect.bisect_right(self.m_robots, agent)
return i > 0 and agent.startswith(self.m_robots[i-1])
|
geertj/draco2
|
draco2/draco/robot.py
|
Python
|
mit
| 2,805
|
<?php
$name='DejaVuSerifCondensed-Italic';
$type='TTF';
$desc=array (
'CapHeight' => 729,
'XHeight' => 519,
'FontBBox' => '[-755 -347 1480 1109]',
'Flags' => 68,
'Ascent' => 928,
'Descent' => -236,
'Leading' => 0,
'ItalicAngle' => -11,
'StemV' => 87,
'MissingWidth' => 540,
);
$unitsPerEm=2048;
$up=-63;
$ut=44;
$strp=259;
$strs=50;
$ttffile='D:/wamp/www/pmis/mpdf/ttfonts/DejaVuSerifCondensed-Italic.ttf';
$TTCfontID='0';
$originalsize=342736;
$sip=false;
$smp=false;
$BMPselected=true;
$fontkey='dejavuserifcondensedI';
$panose=' 0 0 2 6 6 6 5 3 5 b 2 4';
$haskerninfo=true;
$haskernGPOS=false;
$hassmallcapsGSUB=false;
$fontmetrics='win';
// TypoAscender/TypoDescender/TypoLineGap = 760, -240, 200
// usWinAscent/usWinDescent = 928, -236
// hhea Ascent/Descent/LineGap = 928, -236, 0
$useOTL=0x0000;
$rtlPUAstr='';
$kerninfo=array (
45 =>
array (
84 => -35,
86 => -72,
87 => -54,
88 => -35,
89 => -109,
221 => -109,
356 => -35,
376 => -109,
),
65 =>
array (
84 => -54,
86 => -49,
87 => -40,
89 => -40,
102 => -17,
116 => -17,
118 => -40,
119 => -44,
121 => -40,
221 => -40,
253 => -40,
255 => -40,
356 => -54,
357 => -17,
376 => -40,
8217 => -146,
8221 => -146,
64257 => -17,
64258 => -17,
),
66 =>
array (
45 => 18,
67 => 18,
71 => 18,
79 => 18,
89 => -17,
199 => 18,
210 => 18,
211 => 18,
212 => 18,
213 => 18,
214 => 18,
216 => 18,
221 => -17,
262 => 18,
268 => 18,
286 => 18,
338 => 18,
376 => -17,
),
67 =>
array (
44 => -35,
46 => -35,
),
68 =>
array (
44 => -35,
45 => 18,
46 => -35,
86 => -17,
),
69 =>
array (
45 => 18,
),
70 =>
array (
44 => -155,
45 => -44,
46 => -155,
58 => -35,
59 => -35,
65 => -86,
97 => -67,
101 => -54,
111 => -54,
192 => -86,
193 => -86,
194 => -86,
195 => -86,
196 => -86,
224 => -67,
225 => -67,
226 => -67,
227 => -67,
228 => -67,
229 => -67,
230 => -67,
232 => -54,
233 => -54,
234 => -54,
235 => -54,
242 => -54,
243 => -54,
244 => -54,
245 => -54,
246 => -54,
248 => -54,
283 => -54,
339 => -54,
),
71 =>
array (
44 => -35,
45 => 18,
46 => -35,
89 => -17,
221 => -17,
376 => -17,
),
74 =>
array (
44 => -58,
46 => -77,
58 => -40,
59 => -40,
),
75 =>
array (
45 => -72,
65 => -40,
67 => -26,
79 => -26,
85 => -35,
87 => -35,
89 => -26,
101 => -26,
111 => -26,
117 => -21,
121 => -63,
192 => -40,
193 => -40,
194 => -40,
195 => -40,
196 => -40,
199 => -26,
210 => -26,
211 => -26,
212 => -26,
213 => -26,
214 => -26,
216 => -26,
217 => -35,
218 => -35,
219 => -35,
220 => -35,
221 => -26,
232 => -26,
233 => -26,
234 => -26,
235 => -26,
242 => -26,
243 => -26,
244 => -26,
245 => -26,
246 => -26,
248 => -17,
249 => -21,
250 => -21,
251 => -21,
252 => -21,
253 => -63,
255 => -63,
262 => -26,
268 => -26,
283 => -26,
338 => -26,
339 => -26,
366 => -35,
367 => -21,
376 => -26,
),
76 =>
array (
84 => -81,
85 => -54,
86 => -118,
87 => -86,
89 => -63,
121 => -17,
217 => -54,
218 => -54,
219 => -54,
220 => -54,
221 => -63,
253 => -17,
255 => -17,
356 => -81,
366 => -54,
376 => -63,
8217 => -239,
8221 => -239,
),
78 =>
array (
44 => -63,
46 => -63,
58 => -35,
59 => -35,
),
79 =>
array (
44 => -58,
45 => 36,
46 => -58,
86 => -17,
88 => -17,
),
80 =>
array (
44 => -202,
45 => -54,
46 => -202,
58 => -35,
59 => -35,
65 => -91,
85 => -17,
97 => -44,
101 => -44,
111 => -40,
115 => -26,
192 => -91,
193 => -91,
194 => -91,
195 => -91,
196 => -91,
217 => -17,
218 => -17,
219 => -17,
220 => -17,
224 => -44,
225 => -44,
226 => -44,
227 => -44,
228 => -44,
229 => -44,
230 => -44,
232 => -44,
233 => -44,
234 => -44,
235 => -44,
242 => -40,
243 => -40,
244 => -40,
245 => -40,
246 => -40,
248 => -40,
283 => -44,
339 => -40,
351 => -26,
353 => -26,
366 => -17,
),
81 =>
array (
44 => -49,
45 => 36,
46 => -49,
8217 => 18,
8221 => 18,
),
82 =>
array (
84 => -17,
86 => -35,
87 => -21,
89 => -30,
97 => 22,
121 => -17,
221 => -30,
224 => 22,
225 => 22,
226 => 22,
227 => 22,
228 => 22,
229 => 22,
230 => 22,
248 => 18,
253 => -17,
255 => -17,
356 => -17,
376 => -30,
8217 => -54,
8221 => -54,
),
83 =>
array (
44 => -35,
45 => 36,
46 => -35,
83 => -17,
350 => -17,
352 => -17,
),
84 =>
array (
44 => -146,
45 => -128,
46 => -146,
58 => -35,
59 => -35,
65 => -54,
84 => 18,
97 => -77,
99 => -77,
101 => -77,
111 => -77,
115 => -72,
119 => -35,
192 => -54,
193 => -54,
194 => -54,
195 => -54,
196 => -54,
224 => -77,
225 => -77,
226 => -77,
227 => -77,
228 => -77,
229 => -77,
230 => -77,
231 => -77,
232 => -77,
233 => -77,
234 => -77,
235 => -77,
242 => -77,
243 => -77,
244 => -77,
245 => -77,
246 => -77,
248 => -77,
263 => -77,
269 => -77,
283 => -77,
339 => -77,
351 => -72,
353 => -72,
356 => 18,
),
85 =>
array (
44 => -91,
45 => -17,
46 => -91,
58 => -35,
59 => -35,
65 => -30,
74 => -26,
192 => -30,
193 => -30,
194 => -30,
195 => -30,
196 => -30,
),
86 =>
array (
44 => -174,
45 => -91,
46 => -174,
58 => -100,
59 => -100,
65 => -67,
79 => -17,
97 => -91,
101 => -91,
105 => -17,
111 => -91,
117 => -63,
121 => -40,
192 => -67,
193 => -67,
194 => -67,
195 => -67,
196 => -67,
210 => -17,
211 => -17,
212 => -17,
213 => -17,
214 => -17,
216 => -17,
224 => -91,
225 => -91,
226 => -91,
227 => -91,
228 => -91,
229 => -91,
230 => -91,
232 => -91,
233 => -91,
234 => -91,
235 => -91,
242 => -91,
243 => -91,
244 => -91,
245 => -91,
246 => -91,
248 => -91,
249 => -63,
250 => -63,
251 => -63,
252 => -63,
253 => -40,
255 => -40,
283 => -91,
338 => -17,
339 => -91,
367 => -63,
8217 => 36,
8221 => 36,
),
87 =>
array (
44 => -174,
45 => -72,
46 => -174,
58 => -86,
59 => -86,
65 => -49,
97 => -86,
101 => -81,
105 => -17,
111 => -67,
114 => -44,
117 => -40,
121 => -21,
192 => -49,
193 => -49,
194 => -49,
195 => -49,
196 => -49,
224 => -86,
225 => -86,
226 => -86,
227 => -86,
228 => -86,
229 => -86,
230 => -67,
232 => -81,
233 => -81,
234 => -81,
235 => -81,
242 => -67,
243 => -67,
244 => -67,
245 => -67,
246 => -67,
248 => -67,
249 => -40,
250 => -40,
251 => -40,
252 => -40,
253 => -21,
255 => -21,
283 => -81,
339 => -67,
341 => -44,
345 => -44,
367 => -40,
8217 => 18,
8221 => 18,
),
88 =>
array (
45 => -35,
65 => -35,
67 => -17,
79 => -17,
192 => -35,
193 => -35,
194 => -35,
195 => -35,
196 => -35,
199 => -17,
210 => -17,
211 => -17,
212 => -17,
213 => -17,
214 => -17,
216 => -17,
262 => -17,
268 => -17,
338 => -17,
),
89 =>
array (
44 => -128,
45 => -109,
46 => -128,
58 => -123,
59 => -123,
65 => -77,
67 => -17,
97 => -77,
101 => -86,
105 => -17,
111 => -86,
117 => -86,
192 => -77,
193 => -77,
194 => -77,
195 => -77,
196 => -77,
199 => -17,
224 => -77,
225 => -77,
226 => -77,
227 => -77,
228 => -77,
229 => -77,
230 => -95,
232 => -86,
233 => -86,
234 => -86,
235 => -86,
242 => -86,
243 => -86,
244 => -86,
245 => -86,
246 => -86,
248 => -86,
249 => -86,
250 => -86,
251 => -86,
252 => -86,
262 => -17,
268 => -17,
283 => -86,
339 => -104,
367 => -86,
),
90 =>
array (
44 => -17,
46 => -17,
),
102 =>
array (
44 => -35,
45 => -35,
46 => -35,
8217 => 73,
8220 => 18,
8221 => 73,
),
107 =>
array (
45 => -17,
),
111 =>
array (
46 => -17,
),
114 =>
array (
44 => -109,
46 => -109,
),
118 =>
array (
44 => -118,
46 => -118,
),
119 =>
array (
44 => -118,
46 => -118,
),
120 =>
array (
45 => -17,
),
121 =>
array (
44 => -132,
46 => -132,
),
192 =>
array (
84 => -54,
86 => -49,
87 => -40,
89 => -40,
102 => -17,
116 => -17,
118 => -40,
119 => -44,
121 => -40,
221 => -40,
253 => -40,
255 => -40,
356 => -54,
357 => -17,
376 => -40,
8217 => -146,
8221 => -146,
64257 => -17,
64258 => -17,
),
193 =>
array (
84 => -54,
86 => -49,
87 => -40,
89 => -40,
102 => -17,
116 => -17,
118 => -40,
119 => -44,
121 => -40,
221 => -40,
253 => -40,
255 => -40,
356 => -54,
357 => -17,
376 => -40,
8217 => -146,
8221 => -146,
64257 => -17,
64258 => -17,
),
194 =>
array (
84 => -54,
86 => -49,
87 => -40,
89 => -40,
102 => -17,
116 => -17,
118 => -40,
119 => -44,
121 => -40,
221 => -40,
253 => -40,
255 => -40,
356 => -54,
357 => -17,
376 => -40,
8217 => -146,
8221 => -146,
64257 => -17,
64258 => -17,
),
195 =>
array (
84 => -54,
86 => -49,
87 => -40,
89 => -40,
102 => -17,
116 => -17,
118 => -40,
119 => -44,
121 => -40,
221 => -40,
253 => -40,
255 => -40,
356 => -54,
357 => -17,
376 => -40,
8217 => -146,
8221 => -146,
64257 => -17,
64258 => -17,
),
196 =>
array (
84 => -54,
86 => -49,
87 => -40,
89 => -40,
102 => -17,
116 => -17,
118 => -40,
119 => -44,
121 => -40,
221 => -40,
253 => -40,
255 => -40,
356 => -54,
357 => -17,
376 => -40,
8217 => -146,
8221 => -146,
64257 => -17,
64258 => -17,
),
198 =>
array (
45 => 18,
),
199 =>
array (
44 => -35,
46 => -35,
),
200 =>
array (
45 => 18,
),
201 =>
array (
45 => 18,
),
202 =>
array (
45 => 18,
),
203 =>
array (
45 => 18,
),
208 =>
array (
44 => -35,
45 => 36,
46 => -35,
65 => -17,
86 => -17,
89 => -17,
192 => -17,
193 => -17,
194 => -17,
195 => -17,
196 => -17,
221 => -17,
376 => -17,
),
209 =>
array (
44 => -63,
46 => -63,
58 => -35,
59 => -35,
),
210 =>
array (
44 => -58,
45 => 36,
46 => -58,
86 => -17,
88 => -17,
),
211 =>
array (
44 => -58,
45 => 36,
46 => -58,
86 => -17,
88 => -17,
),
212 =>
array (
44 => -58,
45 => 36,
46 => -58,
86 => -17,
88 => -17,
),
213 =>
array (
44 => -58,
45 => 36,
46 => -58,
86 => -17,
88 => -17,
),
214 =>
array (
44 => -58,
45 => 36,
46 => -58,
86 => -17,
88 => -17,
),
216 =>
array (
44 => -58,
45 => 36,
46 => -58,
86 => -17,
88 => -17,
),
217 =>
array (
44 => -91,
45 => -17,
46 => -91,
58 => -35,
59 => -35,
65 => -30,
74 => -26,
192 => -30,
193 => -30,
194 => -30,
195 => -30,
196 => -30,
),
218 =>
array (
44 => -91,
45 => -17,
46 => -91,
58 => -35,
59 => -35,
65 => -30,
74 => -26,
192 => -30,
193 => -30,
194 => -30,
195 => -30,
196 => -30,
),
219 =>
array (
44 => -91,
45 => -17,
46 => -91,
58 => -35,
59 => -35,
65 => -30,
74 => -26,
192 => -30,
193 => -30,
194 => -30,
195 => -30,
196 => -30,
),
220 =>
array (
44 => -91,
45 => -17,
46 => -91,
58 => -35,
59 => -35,
65 => -30,
74 => -26,
192 => -30,
193 => -30,
194 => -30,
195 => -30,
196 => -30,
),
221 =>
array (
44 => -128,
45 => -109,
46 => -128,
58 => -123,
59 => -123,
65 => -77,
67 => -17,
97 => -77,
101 => -86,
105 => -17,
111 => -86,
117 => -86,
192 => -77,
193 => -77,
194 => -77,
195 => -77,
196 => -77,
199 => -17,
224 => -77,
225 => -77,
226 => -77,
227 => -77,
228 => -77,
229 => -77,
230 => -95,
232 => -86,
233 => -86,
234 => -86,
235 => -86,
242 => -86,
243 => -86,
244 => -86,
245 => -86,
246 => -86,
248 => -86,
249 => -86,
250 => -86,
251 => -86,
252 => -86,
262 => -17,
268 => -17,
283 => -86,
339 => -104,
367 => -86,
),
222 =>
array (
44 => -165,
45 => 18,
46 => -165,
),
240 =>
array (
46 => -17,
),
242 =>
array (
46 => -17,
),
243 =>
array (
46 => -17,
),
244 =>
array (
46 => -17,
),
245 =>
array (
46 => -17,
),
246 =>
array (
46 => -17,
),
248 =>
array (
46 => -17,
),
253 =>
array (
44 => -132,
46 => -132,
),
254 =>
array (
44 => -17,
46 => -49,
),
255 =>
array (
44 => -132,
46 => -132,
),
262 =>
array (
44 => -35,
46 => -35,
),
268 =>
array (
44 => -35,
46 => -35,
),
270 =>
array (
44 => -35,
45 => 18,
46 => -35,
86 => -17,
),
282 =>
array (
45 => 18,
),
286 =>
array (
44 => -35,
45 => 18,
46 => -35,
89 => -17,
221 => -17,
376 => -17,
),
313 =>
array (
84 => -81,
85 => -54,
86 => -118,
87 => -86,
89 => -63,
121 => -17,
217 => -54,
218 => -54,
219 => -54,
220 => -54,
221 => -63,
253 => -17,
255 => -17,
356 => -81,
366 => -54,
376 => -63,
8217 => -239,
8221 => -239,
),
317 =>
array (
84 => -81,
85 => -54,
86 => -118,
87 => -86,
89 => -63,
121 => -17,
217 => -54,
218 => -54,
219 => -54,
220 => -54,
221 => -63,
253 => -17,
255 => -17,
356 => -81,
366 => -54,
376 => -63,
8217 => -239,
8221 => -239,
),
320 =>
array (
108 => -110,
),
321 =>
array (
84 => -81,
85 => -17,
86 => -118,
87 => -86,
89 => -100,
121 => -17,
217 => -17,
218 => -17,
219 => -17,
220 => -17,
221 => -100,
253 => -17,
255 => -17,
356 => -81,
366 => -17,
376 => -100,
8217 => -239,
8221 => -239,
),
327 =>
array (
44 => -63,
46 => -63,
58 => -35,
59 => -35,
),
338 =>
array (
45 => 18,
),
340 =>
array (
84 => -17,
86 => -35,
87 => -21,
89 => -30,
97 => 22,
121 => -17,
221 => -30,
224 => 22,
225 => 22,
226 => 22,
227 => 22,
228 => 22,
229 => 22,
230 => 22,
248 => 18,
253 => -17,
255 => -17,
356 => -17,
376 => -30,
8217 => -54,
8221 => -54,
),
341 =>
array (
44 => -109,
46 => -109,
),
344 =>
array (
84 => -17,
86 => -35,
87 => -21,
89 => -30,
97 => 22,
121 => -17,
221 => -30,
224 => 22,
225 => 22,
226 => 22,
227 => 22,
228 => 22,
229 => 22,
230 => 22,
248 => 18,
253 => -17,
255 => -17,
356 => -17,
376 => -30,
8217 => -54,
8221 => -54,
),
345 =>
array (
44 => -109,
46 => -109,
),
350 =>
array (
44 => -35,
45 => 36,
46 => -35,
83 => -17,
350 => -17,
352 => -17,
),
352 =>
array (
44 => -35,
45 => 36,
46 => -35,
83 => -17,
350 => -17,
352 => -17,
),
356 =>
array (
44 => -146,
45 => -128,
46 => -146,
58 => -35,
59 => -35,
65 => -54,
84 => 18,
97 => -77,
99 => -77,
101 => -77,
111 => -77,
115 => -72,
119 => -35,
192 => -54,
193 => -54,
194 => -54,
195 => -54,
196 => -54,
224 => -77,
225 => -77,
226 => -77,
227 => -77,
228 => -77,
229 => -77,
230 => -77,
231 => -77,
232 => -77,
233 => -77,
234 => -77,
235 => -77,
242 => -77,
243 => -77,
244 => -77,
245 => -77,
246 => -77,
248 => -77,
263 => -77,
269 => -77,
283 => -77,
339 => -77,
351 => -72,
353 => -72,
356 => 18,
),
366 =>
array (
44 => -91,
45 => -17,
46 => -91,
58 => -35,
59 => -35,
65 => -30,
74 => -26,
192 => -30,
193 => -30,
194 => -30,
195 => -30,
196 => -30,
),
373 =>
array (
44 => -149,
46 => -133,
97 => 53,
99 => 41,
100 => 47,
101 => 41,
102 => 107,
103 => 47,
105 => 107,
106 => 106,
109 => 61,
110 => 61,
111 => 41,
112 => 68,
113 => 47,
114 => 61,
115 => 75,
116 => 114,
117 => 70,
118 => 100,
119 => 81,
120 => 84,
121 => 100,
122 => 87,
373 => 127,
),
376 =>
array (
44 => -128,
45 => -109,
46 => -128,
58 => -123,
59 => -123,
65 => -77,
67 => -17,
97 => -77,
101 => -86,
105 => -17,
111 => -86,
117 => -86,
192 => -77,
193 => -77,
194 => -77,
195 => -77,
196 => -77,
199 => -17,
224 => -77,
225 => -77,
226 => -77,
227 => -77,
228 => -77,
229 => -77,
230 => -95,
232 => -86,
233 => -86,
234 => -86,
235 => -86,
242 => -86,
243 => -86,
244 => -86,
245 => -86,
246 => -86,
248 => -86,
249 => -86,
250 => -86,
251 => -86,
252 => -86,
262 => -17,
268 => -17,
283 => -86,
339 => -104,
367 => -86,
),
381 =>
array (
44 => -17,
46 => -17,
),
699 =>
array (
65 => -128,
74 => 22,
192 => -128,
193 => -128,
194 => -128,
195 => -128,
196 => -128,
198 => -109,
),
8208 =>
array (
84 => -35,
86 => -72,
87 => -54,
88 => -35,
89 => -109,
221 => -109,
356 => -35,
376 => -109,
),
8216 =>
array (
65 => -128,
74 => 22,
192 => -128,
193 => -128,
194 => -128,
195 => -128,
196 => -128,
198 => -109,
),
8220 =>
array (
65 => -128,
74 => 22,
86 => 27,
87 => 27,
88 => 27,
89 => 27,
192 => -128,
193 => -128,
194 => -128,
195 => -128,
196 => -128,
198 => -146,
221 => 27,
376 => 27,
),
8222 =>
array (
84 => -35,
86 => -54,
87 => -35,
88 => 27,
89 => -35,
118 => -17,
119 => -17,
221 => -35,
356 => -35,
376 => -35,
),
42816 =>
array (
45 => -72,
65 => -40,
67 => -26,
79 => -26,
85 => -35,
87 => -35,
89 => -26,
101 => -26,
111 => -26,
117 => -21,
121 => -63,
192 => -40,
193 => -40,
194 => -40,
195 => -40,
196 => -40,
199 => -26,
210 => -26,
211 => -26,
212 => -26,
213 => -26,
214 => -26,
216 => -26,
217 => -35,
218 => -35,
219 => -35,
220 => -35,
221 => -26,
232 => -26,
233 => -26,
234 => -26,
235 => -26,
242 => -26,
243 => -26,
244 => -26,
245 => -26,
246 => -26,
248 => -17,
249 => -21,
250 => -21,
251 => -21,
252 => -21,
253 => -63,
255 => -63,
262 => -26,
268 => -26,
283 => -26,
338 => -26,
339 => -26,
366 => -35,
367 => -21,
376 => -26,
),
42817 =>
array (
45 => -17,
),
);
?>
|
faobd/forest-inventory
|
mpdf/ttfontdata/dejavuserifcondensedI.mtx.php
|
PHP
|
mit
| 20,587
|
"use strict";
(function () {
var app = angular.module("storeProducts", []);
app.directive("productTitle", function () {
return {
restrict: "A",
templateUrl: "product-title.html"
}
});
app.directive("productDescription", function () {
return {
restrict: "E",
templateUrl: "product-description.html"
}
});
app.directive("productSpecs", function () {
return {
restrict: "E",
templateUrl: "product-specs.html"
}
});
app.directive("productReviews", function () {
return {
restrict: "E",
templateUrl: "product-reviews.html"
}
});
app.directive("productReviewsForm", function () {
return {
restrict: "E",
templateUrl: "product-reviews-form.html"
}
});
app.directive("productPanels", function () {
return {
restrict: "E",
templateUrl: "product-panels.html",
controller: function () {
this.tab = 1;
this.setTab = function (setTab) {
this.tab = setTab;
};
this.isSet = function (setValue) {
return this.tab === setValue;
};
this.setActive = function (activeValue) {
return this.tab === activeValue;
};
},
controllerAs: "navTab"
}
});
app.directive("productGallery", function () {
return {
restrict: "E",
templateUrl: "product-gallery.html",
controller: function () {
this.currentImage = 0;
this.setCurrent = function (currentValue) {
this.currentImage = currentValue || 0;
};
this.toggleCurrent = function (toggleValue) {
if (this.currentImage === toggleValue) {
return false;
}
this.currentImage = toggleValue || 0;
};
this.setActive = function (activeValue) {
return this.currentImage === activeValue;
};
},
controllerAs: "gallery"
}
});
app.directive("productButton", function () {
return {
restrict: "E",
templateUrl: "product-button.html"
};
});
})();
|
var-bin/angularjs-training
|
FlatlanderCraftedGems/public/js/products.js
|
JavaScript
|
mit
| 2,097
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>poltac: 1 m 0 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / extra-dev</a></li>
<li class="active"><a href="">8.11.dev / poltac - 0.8.11</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
poltac
<small>
0.8.11
<span class="label label-success">1 m 0 s</span>
</small>
</h1>
<p><em><script>document.write(moment("2020-08-14 07:23:13 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-08-14 07:23:13 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-m4 1 Virtual package relying on m4
coq 8.11.dev Formal proof management system
num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.10.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.0 Official release 4.10.0
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "thery@sophia.inria.fr"
homepage: "https://github.com/thery/PolTac"
bug-reports: "https://github.com/thery/PolTac"
dev-repo: "git://github.com/thery/PolTac"
license: "LGPL"
authors: ["Laurent Théry"]
install: [
[make]
[make "install"]
]
depends: [
"ocaml"
"coq" {>= "8.11~"}
]
synopsis:
"A set of tactics to deal with inequalities in Coq over N, Z and R:"
tags: [
"logpath:PolTac"
]
url {
src: "https://github.com/thery/PolTac/archive/v8.11.zip"
checksum: "md5=062ba979ec0402f9bb1e1883a2d10a1a"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-poltac.0.8.11 coq.8.11.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 2h opam install -y --deps-only coq-poltac.0.8.11 coq.8.11.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>5 s</dd>
</dl>
<h2>Install</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y -v coq-poltac.0.8.11 coq.8.11.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 m 0 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 3 M</p>
<ul>
<li>168 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolSBase.vo</code></li>
<li>90 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RSignTac.vo</code></li>
<li>88 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolSBase.glob</code></li>
<li>80 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZSignTac.vo</code></li>
<li>77 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolAux.vo</code></li>
<li>76 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolFBase.vo</code></li>
<li>72 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ReplaceTest.vo</code></li>
<li>59 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RAux.vo</code></li>
<li>56 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZAux.vo</code></li>
<li>55 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolR.vo</code></li>
<li>55 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolR.vo</code></li>
<li>54 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Rex.vo</code></li>
<li>54 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolR.vo</code></li>
<li>53 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolR.vo</code></li>
<li>53 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NAux.vo</code></li>
<li>52 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RAux.glob</code></li>
<li>50 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Zex.vo</code></li>
<li>50 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolRBase.vo</code></li>
<li>50 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZAux.glob</code></li>
<li>49 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolS.vo</code></li>
<li>49 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolS.vo</code></li>
<li>49 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolS.vo</code></li>
<li>48 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolS.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolF.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolF.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Nex.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Natex.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolF.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolF.vo</code></li>
<li>44 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolAux.glob</code></li>
<li>44 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RGroundTac.vo</code></li>
<li>44 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolTac.vo</code></li>
<li>41 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ReplaceTest.glob</code></li>
<li>38 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolTac.vo</code></li>
<li>38 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolTac.vo</code></li>
<li>38 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolTac.vo</code></li>
<li>38 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolTac.vo</code></li>
<li>37 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NAux.glob</code></li>
<li>36 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NSignTac.vo</code></li>
<li>35 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolFBase.glob</code></li>
<li>30 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolSBase.v</code></li>
<li>30 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatSignTac.vo</code></li>
<li>29 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RSignTac.glob</code></li>
<li>28 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatAux.vo</code></li>
<li>27 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NGroundTac.vo</code></li>
<li>27 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolAuxList.vo</code></li>
<li>27 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZSignTac.glob</code></li>
<li>25 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatGroundTac.vo</code></li>
<li>22 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolRBase.glob</code></li>
<li>13 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZSignTac.v</code></li>
<li>13 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RSignTac.v</code></li>
<li>12 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolAux.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZAux.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatAux.glob</code></li>
<li>9 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RAux.v</code></li>
<li>9 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NAux.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolFBase.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Rex.glob</code></li>
<li>7 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolR.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatSignTac.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolR.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolR.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolR.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ReplaceTest.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Zex.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolR.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolR.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolRBase.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolR.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolR.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Natex.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Nex.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolS.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolS.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolS.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolS.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NSignTac.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolF.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolF.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolF.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolF.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/P.vo</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolAuxList.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolS.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolS.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RGroundTac.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatSignTac.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolS.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatAux.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolS.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolF.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolF.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolF.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Replace2.vo</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolF.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatGroundTac.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NSignTac.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RGroundTac.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolTac.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Rex.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolAuxList.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Zex.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Nex.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Natex.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatGroundTac.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/PolTac.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NGroundTac.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Replace2.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/P.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NGroundTac.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolTac.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolTac.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolTac.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolTac.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/P.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NatPolTac.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/NPolTac.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/ZPolTac.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/RPolTac.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/PolTac/Replace2.glob</code></li>
</ul>
<h2>Uninstall</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-poltac.0.8.11</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
<small>Sources are on <a href="https://github.com/coq-bench">GitHub</a>. © Guillaume Claret.</small>
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
coq-bench/coq-bench.github.io
|
clean/Linux-x86_64-4.10.0-2.0.6/extra-dev/8.11.dev/poltac/0.8.11.html
|
HTML
|
mit
| 19,236
|
# BorderModel.Empty Property
Additional header content
Gets an empty border.
**Namespace:** <a href="N_iTin_Export_Model">iTin.Export.Model</a><br />**Assembly:** iTin.Export.Core (in iTin.Export.Core.dll) Version: 2.0.0.0 (2.0.0.0)
## Syntax
**C#**<br />
``` C#
public static BorderModel Empty { get; }
```
**VB**<br />
``` VB
Public Shared ReadOnly Property Empty As BorderModel
Get
```
#### Property Value
Type: <a href="T_iTin_Export_Model_BorderModel">BorderModel</a><br />An empty border.
## Remarks
\[Missing <remarks> documentation for "P:iTin.Export.Model.BorderModel.Empty"\]
## See Also
#### Reference
<a href="T_iTin_Export_Model_BorderModel">BorderModel Class</a><br /><a href="N_iTin_Export_Model">iTin.Export.Model Namespace</a><br />
|
iAJTin/iExportEngine
|
source/documentation/iTin.Export.Documentation/Documentation/P_iTin_Export_Model_BorderModel_Empty.md
|
Markdown
|
mit
| 773
|
#!/bin/bash -xe
# -------------------------------------------------------------------
# This example shows how to use the image preprocessing script
# which uses an XLS spreadsheet process a set of input sections in
# a typical image format (png, tif, jpg, anything which is well
# supported by the ImageMagick into a 3D stack used by
# the reconstruction workflows.
#
# The XLS spreadsheet contains metadata related to the individual
# images as well as the whole image stack. The individual serctions are
# processed into a 3D stack and all relevant information is embeded into the 3D
# stack (e.g. spacing, origin, anatomical directions, order of the sections,
# replacement, rotation flipping and what not.)
#
# The script creates also a rudimentary mask based on the median filtering
# followed by a naive thresholding. It works suprisingly well.
specimen_id=brainmaps_s40
DIR_RAW_SLICES=00_source_sections
DIR_RAW_REFERENCE=01_raw_reference
DIR_INPUT_DATA=10_input_data
RESLICE_BACKGROUND=255
#--------------------------------------------------------------------
# Prepare the directory structure. It is not complicated this time
#--------------------------------------------------------------------
rm -rf ${DIR_RAW_SLICES} ${DIR_INPUT_DATA}
mkdir -p ${DIR_RAW_SLICES} ${DIR_INPUT_DATA}
#--------------------------------------------------------------------
# Download the image stack to reconstruct. In case it is not already
# downloaded.
#--------------------------------------------------------------------
for section in `cat sections_to_download`
do
if [ ! -f ${DIR_RAW_SLICES}/${section}.jpg ]; then
wget http://brainmaps.org/HBP-JPG/40/${section}.jpg \
-O ${DIR_RAW_SLICES}/${section}.jpg
convert \
${DIR_RAW_SLICES}/${section}.jpg -level -10% \
${DIR_RAW_SLICES}/${section}.jpg
fi
done
# ------------------------------------------------------------------
# And now the main part: Starting the image preprocessing script.
# ------------------------------------------------------------------
pos_process_source_images \
--loglevel=DEBUG \
-d ${DIR_INPUT_DATA} \
--input-images-dir ${DIR_RAW_SLICES} \
--input-workbook ${specimen_id}.xls \
--output-workbook ${specimen_id}_processed.xls \
--header-file header.sh \
\
--enable-process-source-images \
--canvas-gravity Center \
--canvas-background White \
--mask-threshold 65.0 \
--mask-median 4 \
--mask-color-channel red \
--masking-background ${RESLICE_BACKGROUND} \
\
--enable-source-stacking \
--use-slice-to-slice-mask \
\
--enable-remasking \
\
--enable-slice-extraction \
\
--disable-reference
#--------------------------------------------------------------------
# Only now we can load the actual header file
#--------------------------------------------------------------------
source header.sh
DIR_SEQUENTIAL_ALIGNMENT=11_sections_sequential_alignment/
mkdir -p ${DIR_SEQUENTIAL_ALIGNMENT}
# ---------------------------------------------------------
# Below a data for the sequential alignment is prepared.
# The red channel of the image is extracted and a negative
# image is calculated. This is due to the fact that the
# registration routines handles better images which have
# 0 as a background and nonzero values as content.
# ---------------------------------------------------------
c3d -mcs ${VOL_RGB_MASKED} \
-foreach \
-scale -1 -shift 255 -type uchar \
-endfor \
-omc 3 __temp__rgb_stack_inverted.nii.gz
pos_slice_volume \
-s ${SLICING_PLANE_INDEX} \
-i __temp__rgb_stack_inverted.nii.gz \
--output-filenames-offset ${IDX_FIRST_SLICE} \
-o ${DIR_SEQUENTIAL_ALIGNMENT}/%04d.nii.gz
rm -rfv __temp__rgb_stack_inverted.nii.gz
# ---------------------------------------------------------
# Perform seqential alignment
# ---------------------------------------------------------
REFERENCE_SLICE=25
pos_sequential_alignment \
--enable-sources-slices-generation \
--slices-range ${IDX_FIRST_SLICE} ${IDX_LAST_SLICE} ${REFERENCE_SLICE}\
--input-images-directory ${DIR_SEQUENTIAL_ALIGNMENT}/ \
--registration-color-channel red \
--enable-transformations \
--enable-moments \
--median-filter-radius 4 4 \
--use-rigid-affine \
--ants-image-metric CC \
--affine-gradient-descent 0.5 0.95 0.0001 0.0001 \
--reslice-backgorund 0 \
--graph-edge-lambda 0.0 \
--graph-edge-epsilon 2 \
--output-volumes-directory . \
${OUTPUT_VOLUME_PROPERTIES} \
--multichannel-volume-filename sequential_alignment.nii.gz \
--loglevel DEBUG
# ---------------------------------------------------------
# Yeap, that's it.
# ---------------------------------------------------------
|
pmajka/poSSum
|
test/test_preprocess_slices_simple/step_01_workflow.sh
|
Shell
|
mit
| 4,893
|
# speclj [](http://travis-ci.org/slagyr/speclj)
### (pronounced "speckle" [spek-uhl]) ###
It's a TDD/BDD framework for [Clojure](http://clojure.org/) and [Clojurescript](http://clojurescript.org/), based on [RSpec](http://rspec.info/).
[Installation](#installation) | [Clojure](#clojure) | [ClojureScript](#clojurescript)
# Installation
[](http://clojars.org/speclj)
NOTE: Speclj 3.3+ requires Clojure 1.7+.
## From Scratch
```bash
lein new speclj YOUR_PROJECT_NAME
```
[@trptcolin's speclj template](https://github.com/trptcolin/speclj-template) will generate all the files you need.
Or, if you're using ClojureScript:
```bash
lein new specljs YOUR_PROJECT_NAME
```
[@ecmendenhall's specljs template](https://github.com/ecmendenhall/specljs-template) will save you lots of time by getting you started with a running Clojure & ClojureScript setup.
## Using Leiningen (2.0 or later)
Include speclj in your `:dev` profile `:dependencies` and`:plugins`. Then change the `:test-paths` to `"spec"`
```clojure
; - snip
:dependencies [[org.clojure/clojure "1.6.0"]]
:profiles {:dev {:dependencies [[speclj "3.3.0"]]}}
:plugins [[speclj "3.3.0"]]
:test-paths ["spec"]
```
## Manual installation
1. Check out the source code: [https://github.com/slagyr/speclj](https://github.com/slagyr/speclj)
2. Install it:
```bash
$ lein install
```
# Usage
### [API Documentation](http://micahmartin.com/speclj/)
Start with the `speclj.core` namespace. That is Speclj's API and it's very unlikely you'll need anything else.
## Clojure
### File Structure
All your `speclj` code should go into a directory named `spec` at the root of your project. Conventionally, the `spec` directory will mirror the `src` directory structure except that all the `spec` files will have the '_spec.clj' postfix.
| sample_project
|-- project.clj
|-- src
|-- sample
|-- core.clj
| (All your other source code)
|-- spec
|-- sample
|-- core_spec.clj
| (All your other test code)
### A Sample Spec File
Checkout this example spec file. It would be located at `sample_project/spec/sample/core_spec.clj`. Below we'll look at it piece by piece.
```clojure
(ns sample.core-spec
(:require [speclj.core :refer :all]
[sample.core :refer :all]))
(describe "Truth"
(it "is true"
(should true))
(it "is not false"
(should-not false)))
(run-specs)
```
#### speclj.core namespace
Your spec files should `:require` the `speclj.core` in it's entirety. It's a clean namespace and you're likely going to use all the definitions within it. Don't forget to pull in the library that you're testing as well (sample.core in this case).
```clojure
(require '[speclj.core :refer :all])
(require '[sample.core :refer :all])
```
#### describe
`describe` is the outermost container for specs. It takes a `String` name and any number of _spec components_.
```clojure
(describe "Truth" ...)
```
#### it
`it` specifies a _characteristic_ of the subject. This is where assertions go. Be sure to provide good names as the first parameter of `it` calls.
```clojure
(it "is true" ...)
```
#### should and should-not
Assertions. All assertions begin with `should`. `should` and `should-not` are just two of the many assertions available. They both take expressions that they will check for truthy-ness and falsy-ness respectively.
```clojure
(should ...)
(should-not ...)
```
#### run-specs
At the very end of the file is an invocation of `(run-specs)`. This will invoke the specs and print a summary. When running a suite of specs, this call is benign.
```clojure
(run-specs)
```
### should Variants (Assertions)
There are many ways to make assertions. Check out the [API Documentation](http://micahmartin.com/speclj/speclj.core.html). Take note of everything that starts with `should`.
### Spec Components
`it` or characteristics are just one of several spec components allowed in a `describe`. Others like `before`, `with`, `around`, etc are helpful in keeping your specs clean and dry. The same [API Documentation](http://micahmartin.com/speclj/speclj.core.html) lists the spec component (everything that doesn't start with `should`).
## Running Specs
### With Leiningen
Speclj includes a Leiningen task.
```bash
$ lein spec <OPTIONS>
```
### Using `lein run`
Speclj also includes a Clojure main namespace:
```bash
$ lein run -m speclj.main <OPTIONS>
```
### As a Java command
And sometimes it's just easier to run a Java command, like from an IDE.
```bash
$ java -cp <...> speclj.main <OPTIONS>
$ java -cp `lein classpath` speclj.main
```
### Autotest
The `-a` options invokes the "vigilant" auto-runner. This command will run all your specs, and then wait. When you save any test(ed) code, it will run all the affected specs, and wait again. It's HIGHLY recommended.
```bash
$ lein spec -a
```
### Options
There are several options for the runners. Use the `--help` options to see them all.
```bash
$ lein spec --help
```
### `:eval-in`
When using `lein spec` you can get a little faster startup by adding `:speclj-eval-in :leiningen` to your project map. It will prevent Leiningen from spinning up another Java process and instead run the specs in Leiningen's process. Use at your own risk.
## ClojureScript
### File Structure
All your `speclj` code should go into a a directory named `spec` at the root of your project. Conventionally, the `spec` directory will mirror the `src` directory structure except that all the `spec` files will have the '_spec.cljs' postfix.
| sample_project
|-- project.clj
|-- bin
|-- speclj.js
|-- src
|-- cljs
|-- sample
|-- core.cljs
| (All your other source code)
|-- spec
|-- cljs
|-- sample
|-- core_spec.cljs
| (All your other test code)
### 1. Configure Your project.clj File
[`lein-cljsbuild`](https://github.com/emezeske/lein-cljsbuild) is a Leiningen plugin that'll get you up and running with ClojureScript. You'll need to add a `:cljsbuild` configuration map to your `project.clj`.
```clojure
:plugins [[lein-cljsbuild "1.0.3"]]
:cljsbuild {:builds {:dev {:source-paths ["src/cljs" "spec/cljs"]
:compiler {:output-to "path/to/compiled.js"}
:notify-command ["phantomjs" "bin/speclj" "path/to/compiled.js"]}
:prod {:source-paths ["src/cljs"]
:compiler {:output-to "path/to/prod.js"
:optimizations :simple}}}
:test-commands {"test" ["phantomjs" "bin/speclj" "path/to/compiled.js"]}}
```
Speclj works by operating on your compiled ClojureScript. The `:notify-command` will execute the `bin/speclj` command after your cljs is compiled. The `bin/speclj` command will use speclj to evaluate your compiled ClojureScript.
### 2. Create test runner executable
Create a file named `speclj` in your `bin` directory and copy the code below:
```JavaScript
#! /usr/bin/env phantomjs
var fs = require("fs");
var p = require('webpage').create();
var sys = require('system');
p.onConsoleMessage = function (x) {
fs.write("/dev/stdout", x, "w");
};
p.injectJs(phantom.args[0]);
var result = p.evaluate(function () {
speclj.run.standard.armed = true;
return speclj.run.standard.run_specs(
cljs.core.keyword("color"), true
);
});
phantom.exit(result);
```
### A Sample Spec File
Checkout this example spec file. It would be located at `sample_project/spec/cljs/sample/core_spec.cljs`. Below we'll look at it piece by piece.
```clojure
(ns sample.core-spec
(:require-macros [speclj.core :refer [describe it should should-not run-specs]])
(:require [speclj.core]
[sample.core :as my-core]))
(describe "Truth"
(it "is true"
(should true))
(it "is not false"
(should-not false)))
(run-specs)
```
### speclj.core namespace
You'll need to `:require-macros` the `speclj.core` namespace and `:refer` each speclj test word that you want to use. In the example below, we are using __describe__, __it__, __should__, __should-not__, and __run-spec__. Yes, this is unfortunate, but unavoidable. If you wanted to use __context__ you would simply add it to the current `:refer` collection. For a list of speclj test words go to the [API Documentation](http://micahmartin.com/speclj/speclj.core.html)
Your spec files must `:require` the `speclj.core` too, even though we don't alias it or refer anything. Don't forget this! It loads all the needed speclj namespaces. Also pull in the library that you're testing (sample.core in this case).
As a final note, when requiring your tested namespaces (sample.core in this case), you'll probabaly want to __alias__ it using `:as`.
```clojure
(:require-macros [speclj.core :refer [describe it should should-not run-specs])
(:require [speclj.core]
[sample.core :as my-core]))
```
### Running ClojureScript Specs
### With Leiningen
We defer to `cljsbuild` to run our test command.
```bash
$ lein cljsbuild test
```
### Bash
The command below will start a process that will watch the source files and run specs for any updated files.
```bash
$ bin/speclj path/to/compiled.js
```
# Community
* API Documentaiton [http://micahmartin.com/speclj/](http://micahmartin.com/speclj/)
* Source code: [https://github.com/slagyr/speclj](https://github.com/slagyr/speclj)
* Wiki: [https://github.com/slagyr/speclj/wiki](https://github.com/slagyr/speclj/wiki)
* Email List: [http://groups.google.com/group/speclj](http://groups.google.com/group/speclj)
# Contributing
speclj uses [Leiningen](https://github.com/technomancy/leiningen) version 2.0.0 or later.
Clone the master branch, build, and run all the tests:
```bash
$ git clone https://github.com/slagyr/speclj.git
$ cd speclj
$ lein spec
```
To make sure tests pass ClojureScript too, make sure you have [phantomjs](http://phantomjs.org/download.html) installed and then run:
```bash
lein cljsbuild clean
lein cljsbuild once
```
Make patches and submit them along with an issue (see below).
## Issues
Post issues on the speclj github project:
* [https://github.com/slagyr/speclj/issues](https://github.com/slagyr/speclj/issues)
## Compatibility
* Speclj 2.* requires Clojure 1.4.0+
* Clojure 1.3 is not supported by any version of Speclj due to a bug in Clojure 1.3.
# License
Copyright (C) 2010-2014 Micah Martin All Rights Reserved.
Distributed under the The MIT License.
|
slagyr/speclj
|
README.md
|
Markdown
|
mit
| 10,674
|
require 'rhapsody/authentication'
require 'rhapsody/client'
require 'rhapsody/request'
require 'rhapsody/version'
|
serv/rhapsody
|
lib/rhapsody.rb
|
Ruby
|
mit
| 114
|
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\Component\Order;
use Sonata\CoreBundle\Model\ManagerInterface;
use Sonata\CoreBundle\Model\PageableManagerInterface;
use Sonata\UserBundle\Model\UserInterface;
interface OrderManagerInterface extends ManagerInterface, PageableManagerInterface
{
/**
* Finds orders belonging to given user.
*
* @param UserInterface $user
* @param array $orderBy
* @param int|null $limit
* @param int|null $offset
*
* @return OrderInterface[]
*/
public function findForUser(UserInterface $user, array $orderBy = array(), $limit = null, $offset = null);
/**
* Return an Order from its id with its related OrderElements.
*
* @param int $orderId
*
* @return OrderInterface
*/
public function getOrder($orderId);
}
|
Soullivaneuh/sonata-ecommerce
|
src/Component/Order/OrderManagerInterface.php
|
PHP
|
mit
| 1,077
|
using System;
using System.Collections.Generic;
using System.Linq;
using Examine;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
using Umbraco.Core.Persistence.Querying;
namespace Umbraco.Examine
{
/// <summary>
/// Performs the data lookups required to rebuild a content index
/// </summary>
public class ContentIndexPopulator : IndexPopulator<UmbracoContentIndex>
{
private readonly IContentService _contentService;
private readonly IValueSetBuilder<IContent> _contentValueSetBuilder;
/// <summary>
/// This is a static query, it's parameters don't change so store statically
/// </summary>
private static IQuery<IContent> _publishedQuery;
private readonly bool _publishedValuesOnly;
private readonly int? _parentId;
/// <summary>
/// Default constructor to lookup all content data
/// </summary>
/// <param name="contentService"></param>
/// <param name="sqlContext"></param>
/// <param name="contentValueSetBuilder"></param>
public ContentIndexPopulator(IContentService contentService, ISqlContext sqlContext, IContentValueSetBuilder contentValueSetBuilder)
: this(false, null, contentService, sqlContext, contentValueSetBuilder)
{
}
/// <summary>
/// Optional constructor allowing specifying custom query parameters
/// </summary>
/// <param name="publishedValuesOnly"></param>
/// <param name="parentId"></param>
/// <param name="contentService"></param>
/// <param name="sqlContext"></param>
/// <param name="contentValueSetBuilder"></param>
public ContentIndexPopulator(bool publishedValuesOnly, int? parentId, IContentService contentService, ISqlContext sqlContext, IValueSetBuilder<IContent> contentValueSetBuilder)
{
if (sqlContext == null) throw new ArgumentNullException(nameof(sqlContext));
_contentService = contentService ?? throw new ArgumentNullException(nameof(contentService));
_contentValueSetBuilder = contentValueSetBuilder ?? throw new ArgumentNullException(nameof(contentValueSetBuilder));
if (_publishedQuery != null)
_publishedQuery = sqlContext.Query<IContent>().Where(x => x.Published);
_publishedValuesOnly = publishedValuesOnly;
_parentId = parentId;
}
protected override void PopulateIndexes(IReadOnlyList<IIndex> indexes)
{
if (indexes.Count == 0) return;
const int pageSize = 10000;
var pageIndex = 0;
var contentParentId = -1;
if (_parentId.HasValue && _parentId.Value > 0)
{
contentParentId = _parentId.Value;
}
IContent[] content;
do
{
if (!_publishedValuesOnly)
{
content = _contentService.GetPagedDescendants(contentParentId, pageIndex, pageSize, out _).ToArray();
}
else
{
//add the published filter
//note: We will filter for published variants in the validator
content = _contentService.GetPagedDescendants(contentParentId, pageIndex, pageSize, out _,
_publishedQuery, Ordering.By("Path", Direction.Ascending)).ToArray();
}
if (content.Length > 0)
{
// ReSharper disable once PossibleMultipleEnumeration
foreach (var index in indexes)
index.IndexItems(_contentValueSetBuilder.GetValueSets(content));
}
pageIndex++;
} while (content.Length == pageSize);
}
}
}
|
rasmuseeg/Umbraco-CMS
|
src/Umbraco.Examine/ContentIndexPopulator.cs
|
C#
|
mit
| 3,985
|
/*
* This file is part of PV-Star for Bukkit, licensed under the MIT License (MIT).
*
* Copyright (c) JCThePants (www.jcwhatever.com)
*
* 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.
*/
package com.jcwhatever.pvs.arenas.settings;
import com.jcwhatever.nucleus.storage.IDataNode;
import com.jcwhatever.nucleus.utils.PreCon;
import com.jcwhatever.pvs.api.arena.options.DropsCleanup;
import com.jcwhatever.pvs.api.arena.settings.IArenaSettings;
import com.jcwhatever.pvs.api.events.ArenaDisabledEvent;
import com.jcwhatever.pvs.api.events.ArenaEnabledEvent;
import com.jcwhatever.pvs.api.events.ArenaPreEnableEvent;
import com.jcwhatever.pvs.arenas.AbstractArena;
import org.bukkit.Location;
import javax.annotation.Nullable;
/**
* Arena settings implementation.
*/
public class PVArenaSettings implements IArenaSettings {
private static final boolean DEFAULT_ENABLED_STATE = true;
private final AbstractArena _arena;
private final IDataNode _dataNode;
private int _minPlayers = 2;
private int _maxPlayers = 10;
private boolean _isVisible = true;
private boolean _isEnabled;
private boolean _isMobSpawnEnabled = false;
private Location _removeLocation;
private DropsCleanup _dropsCleanup = DropsCleanup.OFF;
private String _typeDisplayName;
/*
* Constructor.
*/
public PVArenaSettings(AbstractArena arena) {
PreCon.notNull(arena);
_arena = arena;
_dataNode = arena.getDataNode("settings.arena");
_isEnabled = _dataNode.getBoolean("enabled", DEFAULT_ENABLED_STATE);
_minPlayers = _dataNode.getInteger("min-players", _minPlayers);
_maxPlayers = _dataNode.getInteger("max-players", _maxPlayers);
_isVisible = _dataNode.getBoolean("visible", _isVisible);
_isMobSpawnEnabled = _dataNode.getBoolean("mob-spawn", _isMobSpawnEnabled);
_removeLocation = _dataNode.getLocation("remove-location", _removeLocation);
_dropsCleanup = _dataNode.getEnum("drops-cleanup", _dropsCleanup, DropsCleanup.class);
_typeDisplayName = _dataNode.getString("type-display");
}
@Override
public boolean isEnabled() {
return _isEnabled && _arena.getRegion().isDefined() &&
_arena.getRegion().isWorldLoaded();
}
@Override
public boolean isConfigEnabled() {
return _dataNode.getBoolean("enabled", DEFAULT_ENABLED_STATE);
}
@Override
public void setEnabled(boolean isEnabled) {
if (_isEnabled == isEnabled)
return;
setTransientEnabled(isEnabled);
save("enabled", _isEnabled);
}
@Override
public void setTransientEnabled(boolean isEnabled) {
// Note: The setting is not checked to see if it is the same
// because the method may be called simply to run the events.
// (i.e. The arenas world is loaded or unloaded and events need)
// prevent enabling if world is not loaded
if (_arena.getRegion().isDefined() &&
!_arena.getRegion().isWorldLoaded()) {
if (isEnabled)
return;
}
_isEnabled = isEnabled;
if (isEnabled) {
if (_arena.getEventManager().call(this, new ArenaPreEnableEvent(_arena)).isCancelled())
return;
_isEnabled = true;
_arena.getExtensions().enable();
_arena.getEventManager().call(this, new ArenaEnabledEvent(_arena));
}
else {
_isEnabled = false;
_arena.getExtensions().disable();
_arena.getEventManager().call(this, new ArenaDisabledEvent(_arena));
}
}
@Override
public final boolean isVisible() {
return _isVisible;
}
@Override
public final void setVisible(boolean isVisible) {
save("visible", _isVisible = isVisible);
}
@Override
public final String getTypeDisplayName() {
return _typeDisplayName != null
? _typeDisplayName
: "Arena";
}
@Override
public final void setTypeDisplayName(@Nullable String typeDisplayName) {
save("type-display", _typeDisplayName = typeDisplayName);
}
@Override
public int getMinPlayers() {
return _minPlayers;
}
@Override
public void setMinPlayers(int minPlayers) {
PreCon.positiveNumber(minPlayers);
save("min-players", _minPlayers = minPlayers);
}
@Override
public int getMaxPlayers() {
return _maxPlayers;
}
@Override
public void setMaxPlayers(int maxPlayers) {
PreCon.greaterThanZero(maxPlayers);
save("max-players", _maxPlayers = maxPlayers);
}
@Override
public boolean isMobSpawnEnabled() {
return _isMobSpawnEnabled;
}
@Override
public void setMobSpawnEnabled(boolean isEnabled) {
save("mob-spawn", _isMobSpawnEnabled = isEnabled);
}
@Override
@Nullable
public Location getRemoveLocation() {
if (_removeLocation != null)
return _removeLocation;
if (_arena.getRegion().getWorld() != null)
return _arena.getRegion().getWorld().getSpawnLocation();
return null;
}
@Override
public void setRemoveLocation(@Nullable Location location) {
save("remove-location", _removeLocation = location);
}
@Override
public DropsCleanup getDropsCleanup() {
return _dropsCleanup;
}
@Override
public void setDropsCleanup(DropsCleanup cleanup) {
PreCon.notNull(cleanup);
save("drops-cleanup", _dropsCleanup = cleanup);
}
/**
* Save a setting.
*/
protected void save(String nodeName, @Nullable Object value) {
_dataNode.set(nodeName, value);
_dataNode.save();
}
}
|
JCThePants/PV-Star
|
src/com/jcwhatever/pvs/arenas/settings/PVArenaSettings.java
|
Java
|
mit
| 6,853
|
/*
* Copyright 2014 Google Inc. 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 or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.projecttango.experiments.javaarealearning;
import android.app.Activity;
import android.app.DialogFragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.EditText;
import com.vividsolutions.jts.geom.Coordinate;
/**
* This Class shows a dialog to set the name of an ADF. When you press okay
* SetNameLocation Call back is called where setting the name should be handled.
*/
public class GoDialog extends DialogFragment implements OnClickListener {
private EditText mNameEditText;
private GoCommunicator mCommunicator;
private String adfUuid;
@Override
public void onAttach(Activity activity) {
super.onAttach(activity);
mCommunicator = (GoCommunicator) activity;
}
@Override
public View onCreateView(LayoutInflater inflator, ViewGroup container,
Bundle savedInstanceState) {
View dialogView = inflator.inflate(R.layout.set_name_dialog, null);
getDialog().setTitle(R.string.go_dialogTitle);
mNameEditText = (EditText) dialogView.findViewById(R.id.name);
dialogView.findViewById(R.id.Ok).setOnClickListener(this);
dialogView.findViewById(R.id.cancel).setOnClickListener(this);
setCancelable(false);
return dialogView;
}
@Override
public void onClick(View v) {
switch (v.getId()) {
case R.id.Ok:
mCommunicator.onGo(mNameEditText.getText().toString());
dismiss();
break;
case R.id.cancel:
dismiss();
break;
}
}
interface GoCommunicator {
public void onGo(String destinationName);
}
}
|
aroller/tango-caminada
|
AreaLearningJava/src/com/projecttango/experiments/javaarealearning/GoDialog.java
|
Java
|
mit
| 2,440
|
dokku-app-hooks
===============
Run hooks per app
|
jtangelder/dokku-app-hooks
|
README.md
|
Markdown
|
mit
| 51
|
<?php
/**
* Data5
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swaagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* SKU Comments Sentiment API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version:
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
*/
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
namespace Swagger\Client\Model;
use \ArrayAccess;
/**
* Data5 Class Doc Comment
*
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
class Data5 implements ArrayAccess
{
const DISCRIMINATOR = null;
/**
* The original name of the model.
* @var string
*/
protected static $swaggerModelName = 'data_5';
/**
* Array of property to type mappings. Used for (de)serialization
* @var string[]
*/
protected static $swaggerTypes = [
'name' => 'string'
];
public static function swaggerTypes()
{
return self::$swaggerTypes;
}
/**
* Array of attributes where the key is the local name, and the value is the original name
* @var string[]
*/
protected static $attributeMap = [
'name' => 'name'
];
/**
* Array of attributes to setter functions (for deserialization of responses)
* @var string[]
*/
protected static $setters = [
'name' => 'setName'
];
/**
* Array of attributes to getter functions (for serialization of requests)
* @var string[]
*/
protected static $getters = [
'name' => 'getName'
];
public static function attributeMap()
{
return self::$attributeMap;
}
public static function setters()
{
return self::$setters;
}
public static function getters()
{
return self::$getters;
}
/**
* Associative array for storing property values
* @var mixed[]
*/
protected $container = [];
/**
* Constructor
* @param mixed[] $data Associated array of property values initializing the model
*/
public function __construct(array $data = null)
{
$this->container['name'] = isset($data['name']) ? $data['name'] : null;
}
/**
* show all the invalid properties with reasons.
*
* @return array invalid properties with reasons
*/
public function listInvalidProperties()
{
$invalid_properties = [];
return $invalid_properties;
}
/**
* validate all the properties in the model
* return true if all passed
*
* @return bool True if all properties are valid
*/
public function valid()
{
return true;
}
/**
* Gets name
* @return string
*/
public function getName()
{
return $this->container['name'];
}
/**
* Sets name
* @param string $name
* @return $this
*/
public function setName($name)
{
$this->container['name'] = $name;
return $this;
}
/**
* Returns true if offset exists. False otherwise.
* @param integer $offset Offset
* @return boolean
*/
public function offsetExists($offset)
{
return isset($this->container[$offset]);
}
/**
* Gets offset.
* @param integer $offset Offset
* @return mixed
*/
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
}
/**
* Sets value based on offset.
* @param integer $offset Offset
* @param mixed $value Value to be set
* @return void
*/
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
$this->container[] = $value;
} else {
$this->container[$offset] = $value;
}
}
/**
* Unsets offset.
* @param integer $offset Offset
* @return void
*/
public function offsetUnset($offset)
{
unset($this->container[$offset]);
}
/**
* Gets the string presentation of the object
* @return string
*/
public function __toString()
{
if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);
}
return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this));
}
}
|
dcaravana/interview_restapi
|
clients/swagger/php/SwaggerClient-php/lib/Model/Data5.php
|
PHP
|
mit
| 4,826
|
using QuickCollab.Models;
using QuickCollab.Session;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
namespace QuickCollab.Controllers.MVC
{
public class LobbyController : Controller
{
private ISessionInstanceRepository _repo;
private RegistrationService _service;
public LobbyController(ISessionInstanceRepository repo, RegistrationService service)
{
_repo = repo;
_service = service;
}
public ActionResult Index()
{
return View(_repo.ListAllSessions());
}
public ActionResult JoinSession(string sessionId)
{
if (_service.RegisterConnection(User.Identity.Name, sessionId))
return RedirectToAction("Index", "SessionInstance", new { SessionId = sessionId });
// present view to fill in details
return RedirectToAction("JoinSecured", new { sessionId = sessionId });
}
public ActionResult CreateSession()
{
return View();
}
[HttpPost]
public ActionResult CreateSession(StartSettingsViewModel vm)
{
if (!ModelState.IsValid)
return View(vm);
try
{
SessionParameters parameters = new SessionParameters(vm.Public, vm.PersistHistory, vm.ConnectionExpiryInHours);
_service.StartNewSession(vm.SessionName, vm.SessionPassword, parameters);
}
catch (Exception e)
{
return View(vm);
}
return RedirectToAction("Index");
}
}
}
|
nevtum/QuickCollab
|
QuickCollab/Controllers/MVC/LobbyController.cs
|
C#
|
mit
| 1,726
|
DROP TABLE IF EXISTS t_linkedin;
CREATE TABLE t_linkedin
(
c_id CHAR(36) NOT NULL COMMENT '主键',
c_key VARCHAR(255) NOT NULL COMMENT '引用key',
c_name VARCHAR(255) DEFAULT NULL COMMENT '名称',
c_app_id VARCHAR(255) DEFAULT NULL COMMENT 'APP ID',
c_secret VARCHAR(255) DEFAULT NULL COMMENT '密钥',
PRIMARY KEY pk(c_id) USING HASH,
UNIQUE KEY uk_key(c_key) USING HASH
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
heisedebaise/ranch
|
ranch-linkedin/src/main/resources/org/lpw/ranch/linkedin/create.sql
|
SQL
|
mit
| 431
|
<?php
/**
* TOP API: taobao.jushita.jdp.user.delete request
*
* @author auto create
* @since 1.0, 2013-12-10 16:57:25
*/
class JushitaJdpUserDeleteRequest
{
/**
* 要删除用户的昵称
**/
private $nick;
/**
* 需要删除的用户编号
**/
private $userId;
private $apiParas = array();
public function setNick($nick)
{
$this->nick = $nick;
$this->apiParas["nick"] = $nick;
}
public function getNick()
{
return $this->nick;
}
public function setUserId($userId)
{
$this->userId = $userId;
$this->apiParas["user_id"] = $userId;
}
public function getUserId()
{
return $this->userId;
}
public function getApiMethodName()
{
return "taobao.jushita.jdp.user.delete";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkMinValue($this->userId,1,"userId");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}
|
allengaller/mazi-cms
|
web/doc/Resources/open/taobao/taobao-sdk-PHP-online_standard-20131210/top/request/JushitaJdpUserDeleteRequest.php
|
PHP
|
mit
| 1,004
|
<?php
/**
* GpsLab component.
*
* @author Peter Gribanov <info@peter-gribanov.ru>
* @copyright Copyright (c) 2016, Peter Gribanov
* @license http://opensource.org/licenses/MIT
*/
namespace GpsLab\Bundle\DateBundle\Tests;
use Symfony\Component\Translation\TranslatorInterface;
use GpsLab\Bundle\DateBundle\Formatter;
class FormatterTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \PHPUnit_Framework_MockObject_MockObject|TranslatorInterface
*/
protected $translator;
/**
* @var Formatter
*/
protected $formatter;
/**
* @var \DateTime
*/
protected $date;
protected function setUp()
{
$this->translator = $this->getMock(TranslatorInterface::class);
$this->formatter = new Formatter($this->translator);
$this->date = new \DateTime('2016-07-20 14:06:32', new \DateTimeZone('Europe/Moscow'));
}
/**
* @return array
*/
public function getFormats()
{
return [
['djNSwzWmntLoYyaABgGhHisuI', '20203th3201290773112016201616pmPM504214021406320000000'],
['e', 'Europe/Moscow'],
['O', '+0300'],
['P', '+03:00'],
['T', 'MSK'],
['Z', '10800'],
['c', '2016-07-20T14:06:32+03:00'],
['r', 'Wed, 20 Jul 2016 14:06:32 +0300'],
['U', '1469012792'],
// test escaping
['\U', 'U'],
['\\U', 'U'],
['\\\U', '\1469012792'],
['\\\\U', '\1469012792'],
['\\\\\U', '\U'],
['\\\\\\U', '\U'],
// test translate chars
['f', '|month.genitive.july|'],
['\f', 'f'], // escaping
['D', '|weekday.short.wednesday|'],
['l', '|weekday.long.wednesday|'],
['F', '|month.long.july|'],
['M', '|month.short.july|'],
// translated word has format char
['fe', '|month.genitive.july|Europe/Moscow'],
];
}
/**
* @dataProvider getFormats
*
* @param string $format
* @param string $expected
*/
public function testFormat($format, $expected)
{
$this->translator
->expects($this->any())
->method('trans')
->will($this->returnCallback(function ($id, $parameters, $domain) {
$this->assertEquals([], $parameters);
$this->assertEquals('date', $domain);
return '|'.$id.'|';
}));
$this->assertEquals($expected, $this->formatter->format($this->date, $format));
}
/**
* @return array
*/
public function getPassedDates()
{
return [
[
new \DateTime('-10 minutes -40 seconds'),
'passed.minutes_ago',
['%minutes%' => 11],
'10 минут назад',
],
[
new \DateTime('+15 minutes'),
'passed.in_minutes',
['%minutes%' => 15],
'Через 15 минут',
],
[
($date = new \DateTime('+2 hour')),
'passed.today',
['%time%' => $date->format('H:i')],
'Сегодня в '.$date->format('H:i'),
],
[
($date = new \DateTime('-1 day')),
'passed.yesterday',
['%time%' => $date->format('H:i')],
'Вчера в '.$date->format('H:i'),
],
[
($date = new \DateTime('+1 day')),
'passed.tomorrow',
['%time%' => $date->format('H:i')],
'Завтра в '.$date->format('H:i'),
],
[
($date = new \DateTime('+2 day')),
'',
[],
$date->format('d f \a\t H:i'),
],
[
($date = new \DateTime('+1 year')),
'',
[],
$date->format('d f Y \a\t H:i'),
],
];
}
/**
* @dataProvider getPassedDates
*
* @param \DateTime $date
* @param string $trans
* @param array $parameters
* @param string $expected
*/
public function testPassed(\DateTime $date, $trans, array $parameters, $expected)
{
if ($trans) {
$this->translator
->expects($this->once())
->method('trans')
->with($trans, $parameters, 'date')
->will($this->returnValue($expected));
} else {
$this->translator
->expects($this->once())
->method('trans')
->with('month.genitive.'.strtolower($date->format('F')), $parameters, 'date')
->will($this->returnValue('f'));
}
$this->assertEquals($expected, $this->formatter->passed($date));
}
}
|
gpslab/date-bundle
|
tests/FormatterTest.php
|
PHP
|
mit
| 4,998
|
---
title: Bruno Timeline
layout: timeline
---
<link rel="stylesheet" href="{{ site.baseurl }}/css/bruno.css">
<section class="panel-footer"></section>
<section id="timeline" class="bg-primary">
<div class="container">
<div class="row">
<div class="text-center">
<h2 class="section-heading">Bruno Timeline</h2>
</div>
</div>
</div>
<!-- Timeline begin here -->
<div id="btimeline">
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/doc.png" alt="">
</div>
<div class="btimeline-content">
<h2>1975</h2>
<p></p>
<p>“Sexual Orientation or Preference” is added to the AT&T EEO Statement</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/star.svg" alt="">
</div>
<div class="btimeline-content right">
<h2>1987</h2>
<p></p>
<p>LEAGUE is founded in Denver, CO. It is the first Gay, Lesbian, Bisexual, & Transgendered (GLBT) Employee group in Corporate America.</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon"><p>$</p></div>
<div class="btimeline-content">
<h2>1989</h2>
<p></p>
<p>AT&T financial support for the movie Longtime Companion</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/star.svg" alt="">
</div>
<div class="btimeline-content right">
<h2>1990</h2>
<p></p>
<p>GALEEMAS Founded</p>
<p>Safe Space Program created</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/handshake.png" alt="">
</div>
<div class="btimeline-content">
<h2>1991</h2>
<p></p>
<p>BellSouth ANGLE formed as first Employee Affinity Group</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/conference.png" alt="">
</div>
<div class="btimeline-content right">
<h2>1992</h2>
<p></p>
<p>LEAGUE First Professional Development Conference</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/star.svg" alt="">
</div>
<div class="btimeline-content">
<h2>1993</h2>
<p></p>
<p>GLEAM Founded</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon"><img src="{{ site.baseurl }}/img/mail.png" alt=""></div>
<div class="btimeline-content right">
<h2>1994</h2>
<p></p>
<p>AT&T first direct mail to LGBT community</p>
<p>Vendor at numerous GLBT events</p>
<p>LEAGUE/AT&T Branded Pre-Paid Calling Card</p>
<p>Financial support the play by Terrence McNally LOVE!VALOIUUR!COMPASSION</p>
<p>Financial support Gay Games in NYC</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/star.svg" alt="">
</div>
<div class="btimeline-content">
<h2>1996</h2>
<p></p>
<p>AWARE Founded</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/handshake.png" alt="">
</div>
<div class="btimeline-content right">
<h2>1997</h2>
<p></p>
<p>BellSouth NewANGLE formed by LGBT employees</p>
<p>SPECTRUM Founded with the merger of AWARE and GALEEMAS</p>
<p>Domestic Partner benefits added to BellSouth management benefits package</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/student.png" alt="">
</div>
<div class="btimeline-content">
<h2>1999</h2>
<p></p>
<p>LEAGUE Foundation providing college scholarships</p>
<p>Domestic partner benefits added to AT&T benefit package</p>
<p>Domestic partner benefits added to BellSouth craft employees benefits package through bargaining.</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/conference.png" alt="">
</div>
<div class="btimeline-content right">
<h2>2000 - TODAY</h2>
<p></p>
<p>HRC 100% score for 11 running years</p>
<p>Over 30 chapters & 5100+ members</p>
<p>Awarded 50 scholarships totaling over $80,000 through Foundation</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/star.svg" alt="">
</div>
<div class="btimeline-content">
<h2>2003</h2>
<p></p>
<p>BellSouth first sponsors Atlanta PRIDE</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/star.svg" alt="">
</div>
<div class="btimeline-content right">
<h2>2003 - 2006</h2>
<p></p>
<p>BellSouth participates in Pride events throughout the Southeast, and adds a sponsorship to Birmingham, AL.</p>
<p>Partnerships with Event Marketing bring in over $110,000 at Pride events in Birmingham and Atlanta.</p>
<p>First ever corporate sponsor in Birmingham Pride’s 30 yr history.</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/handshake.png" alt="">
</div>
<div class="btimeline-content">
<h2>2006</h2>
<p></p>
<p>SPECTRUM and LEAGUE merged to created the NEW LEAGUE</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/handshake.png" alt="">
</div>
<div class="btimeline-content right">
<h2>2007</h2>
<p></p>
<p>New ANGLE and G.L.B.T. – P.R.I.D.E merged into the NEW LEAGUE</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon"><p>$</p></div>
<div class="btimeline-content">
<h2>2012</h2>
<p></p>
<p>LEAGUE partners with AT&T & through PRIDE In A Box brought 13.8M in revenue for corporation</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/handshake.png" alt="">
</div>
<div class="btimeline-content right">
<h2>2015</h2>
<p></p>
<p>Out@DirectTV merges into LEAGUE at AT&T</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon">
<img src="{{ site.baseurl }}/img/birthday-cake.png" alt="">
</div>
<div class="btimeline-content">
<h2>2017</h2>
<p></p>
<p>LEAGUE at AT&T turns 30 - the oldest ERG in corporate America</p>
</div>
</div>
<div class="btimeline-item">
<div class="btimeline-icon-last"><p>2021</p></div>
</div>
</div>
<!-- Timeline ends here -->
</section> <!-- timeline -->
<section class="panel-footer"></section>
|
valenemendiola/valenemendiola.github.io
|
history/bruno.html
|
HTML
|
mit
| 6,989
|
# coding: utf-8
# frozen_string_literal: true
require 'time'
module Movies
module Cinema
class Theatre < Cinema
CINEMA_CLOSED_MSG = 'Кинотеатр закрыт, касса не работает'
SCHEDULE_INVALID_MSG = 'Расписание некорректно (сеансы не должны пересекаться в одном зале)'
include Cashbox
attr_reader :halls, :periods
def initialize(collection, &block)
super
@halls = []
@periods = []
instance_eval(&block) if block_given?
raise ArgumentError, SCHEDULE_INVALID_MSG unless schedule_valid?
end
def buy_ticket(time, hall_name = nil)
period = find_period(time, hall_name)
raise ArgumentError, CINEMA_CLOSED_MSG if period.nil?
movie = find_movie(period)
hall = find_hall(period, hall_name)
put_money(period.cost)
"Вы купили билет на #{movie.name} в #{hall.title}"
end
def show(time, hall_name = nil)
period = find_period(time, hall_name)
return CINEMA_CLOSED_MSG if period.nil?
movie = find_movie(period)
display(movie)
end
def when?(name)
movie = @collection.filter(name: name).first
periods = @periods.select do |period|
selection(period).include?(movie)
end
if periods.empty?
'этот фильм в нашем театре не транслируется'
else
periods.map(&:to_s).join(' или ')
end
end
private
def cross?(first, second)
begin1 = first.interval.begin
end1 = first.interval.end
begin2 = second.interval.begin
end2 = second.interval.end
same_hall?(first, second) && end1 > begin2 && begin1 < end2
end
def find_hall(period, hall_name)
if hall_name.nil?
period.halls.sort_by { |h| h.places * rand }.last
else
period.halls.select { |h| h.name == hall_name }.last
end
end
def find_movie(period)
choice(selection(period))
end
def find_period(time, hall_name)
selection = @periods.select do |period|
period.interval.include?(Time.parse(time)) &&
(hall_name.nil? || period.halls.map(&:name).include?(hall_name))
end
raise ArgumentError, many_periods_msg(selection) if selection.size > 1
selection.first
end
def hall(hall_name, params)
@halls << Hall.new(hall_name, params)
end
def many_periods_msg(selection)
halls = selection
.flat_map { |period| period.halls.map(&:name) }
.uniq
.join(', ')
"В это время проходят несколько сеансов. Укажите зал (#{halls}) при покупке билета"
end
def period(interval, &block)
@periods << Period.new(interval, self, &block)
end
def same_hall?(first, second)
(first.halls & second.halls).any?
end
def schedule_valid?
return true if @periods.empty?
@periods.combination(2).none? { |a, b| cross?(a, b) }
end
def selection(period)
@collection.filter(period.name.nil? ? period.filter : {name: period.name})
end
end
end
end
|
esaulkov/movies
|
lib/movies/cinema/theatre.rb
|
Ruby
|
mit
| 3,401
|
from django.conf.urls import patterns, url
from rai00base.raccordement import getModeleRaccordement, createRaccordement, deleteRaccordement, listRaccordement
urlpatterns = patterns('',
url('getModeleRaccordement/$', getModeleRaccordement),
url('createRaccordement/$', createRaccordement),
url('deleteRaccordement/$', deleteRaccordement),
url('listRaccordement/$', listRaccordement),
)
|
DarioGT/docker-carra
|
src/rai00base/urls.py
|
Python
|
mit
| 401
|
value_None = object()
class FactoryException(Exception):
pass
class Factory:
class Item:
def __init__(self, factory, i):
self.factory = factory
self.i = i
@property
def value(self):
return self.factory.value(self.i)
@value.setter
def value(self, value):
self.i = self.factory.i(value)
def copy(self):
return self.factory.item(self.i)
def __eq__(self, other):
try:
return self.factory is other.factory and self.i == other.i
except AttributeError:
return self.value == other
def __ne__(self, other):
return not self == other
def __hash__(self):
return hash(self.factory) ^ hash(self.i)
def __int__(self):
return self.i
def __str__(self):
return self.factory.istr(self)
def __repr__(self):
return f'Item({self.factory.istr(self)})'
@staticmethod
def istr(item):
return str(item.value)
def i(self, value):
raise NotImplementedError
def item(self, i=None, value=value_None):
if not self.check_ivalue(i, value):
raise FactoryException('factory.item(): index and values do not match')
if i is None:
i = 0 if value is value_None else self.i(value)
return self.Item(self, i) # this might be annoying for union...
def check_ivalue(self, i, value):
return i is None or value is value_None or self.value(i) == value
def isitem(self, item):
try:
return item.factory is self and 0 <= item.i < self.nitems
except AttributeError:
return False
@property
def items(self):
return map(self.item, range(self.nitems))
def __iter__(self):
return self.items
def __len__(self):
return self.nitems
|
bigblindbais/pytk
|
src/pytk/factory/factory.py
|
Python
|
mit
| 1,952
|
Example:
```js
<div style={{background: 'black', textAlign: 'center', padding: '1em'}}>
<OpenNew />
</div>
```
|
LastCallMedia/Mannequin
|
ui/src/components/Icons/OpenNew.md
|
Markdown
|
mit
| 114
|
#!/usr/bin/env ruby
# frozen_string_literal: false
require 'tk'
require 'tkextlib/blt'
# Example of a pareto chart.
#
# The pareto chart mixes line and bar elements in the same graph.
# Each processing operating is represented by a bar element. The
# total accumulated defects is displayed with a single line element.
b = Tk::BLT::Barchart.new(:title=>'Defects Found During Inspection',
:font=>'Helvetica 12', :plotpady=>[12, 4],
:width=>'6i', :height=>'5i')
Tk::BLT::Table.add(Tk.root, b, :fill=>:both)
data = [
["Spot Weld", 82, 'yellow'],
["Lathe", 49, 'orange'],
["Gear Cut", 38, 'green'],
["Drill", 24, 'blue'],
["Grind", 17, 'red'],
["Lapping", 12, 'brown'],
["Press", 8, 'purple'],
["De-burr", 4, 'pink'],
["Packaging", 3, 'cyan'],
["Other", 12, 'magenta']
]
# Create an X-Y graph line element to trace the accumulated defects.
b.line_create('accum', :label=>'', :symbol=>:none, :color=>'red')
# Define a bitmap to be used to stipple the background of each bar.
pattern1 = Tk::BLT::Bitmap.define([ [4, 4], [1, 2, 4, 8] ])
# For each process, create a bar element to display the magnitude.
count = 0
sum = 0
ydata = [0]
xdata = [0]
labels = []
data.each{|label, value, color|
count += 1
b.element_create(label, :xdata=>count, :ydata=>value, :foreground=>color,
:relief=>:solid, :borderwidth=>1, :stipple=>pattern1,
:background=>'lightblue')
labels[count] = label
# Get the total number of defects.
sum += value
ydata << sum
xdata << count
}
# Configure the coordinates of the accumulated defects,
# now that we know what they are.
b.element_configure('accum', :xdata=>xdata, :ydata=>ydata)
# Add text markers to label the percentage of total at each point.
xdata.zip(ydata){|x, y|
percent = (y * 100.0) / sum
if x == 0
text = ' 0%'
else
text = '%.1f' % percent
end
b.marker_create(:text, :coords=>[x, y], :text=>text, :font=>'Helvetica 10',
:foreground=>'red4', :anchor=>:center, :yoffset=>-5)
}
# Display an auxiliary y-axis for percentages.
b.axis_configure('y2', :hide=>false, :min=>0.0, :max=>100.0,
:title=>'Percentage')
# Title the y-axis
b.axis_configure('y', :title=>'Defects')
# Configure the x-axis to display the process names, instead of numbers.
b.axis_configure('x', :title=>'Process', :rotate=>90, :subdivisions=>0,
:command=>proc{|w, val|
val = val.round
labels[val]? labels[val]: val
})
# No legend needed.
b.legend_configure(:hide=>true)
# Configure the grid lines.
b.gridline_configure(:mapx=>:x, :color=>'lightblue')
Tk.mainloop
|
rokn/Count_Words_2015
|
fetched_code/ruby/pareto.rb
|
Ruby
|
mit
| 2,781
|
import pandas as pd
from pandas import DataFrame
df = pd.read_csv('sp500_ohlc.csv', index_col = 'Date', parse_dates=True)
#notice what i did, since it is an object
df['H-L'] = df.High - df.Low
print df.head()
df['100MA'] = pd.rolling_mean(df['Close'], 100)
# must do a slice, since there will be no value for 100ma until 100 points
print df[200:210]
df['Difference'] = df['Close'].diff()
print df.head()
|
PythonProgramming/Pandas-Basics-with-2.7
|
pandas 5 - Column Operations (Basic mathematics, moving averages).py
|
Python
|
mit
| 416
|
<html>
<head>
<title>{title}</title>
<?php echo link_tag("asset/css/bootstrap.min.css"); ?>
<script src="<?php echo base_url(); ?>asset/js/jquery.js"></script>
<script src="<?php echo base_url(); ?>asset/js/bootstrap.min.js"></script>
</head>
|
chin8628/Backend-ToBeIT
|
application/views/templates/header_nologged.php
|
PHP
|
mit
| 285
|
using System;
namespace DMTools.Tidier
{
class TidierTools
{
public static bool IsPathToClangTidyValid( string path )
{
return System.IO.File.Exists( path ) && System.IO.Path.GetFileName( path ).ToLower() == "clang-tidy.exe";
}
public static string TryFindPathToClangTidy()
{
// TODO: temp version - revrite to better, e.g. use PATH
string tidyExe = @"LLVM\bin\clang-tidy.exe";
string tidyExeProgramFiles = System.IO.Path.Combine( Environment.GetEnvironmentVariable( "ProgramW6432" ), tidyExe );
if( System.IO.File.Exists( tidyExeProgramFiles ) )
{
return tidyExeProgramFiles;
}
string programFiles86 = Environment.GetFolderPath( Environment.SpecialFolder.ProgramFilesX86 );
if( !string.IsNullOrEmpty( programFiles86 ) )
{
tidyExeProgramFiles = System.IO.Path.Combine( programFiles86, tidyExe );
if( System.IO.File.Exists( tidyExeProgramFiles ) )
{
return tidyExeProgramFiles;
}
}
if( System.IO.File.Exists( @"C:\LLVM\bin\clang-tidy.exe" ) )
{
return @"C:\LLVM\bin\clang-tidy.exe";
}
return "";
}
}
}
|
dmateja/Tidier
|
src/TidierTools.cs
|
C#
|
mit
| 1,365
|
import numpy as np
from nlpaug.augmenter.spectrogram import SpectrogramAugmenter
from nlpaug.util import Action
import nlpaug.model.spectrogram as nms
class LoudnessAug(SpectrogramAugmenter):
"""
Augmenter that change loudness on mel spectrogram by random values.
:param tuple zone: Default value is (0.2, 0.8). Assign a zone for augmentation. By default, no any augmentation
will be applied in first 20% and last 20% of whole audio.
:param float coverage: Default value is 1 and value should be between 0 and 1. Portion of augmentation.
If `1` is assigned, augment operation will be applied to target audio segment. For example, the audio
duration is 60 seconds while zone and coverage are (0.2, 0.8) and 0.7 respectively. 42
seconds ((0.8-0.2)*0.7*60) audio will be augmented.
:param tuple factor: Default value is (0.5, 2). Volume change value will be picked within the range of this
tuple value. Volume will be reduced if value is between 0 and 1. Otherwise, volume will be increased.
:param str name: Name of this augmenter
"""
def __init__(self, name='Loudness_Aug', zone=(0.2, 0.8), coverage=1., factor=(0.5, 2), verbose=0,
silence=False, stateless=True):
super().__init__(action=Action.SUBSTITUTE, zone=zone, coverage=coverage, factor=factor,
verbose=verbose, name=name, silence=silence, stateless=stateless)
self.model = nms.Loudness()
def substitute(self, data):
# https://arxiv.org/pdf/2001.01401.pdf
loudness_level = self.get_random_factor()
time_start, time_end = self.get_augment_range_by_coverage(data)
if not self.stateless:
self.time_start, self.time_end, self.loudness_level = time_start, time_end, loudness_level
return self.model.manipulate(data, loudness_level=loudness_level, time_start=time_start, time_end=time_end)
|
makcedward/nlpaug
|
nlpaug/augmenter/spectrogram/loudness.py
|
Python
|
mit
| 1,919
|
# From 5.1 to 6.0
## Warning
GitLab 6.0 is affected by critical security vulnerabilities CVE-2013-4490 and CVE-2013-4489.
## Deprecations
### Global projects
The root (global) namespace for projects is deprecated.
So you need to move all your global projects under groups or users manually before update or they will be automatically moved to the project owner namespace during the update. When a project is moved all its members will receive an email with instructions how to update their git remote URL. Please make sure you disable sending email when you do a test of the upgrade.
### Teams
We introduce group membership in 6.0 as a replacement for teams.
The old combination of groups and teams was confusing for a lot of people.
And when the members of a team where changed this wasn't reflected in the project permissions.
In GitLab 6.0 you will be able to add members to a group with a permission level for each member.
These group members will have access to the projects in that group.
Any changes to group members will immediately be reflected in the project permissions.
You can even have multiple owners for a group, greatly simplifying administration.
## 0. Backup & prepare for update
It's useful to make a backup just in case things go south:
(With MySQL, this may require granting "LOCK TABLES" privileges to the GitLab user on the database version)
```bash
cd /home/git/gitlab
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
The migrations in this update are very sensitive to incomplete or inconsistent data. If you have a long-running GitLab installation and some of the previous upgrades did not work out 100% correct this may bite you now. The following can help you have a more smooth upgrade.
### Find projects with invalid project names
#### MySQL
Login to MySQL:
mysql -u root -p
Find projects with invalid names:
```bash
mysql> use gitlabhq_production;
# find projects with invalid first char, projects must start with letter
mysql> select name from projects where name REGEXP '^[^A-Za-z]';
# find projects with other invalid chars
## names must only contain alphanumeric chars, underscores, spaces, periods, and dashes
mysql> select name from projects where name REGEXP '[^a-zA-Z0-9_ .-]+';
```
If any projects have invalid names try correcting them from the web interface before starting the upgrade.
If correcting them from the web interface fails you can correct them using MySQL:
```bash
# e.g. replace invalid / with allowed _
mysql> update projects set name = REPLACE(name,'/','_');
# repeat for all invalid chars found in project names
```
#### PostgreSQL
Make sure all project names start with a letter and only contain alphanumeric chars, underscores, spaces, periods, and dashes (a-zA-Z0-9_ .-).
### Find other common errors
```
cd /home/git/gitlab
# Start rails console
sudo -u git -H bin/rails console production
# Make sure none of the following rails commands return results
# All project owners should have an owner:
Project.all.select { |project| project.owner.blank? }
# Every user should have a namespace:
User.all.select { |u| u.namespace.blank? }
# Projects in the global namespace should not conflict with projects in the owner namespace:
Project.where(namespace_id: nil).select { |p| Project.where(path: p.path, namespace_id: p.owner.try(:namespace).try(:id)).present? }
```
If any of the above rails commands returned results other than `=> []` try correcting the issue from the web interface.
If you find projects without an owner (first rails command above), correct it. For MySQL setups:
```bash
# get your user id
mysql> select id, name from users order by name;
# set yourself as owner of project
# replace your_user_id with your user id and bad_project_id with the project id from the rails command
mysql> update projects set creator_id=your_user_id where id=bad_project_id;
```
## 1. Stop server
sudo service gitlab stop
## 2. Get latest code
```bash
cd /home/git/gitlab
sudo -u git -H git fetch
sudo -u git -H git checkout 6-0-stable
```
## 3. Update gitlab-shell
```bash
cd /home/git/gitlab-shell
sudo -u git -H git fetch
sudo -u git -H git checkout v1.7.9
```
## 4. Install additional packages
```bash
# For reStructuredText markup language support install required package:
sudo apt-get install python-docutils
```
## 5. Install libs, migrations, etc.
```bash
cd /home/git/gitlab
# MySQL
sudo -u git -H bundle install --without development test postgres --deployment
#PostgreSQL
sudo -u git -H bundle install --without development test mysql --deployment
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo -u git -H bundle exec rake migrate_groups RAILS_ENV=production
sudo -u git -H bundle exec rake migrate_global_projects RAILS_ENV=production
sudo -u git -H bundle exec rake migrate_keys RAILS_ENV=production
sudo -u git -H bundle exec rake migrate_inline_notes RAILS_ENV=production
sudo -u git -H bundle exec rake gitlab:satellites:create RAILS_ENV=production
# Clear redis cache
sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
# Clear and precompile assets
sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
#Add dealing with newlines for editor
sudo -u git -H git config --global core.autocrlf input
```
## 6. Update config files
Note: We switched from Puma in GitLab 5.x to unicorn in GitLab 6.0.
- Make `/home/git/gitlab/config/gitlab.yml` the same as https://gitlab.com/gitlab-org/gitlab-ce/blob/6-0-stable/config/gitlab.yml.example but with your settings.
- Make `/home/git/gitlab/config/unicorn.rb` the same as https://gitlab.com/gitlab-org/gitlab-ce/blob/6-0-stable/config/unicorn.rb.example but with your settings.
## 7. Update Init script
```bash
cd /home/git/gitlab
sudo rm /etc/init.d/gitlab
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
```
## 8. Create uploads directory
```bash
cd /home/git/gitlab
sudo -u git -H mkdir -p public/uploads
sudo chmod -R u+rwX public/uploads
```
## 9. Start application
sudo service gitlab start
sudo service nginx restart
## 10. Check application status
Check if GitLab and its environment are configured correctly:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
To make sure you didn't miss anything run a more thorough check with:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
If all items are green, then congratulations upgrade complete!
## Things went south? Revert to previous version (5.1)
### 1. Revert the code to the previous version
Follow the [upgrade guide from 5.0 to 5.1](5.0-to-5.1.md), except for the database migration (the backup is already migrated to the previous version).
### 2. Restore from the backup:
```bash
cd /home/git/gitlab
sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production
```
|
ibiart/gitlabhq
|
doc/update/5.1-to-6.0.md
|
Markdown
|
mit
| 6,977
|
@extends('muffincms::layouts.index')
@section('title', ucfirst(unSlug(mypage()->name)))
@section('meta')
<meta name="description" content="{{mypage()->desc}}">
<meta name="muffin-url" content="{{mypage()->name}}">
@endsection
@section('stylesheet')
<link rel="stylesheet" href="{{asset('vendor/muffincms/template/css/freelancer.min.css')}}" />
@endsection
@section('content')
<div id="page-top">
<div id="skipnav"><a href="#maincontent">Skip to main content</a></div>
<!-- Navigation -->
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top navbar-custom">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="#page-top">@include('muffincms::modules.text', ['loc'=>'webname','limit'=>1,'mess'=>'website-name'])</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="hidden">
<a href="#page-top"></a>
</li>
@include('muffincms::modules.link', ['loc'=>'nav-link','wrapbegin'=>"<li class='page-scroll'>",'wrapend'=>"</li>"])
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<!-- Header -->
<header>
<div class="container" tabindex="-1">
<div class="row">
<div class="col-lg-12">
@include('muffincms::modules.text', ['loc'=>'notfound-message','limit'=>1,'mess'=>'message'])
</div>
</div>
</div>
</header>
<!-- Footer -->
<footer class="text-center">
<div class="footer-above">
<div class="container">
<div class="row">
<div class="footer-col col-md-4">
@include('muffincms::modules.text', ['loc'=>'footer-1','limit'=>1])
</div>
<div class="footer-col col-md-4">
<h3>Around the Web</h3>
<ul class="list-inline">
<li>
<a href="#" class="btn-social btn-outline"><span class="sr-only">Facebook</span><i class="fa fa-fw fa-facebook"></i></a>
</li>
<li>
<a href="#" class="btn-social btn-outline"><span class="sr-only">Google Plus</span><i class="fa fa-fw fa-google-plus"></i></a>
</li>
<li>
<a href="#" class="btn-social btn-outline"><span class="sr-only">Twitter</span><i class="fa fa-fw fa-twitter"></i></a>
</li>
<li>
<a href="#" class="btn-social btn-outline"><span class="sr-only">Linked In</span><i class="fa fa-fw fa-linkedin"></i></a>
</li>
<li>
<a href="#" class="btn-social btn-outline"><span class="sr-only">Dribble</span><i class="fa fa-fw fa-dribbble"></i></a>
</li>
</ul>
</div>
<div class="footer-col col-md-4">
@include('muffincms::modules.text', ['loc'=>'footer-3','limit'=>1])
</div>
</div>
</div>
</div>
<div class="footer-below">
<div class="container">
<div class="row">
<div class="col-lg-12">
@include('muffincms::modules.text', ['loc'=>'copyright','limit'=>1])
</div>
</div>
</div>
</div>
</footer>
<!-- Scroll to Top Button (Only visible on small and extra-small screen sizes) -->
<div class="scroll-top page-scroll hidden-sm hidden-xs hidden-lg hidden-md">
<a class="btn btn-primary" href="#page-top">
<i class="fa fa-chevron-up"></i>
</a>
</div>
</div>
@endsection
@section('script')
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script src="{{asset('vendor/muffincms/template/js/freelancer.min.js')}}"></script>
@endsection
|
johnguild/muffincms
|
src/MVC/views/pages/notfound.blade.php
|
PHP
|
mit
| 5,228
|
package averybigsum
import (
"testing"
)
func TestExample(t *testing.T) {
ar := []int32{1000000001, 1000000002, 1000000003, 1000000004, 1000000005}
result := AVeryBigSum(ar)
if result != 5000000015 {
t.Errorf("AVeryBigSum failed the example test")
}
}
|
altermarkive/Coding-Interviews
|
algorithm-design/hackerrank/a_very_big_sum/a_very_big_sum_test.go
|
GO
|
mit
| 261
|
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
/* Body style, for the entire document */
body {
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1 {
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2 {
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3 {
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
h4 {
font-weight: normal;
font-size: 12pt;
margin: 0;
padding: 0 0 0 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a {
color: #1382CE;
}
/* Paragraph text (for longer informational messages) */
p {
font-size: 10pt;
}
/* Table styles */
table {
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th {
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td {
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
.NoBreakingChanges {
color: darkgreen;
font-weight:bold;
}
.FewBreakingChanges {
color: orange;
font-weight:bold;
}
.ManyBreakingChanges {
color: red;
font-weight:bold;
}
.BreakDetails {
margin-left: 30px;
}
.CompatMessage {
font-style: italic;
font-size: 10pt;
}
.GoodMessage {
color: darkgreen;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink {
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover {
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered {
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell {
width: 100%;
}
/* Padding around the content after the h1 */
#content {
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table {
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table {
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded {
min-width: 18px;
min-height: 18px;
background-repeat: no-repeat;
background-position: center;
}
/* Success icon encoded */
.IconSuccessEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABPElEQVR4Xp1Tv0vDUBi8FqeA4NpBcBLcWnQSApncOnTo4FSnjP0DsnXpH5CxiwbHDg4Zuj4oOEXiJgiC4FDcCkLWmIMc1Pfw+eMgQ77v3Xf3Pe51YKGqqisAEwCR1TIAsiAIblSo6xrdHeJR85Xle3mdmCQKb0PsfqyxxzM8K15HZADl/H5+sHpZwYfxyRjTs+kWwKBx8yoHd2mRiuzF8mkJniWH/13u3Fjrs/EdhsdDFHGB/DLXEJBDLh1MWPAhPo1BLB4WX5yQywHR+m3tVe/t97D52CB/ziG0nIgD/qDuYg8WuCcVZ2YGwlJ3YDugkpR/VNcAEx6GEKhERSr71FuO4YCM4XBdwKvecjIlkSnsO0Hyp/GxSeJAdzBKzpOtnPwyyiPdAZhpZptT04tU+zk7s8czeges//s5C5+CwqrR4/gw+AAAAABJRU5ErkJggg==);
}
/* Information icon encoded */
.IconInfoEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style>
</head>
<body>
<h1 _locid="PortabilityReport">.NET Portability Report</h1>
<div id="content">
<div id="submissionId" style="font-size:8pt;">
<p>
<i>
Submission Id
75c6bba9-ed1b-49b7-bd7b-cd3884cd46fa
</i>
</p>
</div>
<h2 _locid="SummaryTitle">
<a name="Portability Summary"></a>Portability Summary
</h2>
<div id="summary">
<table>
<tbody>
<tr>
<th>Assembly</th>
<th>ASP.NET 5,Version=v1.0</th>
<th>Windows,Version=v8.1</th>
<th>.NET Framework,Version=v4.6</th>
<th>Windows Phone,Version=v8.1</th>
</tr>
<tr>
<td><strong><a href="#Yandex.Translator">Yandex.Translator</a></strong></td>
<td class="text-center">100.00 %</td>
<td class="text-center">99.55 %</td>
<td class="text-center">100.00 %</td>
<td class="text-center">99.55 %</td>
</tr>
</tbody>
</table>
</div>
<div id="details">
<a name="Yandex.Translator"><h3>Yandex.Translator</h3></a>
<table>
<tbody>
<tr>
<th>Target type</th>
<th>ASP.NET 5,Version=v1.0</th>
<th>Windows,Version=v8.1</th>
<th>.NET Framework,Version=v4.6</th>
<th>Windows Phone,Version=v8.1</th>
<th>Recommended changes</th>
</tr>
<tr>
<td>System.Type</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetProperties</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<p>
<a href="#Portability Summary">Back to Summary</a>
</p>
</div>
</div>
</body>
</html>
|
kuhlenh/port-to-core
|
Reports/ya/yandex.translator.1.3.0/Yandex.Translator-net40.html
|
HTML
|
mit
| 11,624
|
<?php
/**
* LoginWidget.php
*
* @since 23/09/16
* @author gseidel
*/
namespace Enhavo\Bundle\UserBundle\Widget;
use Enhavo\Bundle\AppBundle\Type\AbstractType;
use Enhavo\Bundle\ThemeBundle\Widget\WidgetInterface;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
class LoginWidget extends AbstractType implements WidgetInterface
{
/**
* @inheritDoc
*/
public function getType()
{
return 'login';
}
public function render($options)
{
$template = 'EnhavoUserBundle:Theme:Widget/login.html.twig';
if(isset($options['template'])) {
$template = $options['template'];
}
if(isset($options['csrf_token'])) {
$token = $options['csrf_token'];
} else {
$token = $this->getCsrfToken();
}
if(isset($options['last_username'])) {
$lastUsername = $options['last_username'];
} else {
$lastUsername = $this->getLastUserName();
}
if(isset($options['error'])) {
$error = $options['error'];
} else {
$error = $this->getError();
}
return $this->renderTemplate($template, [
'csrf_token' => $token,
'last_username' => $lastUsername,
'error' => $error
]);
}
private function getCsrfToken()
{
return $this->container->get('security.csrf.token_manager')->getToken('authenticate')->getValue();
}
private function getError()
{
$request = $this->container->get('request_stack')->getMasterRequest();
$session = $request->getSession();
$authErrorKey = Security::AUTHENTICATION_ERROR;
if ($request->attributes->has($authErrorKey)) {
$error = $request->attributes->get($authErrorKey);
} elseif (null !== $session && $session->has($authErrorKey)) {
$error = $session->get($authErrorKey);
$session->remove($authErrorKey);
} else {
$error = null;
}
if (!$error instanceof AuthenticationException) {
$error = null;
}
return $error;
}
private function getLastUserName()
{
$session = $this->container->get('session');
$lastUsernameKey = Security::LAST_USERNAME;
$lastUsername = (null === $session) ? '' : $session->get($lastUsernameKey);
return $lastUsername;
}
}
|
jennyhelbing/enhavo
|
src/Enhavo/Bundle/UserBundle/Widget/LoginWidget.php
|
PHP
|
mit
| 2,503
|
var diff = require('../');
var left = {
left: 'yes',
right: 'no',
};
var right = {
left: {
toString: true,
},
right: 'no',
};
console.log(diff(left, right)); // eslint-disable-line no-console
|
flitbit/diff
|
examples/issue-71.js
|
JavaScript
|
mit
| 209
|
# Banker
React powered tiny "personal accounting" app
### motivation
I'm doing this app for a couple reasons, which are
- my personal usage (if it works, why not use it :)
- my react training; the app is developped using React, "react-router", and the Redux pattern.
it might also use things like SASS or Aphrodite in the future, as well as [LeafDB](https://github.com/NicolasThebaud/leafDB)
|
NicolasThebaud/Banker
|
README.md
|
Markdown
|
mit
| 394
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { first } from 'vs/base/common/async';
import { isFalsyOrEmpty } from 'vs/base/common/arrays';
import { assign } from 'vs/base/common/objects';
import { onUnexpectedExternalError, canceled } from 'vs/base/common/errors';
import { IEditorContribution } from 'vs/editor/common/editorCommon';
import { ITextModel } from 'vs/editor/common/model';
import { registerDefaultLanguageCommand } from 'vs/editor/browser/editorExtensions';
import { CompletionList, CompletionItemProvider, CompletionItem, CompletionProviderRegistry, CompletionContext, CompletionTriggerKind, CompletionItemKind } from 'vs/editor/common/modes';
import { Position, IPosition } from 'vs/editor/common/core/position';
import { RawContextKey } from 'vs/platform/contextkey/common/contextkey';
import { ICodeEditor } from 'vs/editor/browser/editorBrowser';
import { CancellationToken } from 'vs/base/common/cancellation';
import { Range } from 'vs/editor/common/core/range';
export const Context = {
Visible: new RawContextKey<boolean>('suggestWidgetVisible', false),
MultipleSuggestions: new RawContextKey<boolean>('suggestWidgetMultipleSuggestions', false),
MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true),
AcceptOnKey: new RawContextKey<boolean>('suggestionSupportsAcceptOnKey', true),
AcceptSuggestionsOnEnter: new RawContextKey<boolean>('acceptSuggestionOnEnter', true)
};
export interface ISuggestionItem {
position: IPosition;
suggestion: CompletionItem;
container: CompletionList;
support: CompletionItemProvider;
resolve(token: CancellationToken): Thenable<void>;
}
export type SnippetConfig = 'top' | 'bottom' | 'inline' | 'none';
let _snippetSuggestSupport: CompletionItemProvider;
export function getSnippetSuggestSupport(): CompletionItemProvider {
return _snippetSuggestSupport;
}
export function setSnippetSuggestSupport(support: CompletionItemProvider): CompletionItemProvider {
const old = _snippetSuggestSupport;
_snippetSuggestSupport = support;
return old;
}
export function provideSuggestionItems(
model: ITextModel,
position: Position,
snippetConfig: SnippetConfig = 'bottom',
onlyFrom?: CompletionItemProvider[],
context?: CompletionContext,
token: CancellationToken = CancellationToken.None
): Promise<ISuggestionItem[]> {
const allSuggestions: ISuggestionItem[] = [];
const acceptSuggestion = createSuggesionFilter(snippetConfig);
const wordUntil = model.getWordUntilPosition(position);
const defaultRange = new Range(position.lineNumber, wordUntil.startColumn, position.lineNumber, wordUntil.endColumn);
position = position.clone();
// get provider groups, always add snippet suggestion provider
const supports = CompletionProviderRegistry.orderedGroups(model);
// add snippets provider unless turned off
if (snippetConfig !== 'none' && _snippetSuggestSupport) {
supports.unshift([_snippetSuggestSupport]);
}
const suggestConext = context || { triggerKind: CompletionTriggerKind.Invoke };
// add suggestions from contributed providers - providers are ordered in groups of
// equal score and once a group produces a result the process stops
let hasResult = false;
const factory = supports.map(supports => () => {
// for each support in the group ask for suggestions
return Promise.all(supports.map(support => {
if (!isFalsyOrEmpty(onlyFrom) && onlyFrom.indexOf(support) < 0) {
return undefined;
}
return Promise.resolve(support.provideCompletionItems(model, position, suggestConext, token)).then(container => {
const len = allSuggestions.length;
if (container && !isFalsyOrEmpty(container.suggestions)) {
for (let suggestion of container.suggestions) {
if (acceptSuggestion(suggestion)) {
// fill in default range when missing
if (!suggestion.range) {
suggestion.range = defaultRange;
}
// fill in lower-case text
ensureLowerCaseVariants(suggestion);
allSuggestions.push({
position,
container,
suggestion,
support,
resolve: createSuggestionResolver(support, suggestion, model, position)
});
}
}
}
if (len !== allSuggestions.length && support !== _snippetSuggestSupport) {
hasResult = true;
}
}, onUnexpectedExternalError);
}));
});
const result = first(factory, () => {
// stop on result or cancellation
return hasResult || token.isCancellationRequested;
}).then(() => {
if (token.isCancellationRequested) {
return Promise.reject(canceled());
}
return allSuggestions.sort(getSuggestionComparator(snippetConfig));
});
// result.then(items => {
// console.log(model.getWordUntilPosition(position), items.map(item => `${item.suggestion.label}, type=${item.suggestion.type}, incomplete?${item.container.incomplete}, overwriteBefore=${item.suggestion.overwriteBefore}`));
// return items;
// }, err => {
// console.warn(model.getWordUntilPosition(position), err);
// });
return result;
}
export function ensureLowerCaseVariants(suggestion: CompletionItem) {
if (!suggestion._labelLow) {
suggestion._labelLow = suggestion.label.toLowerCase();
}
if (suggestion.sortText && !suggestion._sortTextLow) {
suggestion._sortTextLow = suggestion.sortText.toLowerCase();
}
if (suggestion.filterText && !suggestion._filterTextLow) {
suggestion._filterTextLow = suggestion.filterText.toLowerCase();
}
}
function createSuggestionResolver(provider: CompletionItemProvider, suggestion: CompletionItem, model: ITextModel, position: Position): (token: CancellationToken) => Promise<void> {
return (token) => {
if (typeof provider.resolveCompletionItem === 'function') {
return Promise.resolve(provider.resolveCompletionItem(model, position, suggestion, token)).then(value => { assign(suggestion, value); });
} else {
return Promise.resolve(void 0);
}
};
}
function createSuggesionFilter(snippetConfig: SnippetConfig): (candidate: CompletionItem) => boolean {
if (snippetConfig === 'none') {
return suggestion => suggestion.kind !== CompletionItemKind.Snippet;
} else {
return () => true;
}
}
function defaultComparator(a: ISuggestionItem, b: ISuggestionItem): number {
// check with 'sortText'
if (a.suggestion._sortTextLow && b.suggestion._sortTextLow) {
if (a.suggestion._sortTextLow < b.suggestion._sortTextLow) {
return -1;
} else if (a.suggestion._sortTextLow > b.suggestion._sortTextLow) {
return 1;
}
}
// check with 'label'
if (a.suggestion.label < b.suggestion.label) {
return -1;
} else if (a.suggestion.label > b.suggestion.label) {
return 1;
}
// check with 'type'
return a.suggestion.kind - b.suggestion.kind;
}
function snippetUpComparator(a: ISuggestionItem, b: ISuggestionItem): number {
if (a.suggestion.kind !== b.suggestion.kind) {
if (a.suggestion.kind === CompletionItemKind.Snippet) {
return -1;
} else if (b.suggestion.kind === CompletionItemKind.Snippet) {
return 1;
}
}
return defaultComparator(a, b);
}
function snippetDownComparator(a: ISuggestionItem, b: ISuggestionItem): number {
if (a.suggestion.kind !== b.suggestion.kind) {
if (a.suggestion.kind === CompletionItemKind.Snippet) {
return 1;
} else if (b.suggestion.kind === CompletionItemKind.Snippet) {
return -1;
}
}
return defaultComparator(a, b);
}
export function getSuggestionComparator(snippetConfig: SnippetConfig): (a: ISuggestionItem, b: ISuggestionItem) => number {
if (snippetConfig === 'top') {
return snippetUpComparator;
} else if (snippetConfig === 'bottom') {
return snippetDownComparator;
} else {
return defaultComparator;
}
}
registerDefaultLanguageCommand('_executeCompletionItemProvider', (model, position, args) => {
const result: CompletionList = {
incomplete: false,
suggestions: []
};
let resolving: Thenable<any>[] = [];
let maxItemsToResolve = args['maxItemsToResolve'] || 0;
return provideSuggestionItems(model, position).then(items => {
for (const item of items) {
if (resolving.length < maxItemsToResolve) {
resolving.push(item.resolve(CancellationToken.None));
}
result.incomplete = result.incomplete || item.container.incomplete;
result.suggestions.push(item.suggestion);
}
}).then(() => {
return Promise.all(resolving);
}).then(() => {
return result;
});
});
interface SuggestController extends IEditorContribution {
triggerSuggest(onlyFrom?: CompletionItemProvider[]): void;
}
let _provider = new class implements CompletionItemProvider {
onlyOnceSuggestions: CompletionItem[] = [];
provideCompletionItems(): CompletionList {
let suggestions = this.onlyOnceSuggestions.slice(0);
let result = { suggestions };
this.onlyOnceSuggestions.length = 0;
return result;
}
};
CompletionProviderRegistry.register('*', _provider);
export function showSimpleSuggestions(editor: ICodeEditor, suggestions: CompletionItem[]) {
setTimeout(() => {
_provider.onlyOnceSuggestions.push(...suggestions);
editor.getContribution<SuggestController>('editor.contrib.suggestController').triggerSuggest([_provider]);
}, 0);
}
|
0xmohit/vscode
|
src/vs/editor/contrib/suggest/suggest.ts
|
TypeScript
|
mit
| 9,385
|
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "omahaodds.h"
int main( int argc, char *argv[] ) {
card *hand = malloc(sizeof(card) * 5);
get_hand_rank(hand);
return 0;
}
|
mok4ry/OmahaOdds
|
src/main.c
|
C
|
mit
| 204
|
/*
,i::,
:;;;;;;;
;:,,::;.
1ft1;::;1tL
t1;::;1,
:;::; _____ __ ___ __
fCLff ;:: tfLLC / ___/ / |/ /____ _ _____ / /_
CLft11 :,, i1tffLi \__ \ ____ / /|_/ // __ `// ___// __ \
1t1i .;; .1tf ___/ //___// / / // /_/ // /__ / / / /
CLt1i :,: .1tfL. /____/ /_/ /_/ \__,_/ \___//_/ /_/
Lft1,:;: , 1tfL:
;it1i ,,,:::;;;::1tti s_mach.validate
.t1i .,::;;; ;1tt Copyright (c) 2015 S-Mach, Inc.
Lft11ii;::;ii1tfL: Author: lance.gatlin@gmail.com
.L1 1tt1ttt,,Li
...1LLLL...
*/
package s_mach.validate
/**
* A base trait for an entity that provides human-readable information
* about a field (or no field) within a case class. A field path is used
* to point at which field within the "context" the information is
* associated with.
* Ex:
* case class A(i: Int)
* case class B(a: A)
*
* Field path for the i field of A from within B:
* "a" :: "i" :: Nil
*
* Field path of i from within context of A:
* "i" :: Nil
*
* Field path used to "this" (for A or B):
* Nil
*/
sealed trait Explain {
/** @return field path */
def path: List[String]
/** @return a copy of this with a field appended to the head of the path */
def pushPath(field: String) : Explain
/** @return a tuple of the head of the path and copy of this with the
* head of the path removed */
def popPath() : (String,Explain)
}
/**
* A description of a constraint on the value of a field
* @param path field path
* @param desc human readable description e.g. "must be between (0,150)"
*/
case class Rule(path: List[String], desc: String) extends Explain {
override def toString = s"${
path match {
case Nil => "this"
case _ => path.mkString(".")
}
}: $desc"
override def pushPath(field: String) : Rule =
copy(path = field :: path)
override def popPath() : (String,Rule) =
(path.head, copy(path = path.tail))
}
/**
* A schema that describes the type and cardinality of a field
* @param path field path
* @param typeName class tag name e.g. "java.lang.String" or "Int"
* @param cardinality a tuple of the minimum and maximum number of elements allowed
* for the field. Common cardinalities:
* (1,1) => single value
* (0,1) => optional value
* (0,Int.MaxValue) => collection
*/
case class Schema(path: List[String], typeName: String, cardinality: (Int,Int)) extends Explain {
override def toString = s"${
path match {
case Nil => "this"
case _ => path.mkString(".")
}
}: $typeName${
cardinality match {
case (1,1) => ""
case (0,1) => "?"
case (0,Int.MaxValue) => "*"
case (1,Int.MaxValue) => "+"
case (min,max) => s"{$min,$max}"
}
}"
override def pushPath(field: String) : Schema =
copy(path = field :: path)
override def popPath() : (String, Schema) =
(path.head, copy(path = path.tail))
}
|
S-Mach/s_mach.validate
|
validate-core/src/main/scala/s_mach/validate/Explain.scala
|
Scala
|
mit
| 3,163
|
<!DOCTYPE html>
<html>
<head>
<title>Sia</title>
<!-- Stylesheets -->
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="css/pure-min.css">
<link rel="stylesheet" href="css/grids-responsive-min.css">
<link rel="stylesheet" href="css/roboto-condensed-min.css">
<link rel="stylesheet" href="css/general.css">
</head>
<body>
<!-- Header for UI -->
<div class="pure-g header">
<div class="pure-u-1-5 logo-container">
<img src="assets/siaLogo.svg" height="50" class="logo">
</div>
<div class='pure-u-4-5 button-container'>
<div class='header-button' id='update-button'>
<i class='fa fa-arrow-circle-o-up'></i>
Check for Update
</div>
</div>
</div>
<!-- Full body of UI -->
<div class="pure-g body">
<!-- Sidebar -->
<div class="pure-u-1-5" id="sidebar">
</div>
<!-- Mainbar -->
<div class="pure-u" id="mainbar">
</div>
</div>
<span id='tooltip'>Tooltip</span>
<div class='notification-container'>
<div class='blueprint notification'>
<div class='icon'>
<i class='fa'></i>
</div>
<div class='content'></div>
</div>
</div>
<!-- Javascript -->
<script>
const WebFrame = require('web-frame');
const RendererIPC = require('ipc');
const ElectronScreen = require('screen');
const Process = require('child_process').spawn;
const Path = require('path');
const Fs = require('fs');
const Shell = require('shell');
const $ = require('./js/jquery.min.js');
</script>
<script src='js/daemonManager.js'></script>
<script src='js/pluginManager.js'></script>
<script src='js/uiManager.js'></script>
<script>
var UI = new UIManager();
var Daemon = new DaemonManager();
var Plugins = new PluginManager();
window.onload = UI.init;
window.onbeforeunload = UI.kill;
</script>
</body>
</html>
|
bitspill/Sia-UI
|
app/index.html
|
HTML
|
mit
| 1,886
|
# RegexLib
Regular Expression Library in C#
|
TheFellow/RegexLib
|
README.md
|
Markdown
|
mit
| 44
|
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace SignalGo.Server.Models
{
public static class Extensions
{
public static void Add(this IDictionary<string, string[]> headers, string key, string value)
{
headers.Add(key, value.Split(','));
}
public static void Add(this IDictionary<string, string[]> headers, string key, long value)
{
headers.Add(key, value.ToString().Split(','));
}
public static void ForceAdd<TKey, TValue>(this ConcurrentDictionary<TKey, TValue> keyValuePairs, TKey key, TValue value)
{
while (!keyValuePairs.TryAdd(key, value))
{
if (keyValuePairs.ContainsKey(key))
break;
}
}
}
}
|
SignalGo/SignalGo-full-net
|
SignalGo.Server/Models/Extensions.cs
|
C#
|
mit
| 818
|
# frozen_string_literal: true
require "application_system_test_case"
# Test viewing engine run statistics.
class EngineRunsTest < ApplicationSystemTestCase
setup do
@engine_run = engine_runs(:one)
@admin = users(:admin)
end
test "visit the index" do
visit_login(@admin)
visit admin_engine_runs_url
assert_selector "h1", text: "Engine Runs"
screenshot("visit-engine-runs-index")
end
test "destroy an engine run" do
visit_login(@admin)
visit admin_engine_runs_url
screenshot("destroy-an-engine-run")
page.accept_confirm do
click_element ".fa-trash-alt"
end
assert_text "Engine run was successfully deleted"
screenshot("destroy-an-engine-run")
end
end
|
remomueller/slice
|
test/system/engine_runs_test.rb
|
Ruby
|
mit
| 723
|
namespace SharePoint.Utilities.Rest
{
using System.Collections.Generic;
public class ItemCountResult<TDto>
{
private readonly int totalItems;
private readonly IEnumerable<TDto> items;
public ItemCountResult(int totalItems, IEnumerable<TDto> items)
{
this.totalItems = totalItems;
this.items = items;
}
public int TotalItems
{
get
{
return this.totalItems;
}
}
public IEnumerable<TDto> Items
{
get
{
return this.items;
}
}
}
}
|
devdigital/SharePointAurelia
|
SharePoint.Utilities/Rest/ItemCountResult.cs
|
C#
|
mit
| 665
|
require 'spec_helper'
describe 'ScalrApiV2::Servers.list' do
subject do
with_modified_env SCALR_URL: 'https://test.scalr.local', SCALR_KEY_ID: '1234', SCALR_KEY_SECRET: '5678', SCALR_ENV_ID: '1' do
ScalrApiV2::Servers.new.list
end
end
# list method tests
it '.list returns an array' do
expect(subject).not_to be nil
expect(subject).to be_kind_of(Array)
end
it '.list returns stubbed data from fakeScalr' do
expect(subject[0]['id']).to eq(1)
expect(subject[1]['id']).to eq(2)
expect(subject[2]['id']).to eq(3)
end
end
|
autotraderuk/scalr_api_v2
|
spec/servers_spec.rb
|
Ruby
|
mit
| 568
|
/*
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <tiribthea4hyyan@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
(function ($, document, HYYAN_WPI_VARIABLES) {
/**
* Construct variables
*
* @param {jQuery} $
* @param {document} document
* @param {object} data
*
* @returns {Variables}
*/
var Variables = function ($, document, data) {
this.$ = $;
this.document = document;
this.data = data;
this._dialog = this._createDialog();
};
Variables.prototype = {
/** Constructor */
constructor: Variables,
init: function () {
var self = this;
$('#post_lang_choice').change(function () {
self.shouldAlert();
});
$('#product-type').change(function () {
self.shouldAlert();
});
}
/**
* Check if we should alert the user
*
* @returns {Boolean}
*/
, shouldAlert: function () {
var type = this.getCurrentProduct();
var lang = this.getCurrentLanguage();
if (type === 'variable' && lang !== this.data['defaultLang']) {
this._dialog.dialog('open');
/* Disable Saving */
this._changeSaveBoxState(true);
return true;
}
this._changeSaveBoxState(false);
return false;
}
/**
* Get current product language
*
* @returns {String}
*/
, getCurrentLanguage: function () {
return this.$('#post_lang_choice').val();
}
/**
* Get current product type
*
* @returns {string}
*/
, getCurrentProduct: function () {
return this.$('#product-type').val();
}
/**
* Change the state of save box from disable to enable and vs
*
* @param {boolean} enable
*/
, _changeSaveBoxState: function (enable) {
this.$('#submitdiv *').attr('disabled', enable);
}
/**
* Create dialog
*
* @returns {objet}
*/
, _createDialog: function () {
/* This variable */
var self = this;
/* Fix the z-index */
this.$('<style>.ui-dialog { z-index: 1000 !important ;}</style>')
.appendTo($('head'));
/* Create dialog */
var dialog = this.$("<div id='woo-poly-variables-dialog'/>")
.html('<p>' + self.data['content'] + '</p>')
.attr('title', self.data['title'])
.appendTo("body");
dialog.dialog({
dialogClass: "wp-dialog",
autoOpen: false,
modal: true,
width: 400,
height: 250,
position: {
my: "center",
at: "center"
},
buttons: [
{
text: 'Got It',
click: function () {
$(this).dialog('close');
}
}
]
});
return dialog;
}
};
// bootstrap
$(document).ready(function ($) {
new Variables($, document, HYYAN_WPI_VARIABLES).init();
});
})(jQuery, document, HYYAN_WPI_VARIABLES);
|
decarvalhoaa/woopoly
|
public/js/Variables.js
|
JavaScript
|
mit
| 3,685
|
"""
HLS and Color Threshold
-----------------------
You've now seen that various color thresholds can be applied to find the lane lines in images. Here we'll explore
this a bit further and look at a couple examples to see why a color space like HLS can be more robust.
"""
import numpy as np
import cv2
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
def run():
"""
Run different HLS and its thresholds.
"""
image = mpimg.imread('test6.jpg')
# Converting original to gray
gray = cv2.cvtColor(image, cv2.COLOR_RGB2GRAY)
# Threshold for original image
thresh = (180, 255)
binary = np.zeros_like(gray)
binary[(gray > thresh[0]) & (gray <= thresh[1])] = 1
red = image[:, :, 0]
green = image[:, :, 1]
blue = image[:, :, 2]
thresh_2 = (200, 255)
binary_2 = np.zeros_like(red)
binary_2[(red > thresh_2[0]) & (red <= thresh_2[1])] = 1
# Converting image to HLS
hls = cv2.cvtColor(image, cv2.COLOR_RGB2HLS)
# Splitting HSL
hue = hls[:, :, 0]
lightness = hls[:, :, 1]
saturation = hls[:, :, 2]
# Threshold for saturation
thresh_3 = (90, 255)
binary_3 = np.zeros_like(saturation)
binary_3[(saturation > thresh_3[0]) & (saturation <= thresh_3[1])] = 1
# Threshold for Hue
thresh_4 = (15, 100)
binary_4 = np.zeros_like(hue)
binary_4[(hue > thresh_4[0]) & (hue <= thresh_4[1])] = 1
# -------------------- Figure -----------------------
f = plt.figure()
size_x, size_y = (4, 4)
f.add_subplot(size_x, size_y, 1)
plt.imshow(image)
plt.title("Original")
f.add_subplot(size_x, size_y, 2)
plt.imshow(gray, cmap='gray')
plt.title("Gray")
f.add_subplot(size_x, size_y, 3)
plt.imshow(binary, cmap='gray')
plt.title("Threshold of ({}, {})".format(thresh[0], thresh[1]))
f.add_subplot(size_x, size_y, 4)
plt.imshow(red, cmap='gray')
plt.title("Red")
f.add_subplot(size_x, size_y, 5)
plt.imshow(green, cmap='gray')
plt.title("Green")
f.add_subplot(size_x, size_y, 6)
plt.imshow(blue, cmap='gray')
plt.title("Blue")
f.add_subplot(size_x, size_y, 7)
plt.imshow(binary_2, cmap='gray')
plt.title("Threshold of Red color")
f.add_subplot(size_x, size_y, 8)
plt.imshow(hue, cmap='gray')
plt.title("Hue")
f.add_subplot(size_x, size_y, 9)
plt.imshow(lightness, cmap='gray')
plt.title("Lightness")
f.add_subplot(size_x, size_y, 10)
plt.imshow(saturation, cmap='gray')
plt.title("Saturation")
f.add_subplot(size_x, size_y, 11)
plt.imshow(binary_3, cmap='gray')
plt.title("Threshold of saturation")
f.add_subplot(size_x, size_y, 12)
plt.imshow(binary_4, cmap='gray')
plt.title("Threshold of hue")
plt.show()
if __name__ == '__main__':
run()
|
akshaybabloo/Car-ND
|
Term_1/advanced_lane_finding_10/color_space_10_8.py
|
Python
|
mit
| 2,835
|
using System;
class DeclareVar
{
static void Main()
{
ushort firstNum = 52130;
Console.WriteLine(firstNum);
sbyte secondNum = -115;
Console.WriteLine(secondNum);
int thirdNum = 4825932;
Console.WriteLine(thirdNum);
byte fourthNum = 97;
Console.WriteLine(fourthNum);
short fifthNum = -10000;
Console.WriteLine(fifthNum);
}
}
|
madbadPi/TelerikAcademy
|
CSharpPartOne/PrimitiveTypesAndVariables/1.DeclareVar/DeclareVar.cs
|
C#
|
mit
| 420
|
package ca.antonious.sample.about;
/**
* Created by George on 2017-01-08.
*/
public class Library {
private String title;
private String sourceControlUrl;
public Library(String title, String sourceControlUrl) {
this.title = title;
this.sourceControlUrl = sourceControlUrl;
}
public String getTitle() {
return title;
}
public String getSourceControlUrl() {
return sourceControlUrl;
}
}
|
gantonious/ViewCellAdapter
|
sample-app/src/main/java/ca/antonious/sample/about/Library.java
|
Java
|
mit
| 456
|
<html>
<head>
<title>
Haiti under Washington's thumb
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<table width="744" cellspacing="0" cellpadding="0" border="0">
<tr><td width="474"><a name="Top"></a><?php include "../../legacy-includes/TopLogo.htmlf" ?></td>
<td width="270"><?php include "../../legacy-includes/TopAd.htmlf" ?>
</td></tr></table>
<table width="744" cellspacing="0" cellpadding="0" border="0">
<tr><td width="18" bgcolor="FFCC66"></td>
<td width="108" bgcolor="FFCC66" valign=top><?php include "../../legacy-includes/LeftButtons.htmlf" ?></td>
<td width="18"></td>
<td width="480" valign="top">
<?php include "../../legacy-includes/BodyInsert.htmlf" ?>
<P><font face="Times New Roman, Times, serif" size="4">Aristide in Jamaica as U.S.-backed thugs take charge</font><br>
<font face="Times New Roman, Times, serif" size="5"><b>Haiti under Washington's thumb</b></font></P>
<P><font face="Times New Roman, Times, serif" size="2"><b>By Elizabeth Schulte</b></font><font face="Arial, Helvetica, sans-serif" size="2"> | March 26, 2004 | Page 2</font></P>
<P><font face="Times New Roman, Times, serif" size="3">U.S. OFFICIALS were infuriated to learn that they don't always get their way when Jean-Bertrand Aristide ignored Washington's instructions and flew to Jamaica last week. Aristide is the democratically elected president of Haiti who was ousted from power less than a month ago.</P>
<P>U.S. Marines confronted Aristide at his presidential residence in the early morning hours of February 29 and told him that he could stay and be killed by right-wing rebels whose uprising in northern Haiti was spreading toward the capital of Port-au-Prince--or resign and go into exile. The U.S. hustled Aristide out of Haiti that night and flew him to the Central African Republic. There, he managed to contact supporters in the U.S. and elsewhere, and said that he was effectively being held prisoner.</P>
<P>But last week--accompanied by Rep. Maxine Waters (D-Calif.) and left-wing radio host Amy Goodman, among others--Aristide returned to the Caribbean, landing in Jamaica. He says that he isn't seeking asylum and only plans to stay for eight to 10 weeks to reunite with his wife and children.</P>
<P>But that's too much for the Bush administration. "We think it's a bad idea," National Security Adviser Condoleezza Rice told NBC's <I>Meet the Press.</I> "We believe that President Aristide, in a sense, forfeited his ability to lead his people, because he did not govern democratically." As if the U.S.-engineered ouster of Aristide is an example of democracy!</P>
<P>"Haiti is moving forward," Rice added. But like Iraq, the country is "moving forward" with leaders handpicked by the U.S.--such as interim Prime Minister Gérard Latortue, who quickly announced that he was suspending diplomatic ties with Jamaica. He also said that he was reconsidering Haiti's relationship with the 15-member Caribbean Community (CARICOM), which has called for an investigation into Aristide's removal from Haiti last month.</P>
<P>So far, Jamaica and CARICOM have rejected U.S. requests to contribute police to an international force make that is made up of 1,700 Marines and another 1,000 troops from France, Chile and Canada. CARICOM leaders will discuss whether to recognize Latortue's government at a summit on March 25.</P>
<P>Two days after Aristide landed in Jamaica, Latortue was already swearing in his new cabinet. At first, Latortue--a businessman who has been living in Florida since the late 1980s--promised that Aristide's Lavalas party would be included in the government. But Lavalas was left out of the "unity" government.</P>
<P>Latortue did remember, however, to nominate Herard Abraham as interim interior minister. Abraham is in favor of bringing back Haiti's brutal armed forces, which he headed when they were dissolved in 1995.</P>
<P>Last week, Abraham met with Guy Philippe, the ex-soldier and leader of the uprising against Aristide that left dozens dead, to discuss disarming Aristide supporters. Washington is delighted. "Latortue chose wisely," said U.S. Ambassador to Haiti James Foley, who was on hand for the swearing in of the new administration.</P>
<P>On March 20, Latortue flew to Gonaïves in a U.S. Army Black Hawk helicopter to appear with right-wing leaders who have controlled of the city since the uprising began on February 5. He took the stage with Philippe, Wynter Etienne and Jean-Pierre Baptiste, who earlier was serving a life sentence for his role in the massacre of some 30 Aristide supporters in 1994. People in the U.S. "thought the people in Gonaïves were thugs and bandits," Latortue told reporters. "But they are freedom fighters." </P>
<P>While these brutal thugs are taking charge of Haiti, international forces led by the U.S. and France are out to disarm Haiti's people. Last week, "peacekeeping" troops launched a disarmament campaign with a ceremony in the slum of Cite Soleil, while residents demanded Aristide's return. Right-wing thugs in charge of the government and terror by U.S. forces in the streets--this is the real face of the Washington's mission to restore "democracy" to Haiti.</P>
<?php include "../../legacy-includes/BottomNavLinks.htmlf" ?>
<td width="12"></td>
<td width="108" valign="top">
<?php include "../../legacy-includes/RightAdFolder.htmlf" ?>
</td>
</tr>
</table>
</body>
</html>
|
ISO-tech/sw-d8
|
web/2004-1/492/492_02_Haiti.php
|
PHP
|
mit
| 5,608
|
<?php
namespace Xjchen\OAuth2\Client\Token;
use InvalidArgumentException;
class AccessToken
{
/**
* @var string accessToken
*/
public $accessToken;
/**
* @var int expires
*/
public $expires;
/**
* @var string refreshToken
*/
public $refreshToken;
/**
* @var string openid
*/
public $openid;
/**
* @var string scope
*/
public $scope;
/**
* @var string unionid
*/
public $unionid;
/**
* Sets the token, expiry, etc values.
*
* @param array $options token options
* @return void
*/
public function __construct(array $options = null)
{
if (! isset($options['access_token'])) {
throw new InvalidArgumentException(
'Required option not passed: access_token'.PHP_EOL
.print_r($options, true)
);
}
$this->accessToken = $options['access_token'];
if (! isset($options['openid'])) {
throw new InvalidArgumentException(
'Required option not passed: openid'.PHP_EOL
.print_r($options, true)
);
}
$this->openid = $options['openid'];
if (!empty($options['refresh_token'])) {
$this->refreshToken = $options['refresh_token'];
}
// We need to know when the token expires. Show preference to
// 'expires_in' since it is defined in RFC6749 Section 5.1.
// Defer to 'expires' if it is provided instead.
if (!empty($options['expires_in'])) {
$this->expires = time() + ((int) $options['expires_in']);
} elseif (!empty($options['expires'])) {
// Some providers supply the seconds until expiration rather than
// the exact timestamp. Take a best guess at which we received.
$expires = $options['expires'];
$expiresInFuture = $expires > time();
$this->expires = $expiresInFuture ? $expires : time() + ((int) $expires);
}
if (!empty($options['scope'])) {
$this->scope = $options['scope'];
}
if (!empty($options['unionid'])) {
$this->unionid = $options['unionid'];
}
}
/**
* Returns the token key.
*
* @return string
*/
public function __toString()
{
return (string) $this->accessToken;
}
}
|
xjchengo/oauth2-wechat
|
src/Token/AccessToken.php
|
PHP
|
mit
| 2,450
|
<?php
namespace Gcmaz\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class PageController extends Controller
{
public function indexAction()
{
return $this->render('GcmazMainBundle:Page:index.html.twig');
}
public function fbgcmazAction()
{
return $this->render('GcmazMainBundle:Page:fbgcmaztest.html.twig');
}
}
|
gcmaz/gcmaz
|
src/Gcmaz/MainBundle/Controller/PageController.php
|
PHP
|
mit
| 404
|
#!/usr/bin/python
from __future__ import print_function
from __future__ import unicode_literals
import os
import sys
import time
import argparse
from datetime import datetime, timedelta, tzinfo
from textwrap import dedent
import json
from random import choice
import webbrowser
import itertools
import logging
import threading
from threading import Thread
from os.path import expanduser, expandvars, dirname, exists, join
log = logging.getLogger()
logging.basicConfig()
import pendulum
import six
from six.moves import input
from tzlocal import get_localzone
from kazoo.client import KazooClient
from kazoo.client import KazooState
from kazoo.protocol.states import EventType
from kazoo.handlers.threading import KazooTimeoutError
import colorama
from colorama import Fore, Back, Style
from solrzkutil.util import netcat, text_type, parse_zk_hosts, get_leader, get_server_by_id
from solrzkutil.parser import parse_admin_dump, parse_admin_cons
from solrzkutil.healthy import (check_zookeeper_connectivity,
check_ephemeral_sessions_fast,
check_ephemeral_znode_consistency,
check_ephemeral_dump_consistency,
check_watch_sessions_clients,
check_watch_sessions_duplicate,
check_queue_sizes,
check_watch_sessions_valid,
check_overseer_election,
get_solr_session_ids,
multi_admin_command)
__application__ = 'solr-zkutil'
COMMANDS = {
# key: cli-value
# do not change the keys, but you may freely change the values of the tuple, to modify
# the command or description.
'solr': ('live-nodes', 'List Solr Live Nodes from ZooKeeper'),
'clusterstate': ('clusterstate', 'List Solr Collections and Nodes'),
'watch': ('watch', 'Watch a ZooKeeper Node for Changes'),
'test': ('test', 'Test Each Zookeeper Ensemble node for replication and client connectivity'), # TODO
'status': ('stat', 'Check ZooKeeper ensemble status'),
'config': ('config', 'Show connection strings, or set environment configuration'),
'admin': ('admin', 'Execute a ZooKeeper administrative command'),
'ls': ('ls', 'List a ZooKeeper Node'),
'sessions': ('session-reset', 'Reset ZooKeeper sessions, each client will receive a SESSION EXPIRED notification, and will automatically reconnect. Solr ephemeral nodes should re-register themselves.'),
'health': ('health', 'Test/Check the health of Zookeeper and Solr, any errors or problems will be printed to the console.')
}
CONFIG_DIRNAME = __application__
HEADER_STYLE = Back.CYAN + Fore.WHITE + Style.BRIGHT
HEADER_JUST = 10
TITLE_STYLE = Fore.CYAN + Style.BRIGHT
INFO_STYLE = Fore.YELLOW + Style.BRIGHT
ERROR_STYLE = Back.WHITE + Fore.RED + Style.BRIGHT
INPUT_STYLE = Fore.WHITE + Style.BRIGHT
BLUE_STYLE = Fore.BLUE + Style.BRIGHT
DIFF_STYLE = Fore.MAGENTA + Style.BRIGHT
STATS_STYLE = Fore.MAGENTA + Style.BRIGHT
GREEN_STYLE = Fore.GREEN + Style.BRIGHT
ZK_LIVE_NODES = '/live_nodes'
ZK_CLUSTERSTATE = '/clusterstate.json'
MODE_LEADER = 'leader'
# the first event will always be triggered immediately to show the existing state of the node
# instead of saying 'watch event' tell the user we are just displaying initial state.
WATCH_COUNTER = 0
ZK_ADMIN_CMDS = {
'conf': {
'help': 'Print details about serving configuration.',
'example': '',
'version': '3.3.0',
},
'cons': {
'help': ('List full connection/session details for all clients connected to this server. '
'Includes information on numbers of packets received/sent, session id, operation '
'latencies, last operation performed, etc...'),
'example': '',
'version': '3.3.0',
},
'crst':{
'help': 'Reset connection/session statistics for all connections.',
'example': '',
'version': '3.3.0',
},
'dump':{
'help': 'Lists the outstanding sessions and ephemeral nodes. This only works on the leader.',
'example': '',
'version': '',
},
'envi':{
'help': 'Print details about serving environment',
'example': '',
'version': '',
},
'ruok':{
'help': 'Tests if server is running in a non-error state. The server will respond with imok if it is running. Otherwise it will not respond at all.',
'example': '',
'version': '',
},
'srst':{
'help': 'Reset server statistics.',
'example': '',
'version': '',
},
'srvr':{
'help': 'Lists full details for the server.',
'example': '',
'version': '3.3.0',
},
'stat':{
'help': 'Lists brief details for the server and connected clients.',
'example': '',
'version': '',
},
'wchs':{
'help': 'Lists brief information on watches for the server.',
'example': '',
'version': '3.3.0',
},
'wchc':{
'help': 'Lists detailed information on watches for the server, by session. (may be expensive)',
'example': '',
'version': '3.3.0',
},
'dirs':{
'help': 'Shows the total size of snapshot and log files in bytes',
'example': '',
'version': '3.5.1',
},
'wchp':{
'help': 'Lists detailed information on watches for the server, by path. This outputs a list of paths (znodes) with associated sessions.',
'example': '',
'version': '3.3.0',
},
'mntr': {
'help': 'Outputs a list of variables that could be used for monitoring the health of the cluster.',
'example': '3.4.0'
},
'isro':{
'help': 'Tests if server is running in read-only mode. The server will respond with "ro" if in read-only mode or "rw" if not in read-only mode.',
'example': '',
'version': '3.4.0',
},
'gtmk':{
'help': 'Gets the current trace mask as a 64-bit signed long value in decimal format. See stmk for an explanation of the possible values.',
'example': '',
'version': '',
},
'stmk':{
'help': 'Sets the current trace mask. The trace mask is 64 bits, where each bit enables or disables a specific category of trace logging on the server.',
'example': '',
'version': '',
},
}
ZNODE_DEBUG_ATTRS = [
'aversion',
'cversion',
'version',
'numChildren',
'ctime',
'mtime',
'czxid',
'mzxid',
'pzxid',
'dataLength',
'ephemeralOwner',
]
NEW_TAB = 2
def config_path():
conf = None
if os.name == 'nt':
conf = os.path.expandvars("%%appdata%%/.%s/environments.json" % CONFIG_DIRNAME)
else:
conf = os.path.expanduser("~/.%s/environments.json" % CONFIG_DIRNAME)
return conf
def config():
conf = config_path()
if not exists(conf):
if not exists(dirname(conf)):
os.makedirs(dirname(conf))
open(conf, mode='w').write(dedent('''
{
"DEV": "localhost:2181",
"QA": "localhost:2181",
"PILOT": "localhost:2181",
"PROD": "localhost:2181"
}
'''))
return json.loads(open(conf, mode='r').read().strip())
def style_header(text, width = 0):
if not text:
return ''
width = max(len(text) + HEADER_JUST * 2, width)
pad = ' ' * width
output = '\n%s%s\n%s\n%s%s\n' % (HEADER_STYLE, pad, text.center(width), pad, Style.RESET_ALL)
return output
def style_text(text, styles, ljust=0, rjust=0, cen=0, lpad=0, rpad=0, pad=0, char=' ', restore=''):
if not text:
return ''
# Ensure we have unicode in both python 2/3
text = text_type(text)
styles = text_type(styles)
char = text_type(char)
restore = text_type(restore)
reset_all = text_type(Style.RESET_ALL)
style = ''.join(styles)
text = text.ljust(ljust, char)
text = text.rjust(rjust, char)
text = text.center(cen, char)
text = char*(lpad+pad) + text + char*(rpad+pad)
return '%s%s%s%s' % (style, text, reset_all, restore)
#return style + text + Style.RESET_ALL + restore
def style_multiline(text, styles, ljust=0, rjust=0, cen=0, lpad=0, rpad=0, pad=0, char=' '):
if not text:
return ''
lines = text.split('\n')
fmt_text = ''
for text in lines:
text = style_text(text, styles, ljust, rjust, cen, lpad, rpad, pad, char)
fmt_text += text + '\n'
return fmt_text
def update_config(configuration=None, add=None):
"""
Update the environments configuration on-disk.
"""
existing_config = config()
conf = config_path()
print(style_header('Zookeeper Environments'))
print("")
print(style_text('config:', TITLE_STYLE, pad=2), end='')
print(style_text(conf, INPUT_STYLE))
print(style_multiline(json.dumps(existing_config, indent=4, sort_keys=True), INFO_STYLE, lpad=4))
if not configuration and not add:
return
new_config = existing_config
if configuration:
new_config = configuration
if add:
new_config.update(add)
new_config = json.dumps(new_config, indent=4, sort_keys=True)
print("")
print(style_text('new config:', TITLE_STYLE, pad=2))
print(style_multiline(new_config, INFO_STYLE, lpad=4))
print("")
# Get permission to replace the existing configuration.
if input(style_text("Replace configuration? (y/n): ", INPUT_STYLE)).lower() not in ('y', 'yes'):
print(" ...Cancel")
return
open(conf, mode='w').write(new_config)
print(style_text(' ...Saved', INPUT_STYLE, pad=2))
def clusterstate(zookeepers, all_hosts, node='clusterstate.json'):
"""
Print clusterstatus.json contents
"""
zk_hosts = parse_zk_hosts(zookeepers, all_hosts=all_hosts)
print('')
# we'll keep track of differences for this node between zookeepers.
# because zookeeper keeps all nodes in-sync, there shouldn't be differences between the
# nodes... but there might be if you are having replication problems.
first_state = None
for host in zk_hosts:
# connect to zookeeper
zk = KazooClient(hosts=host, read_only=True)
try:
zk.start()
except KazooTimeoutError as e:
print('ZK Timeout host: [%s], %s' % (host, e))
continue
# If the node doesn't exist... just let the user know.
if not zk.exists(node):
node_str = style_text(node, BLUE_STYLE, restore=ERROR_STYLE)
zk_str = style_text(host, BLUE_STYLE, restore=ERROR_STYLE)
print(style_text('No node [%s] on %s' % (node_str, zk_str), ERROR_STYLE))
continue
print(style_header('Response From: %s [%s]' % (host, node)))
state = bytes.decode(zk.get(node)[0])
if not first_state:
first_state = state
lines_1 = first_state.split('\n')
lines_2 = state.split('\n')
# Print the content of the file, highlighting lines that do not match between hosts.
for idx, line in enumerate(lines_2):
if len(lines_1)-1 < idx or line != lines_1[idx]:
style = DIFF_STYLE
else:
style = INFO_STYLE
print(style_text(line, style, lpad=4))
zk.stop()
def show_node(zookeepers, node, all_hosts=False, leader=False, debug=False, interactive=False):
"""
Show a zookeeper node on one or more servers.
If the node has children, the children are displayed,
If the node doesn't have children, the contents of the node are displayed.
If leader is specified, only the leader is queried for the node
If all_hosts is specified, each zk host provided is queried individually... if the results
are different between nodes, the child nodes that are different will be highlighted.
returns children of the requested node.
"""
zk_hosts = parse_zk_hosts(zookeepers, all_hosts=all_hosts, leader=leader)
# we'll keep track of differences for this node between zookeepers.
# because zookeeper keeps all nodes in-sync, there shouldn't be differences between the
# nodes... but there might be if you are having replication problems.
all_children = set()
for host in zk_hosts:
# connect to zookeeper
zk = KazooClient(hosts=host, read_only=True)
try:
zk.start()
except KazooTimeoutError as e:
print('ZK Timeout host: [%s], %s' % (host, e))
continue
print('')
# If the node doesn't exist... just let the user know.
if not zk.exists(node):
node_str = style_text(node, BLUE_STYLE, restore=ERROR_STYLE)
zk_str = style_text(host, BLUE_STYLE, restore=ERROR_STYLE)
print(style_text('No node [%s] on %s' % (node_str, zk_str), ERROR_STYLE, pad=2))
continue
if len(zk_hosts) == 1:
print(style_header('Response From: %s [%s]' % (host, node)))
else:
print(style_text('Response From: %s [%s]' % (host, node), HEADER_STYLE, pad=2))
# Query ZooKeeper for the node.
content, zstats = zk.get(node)
# print(dir(zstats))
# print(getattr(zstats, 'czxid'))
# --- Print Node Stats -------------------------
znode_unix_time = zstats.mtime / 1000
#
# local_timezone = time.tzname[time.localtime().tm_isdst] DO NOT USE THIS
is_dst = time.daylight and time.localtime().tm_isdst
offset_hour = time.altzone / 3600 if is_dst else time.timezone / 3600
timezone = 'Etc/GMT%+d' % offset_hour
mod_time = pendulum.fromtimestamp(znode_unix_time, timezone)
mod_time = mod_time.in_timezone(timezone)
local_time_str = mod_time.to_day_datetime_string()
version = str(zstats.version) or str(zstats.cversion)
if debug:
dbg_rjust = max(map(len, ZNODE_DEBUG_ATTRS))
print(style_text("Node Stats:", TITLE_STYLE, lpad=2))
for attr_name in ZNODE_DEBUG_ATTRS:
attr_val = getattr(zstats, attr_name)
if 'time' in attr_name and attr_val > 1:
attr_val = pendulum.fromtimestamp(int(attr_val) / 1000, timezone).in_timezone(timezone).to_day_datetime_string()
print(style_text(attr_name, STATS_STYLE, lpad=4, rjust=dbg_rjust), style_text(attr_val, INPUT_STYLE))
else:
print(style_text('Modified:', STATS_STYLE, lpad=2, rjust=9), style_text(local_time_str, INPUT_STYLE))
print(style_text('Version:', STATS_STYLE, lpad=2, rjust=9), style_text(version, INPUT_STYLE))
print('')
# --- Print Child Nodes, or Node Content -------
if not zstats.numChildren:
zcontent = bytes.decode(content or b'')
if zcontent:
print(style_text("Contents:", TITLE_STYLE, lpad=2))
print(style_multiline(zcontent, INFO_STYLE, lpad=4))
else:
print(style_text("... No child nodes", INFO_STYLE, lpad=2))
else:
children = zk.get_children(node)
children.sort()
cwidth = max([len(c) for c in children])
print(style_text("Child Nodes:", TITLE_STYLE, lpad=2))
for ch in children:
child_path = node+ch if node.endswith('/') else node+'/'+ch
_, czstats = zk.get(child_path)
if all_children and ch not in all_children:
# if this child is unique / different to this zk host, color it differently.
print(style_text(ch, INPUT_STYLE, lpad=4, ljust=cwidth), end='')
else:
print(style_text(ch, INFO_STYLE, lpad=4, ljust=cwidth), end='')
mod_ver = czstats.version or czstats.cversion
print(style_text('v:', STATS_STYLE, lpad=3), style_text(str(mod_ver), INPUT_STYLE, ljust=3), end='')
print(style_text('eph:', STATS_STYLE, lpad=3), style_text('yes' if czstats.ephemeralOwner else 'no', INPUT_STYLE), end='')
mod_datetime = datetime.utcfromtimestamp(czstats.mtime / 1000)
mod_elapsed = datetime.utcnow() - mod_datetime
if mod_elapsed >= timedelta(hours=48):
mod_style = ''
elif mod_elapsed >= timedelta(hours=2):
mod_style = INPUT_STYLE
elif mod_elapsed >= timedelta(minutes=10):
mod_style = GREEN_STYLE
elif mod_elapsed >= timedelta(minutes=1):
mod_style = INFO_STYLE
else:
mod_style = STATS_STYLE
if mod_datetime.year != 1970:
mod_desc = pendulum.fromtimestamp(czstats.mtime / 1000, 'UTC').diff_for_humans()
else:
mod_desc = 'none'
print(style_text('mod:', STATS_STYLE, lpad=3), style_text(mod_desc, mod_style))
zk.stop()
all_children = all_children | set(children)
return list(all_children)
def watch(zookeepers, node, leader=False):
"""
Watch a particular zookeeper node for changes.
"""
zk_hosts = parse_zk_hosts(zookeepers, leader=leader)[0]
def my_listener(state):
if state == KazooState.LOST:
# Register somewhere that the session was lost
print(style_text('Connection Lost', ERROR_STYLE, pad=2))
elif state == KazooState.SUSPENDED:
# Handle being disconnected from Zookeeper
print(style_text('Connection Suspended', ERROR_STYLE, pad=2))
else:
# Handle being connected/reconnected to Zookeeper
# what are we supposed to do here?
print(style_text('Connected/Reconnected', INFO_STYLE, pad=2))
zk = KazooClient(hosts=zk_hosts, read_only=True)
try:
zk.start()
except KazooTimeoutError as e:
print('ZK Timeout host: [%s], %s' % (host, e))
zk_ver = '.'.join(map(str, zk.server_version()))
zk_host = zk.hosts[zk.last_zxid]
zk_host = ':'.join(map(str, zk_host))
zk.add_listener(my_listener)
# check if the node exists ...
if not zk.exists(node):
node_str = style_text(node, BLUE_STYLE, restore=ERROR_STYLE)
zk_str = style_text(zk_host, BLUE_STYLE, restore=ERROR_STYLE)
print('')
print(style_text('No node [%s] on %s' % (node_str, zk_str), ERROR_STYLE, pad=2))
return
print(style_header('Watching [%s] on %s v%s' % (node, zk_host, zk_ver)))
# put a watch on my znode
children = zk.get_children(node)
# If there are children, watch them.
if children or node.endswith('/'):
@zk.ChildrenWatch(node)
def watch_children(children):
global WATCH_COUNTER
WATCH_COUNTER += 1
if WATCH_COUNTER <= 1:
child_watch_str = 'Child Nodes:'
else:
child_watch_str = 'Node Watch Event: '
children.sort()
print('')
print(style_text(child_watch_str, TITLE_STYLE))
for ch in children:
print(style_text(ch, INFO_STYLE, lpad=2))
print('')
else:
# otherwise watch the node itself.
@zk.DataWatch(node)
def watch_data(data, stat, event):
global WATCH_COUNTER
WATCH_COUNTER += 1
data = data.decode('utf-8')
if WATCH_COUNTER <= 1:
data_watch_str = 'Content: (%s)'
else:
data_watch_str = 'Data Watch Event: (v%s)'
print('')
print(style_text(data_watch_str % stat.version, TITLE_STYLE))
print(style_multiline(data, INFO_STYLE, lpad=2))
print('')
CHAR_WIDTH = 60
counter = 0
while True:
# draw a .... animation while we wait, so the user knows its working.
counter += 1
if not counter % CHAR_WIDTH:
print('\r', ' '*CHAR_WIDTH, '\r', end='')
print(style_text('.', INFO_STYLE), end='')
time.sleep(0.05)
zk.stop()
def admin_command(zookeepers, command, all_hosts=False, leader=False):
"""
Execute an administrative command
"""
command = text_type(command) # ensure we have unicode py2/py3
zk_hosts = parse_zk_hosts(zookeepers, all_hosts=all_hosts, leader=leader)
for host in zk_hosts:
print('')
# use netcat, so we don't modify any transaction values by executing an admin command.
strcmd = command.encode('utf-8')
hostaddr, port = host.split(':')
status = netcat(hostaddr, port, strcmd)
if len(zk_hosts) == 1:
print(style_header('ZK Command [%s] on %s' % (command, host)))
else:
print(style_text('ZK Command [%s] on %s' % (command, host), HEADER_STYLE, pad=2))
print(style_multiline(status, INFO_STYLE, lpad=2))
def sessions_reset(zookeepers, server_id=None, ephemeral=False, solr=False):
"""
Reset connections/sessions to Zookeeper.
"""
# TODO support --clients / --solrj option ?
if server_id:
zk_host = parse_zk_hosts(zookeepers, server_id=server_id)[0]
else:
zk_host = parse_zk_hosts(zookeepers, leader=True)[0]
def get_all_sessions(zk_client):
# Get connection/session information
conn_results = multi_admin_command(zk_client, b'cons')
conn_data = map(parse_admin_cons, conn_results)
conn_data = list(itertools.chain.from_iterable(conn_data))
# Get a dict of all valid zookeeper sessions as integers
return {con['sid']: con['client'][0] for con in conn_data if con.get('sid')}
search = []
if ephemeral:
search += ["ephemeral sessions"]
else:
search += ["sessions"]
if solr:
if search:
search += ['that are']
search += ['solr servers']
if server_id:
search += ['on serverId: %d (%s)' % (server_id, zk_host)]
else:
search += ['on all ensemble members']
print(style_header('RESETTING %s' % ' '.join(search)))
hostaddr, port = zk_host.split(':')
dump = netcat(hostaddr, port, b'dump')
dump_data = parse_admin_dump(dump)
all_sessions = get_all_sessions(KazooClient(zookeepers))
sessions_before = set(all_sessions.keys())
sessions = []
if server_id is not None:
sessions = sorted(all_sessions.keys())
else:
sessions = sorted(all_sessions.keys())
if ephemeral:
sessions = [s for s in sessions if s in dump_data['ephemerals']]
if solr:
sessions = healthy.get_solr_session_ids(KazooClient(zookeepers))
if not sessions:
print(style_text("No sessions matching criteria", STATS_STYLE, lpad=2))
return
##################################
### THREADING IMPLEMENTATION #####
SESSION_TIMEOUT = 30
print(style_text("Sessions will now be reset. This will take %d secs\n" % SESSION_TIMEOUT, TITLE_STYLE, lpad=2))
tlock = threading.Lock()
def break_session(zookeepers, session):
with tlock:
s_style = style_text("%s" % str(session_id), STATS_STYLE)
print(style_text("Resetting session: %s(%s)" % (s_style, all_sessions[session_id]), INFO_STYLE, lpad=2))
zk = None
try:
zk = KazooClient(hosts=zk_host, client_id=(session_id, b''), max_retries=3, retry_delay=0.5)
zk.start(SESSION_TIMEOUT)
zk.get('/live_nodes')
time.sleep(SESSION_TIMEOUT)
except KazooTimeoutError as e:
with tlock:
print('ZK Timeout host: [%s], %s' % (zk_host, e))
except Exception as e:
with tlock:
print(style_text("Error Resetting session: %s" % e, ERROR_STYLE, lpad=2))
finally:
if zk:
zk.stop()
with tlock:
print(style_text("Disconnect session: %s" % s_style, INFO_STYLE, lpad=2))
wait = []
for session_id in sessions:
t = Thread(target=break_session, args=(zookeepers, session_id))
t.start()
wait.append(t)
# wait for all threads to finish
for wait_thread in wait:
wait_thread.join()
#########################################
# wait some time for sessions to come back.
time.sleep(5)
sessions_after = get_all_sessions(KazooClient(zookeepers))
sessions_kept = sessions_before & set(sessions_after.keys())
print(style_text("\nSESSIONS BEFORE RESET (%d)" % len(sessions_before), TITLE_STYLE, lpad=2))
for sid in sorted(sessions_before):
if sid in sessions_kept:
print(style_text(str(sid), INFO_STYLE, lpad=4))
else:
print(style_text(str(sid), STATS_STYLE, lpad=4))
print(style_text("\nSESSIONS AFTER RESET (%d)" % len(sessions_after), TITLE_STYLE, lpad=2))
for sid in sorted(sessions_after):
if sid in sessions_kept:
print(style_text(str(sid), INFO_STYLE, lpad=4))
else:
print(style_text(str(sid)+'(new)', STATS_STYLE, lpad=4))
def health_check(zookeepers):
zk_client = KazooClient(zookeepers)
for check in (check_zookeeper_connectivity,
check_ephemeral_sessions_fast,
check_ephemeral_znode_consistency,
check_ephemeral_dump_consistency,
check_watch_sessions_clients,
check_watch_sessions_duplicate,
check_queue_sizes,
check_watch_sessions_valid,
check_overseer_election):
print(style_text("RUNNING: %s" % check.__name__, TITLE_STYLE, lpad=2))
try:
errors = check(zk_client)
except Exception as e:
print(healthy.get_exception_traceback())
print(style_text("ERROR RUNNING %s" % check.__name__, ERROR_STYLE, lpad=4))
if not errors:
print(style_text("NO ERRORS in %s" % check.__name__, STATS_STYLE, lpad=4))
else:
print(style_text("ERRORS from %s" % check.__name__, INFO_STYLE, lpad=4))
for err in errors:
print(style_text(err, ERROR_STYLE, lpad=8))
def cli():
"""
Build the CLI menu
"""
def verify_json(arg):
try:
data = json.loads(arg)
except ValueError as e:
raise argparse.ArgumentTypeError("invalid json: %s" % e)
return data
def verify_env(arg):
try:
env_config = config()
except ValueError as e:
raise argparse.ArgumentTypeError('Cannot read configuration %s' % e)
if arg not in env_config:
raise argparse.ArgumentTypeError('Invalid Environment %s ... Valid: [%s]' % (arg, ', '.join(list(env_config))))
return env_config[arg]
def verify_zk(arg):
hosts = arg.split('/')[0]
hosts = hosts.split(',')
if ' ' in arg:
raise argparse.ArgumentTypeError("There should be no spaces between zookeeper hosts: %s" % arg)
for zk in hosts:
hostport = zk.split(':')
if len(hostport) == 1:
raise argparse.ArgumentTypeError("Port is required for: %s... default: 2181" % zk)
else:
_, port = hostport
if not port.isdigit():
raise argparse.ArgumentTypeError("Port must be numeric for: %s" % zk)
return arg
def verify_add(arg):
if '=' not in arg:
raise argparse.ArgumentTypeError("You must use the syntax ENVIRONMENT=127.0.0.1:2181")
env, zk = arg.split('=')
verify_zk(zk)
return {env.strip(): zk.strip()}
def verify_node(arg):
if not arg.startswith('/'):
raise argparse.ArgumentTypeError("Zookeeper nodes start with /")
return arg
def verify_cmd(arg):
if arg.lower() not in ZK_ADMIN_CMDS:
raise argparse.ArgumentTypeError("Invalid command '%s'... \nValid Commands: %s" % (arg, '\n '.join(ZK_ADMIN_CMDS)))
return arg.lower()
# Top level parser
parser = argparse.ArgumentParser(prog=__application__)
subparsers = parser.add_subparsers(help='--- available sub-commands ---', dest='command')
try:
env_config = config()
except ValueError:
env_config = {}
zk_argument = {
'args': ['-z', '--zookeepers'],
'kwargs': {
'required': False,
'default': None,
'type': verify_zk,
'help': ('Zookeeper connection string, with optional root... \n'
'eg. 127.0.0.1:2181 or 10.10.1.5:2181/root \n'
'NOTE: --zookeepers or --env must be specified!')
}
}
env_argument = {
'args': ['-e', '--env'],
'kwargs': {
'required': False,
'default': None,
'type': verify_env,
'help': ('Connect to zookeeper using one of the configured environments. \n'
'Note: to view or modify config use the "%s" sub-command. \n'
'Configured Environments: [%s]' % (COMMANDS['config'][0], ', '.join(list(env_config))))
}
}
all_argument = {
'args': ['-a', '--all-hosts'],
'kwargs': {
'default': False,
'required': False,
'action': 'store_true',
'help': 'Show response from all zookeeper hosts'
}
}
leader_argument = {
'args': ['-l', '--leader'],
'kwargs': {
'default': False,
'required': False,
'action': 'store_true',
'help': 'Query ensemble leader only'
}
}
debug_argument = {
'args': ['--debug'],
'kwargs': {
'default': False,
'required': False,
'action': 'store_true',
'help': 'Show debug stats'
}
}
# -- SOLR - LIVE NODES -----------
cmd, about = COMMANDS['solr']
solr = subparsers.add_parser(cmd, help=about)
solr.add_argument(*zk_argument['args'], **zk_argument['kwargs'])
solr.add_argument(*env_argument['args'], **env_argument['kwargs'])
solr.add_argument(*all_argument['args'], **all_argument['kwargs'])
solr.add_argument('-b', '--browser', default=False, required=False,
action='store_true', help='Open solr-admin in web-browser for resolved host')
solr.add_argument(*leader_argument['args'], **leader_argument['kwargs'])
# -- SOLR - CLUSTERSTATE -------
cmd, about = COMMANDS['clusterstate']
cluster = subparsers.add_parser(cmd, help=about)
cluster.add_argument(*zk_argument['args'], **zk_argument['kwargs'])
cluster.add_argument(*env_argument['args'], **env_argument['kwargs'])
cluster.add_argument(*all_argument['args'], **all_argument['kwargs'])
# -- WATCH ----------------------
cmd, about = COMMANDS['watch']
watches = subparsers.add_parser(cmd, help=about)
watches.add_argument('node', help='Zookeeper node', type=verify_node)
watches.add_argument(*zk_argument['args'], **zk_argument['kwargs'])
watches.add_argument(*env_argument['args'], **env_argument['kwargs'])
watches.add_argument(*leader_argument['args'], **leader_argument['kwargs'])
# -- LS -------------------------
cmd, about = COMMANDS['ls']
ls = subparsers.add_parser(cmd, help=about)
ls.add_argument('node', help='Zookeeper node', type=verify_node) # positional argument
ls.add_argument(*zk_argument['args'], **zk_argument['kwargs'])
ls.add_argument(*env_argument['args'], **env_argument['kwargs'])
ls.add_argument(*all_argument['args'], **all_argument['kwargs'])
ls.add_argument(*leader_argument['args'], **leader_argument['kwargs'])
ls.add_argument(*debug_argument['args'], **debug_argument['kwargs'])
# -- STATUS ---------------------
cmd, about = COMMANDS['status']
status = subparsers.add_parser(cmd, help=about)
status.add_argument(*zk_argument['args'], **zk_argument['kwargs'])
status.add_argument(*env_argument['args'], **env_argument['kwargs'])
status.add_argument(*leader_argument['args'], **leader_argument['kwargs'])
# -- ADMIN ---------------------
cmd, about = COMMANDS['admin']
admin = subparsers.add_parser(cmd, help=about)
admin.add_argument('cmd', help='ZooKeeper Administrative Command', type=verify_cmd)
admin.add_argument(*zk_argument['args'], **zk_argument['kwargs'])
admin.add_argument(*env_argument['args'], **env_argument['kwargs'])
admin.add_argument(*all_argument['args'], **all_argument['kwargs'])
admin.add_argument(*leader_argument['args'], **leader_argument['kwargs'])
# -- CONFIG ---------------------
cmd, about = COMMANDS['config']
envs = subparsers.add_parser(cmd, help=about)
envs.add_argument('-c', '--configuration', default=None, required=False, type=verify_json,
help='Set the environments configuration located at %s, string passed must be valid json ' % config_path())
envs.add_argument('-a', '--add', default=None, required=False, type=verify_add,
help=('add/update an environment variable using the syntax KEY=VALUE,\n'
'eg. DEV=zk01.dev.com:2181,zk02.dev.com:2181'))
# -- SESSIONS RESET -------------
cmd, about = COMMANDS['sessions']
session = subparsers.add_parser(cmd, help=about)
session.add_argument(*zk_argument['args'], **zk_argument['kwargs'])
session.add_argument(*env_argument['args'], **env_argument['kwargs'])
session.add_argument('-id', '--server-id', type=int, default=None, required=False,
help='reset connections only for the matched server id, if not specified ALL sessions are reset')
session.add_argument('--ephemeral', action='store_true', required=False,
help='reset sessions with ephemeral nodes only')
session.add_argument('--solr', action='store_true', required=False,
help='reset sessions from solr nodes only')
# -- HEALTH -------------------
cmd, about = COMMANDS['health']
session = subparsers.add_parser(cmd, help=about)
session.add_argument(*zk_argument['args'], **zk_argument['kwargs'])
session.add_argument(*env_argument['args'], **env_argument['kwargs'])
return parser
def main(argv=None):
colorama.init(autoreset=True) # initialize color handling for windows terminals.
parser = cli()
args = vars(parser.parse_args(argv[1:]))
cmd = args['command']
if (('zookeepers' in args and 'env' in args)
and not any((args['env'], args['zookeepers']))):
print(" 'zookeepers', or 'env' argument is required", end='')
print(' ', style_text("Add --help to your command for help", ERROR_STYLE, pad=1))
return
if args.get('env') and not args.get('zookeepers'):
# when env is specified and valid, but zookeepers is not
# env should have been resolved to a zookeeper host string.
args['zookeepers'] = args['env']
# -- COMMAND HANDLERS --------------------------------------------------------------------------
if cmd == COMMANDS['solr'][0]:
hosts = show_node(zookeepers=args['zookeepers'], node=ZK_LIVE_NODES, all_hosts=args['all_hosts'], leader=args['leader'])
if args.get('browser') and hosts:
solr_admin = choice(hosts).replace('_solr', '/solr')
# C:\Users\Scott\AppData\Local\Google\Chrome\Application\chrome.exe
# webbrowser._tryorder
webbrowser.get().open('http://'+solr_admin, new=NEW_TAB, autoraise=True)
elif cmd == COMMANDS['clusterstate'][0]:
clusterstate(zookeepers=args['zookeepers'], all_hosts=args['all_hosts'])
elif cmd == COMMANDS['ls'][0]:
show_node(zookeepers=args['zookeepers'], node=args['node'], all_hosts=args['all_hosts'], leader=args['leader'], debug=args['debug'])
elif cmd == COMMANDS['watch'][0]:
watch(zookeepers=args['zookeepers'], node=args['node'], leader=args['leader'])
elif cmd == COMMANDS['config'][0]:
update_config(configuration=args['configuration'], add=args['add'])
elif cmd == COMMANDS['status'][0]:
# TODO improve this command so it is a combination of mntr, stat, cons, and ruok
admin_command(zookeepers=args['zookeepers'], command='stat', leader=args['leader'])
elif cmd == COMMANDS['admin'][0]:
admin_command(zookeepers=args['zookeepers'], command=args['cmd'], all_hosts=args['all_hosts'], leader=args['leader'])
elif cmd == COMMANDS['sessions'][0]:
sessions_reset(zookeepers=args['zookeepers'], server_id=args['server_id'], ephemeral=args['ephemeral'], solr=args['solr'])
elif cmd == COMMANDS['health'][0]:
health_check(zookeepers=args['zookeepers'])
else:
parser.print_help()
print("")
if __name__ == '__main__':
try:
sys.exit(main(sys.argv))
except KeyboardInterrupt:
sys.exit('\n')
|
bendemott/solr-zkutil
|
solrzkutil/__init__.py
|
Python
|
mit
| 38,530
|
\begin{tabular}{ c c c c c c }
Program & Size & Allocs & Runtime & Elapsed & TotalMem\\
\hline
\end{tabular}
\begin{verbatim}
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts"," -fwrapv -fno-builtin")
,("C compiler command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\../mingw/bin/gcc.exe")
,("C compiler flags","")
,("C compiler link flags"," ")
,("C compiler supports -no-pie","YES")
,("Haskell CPP command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\../mingw/bin/gcc.exe")
,("Haskell CPP flags","-E -undef -traditional")
,("ld command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\../mingw/bin/ld.exe")
,("ld flags","")
,("ld supports compact unwind","YES")
,("ld supports build-id","YES")
,("ld supports filelist","NO")
,("ld is GNU ld","YES")
,("ar command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\../mingw/bin/ar.exe")
,("ar flags","q")
,("ar supports at file","YES")
,("ranlib command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\../mingw/bin/ranlib.exe")
,("touch command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib/bin/touchy.exe")
,("dllwrap command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\../mingw/bin/dllwrap.exe")
,("windres command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\../mingw/bin/windres.exe")
,("libtool command","C:/ghc-dev/msys64/usr/bin/libtool")
,("perl command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\../perl/perl.exe")
,("cross compiling","NO")
,("target os","OSMinGW32")
,("target arch","ArchX86_64")
,("target word size","8")
,("target has GNU nonexec stack","False")
,("target has .ident directive","True")
,("target has subsections via symbols","False")
,("target has RTS linker","YES")
,("Unregisterised","NO")
,("LLVM llc command","llc")
,("LLVM opt command","opt")
,("LLVM clang command","clang")
,("Project version","8.9.20190223")
,("Project Git commit id","44ad7215a11cb49651233646c30ced9eb72eaad2")
,("Booter version","8.4.3")
,("Stage","2")
,("Build platform","x86_64-unknown-mingw32")
,("Host platform","x86_64-unknown-mingw32")
,("Target platform","x86_64-unknown-mingw32")
,("Have interpreter","YES")
,("Object splitting supported","NO")
,("Have native code generator","YES")
,("Support SMP","YES")
,("Tables next to code","YES")
,("RTS ways","l debug thr thr_debug thr_l ")
,("RTS expects libdw","NO")
,("Support dynamic-too","NO")
,("Support parallel --make","YES")
,("Support reexported-modules","YES")
,("Support thinning and renaming package flags","YES")
,("Support Backpack","YES")
,("Requires unified installed package IDs","YES")
,("Uses package keys","YES")
,("Uses unit IDs","YES")
,("Dynamic by default","NO")
,("GHC Dynamic","NO")
,("GHC Profiled","NO")
,("Leading underscore","NO")
,("Debug on","False")
,("LibDir","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib")
,("Global Package DB","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd7\\inplace\\lib\\package.conf.d")
]
\end{verbatim}
|
Mistuke/GhcWindowsBuild
|
nofib-reports/report.2019.02.23.tex
|
TeX
|
mit
| 3,239
|
ml.module('three.extras.objects.ImmediateRenderObject')
.requires('three.Three',
'three.core.Object3D')
.defines(function(){
/**
* @author alteredq / http://alteredqualia.com/
*/
THREE.ImmediateRenderObject = function ( ) {
THREE.Object3D.call( this );
this.render = function ( renderCallback ) { };
};
THREE.ImmediateRenderObject.prototype = Object.create( THREE.Object3D.prototype );
});
|
zfedoran/modulite-three.js
|
example/js/threejs/src/extras/objects/ImmediateRenderObject.js
|
JavaScript
|
mit
| 411
|
---
author: robmyers
comments: false
date: 2004-01-28 03:00:43+00:00
layout: post
slug: minara-2
title: Minara
wordpress_id: 83
categories:
- Projects
---
[Minara](/minara/) is going well. Basic graphics and buffers are implemented so I'm onto the Lisp code for event and tool handling now. I've written utilities to convert to and from Minara format and PostScript, and Minara can render its own logo. :-) Just lots of testing to do now...
|
robmyers/robmyers.org
|
_posts/2004-01-28-minara-2.md
|
Markdown
|
mit
| 448
|
import cv2
import numpy as np
import sys
def reshapeImg(img, l, w, p):
# reshape image to (l, w) and add/remove pixels as needed
while len(img) % p != 0:
img = np.append(img, 255)
olds = img.size / p
news = l*w
if news < olds:
img = img[:p*news]
elif news > olds:
img = np.concatenate( (img, np.zeros(p*(news-olds))) )
return img.reshape(l, w, p)
if __name__ == "__main__":
# Usage: python create-image2.py <height> <width> <array>
# for random image do <array> = random
# array format string = xyz...
l = int(sys.argv[1])
w = int(sys.argv[2])
s = sys.argv[3]
# create random image if no array given
if s == "random":
arr = np.random.randint(256, size=l*w*3)
else:
arr = np.asarray([int(s[i:i+3]) for i in range(0, len(s)-3, 3)])
# write image to new file
cv2.imwrite("img.png", reshapeImg(arr, l, w, 3))
|
andykais/painting-base2
|
examples/create-image2.py
|
Python
|
mit
| 839
|
import numpy
import pandas
import statsmodels.api as sm
'''
In this exercise, we will perform some rudimentary practices similar to those of
an actual data scientist.
Part of a data scientist's job is to use her or his intuition and insight to
write algorithms and heuristics. A data scientist also creates mathematical models
to make predictions based on some attributes from the data that they are examining.
We would like for you to take your knowledge and intuition about the Titanic
and its passengers' attributes to predict whether or not the passengers survived
or perished. You can read more about the Titanic and specifics about this dataset at:
http://en.wikipedia.org/wiki/RMS_Titanic
http://www.kaggle.com/c/titanic-gettingStarted
In this exercise and the following ones, you are given a list of Titantic passengers
and their associated information. More information about the data can be seen at the
link below:
http://www.kaggle.com/c/titanic-gettingStarted/data.
For this exercise, you need to write a simple heuristic that will use
the passengers' gender to predict if that person survived the Titanic disaster.
You prediction should be 78% accurate or higher.
Here's a simple heuristic to start off:
1) If the passenger is female, your heuristic should assume that the
passenger survived.
2) If the passenger is male, you heuristic should
assume that the passenger did not survive.
You can access the gender of a passenger via passenger['Sex'].
If the passenger is male, passenger['Sex'] will return a string "male".
If the passenger is female, passenger['Sex'] will return a string "female".
Write your prediction back into the "predictions" dictionary. The
key of the dictionary should be the passenger's id (which can be accessed
via passenger["PassengerId"]) and the associated value should be 1 if the
passenger survied or 0 otherwise.
For example, if a passenger is predicted to have survived:
passenger_id = passenger['PassengerId']
predictions[passenger_id] = 1
And if a passenger is predicted to have perished in the disaster:
passenger_id = passenger['PassengerId']
predictions[passenger_id] = 0
You can also look at the Titantic data that you will be working with
at the link below:
https://www.dropbox.com/s/r5f9aos8p9ri9sa/titanic_data.csv
'''
def simple_heuristic(file_path):
predictions = {}
df = pandas.read_csv(file_path)
for passenger_index, passenger in df.iterrows():
passenger_id = passenger['PassengerId']
if passenger['Sex'] == 'female':
predictions[passenger_id] = 1
else:
predictions[passenger_id] = 0
#print predictions
return predictions
|
rmhyman/DataScience
|
Lesson1/titanic_data_heuristic1.py
|
Python
|
mit
| 2,937
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh-TW">
<head>
<title>æè²é¨ãæèªå
¸ã</title>
<meta http-equiv="Pragma" content="no-cache">
<meta name="AUTHOR" content="FlySheet Information Services, Inc.">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel=stylesheet type="text/css" href="/cydic/styles.css?v=1331799287.0">
</head>
<body bgcolor=snow >
<form method=post name=main action="/cgi-bin/cydic/gsweb.cgi">
<script language=JavaScript src="/cydic/prototype.js?v=1234435343.0"></script>
<script language=JavaScript src="/cydic/swfobject.js?v=1215332700.0"></script>
<script language=JavaScript src="/cydic/dicsearch.js?v=1306830621.0"></script>
<script language=JavaScript src="/cydic//yui/yui2.3.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script language=JavaScript src="/cydic/cydicpage/mycookie.js?v=1247566755.0"></script>
<link rel="stylesheet" type="text/css" href="/cydic/cydicpage/cyt.css?v=1398321301.0" />
<link rel="stylesheet" type="text/css" href="/cydic/fontcss.css?v=1301307888.0" />
<link rel="stylesheet" type="text/css" href="/cydic/fulu_f.css?v=1298448600.0" />
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<input type=hidden name="o" value="e0">
<input type=hidden name="ccd" value="xxxxxx">
<input type=hidden name="sec" value="sec3">
<SCRIPT language=JavaScript1.1>
<!--
exiturl = "1";
var showcountdown = ""
var exitalerturl = "/cydic/index.htm";
exitalertmsg = "å æ¨éç½®è¶
é30åéï¼ç³»çµ±å·²èªåç»åºï¼æ¡è¿å次ç»å
¥ä½¿ç¨ãè«æä¸ã確å®ãå系統é¦é ï¼ææãåæ¶ãééè¦çªã";
var secondsleft = 30 * 60;
var showntimeout = false; // has the alert been shown?
var timewin; // handle for the timeout warning window
var remind = 5 * 60; // remind user when this much time is left
function fsUnload() {
cleartimeout();
// BEGIN: FSPage plugin for the JS-onUnload() event.
// END: FSPage plugin for the JS-onUnload() event.
}
function cleartimeout() {
if ((timewin != null) && !(timewin.closed))
timewin.close();
}
function showtimeout() {
if (secondsleft <= 0){
if (exiturl != ""){
if (exitalertmsg!=""){
if (confirm(exitalertmsg)){
window.location.href = exitalerturl;
}
else{
window.close();
}
}
else{
parent.location.href = exiturl;
}
}
//self.close();
return;
}
if (showntimeout == false && secondsleft > 0 && secondsleft <= remind) {
}
var minutes = Math.floor (secondsleft / 60);
var seconds = secondsleft % 60;
if (seconds < 10)
seconds = "0" + seconds;
if (showcountdown){
window.status = toLatin("last time:" + minutes + ":" + seconds);
}
var period = 1;
setTimeout("showtimeout()", period*1000);
secondsleft -= period;
}
// -->
window.onload = function (){
showtimeout();
}
</SCRIPT>
<script language="JavaScript"> var _version = 1.0 </script>
<script language="JavaScript1.1"> _version = 1.1 </script>
<script language="JavaScript1.2"> _version = 1.2 </script>
<script language="JavaScript1.1">
function toLatin(x) {
if (_version >= 1.2 && ("zh" == "fr" || "zh" == "es")) {
var pattern = new RegExp("&#([0-9]+);");
while ((result = pattern.exec(x)) != null) {
x = x.replace(result[0], String.fromCharCode(RegExp.$1));
}
x = x.replace(/ /g, ' ');
}
return (x);
}
</script>
<div id="pageall">
<div id="gamelink">
<a href="/cydic/flash/game/flash001/game.html" target="_blank" title="æèªéæ²">æèªéæ²</a>
<a href="/cydic/flash/game/flash002/game2.html" target="_blank" title="æèªéæ²">æèªéæ²</a>
</div>
<div id="top">
<h1><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&func=diccydicfunc.cydicexit" title="æè²é¨æèªå
¸"><img src="/cydic/images/logo_text.jpg" alt="æè²é¨æèªå
¸" align="left" /></a></a></h1>
<p>
<span class="map">
<a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec10&init=1&active=webguide" title="ç¶²ç«å°è¦½">ç¶²ç«å°è¦½</a>â
<a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&func=diccydicfunc.cydic_switch" title="åæç">åæç</a>
</span>
<span class="een"> <a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&&sec=sec1&index=1&active=index&switchlanguage=eng" title="ENGLISH VERSION"></a></span>
</p>
<ul>
<li><a title="3a up ins" accessKey="u" href="#" style="position: absolute;top: 10px; left:-30px;color:#E6D29F;" >
<font class="fontcenter">:::</font></a></li>
<li class="link1"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&func=diccydicfunc.cydicexit" title="é¦é ">é¦é </a></li>
<li class="link2"><a href="/cydic/userguide/userguide1/userguide_top.htm" title="使ç¨èªªæ" target=_blank>使ç¨èªªæ</a></li>
<li class="link3"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec8&init=1&active=editor" title="編輯說æ">編輯說æ</a></li>
<li class="link4"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec6&ducfulu=1&init=1&active=dicfulu&dicfululv1=1" title="è¾å
¸éé">è¾å
¸éé</a></li>
<li class="link5"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec7&active=qadb&brwtype=browse&brwval=id%3D%27QR%2A%27&disparea=QR&init=1" title="常è¦åé¡">常è¦åé¡</a></li>
</ul>
</div>
<!-- top -->
<div id="menu">
<ul>
<a title="3a menu ins" accessKey="m" href="#" style="position: absolute;top: 40px; left:-30px;color:#969C32;" >
<font class="fontcenter">:::</font></a><li><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&&sec=sec1&index=1&active=index" class="m1clk" title="åºæ¬æª¢ç´¢"></a></li>
<li class="m2" title="é²é檢索"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&&sec=sec3&op=ma&init=1&advance=1&active=advance">é²é檢索</a></li>
<li class="m3" title="ééæª¢ç´¢"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec4&fulu=1&init=1&active=fulu">ééæª¢ç´¢</a></li>
<li class="m4" title="é»åæ¸ç覽"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec5&ebook=1&init=1&active=ebook">é»åæ¸ç覽</a></li>
</ul>
</div>
<a title="3a center ins" accessKey="c" href="#" style="position: absolute;color:red;" >
<font class="fontcenter">:::</font></a>
<div id="contents">
<div id="contents2">
<div class="search">
<input name="basicopt" id="basicopt1" type="radio" value="1" checked/>
<font class="chi_12">æèªæª¢ç´¢</font>
<input name="basicopt" id="basicopt2" type="radio" value="2" />
<font class="chi_12">ç¾©é¡æª¢ç´¢<font>
<input type="text" name="qs0" id="qs0" size="10" class="s1b" onKeypress="return dealsubmitsearch(event, '0', 'qs0', 'è«è¼¸å
¥æª¢ç´¢å串ï¼')" onclick="this.focus();"
onmouseover="this.focus();" onfocus="this.focus();" />
<input name="input" type="submit" class="s2f" value="檢索" onclick="return cydic_basic_cksearch(event, '0', 'qs0', 'è«è¼¸å
¥æª¢ç´¢å串', 'è«è¼¸å
¥æª¢ç´¢åè©ï¼å¯æé
ç¬¦èæª¢ç´¢/è«éµå
¥æèªèªç¾©é¡å¥');;" onKeypress="" />
</div>
<!-- div search -->
<div class="prbtnbar"><table cellspacing=0 cellpadding=2 align=right summary="system htm table"><tr> <td><label for=browse></label><input type=image border=0 align=top hspace=0 style="cursor:hand" alt="æ¨é¡ç覽" onMouseOver="mover(event)" onMouseOut="mout(0,event)" onblur="mout(0,event)" onfocus="mover(event)" name=browse id="browse" src="/cydic/images/browse.gif"></td></tr></table></div>
<table class="fmt0table">
<tr><td colspan=2>
<script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass"><div class="layoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>æèª </b></th><td class="std2"><font class=inverse>é¡§æ¤å¤±å½¼</font></td></tr>
<tr><th class="std1"><b>æ³¨é³ </b></th><td class="std2">ãã¨<sup class="subfont">Ë</sup>ãã<sup class="subfont">Ë</sup>ãããã
ï½<sup class="subfont">Ë</sup></td></tr>
<tr><th class="std1"><b>æ¼¢èªæ¼é³ </b></th><td class="std2"><font class="english_word">gù cÇ shÄ« bÇ</font></td></tr>
<tr><th class="std1"><b>é義 </b></th><td class="std2"></font> 注æéåï¼å»å¿½ç¥äºé£åãè¬ä½æ°æä¸è½å
¨é¢é²å®ãèªæ¬ã鿏ï¼å·äºä¸ï¼èéè¡¡åå³ããå¾å¤ç¨ãé¡§æ¤å¤±å½¼ãæåäºæä¸è½å
¨é¢å
¼é¡§ãâ³ã<a href="/cgi-bin/cydic/gsweb.cgi?o=dcydic&schfmt=text&gourl=%3De0%26sec%3Dsec1%26op%3Dsid%3D%22CW0000001827%22.%26v%3D-1" class="clink" target=_blank>æè¥è¦è</a>ã</font></td></tr>
</td></tr></table></div> <!-- layoutclass_first --><div class="layoutclass_second"><h5 class="btitle2">é¡§æ¤å¤±å½¼</h5>
<div class="leftm"><ul><li class="leftm1n"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec3&op=v&view=37-1&fmt=11" title="é³è®èé義" class=clink></a></li>
<li class="leftm2"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec3&op=v&view=37-1&fmt=12" title="å
¸æº"></a></li>
<li class="leftm8"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec3&op=v&view=37-1&fmt=13" title="å
¸æ
說æ"></a></li>
<li class="leftm3"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec3&op=v&view=37-1&fmt=14" title="æ¸è"></a></li>
<li class="leftm4"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec3&op=v&view=37-1&fmt=15" title="ç¨æ³èªªæ"></a></li>
<li class="leftm6"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec3&op=v&view=37-1&fmt=17" title="辨è"></a></li>
<li class="leftm5"><a href="/cgi-bin/cydic/gsweb.cgi?ccd=xxxxx&o=e0&sec=sec3&op=v&view=37-1&fmt=16" title="åè說æ"></a></li>
</ul></div></div> <!-- layoutclass_second --></div> <!-- layoutclass -->
</td></tr>
</table>
<table class="referencetable1">
<tr><td>
æ¬é ç¶²å︰<input type="text" value="http://dict.idioms.moe.edu.tw/cgi-bin/cydic/gsweb.cgi?o=dcydic&schfmt=text&searchid=CW0000001156" size=60 onclick="select()" readonly="">
</td></tr>
</table>
<input type=hidden name=r1 value=1>
<input type=hidden name=op value="v">
<div class="prbtnbar"><table cellspacing=0 cellpadding=2 align=right summary="system htm table"><tr> <td><label for=browse></label><input type=image border=0 align=top hspace=0 style="cursor:hand" alt="æ¨é¡ç覽" onMouseOver="mover(event)" onMouseOut="mout(0,event)" onblur="mout(0,event)" onfocus="mover(event)" name=browse id="browse" src="/cydic/images/browse.gif"></td></tr></table></div>
</div>
<!-- div contents2 -->
<link rel="stylesheet" type="text/css" href="/cydic/yui/yui2.3.0/build/container/assets/skins/sam/container.css?v=1185870262.0" />
<script language=JavaScript src="/cydic/yui/yui2.3.0/build/utilities/utilities.js?v=1185870262.0"></script>
<script language=JavaScript src="/cydic/yui/yui2.3.0/build/button/button-beta.js?v=1185870256.0"></script>
<script language=JavaScript src="/cydic/yui/yui2.3.0/build/container/container.js?v=1185870256.0"></script>
<div id="keybordarea">
</div>
<script type="text/javascript" language="JavaScript">
var inputfield = "qs0"
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g,"");
}
function inputkeyb(digit){
var src = document.getElementById(inputfield).value.trim();
var dig = unescape(digit);
//ps("dig", dig);
if (dig =="空ç½"){dig = "ã"}
else if (dig == "ã§"){dig = "ï½"}
///// ³B²z²MÁn³¡¥÷. £»£¹£¬
dotchar = "Ë";
if (dig == "Ë"){
var oldv = document.getElementById(inputfield).value;
oldv = oldv + dotchar;
//ps("oldv", oldv);
pwlst = oldv.split(' ')
newlst = []
for(c=0; c < pwlst.length; c++){
//ps("v", pwlst[c]);
indv = pwlst[c].indexOf('Ë');
if (indv != -1){
var quote = /Ë/g;
val = pwlst[c].replace(quote, "");
newlst.push("Ë"+val);
}
else{
newlst.push(pwlst[c]);
}
}
oldv = newlst.join(' ')
}
///// ¤@¯ë¤è¦¡
else{
var oldv = document.getElementById(inputfield).value;
oldv += dig;
}
document.getElementById(inputfield).focus();
document.getElementById(inputfield).value = oldv;
}
</script>
<div id="line"></div>
<div id="foot">
<span class="logodiv1">
<img src="/cydic/images/stand_unitlogo.png" class="logoimg1" border="0" align="absmiddle">
</span><br>
<a href="http://www.edu.tw/" target="blank">
<img src="/cydic/images/logo.gif" alt="æè²é¨logo" width="46" height="36" align="absmiddle" />
</a>
<span class="ff">ä¸è¯æ°åæè²é¨çæ¬ææ</span><span class="ffeng">©2010 Ministry of Education, R.O.C. All rights reserved.</span>ã<span class="copyright">ç·ä¸ï¼N 仿¥äººæ¬¡ï¼N 總人次ï¼N</span><br><span class="ff"><a href="mailto:april0212@mail.naer.edu.tw"><img src="/cydic/images/mail_f.gif" border=0 alt="mail to our" title="è¯çµ¡æå" ></a>ï½<a href="#">é±ç§æ¬æ¿ç宣å</a>ï½<a href="#">é£çµææ¬è²æ</a>ï½å»ºè°ä½¿ç¨</span><span class="ffeng">IE8.0ãFirefox3.6</span><span class="ff">以ä¸çæ¬ç覽å¨åè§£æåº¦</span><span class="ffeng">1024*768</span>ã<a href="http://www.webguide.nat.gov.tw/enable.jsp?category=20110921092959" title="ç¡éç¤ç¶²ç«" target=_blank><img src="/cydic/images/aplus.jpg" alt="ééA+網路çç´ç¡éç¤ç¶²é 檢è¦" width="88" height="31" align="absmiddle" /></a>
</div>
</div>
<!-- contents -->
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-44370428-1', 'moe.edu.tw');ga('send', 'pageview');</script>
</div>
<!-- pageall -->
</form>
</body>
</html>
|
BuzzAcademy/idioms-moe-unformatted-data
|
cw-data/1000-1999/CW0000001156.html
|
HTML
|
mit
| 16,302
|
# -*- coding: utf-8 -*-
"""
Translator module that uses the Google Translate API.
Adapted from Terry Yin's google-translate-python.
Language detection added by Steven Loria.
"""
from __future__ import absolute_import
import json
import re
import codecs
from textblob.compat import PY2, request, urlencode
from textblob.exceptions import TranslatorError
class Translator(object):
"""A language translator and detector.
Usage:
::
>>> from textblob.translate import Translator
>>> t = Translator()
>>> t.translate('hello', from_lang='en', to_lang='fr')
u'bonjour'
>>> t.detect("hola")
u'es'
"""
url = "http://translate.google.com/translate_a/t"
headers = {'User-Agent': ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) '
'AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19')}
def translate(self, source, from_lang=None, to_lang='en', host=None, type_=None):
"""Translate the source text from one language to another."""
if PY2:
source = source.encode('utf-8')
data = {"client": "p", "ie": "UTF-8", "oe": "UTF-8",
"sl": from_lang, "tl": to_lang, "text": source}
json5 = self._get_json5(self.url, host=host, type_=type_, data=data)
return self._get_translation_from_json5(json5)
def detect(self, source, host=None, type_=None):
"""Detect the source text's language."""
if PY2:
source = source.encode('utf-8')
if len(source) < 3:
raise TranslatorError('Must provide a string with at least 3 characters.')
data = {"client": "p", "ie": "UTF-8", "oe": "UTF-8", "text": source}
json5 = self._get_json5(self.url, host=host, type_=type_, data=data)
lang = self._get_language_from_json5(json5)
return lang
def _get_language_from_json5(self, content):
json_data = json.loads(content)
if 'src' in json_data:
return json_data['src']
return None
def _get_translation_from_json5(self, content):
result = u""
json_data = json.loads(content)
if 'sentences' in json_data:
result = ''.join([s['trans'] for s in json_data['sentences']])
return _unescape(result)
def _get_json5(self, url, host=None, type_=None, data=None):
encoded_data = urlencode(data).encode('utf-8')
req = request.Request(url=url, headers=self.headers, data=encoded_data)
if host or type_:
req.set_proxy(host=host, type=type_)
resp = request.urlopen(req)
content = resp.read()
return content.decode('utf-8')
def _unescape(text):
"""Unescape unicode character codes within a string.
"""
pattern = r'\\{1,2}u[0-9a-fA-F]{4}'
decode = lambda x: codecs.getdecoder('unicode_escape')(x.group())[0]
return re.sub(pattern, decode, text)
|
nvoron23/TextBlob
|
textblob/translate.py
|
Python
|
mit
| 2,924
|
<ol class="list-unstyled">
<li *ngFor="let archive of archives"><a href="#">{{archive}}</a></li>
</ol>
<!--<ol class="list-unstyled">
<li><a href="#">March 2014</a></li>
<li><a href="#">February 2014</a></li>
<li><a href="#">January 2014</a></li>
<li><a href="#">December 2013</a></li>
<li><a href="#">November 2013</a></li>
<li><a href="#">October 2013</a></li>
<li><a href="#">September 2013</a></li>
<li><a href="#">August 2013</a></li>
<li><a href="#">July 2013</a></li>
<li><a href="#">June 2013</a></li>
<li><a href="#">May 2013</a></li>
<li><a href="#">April 2013</a></li>
</ol>-->
|
Znow/ZnowBlog
|
src/app/archive/archive.component.html
|
HTML
|
mit
| 615
|
#!/bin/bash
geoc vector gradientstyle -i naturalearth.gpkg -l countries -f PEOPLE -n 6 -c greens > countries_gradient_green.sld
geoc map draw -f vector_gradient_greens.png -l "layertype=layer file=naturalearth.gpkg layername=ocean style=ocean.sld" \
-l "layertype=layer file=naturalearth.gpkg layername=countries style=countries_gradient_green.sld"
geoc vector gradientstyle -i naturalearth.gpkg -l countries -f PEOPLE -n 8 -c reds > countries_gradient_red.sld
geoc map draw -f vector_gradient_reds.png -l "layertype=layer file=naturalearth.gpkg layername=ocean style=ocean.sld" \
-l "layertype=layer file=naturalearth.gpkg layername=countries style=countries_gradient_red.sld"
|
jericks/geoc
|
examples/vector_gradientstyle.sh
|
Shell
|
mit
| 688
|

*DESIGN PATH is a simple online quiz to help budding designers find their career path*
[VISIT DESIGNPATH](http://designpath.me/)
This repository keeps track of the full stack of code that runs this website. This documentation is solely about the setup and development guidelines, not about or the goals of the project.
### Dependencies
We take advantage of a couple of open sourced libraries in order to put us at a better starting level. Below are the dependencies:
+ AngularJS (v1.2.**, currently 21)
+ Google Fonts (Lato, Merriweather)
### Grunt
[Grunt](http://gruntjs.com/) is a JavaScript task runner that allows us to nicely maintain code and automatically generate some of the tedious outputs, such as a minified version of our code. It also supports compiling sass, running servers, etc.
Using grunt we will take care of:
+ generation of an index.html file that contains all of the necessary links to CSS and JS files, with a declaration of the ng-app, containing just the ng-view
+ compilation of SASS files and adding them to the correct subdirectory
+ a watch method which keeps an eye on the directory for changes and automatically refreshes the above
### Installation
In order to use grunt, you need to install [Node.js](http://nodejs.org/). Node is a lightweight JavaScript server that can serve files, and also comes with a nice dependencies installer called `npm`. So install node first.
You can do this via several ways.
+ if you have brew installed on your machine, you can just do `$ brew install node` on your terminal. please note you may need to update brew.
+ you can go ahead and download it from their website, available at [http://nodejs.org/](http://nodejs.org/), unpackage it and just install it.
If you already have a copy of Node, please check your version by running:
`$ node --version`
`$ npm --version`
You should have at least node version 0.10.**, and npm version 2.1.2. If you work on other stuff with different versions, I recommend you use some sort of Node version controller such as nvm or N. If you don't satisfy these versions, please update.
Once you have done that, you can install the command line tool for Grunt:
`$ npm install -g grunt-cli`
Then, run:
`$ npm install`
That will start the install of Grunt, and all of the grunt tasks we use, and print lots of stuff to your console. If you see any errors, it means the installation was unsuccessful. Unfortunately, installation depends largely on the machine you are on and the system you are running, so it may need to be dealt case by case.
### Usage
Congrats, you have now successfully installed everything you need and you can now start developing! The grunt stuff installed should really help us maintain the code better, and also strip out the tedious tasks such as compiling sass.
In general, grunt is really easy to use. Just run:
`$ grunt`
In the root directory of the project (it should actually work anywhere in the project, but I have never tried). This will do a couple things:
+ Pass all your JavaScript code through jshint. jshint is a simple way of checking JavaScript code validity, such as missing semi-colons or detecting globals. It will let you know where your errors are, so you can go ahead and fix them
+ Compile all of the sass you have written into css.
+ Add all of the source files to an index.html file in the test directory. If we didn't have this, you would have to manually add each and every single link and script to css and js files!
+ Copies all of the compiled dev files into a deploy folder, where you can run the actual node server.
+ finally, here's the really cool part. it starts a watch function, which will "watch" any changes to files and directories. If it notices there has been a change, it will run all of the above, without you having to restart the grunt task.
It is recommended you run this in one window or tab on your terminal so you can run the server in another tab, and do other tasks like git commits in another tab.
In order to start the node server:
`$ cd deploy/`
`$ npm install`
`$ node server.js`
This should be done in a separate tab on terminal so that you can work with the server open.
In addition, you can run:
`$ grunt clean`
to delete temp files and the deploy folder so you can start clean.
|
mirai418/DesignPath
|
README.md
|
Markdown
|
mit
| 4,352
|
import Colors from "v2/Assets/Colors"
import { avantgarde } from "v2/Assets/Fonts"
import { Component } from "react";
import styled from "styled-components"
import MultiStateButton, {
MultiButtonState,
} from "../../Buttons/MultiStateButton"
import { media } from "../../Helpers"
import StyledTitle from "../../Title"
interface Props {
title: string
subtitle: string
onNextButtonPressed?: () => void
isLastStep?: boolean | null
buttonState?: MultiButtonState | null
}
const Container = styled.div`
max-width: 930px;
margin-left: auto;
margin-right: auto;
${media.sm`
margin: 20px;
`};
`
const MainTitle = styled(StyledTitle)`
text-align: center;
line-height: normal;
margin-bottom: 6px;
${media.sm`
text-align: left;
`};
`
const Subtitle = styled(StyledTitle)`
${avantgarde("s13")};
color: ${Colors.grayDark};
margin-top: 6px;
margin-bottom: 30px;
text-align: center;
line-height: normal;
${media.sm`
text-align: left;
margin-bottom: 15px;
`};
`
const ItemContainer = styled.div`
padding-bottom: 50px;
`
/* MS IE11 and Edge don't support for the sticky position property */
const FixedButttonContainer = styled.div`
width: 100%;
position: fixed;
bottom: 0;
left: 0;
`
/* Mobile safari doesn't support for the fixed position property:
* https://www.eventbrite.com/engineering/mobile-safari-why/
**/
const StickyButtonContainer = styled.div`
/* stylelint-disable-next-line value-no-vendor-prefix */
position: -webkit-sticky;
bottom: 0;
background: linear-gradient(
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.5) 17%,
white 35%,
white
);
display: flex;
justify-content: center;
`
const NextButton = styled(MultiStateButton)`
margin: 50px 0;
display: block;
width: 250px;
&:disabled {
border: 1px solid ${Colors.grayRegular};
}
${media.sm`
width: 100%;
margin: 25px 0 0;
`};
`
NextButton.displayName = "NextButton"
export class Layout extends Component<Props, null> {
render() {
const disabled = !this.props.onNextButtonPressed
const buttonText = this.props.isLastStep ? "finished" : "next"
return (
<Container>
<MainTitle>{this.props.title} </MainTitle>
<Subtitle titleSize="xxsmall">{this.props.subtitle}</Subtitle>
<ItemContainer>{this.props.children}</ItemContainer>
<FixedButttonContainer>
<StickyButtonContainer>
<NextButton
disabled={disabled}
onClick={this.props.onNextButtonPressed}
// @ts-expect-error STRICT_NULL_CHECK
state={this.props.buttonState}
>
{buttonText}
</NextButton>
</StickyButtonContainer>
</FixedButttonContainer>
</Container>
)
}
}
|
artsy/force-public
|
src/v2/Components/Onboarding/Steps/Layout.tsx
|
TypeScript
|
mit
| 2,803
|
<TS language="mn" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Шинэ хаяг нээх</translation>
</message>
<message>
<source>&New</source>
<translation>&Шинэ</translation>
</message>
<message>
<source>Copy the currently selected address to the system clipboard</source>
<translation>Одоогоор сонгогдсон байгаа хаягуудыг сануулах</translation>
</message>
<message>
<source>&Copy</source>
<translation>&Хуулах</translation>
</message>
<message>
<source>C&lose</source>
<translation>&Хаах</translation>
</message>
<message>
<source>Delete the currently selected address from the list</source>
<translation>Одоо сонгогдсон байгаа хаягуудыг жагсаалтаас устгах</translation>
</message>
<message>
<source>Enter address or label to search</source>
<translation>Хайлт хийхийн тулд хаяг эсвэл шошгыг оруул</translation>
</message>
<message>
<source>Export the data in the current tab to a file</source>
<translation>Сонгогдсон таб дээрхи дата-г экспортлох</translation>
</message>
<message>
<source>&Export</source>
<translation>&Экспортдлох</translation>
</message>
<message>
<source>&Delete</source>
<translation>&Устгах</translation>
</message>
<message>
<source>Choose the address to send coins to</source>
<translation>Зооснуудыг илгээх хаягийг сонгоно уу</translation>
</message>
<message>
<source>Choose the address to receive coins with</source>
<translation>Зооснуудыг хүлээн авах хаягийг сонгоно уу</translation>
</message>
<message>
<source>C&hoose</source>
<translation>С&онго</translation>
</message>
<message>
<source>Sending addresses</source>
<translation>Илгээх хаягууд</translation>
</message>
<message>
<source>Receiving addresses</source>
<translation>Хүлээн авах хаяг</translation>
</message>
<message>
<source>These are your Qtum addresses for sending payments. Always check the amount and the receiving address before sending coins.</source>
<translation>Эдгээр Биткойн хаягууд нь илгээх хаягууд. Хүлээн авах хаяг болон тоо хэмжээг илгээхээсээ өмнө сайн нягталж үзэж байна уу</translation>
</message>
<message>
<source>&Copy Address</source>
<translation>Хаягийг &Хуулбарлах</translation>
</message>
<message>
<source>Copy &Label</source>
<translation>&Шошгыг хуулбарлах</translation>
</message>
<message>
<source>&Edit</source>
<translation>&Ѳѳрчлѳх</translation>
</message>
<message>
<source>Export Address List</source>
<translation>Экспорт хийх хаягуудын жагсаалт</translation>
</message>
<message>
<source>Comma separated file (*.csv)</source>
<translation>Таслалаар тусгаарлагдсан хүснэгтэн файл (.csv)</translation>
</message>
</context>
<context>
<name>AddressTableModel</name>
<message>
<source>Label</source>
<translation>Шошго</translation>
</message>
<message>
<source>Address</source>
<translation>Хаяг</translation>
</message>
<message>
<source>(no label)</source>
<translation>(шошгогүй)</translation>
</message>
</context>
<context>
<name>AskPassphraseDialog</name>
<message>
<source>Enter passphrase</source>
<translation>Нууц үгийг оруул</translation>
</message>
<message>
<source>New passphrase</source>
<translation>Шинэ нууц үг</translation>
</message>
<message>
<source>Repeat new passphrase</source>
<translation>Шинэ нууц үгийг давтана уу</translation>
</message>
<message>
<source>Encrypt wallet</source>
<translation>Түрүйвчийг цоожлох</translation>
</message>
<message>
<source>This operation needs your wallet passphrase to unlock the wallet.</source>
<translation>Энэ үйлдэлийг гүйцэтгэхийн тулд та нууц үгээрээ түрүйвчийн цоожийг тайлах хэрэгтэй</translation>
</message>
<message>
<source>Unlock wallet</source>
<translation>Түрүйвчийн цоожийг тайлах</translation>
</message>
<message>
<source>This operation needs your wallet passphrase to decrypt the wallet.</source>
<translation>Энэ үйлдэлийг гүйцэтгэхийн тулд та эхлээд түрүйвчийн нууц үгийг оруулж цоожийг тайлах шаардлагтай.</translation>
</message>
<message>
<source>Decrypt wallet</source>
<translation>Түрүйвчийн цоожийг устгах</translation>
</message>
<message>
<source>Change passphrase</source>
<translation>Нууц үгийг солих</translation>
</message>
<message>
<source>Confirm wallet encryption</source>
<translation>Түрүйвчийн цоожийг баталгаажуулах</translation>
</message>
<message>
<source>Wallet encrypted</source>
<translation>Түрүйвч цоожлогдлоо</translation>
</message>
<message>
<source>Wallet encryption failed</source>
<translation>Түрүйвчийн цоожлол амжилттай болсонгүй</translation>
</message>
<message>
<source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source>
<translation>Түрүйвчийн цоожлол дотоод алдаанаас үүдэн амжилттай болсонгүй. Түрүйвч цоожлогдоогүй байна.</translation>
</message>
<message>
<source>The supplied passphrases do not match.</source>
<translation>Таны оруулсан нууц үг таарсангүй</translation>
</message>
<message>
<source>Wallet unlock failed</source>
<translation>Түрүйвчийн цоож тайлагдсангүй</translation>
</message>
<message>
<source>The passphrase entered for the wallet decryption was incorrect.</source>
<translation>Таны оруулсан түрүйвчийн цоожийг тайлах нууц үг буруу байна</translation>
</message>
<message>
<source>Wallet decryption failed</source>
<translation>Түрүйвчийн цоож амжилттай устгагдсангүй</translation>
</message>
<message>
<source>Wallet passphrase was successfully changed.</source>
<translation>Түрүйвчийн нууц үг амжилттай ѳѳр</translation>
</message>
</context>
<context>
<name>BanTableModel</name>
</context>
<context>
<name>QtumGUI</name>
<message>
<source>Sign &message...</source>
<translation>&Зурвас хавсаргах...</translation>
</message>
<message>
<source>Synchronizing with network...</source>
<translation>Сүлжээтэй тааруулж байна...</translation>
</message>
<message>
<source>&Transactions</source>
<translation>Гүйлгээнүүд</translation>
</message>
<message>
<source>Browse transaction history</source>
<translation>Гүйлгээнүүдийн түүхийг харах</translation>
</message>
<message>
<source>E&xit</source>
<translation>Гарах</translation>
</message>
<message>
<source>Quit application</source>
<translation>Програмаас Гарах</translation>
</message>
<message>
<source>About &Qt</source>
<translation>&Клиентийн тухай</translation>
</message>
<message>
<source>Show information about Qt</source>
<translation>Клиентийн тухай мэдээллийг харуул</translation>
</message>
<message>
<source>&Options...</source>
<translation>&Сонголтууд...</translation>
</message>
<message>
<source>&Encrypt Wallet...</source>
<translation>&Түрүйвчийг цоожлох...</translation>
</message>
<message>
<source>&Backup Wallet...</source>
<translation>&Түрүйвчийг Жоорлох...</translation>
</message>
<message>
<source>&Change Passphrase...</source>
<translation>&Нууц Үгийг Солих...</translation>
</message>
<message>
<source>Change the passphrase used for wallet encryption</source>
<translation>Түрүйвчийг цоожлох нууц үгийг солих</translation>
</message>
<message>
<source>&Show / Hide</source>
<translation>&Харуул / Нуу</translation>
</message>
<message>
<source>&File</source>
<translation>&Файл</translation>
</message>
<message>
<source>&Settings</source>
<translation>&Тохиргоо</translation>
</message>
<message>
<source>&Help</source>
<translation>&Тусламж</translation>
</message>
<message>
<source>Error</source>
<translation>Алдаа</translation>
</message>
<message>
<source>Information</source>
<translation>Мэдээллэл</translation>
</message>
<message>
<source>Up to date</source>
<translation>Шинэчлэгдсэн</translation>
</message>
<message>
<source>Sent transaction</source>
<translation>Гадагшаа гүйлгээ</translation>
</message>
<message>
<source>Incoming transaction</source>
<translation>Дотогшоо гүйлгээ</translation>
</message>
<message>
<source>Wallet is <b>encrypted</b> and currently <b>unlocked</b></source>
<translation>Түрүйвч <b>цоожтой</b> ба одоогоор цоож <b>онгорхой</b> байна</translation>
</message>
<message>
<source>Wallet is <b>encrypted</b> and currently <b>locked</b></source>
<translation>Түрүйвч <b>цоожтой</b> ба одоогоор цоож <b>хаалттай</b> байна</translation>
</message>
</context>
<context>
<name>CoinControlDialog</name>
<message>
<source>Amount:</source>
<translation>Хэмжээ:</translation>
</message>
<message>
<source>Fee:</source>
<translation>Тѳлбѳр:</translation>
</message>
<message>
<source>Amount</source>
<translation>Хэмжээ</translation>
</message>
<message>
<source>Date</source>
<translation>Огноо</translation>
</message>
<message>
<source>Confirmed</source>
<translation>Баталгаажлаа</translation>
</message>
<message>
<source>Copy address</source>
<translation>Хаягийг санах</translation>
</message>
<message>
<source>Copy label</source>
<translation>Шошгыг санах</translation>
</message>
<message>
<source>Copy amount</source>
<translation>Хэмжээг санах</translation>
</message>
<message>
<source>Copy change</source>
<translation>Ѳѳрчлѳлтийг санах</translation>
</message>
<message>
<source>(no label)</source>
<translation>(шошгогүй)</translation>
</message>
<message>
<source>(change)</source>
<translation>(ѳѳрчлѳх)</translation>
</message>
</context>
<context>
<name>CreateWalletActivity</name>
</context>
<context>
<name>CreateWalletDialog</name>
</context>
<context>
<name>EditAddressDialog</name>
<message>
<source>Edit Address</source>
<translation>Хаягийг ѳѳрчлѳх</translation>
</message>
<message>
<source>&Label</source>
<translation>&Шошго</translation>
</message>
<message>
<source>&Address</source>
<translation>&Хаяг</translation>
</message>
<message>
<source>New sending address</source>
<translation>Шинэ явуулах хаяг</translation>
</message>
<message>
<source>Edit receiving address</source>
<translation>Хүлээн авах хаягийг ѳѳрчлѳх</translation>
</message>
<message>
<source>Edit sending address</source>
<translation>Явуулах хаягийг ѳѳрчлѳх</translation>
</message>
<message>
<source>Could not unlock wallet.</source>
<translation>Түрүйвчийн цоожийг тайлж чадсангүй</translation>
</message>
<message>
<source>New key generation failed.</source>
<translation>Шинэ түлхүүр амжилттай гарсангүй</translation>
</message>
</context>
<context>
<name>FreespaceChecker</name>
</context>
<context>
<name>HelpMessageDialog</name>
<message>
<source>version</source>
<translation>хувилбар</translation>
</message>
</context>
<context>
<name>Intro</name>
<message>
<source>Qtum</source>
<translation>Биткойн</translation>
</message>
<message>
<source>Error</source>
<translation>Алдаа</translation>
</message>
</context>
<context>
<name>ModalOverlay</name>
<message>
<source>Last block time</source>
<translation>Сүүлийн блокийн хугацаа</translation>
</message>
</context>
<context>
<name>OpenURIDialog</name>
</context>
<context>
<name>OpenWalletActivity</name>
</context>
<context>
<name>OptionsDialog</name>
<message>
<source>Options</source>
<translation>Сонголтууд</translation>
</message>
<message>
<source>IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)</source>
<translation>проксигийн IP хаяг (жишээ нь: IPv4: 127.0.0.1 / IPv6: ::1)</translation>
</message>
<message>
<source>&Network</source>
<translation>Сүлжээ</translation>
</message>
<message>
<source>W&allet</source>
<translation>Түрүйвч</translation>
</message>
<message>
<source>Client restart required to activate changes.</source>
<translation>Ѳѳрчлѳлтүүдийг идэвхижүүлхийн тулд клиентийг ахин эхлүүлэх шаардлагтай</translation>
</message>
<message>
<source>Error</source>
<translation>Алдаа</translation>
</message>
<message>
<source>This change would require a client restart.</source>
<translation>Энэ ѳѳрчлѳлтийг оруулахын тулд кли1нт програмыг ахин эхлүүлэх шаардлагтай</translation>
</message>
</context>
<context>
<name>OverviewPage</name>
<message>
<source>Available:</source>
<translation>Хэрэглэж болох хэмжээ:</translation>
</message>
</context>
<context>
<name>PaymentServer</name>
</context>
<context>
<name>PeerTableModel</name>
</context>
<context>
<name>QObject</name>
<message>
<source>Amount</source>
<translation>Хэмжээ</translation>
</message>
<message>
<source>N/A</source>
<translation>Алга Байна</translation>
</message>
<message>
<source>unknown</source>
<translation>үл мэдэгдэх</translation>
</message>
</context>
<context>
<name>QRImageWidget</name>
<message>
<source>PNG Image (*.png)</source>
<translation>PNG форматын зураг (*.png)</translation>
</message>
</context>
<context>
<name>RPCConsole</name>
<message>
<source>N/A</source>
<translation>Алга Байна</translation>
</message>
<message>
<source>Client version</source>
<translation>Клиентийн хувилбар</translation>
</message>
<message>
<source>&Information</source>
<translation>&Мэдээллэл</translation>
</message>
<message>
<source>General</source>
<translation>Ерѳнхий</translation>
</message>
<message>
<source>Network</source>
<translation>Сүлжээ</translation>
</message>
<message>
<source>Name</source>
<translation>Нэр</translation>
</message>
<message>
<source>Number of connections</source>
<translation>Холболтын тоо</translation>
</message>
<message>
<source>Block chain</source>
<translation>Блокийн цуваа</translation>
</message>
<message>
<source>Current number of blocks</source>
<translation>Одоогийн блокийн тоо</translation>
</message>
<message>
<source>Last block time</source>
<translation>Сүүлийн блокийн хугацаа</translation>
</message>
<message>
<source>&Open</source>
<translation>&Нээх</translation>
</message>
<message>
<source>&Console</source>
<translation>&Консол</translation>
</message>
<message>
<source>Clear console</source>
<translation>Консолыг цэвэрлэх</translation>
</message>
</context>
<context>
<name>ReceiveCoinsDialog</name>
<message>
<source>&Amount:</source>
<translation>Хэмжээ:</translation>
</message>
<message>
<source>&Label:</source>
<translation>&Шошго:</translation>
</message>
<message>
<source>&Message:</source>
<translation>Зурвас:</translation>
</message>
<message>
<source>Show</source>
<translation>Харуул</translation>
</message>
<message>
<source>Remove the selected entries from the list</source>
<translation>Сонгогдсон ѳгѳгдлүүдийг устгах</translation>
</message>
<message>
<source>Remove</source>
<translation>Устгах</translation>
</message>
<message>
<source>Copy label</source>
<translation>Шошгыг санах</translation>
</message>
<message>
<source>Copy message</source>
<translation>Зурвасыг санах</translation>
</message>
<message>
<source>Copy amount</source>
<translation>Хэмжээг санах</translation>
</message>
</context>
<context>
<name>ReceiveRequestDialog</name>
<message>
<source>Copy &Address</source>
<translation>Хаягийг &Хуулбарлах</translation>
</message>
<message>
<source>Address</source>
<translation>Хаяг</translation>
</message>
<message>
<source>Amount</source>
<translation>Хэмжээ</translation>
</message>
<message>
<source>Label</source>
<translation>Шошго</translation>
</message>
<message>
<source>Message</source>
<translation>Зурвас</translation>
</message>
<message>
<source>Wallet</source>
<translation>Түрүйвч</translation>
</message>
</context>
<context>
<name>RecentRequestsTableModel</name>
<message>
<source>Date</source>
<translation>Огноо</translation>
</message>
<message>
<source>Label</source>
<translation>Шошго</translation>
</message>
<message>
<source>Message</source>
<translation>Зурвас</translation>
</message>
<message>
<source>(no label)</source>
<translation>(шошгогүй)</translation>
</message>
<message>
<source>(no message)</source>
<translation>(зурвас алга)</translation>
</message>
</context>
<context>
<name>SendCoinsDialog</name>
<message>
<source>Send Coins</source>
<translation>Зоос явуулах</translation>
</message>
<message>
<source>automatically selected</source>
<translation>автоматаар сонгогдсон</translation>
</message>
<message>
<source>Insufficient funds!</source>
<translation>Таны дансны үлдэгдэл хүрэлцэхгүй байна!</translation>
</message>
<message>
<source>Amount:</source>
<translation>Хэмжээ:</translation>
</message>
<message>
<source>Fee:</source>
<translation>Тѳлбѳр:</translation>
</message>
<message>
<source>Send to multiple recipients at once</source>
<translation>Нэгэн зэрэг олон хүлээн авагчруу явуулах</translation>
</message>
<message>
<source>Add &Recipient</source>
<translation>&Хүлээн авагчийг Нэмэх</translation>
</message>
<message>
<source>Clear &All</source>
<translation>&Бүгдийг Цэвэрлэ</translation>
</message>
<message>
<source>Balance:</source>
<translation>Баланс:</translation>
</message>
<message>
<source>Confirm the send action</source>
<translation>Явуулах үйлдлийг баталгаажуулна уу</translation>
</message>
<message>
<source>S&end</source>
<translation>Яв&уул</translation>
</message>
<message>
<source>Copy amount</source>
<translation>Хэмжээг санах</translation>
</message>
<message>
<source>Copy change</source>
<translation>Ѳѳрчлѳлтийг санах</translation>
</message>
<message>
<source>or</source>
<translation>эсвэл</translation>
</message>
<message>
<source>Confirm send coins</source>
<translation>Зоос явуулахыг баталгаажуулна уу</translation>
</message>
<message>
<source>The amount to pay must be larger than 0.</source>
<translation>Тѳлѳх хэмжээ 0.-оос их байх ёстой</translation>
</message>
<message>
<source>The amount exceeds your balance.</source>
<translation>Энэ хэмжээ таны балансаас хэтэрсэн байна.</translation>
</message>
<message>
<source>The total exceeds your balance when the %1 transaction fee is included.</source>
<translation>Гүйлгээний тѳлбѳр %1-ийг тооцхоор нийт дүн нь таны балансаас хэтрээд байна.</translation>
</message>
<message>
<source>Warning: Invalid Qtum address</source>
<translation>Анхаар:Буруу Биткойны хаяг байна</translation>
</message>
<message>
<source>(no label)</source>
<translation>(шошгогүй)</translation>
</message>
</context>
<context>
<name>SendCoinsEntry</name>
<message>
<source>A&mount:</source>
<translation>Дүн:</translation>
</message>
<message>
<source>Pay &To:</source>
<translation>Тѳлѳх &хаяг:</translation>
</message>
<message>
<source>&Label:</source>
<translation>&Шошго:</translation>
</message>
<message>
<source>Alt+A</source>
<translation>Alt+A</translation>
</message>
<message>
<source>Paste address from clipboard</source>
<translation>Копидсон хаягийг буулгах</translation>
</message>
<message>
<source>Alt+P</source>
<translation>Alt+P</translation>
</message>
<message>
<source>Message:</source>
<translation>Зурвас:</translation>
</message>
<message>
<source>Pay To:</source>
<translation>Тѳлѳх хаяг:</translation>
</message>
</context>
<context>
<name>ShutdownWindow</name>
<message>
<source>Do not shut down the computer until this window disappears.</source>
<translation>Энэ цонхыг хаагдтал компьютерээ бүү унтраагаарай</translation>
</message>
</context>
<context>
<name>SignVerifyMessageDialog</name>
<message>
<source>Alt+A</source>
<translation>Alt+A</translation>
</message>
<message>
<source>Paste address from clipboard</source>
<translation>Копидсон хаягийг буулгах</translation>
</message>
<message>
<source>Alt+P</source>
<translation>Alt+P</translation>
</message>
<message>
<source>Clear &All</source>
<translation>&Бүгдийг Цэвэрлэ</translation>
</message>
</context>
<context>
<name>TrafficGraphWidget</name>
</context>
<context>
<name>TransactionDesc</name>
<message>
<source>Open until %1</source>
<translation>%1 хүртэл нээлттэй</translation>
</message>
<message>
<source>%1/unconfirmed</source>
<translation>%1/баталгаажаагүй</translation>
</message>
<message>
<source>%1 confirmations</source>
<translation>%1 баталгаажилтууд</translation>
</message>
<message>
<source>Date</source>
<translation>Огноо</translation>
</message>
<message>
<source>unknown</source>
<translation>үл мэдэгдэх</translation>
</message>
<message>
<source>Message</source>
<translation>Зурвас</translation>
</message>
<message>
<source>Transaction ID</source>
<translation>Тодорхойлолт</translation>
</message>
<message>
<source>Amount</source>
<translation>Хэмжээ</translation>
</message>
</context>
<context>
<name>TransactionDescDialog</name>
<message>
<source>This pane shows a detailed description of the transaction</source>
<translation>Гүйлгээний дэлгэрэнгүйг энэ бичил цонх харуулж байна</translation>
</message>
</context>
<context>
<name>TransactionTableModel</name>
<message>
<source>Date</source>
<translation>Огноо</translation>
</message>
<message>
<source>Type</source>
<translation>Тѳрѳл</translation>
</message>
<message>
<source>Label</source>
<translation>Шошго</translation>
</message>
<message>
<source>Open until %1</source>
<translation>%1 хүртэл нээлттэй</translation>
</message>
<message>
<source>Unconfirmed</source>
<translation>Баталгаажаагүй</translation>
</message>
<message>
<source>Confirmed (%1 confirmations)</source>
<translation>Баталгаажлаа (%1 баталгаажилт)</translation>
</message>
<message>
<source>Conflicted</source>
<translation>Зѳрчилдлѳѳ</translation>
</message>
<message>
<source>Generated but not accepted</source>
<translation>Үүсгэгдсэн гэхдээ хүлээн авагдаагүй</translation>
</message>
<message>
<source>Received with</source>
<translation>Хүлээн авсан хаяг</translation>
</message>
<message>
<source>Received from</source>
<translation>Хүлээн авагдсан хаяг</translation>
</message>
<message>
<source>Sent to</source>
<translation>Явуулсан хаяг</translation>
</message>
<message>
<source>Payment to yourself</source>
<translation>Ѳѳрлүүгээ хийсэн тѳлбѳр</translation>
</message>
<message>
<source>Mined</source>
<translation>Олборлогдсон</translation>
</message>
<message>
<source>(n/a)</source>
<translation>(алга байна)</translation>
</message>
<message>
<source>(no label)</source>
<translation>(шошгогүй)</translation>
</message>
<message>
<source>Transaction status. Hover over this field to show number of confirmations.</source>
<translation>Гүйлгээний байдал. Энд хулганыг авчирч баталгаажуулалтын тоог харна уу.</translation>
</message>
<message>
<source>Date and time that the transaction was received.</source>
<translation>Гүйлгээг хүлээн авсан огноо ба цаг.</translation>
</message>
<message>
<source>Type of transaction.</source>
<translation>Гүйлгээний тѳрѳл</translation>
</message>
<message>
<source>Amount removed from or added to balance.</source>
<translation>Балансаас авагдсан болон нэмэгдсэн хэмжээ.</translation>
</message>
</context>
<context>
<name>TransactionView</name>
<message>
<source>All</source>
<translation>Бүгд</translation>
</message>
<message>
<source>Today</source>
<translation>Ѳнѳѳдѳр</translation>
</message>
<message>
<source>This week</source>
<translation>Энэ долоо хоног</translation>
</message>
<message>
<source>This month</source>
<translation>Энэ сар</translation>
</message>
<message>
<source>Last month</source>
<translation>Ѳнгѳрсѳн сар</translation>
</message>
<message>
<source>This year</source>
<translation>Энэ жил</translation>
</message>
<message>
<source>Received with</source>
<translation>Хүлээн авсан хаяг</translation>
</message>
<message>
<source>Sent to</source>
<translation>Явуулсан хаяг</translation>
</message>
<message>
<source>To yourself</source>
<translation>Ѳѳрлүүгээ</translation>
</message>
<message>
<source>Mined</source>
<translation>Олборлогдсон</translation>
</message>
<message>
<source>Other</source>
<translation>Бусад</translation>
</message>
<message>
<source>Min amount</source>
<translation>Хамгийн бага хэмжээ</translation>
</message>
<message>
<source>Copy address</source>
<translation>Хаягийг санах</translation>
</message>
<message>
<source>Copy label</source>
<translation>Шошгыг санах</translation>
</message>
<message>
<source>Copy amount</source>
<translation>Хэмжээг санах</translation>
</message>
<message>
<source>Edit label</source>
<translation>Шошгыг ѳѳрчлѳх</translation>
</message>
<message>
<source>Show transaction details</source>
<translation>Гүйлгээний дэлгэрэнгүйг харуул</translation>
</message>
<message>
<source>Comma separated file (*.csv)</source>
<translation>Таслалаар тусгаарлагдсан хүснэгтэн файл (.csv)</translation>
</message>
<message>
<source>Confirmed</source>
<translation>Баталгаажлаа</translation>
</message>
<message>
<source>Date</source>
<translation>Огноо</translation>
</message>
<message>
<source>Type</source>
<translation>Тѳрѳл</translation>
</message>
<message>
<source>Label</source>
<translation>Шошго</translation>
</message>
<message>
<source>Address</source>
<translation>Хаяг</translation>
</message>
<message>
<source>ID</source>
<translation>Тодорхойлолт</translation>
</message>
<message>
<source>The transaction history was successfully saved to %1.</source>
<translation>Гүйлгээнүй түүхийг %1-д амжилттай хадгаллаа.</translation>
</message>
<message>
<source>to</source>
<translation>-рүү/руу</translation>
</message>
</context>
<context>
<name>UnitDisplayStatusBarControl</name>
</context>
<context>
<name>WalletController</name>
</context>
<context>
<name>WalletFrame</name>
<message>
<source>No wallet has been loaded.</source>
<translation>Ямар ч түрүйвч ачааллагдсангүй.</translation>
</message>
</context>
<context>
<name>WalletModel</name>
<message>
<source>Send Coins</source>
<translation>Зоос явуулах</translation>
</message>
</context>
<context>
<name>WalletView</name>
<message>
<source>&Export</source>
<translation>&Экспортдлох</translation>
</message>
<message>
<source>Export the data in the current tab to a file</source>
<translation>Сонгогдсон таб дээрхи дата-г экспортлох</translation>
</message>
</context>
<context>
<name>qtum-core</name>
<message>
<source>Insufficient funds</source>
<translation>Таны дансны үлдэгдэл хүрэлцэхгүй байна</translation>
</message>
<message>
<source>Loading block index...</source>
<translation>Блокийн индексүүдийг ачааллаж байна...</translation>
</message>
<message>
<source>Loading wallet...</source>
<translation>Түрүйвчийг ачааллаж байна...</translation>
</message>
<message>
<source>Rescanning...</source>
<translation>Ахин уншиж байна...</translation>
</message>
<message>
<source>Done loading</source>
<translation>Ачааллаж дууслаа</translation>
</message>
</context>
</TS>
|
qtumproject/qtum
|
src/qt/locale/bitcoin_mn.ts
|
TypeScript
|
mit
| 35,934
|
const initialState = {
types: [],
running: [],
performatives: []
}
const reduce = (state = initialState, action) => {
switch (action.type) {
case 'ADD_TYPES':
return {
...state,
types: [...state.types, ...action.types]
};
case 'ADD_RUNNING':
return {
...state,
running: [...state.running, ...action.runningAgents]
};
case 'UPDATE_TYPES':
return {
...state,
types: action.types
};
case 'UPDATE_RUNNING':
return {
...state,
running: action.running
};
case 'START_AGENT':
return {
...state,
running: [...state.running, action.agent]
};
case 'STOP_AGENT':
const running = state.running.filter(agent => agent.id.name !== action.name);
return {
...state,
running
};
case 'SET_PERFORMATIVES':
return {
...state,
performatives: action.performatives
}
default:
return state;
}
};
export default reduce;
|
nemanja-m/matrix
|
web/static/js/reducers/agents.js
|
JavaScript
|
mit
| 1,073
|
<!-- HTML header for doxygen 1.8.7-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<title>ArgCV: argcv/cxx/base/iter.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygenextra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="topbanner"><a href="https://github.com/argcv/argcv" title="ArgCV GitHub"><i class="githublogo"></i></a></div>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.svg"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('iter_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle">
<div class="title">iter.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <memory></code><br />
<code>#include "<a class="el" href="cxx_2base_2macros_8h_source.html">argcv/cxx/base/macros.h</a>"</code><br />
<code>#include "<a class="el" href="types_8h_source.html">argcv/cxx/base/types.h</a>"</code><br />
</div>
<p><a href="iter_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classargcv_1_1_iterator.html">argcv::Iterator< T ></a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">a iterable element <a href="classargcv_1_1_iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceargcv"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceargcv.html">argcv</a></td></tr>
<tr class="memdesc:namespaceargcv"><td class="mdescLeft"> </td><td class="mdescRight">Type definitions. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.7-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_35fe26ecdb9ad765d53fed138617535f.html">argcv</a></li><li class="navelem"><a class="el" href="dir_f4c1d4d5e01226d96972d9b937662d15.html">cxx</a></li><li class="navelem"><a class="el" href="dir_8406e34757e41b9fe978b83e765508d4.html">base</a></li><li class="navelem"><a class="el" href="iter_8h.html">iter.h</a></li>
</ul>
</div>
</body>
</html>
|
yuikns/argcv
|
docs/html/iter_8h.html
|
HTML
|
mit
| 6,389
|
module.exports = require('material-ui/Dialog');
|
rynti/material-ui-next
|
Dialog/index.js
|
JavaScript
|
mit
| 48
|
// This file is automatically generated.
package adila.db;
/*
* Hisense F270BW
*
* DEVICE: F270BW
* MODEL: F270BW
*/
final class f270bw_f270bw {
public static final String DATA = "Hisense|F270BW|";
}
|
karim/adila
|
database/src/main/java/adila/db/f270bw_f270bw.java
|
Java
|
mit
| 211
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.