text stringlengths 3 1.05M |
|---|
fastlane documentation
----
# Installation
Make sure you have the latest version of the Xcode command line tools installed:
```sh
xcode-select --install
```
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)
# Available Actions
## iOS
### ios u... |
<?php
header('Content-Type: text/javascript; charset=UTF-8',true);
header("Access-Control-Allow-Origin: *");
header("Connection: Keep-alive");
(@include_once "yeapf.php") or die("yeapf not configured");
/* @OBSOLETE 20170111
$developBase=$yeapfConfig['yeapfPath']."/../develop";
(@include_once "$develo... |
title: Pelatihan Wiki untuk penggunaan dana dan aktivitas IMDLN
date: 2012-01-09
categories:
- laporan
- Penghargaan Hak Asasi Manusia untuk Blogger (Human Rights Blogger Award)
---
>
## About
XDE is a WIP disassembly engine based on [pyxed](https://github.com/huku-/pyxed)
and [pyrsistence](https://github.com/huku-/pyrsistence).
XDE is constantly updated and will soon become a full featured, reliable, modular,
yet minimal and clean, x86 and ... |
/*
This function expects two hexStrings and relies on hexStrToRGBA to convert
to a JSON object that represents RGBA for the underlying Windows API to
understand.
Examples of valid values:
setAppBarColors('#FFFFFF','#000000');
setAppBarColors('#FFF','#000');
setAppBarColors('FFFFFF... |
package org.broadinstitute.hellbender.tools.walkers.haplotypecaller;
import htsjdk.samtools.SAMFileHeader;
import htsjdk.samtools.SAMSequenceDictionary;
import htsjdk.samtools.reference.ReferenceSequenceFile;
import htsjdk.variant.variantcontext.*;
import htsjdk.variant.variantcontext.writer.Options;
import htsjdk.var... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Annls mycol. 14(6): 423 (1917)
#### Original name
Physalospora borealis Sacc.
### Remarks
null |
package uk.co.ribot.androidboilerplate.ui.main;
import java.util.List;
import javax.inject.Inject;
import rx.Subscriber;
import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import timber.log.Timber;
import uk.co.ribot.androidboilerplate.data.DataManager;
import uk... |
typescript-pixi-game-template
====
On progress, but working ;) |
// Code generated by go-swagger; DO NOT EDIT.
package cluster
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"net/http"
"time"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"
cr "github.com/... |
'use strict';
var Festival = function Festival(id, name, description, type, status, tags, images, duration, locations, createdAt, updatedAt, userId) {
this.id = id;
this.name = name;
this.description = description;
this.type = type;
this.status = status;
this.tags = tags;
this.images = images;
this.dur... |
@implementation AGSGoogleMapLayer
-(AGSUnits)units{
return _units;
}
-(AGSSpatialReference *)spatialReference{
return _fullEnvelope.spatialReference;
}
-(AGSEnvelope *)fullEnvelope{
return _fullEnvelope;
}
-(AGSEnvelope *)initialEnvelope{
//Assuming our initial extent is the same as the full extent
return _ful... |
RELEASE_VERSION=$(lsb_release -r | sed -e 's/Release:[\t]*//')
wget http://www.arangodb.org/repositories/arangodb/xUbuntu_${RELEASE_VERSION}/Release.key
sudo apt-key add - < Release.key
echo "deb http://www.arangodb.org/repositories/arangodb/xUbuntu_${RELEASE_VERSION}/ /" >> $HOME/arangodb.list
sudo mv ~/arangodb.li... |
package com.jfeinstein.jazzyviewpager;
import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.view.Gravity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lambek: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
global_exclude="./$script_name ./good.txt ./bad.txt ./.omg.txt"
|
<component name="libraryTable">
<library name="facebook-android-sdk-4.5.0">
<CLASSES>
<root url="jar://$PROJECT_DIR$/ParseStarterProject/build/intermediates/exploded-aar/com.facebook.android/facebook-android-sdk/4.5.0/jars/classes.jar!/" />
<root url="file://$PROJECT_DIR$/ParseStarterProject/build/int... |
<!DOCTYPE html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<!-- Add a link to jQuery CDN here script here -->
<script type="text/javascript" src="jquery_example.js"></script>
<style> img {position:relativ... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* content controller
*/
class content extends Admin_Controller
{
//--------------------------------------------------------------------
/**
* Constructor
*
* @return void
*/
public function __construct()
{
parent::__constru... |
package org.droidbike;
import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
im... |
function calData = CVIAdjustCalData(calData,cviData)
% calData = CVIAdjustCalData(calData,cviData)
%
% Use the fine spectral measurements taken with
% the CVI (see CVIMeasurePhosphors) to adjust
% the coarse spectral measurements taken with
% the PR-650. Actually, nothing about the
% method is particularly specific to... |
package info.dgjones.abora.gold.xpp.fluid;
import info.dgjones.abora.gold.java.AboraHeaper;
import info.dgjones.abora.gold.java.AboraSupport;
import info.dgjones.abora.gold.java.exception.AboraAssertionException;
import info.dgjones.abora.gold.java.exception.SubclassResponsibilityException;
import info.dgjones.abora... |
export interface IFunctionAction {
name: string;
path: any;
}
|
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
$(document).ready(function () {
$("#car_select").bind("change", function (event, ui) {
var optionSelected = $(this).find(... |
import unittest
from analysis.lemmatizers.dblookup import DbLookupLemmatizer
class Test_DbLookup(unittest.TestCase):
def test_get_lemma(self):
dblookup = DbLookupLemmatizer()
dblookup.initialize()
lemma = dblookup.get_lemma('otrzymała')
self.assertTrue(lemma == 'otrzymać')
... |
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>matrices: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "platform/graphics/gpu/WebGLImageConversion.h"
#include "platform/CheckedInt.h"
#include "platform/graphics/ImageObserver.h"... |
class AddIndexOnModelToArteryMessages < ActiveRecord::Migration[5.2]
def up
add_index :artery_messages, :model unless index_exists?(:artery_messages, :model)
end
def down
remove_index :artery_messages, :model
end
end
|
#include "decision_priv.h"
#include <string.h>
decision_input_t *decision_input_create()
{
decision_input_t *di = malloc(sizeof(decision_input_t));
if (!di)
return NULL;
INIT_LIST_HEAD(&di->models);
gettimeofday(&di->tv, NULL);
return di;
}
decision_input_model_t *decision_input_model_create(model_t *model... |
package com.orientechnologies.orient.object.enhancement;
import com.orientechnologies.common.log.OLogManager;
import com.orientechnologies.common.reflection.OReflectionHelper;
import com.orientechnologies.orient.core.Orient;
import com.orientechnologies.orient.core.annotation.OAccess;
import com.orientechnologies.ori... |
<?xml version="1.0" ?>
<enemy>
<behaviour>
<root x="110" y="40">
<normal>
<andblock>
<normal>
<condition id="checkCounter">
<string id="id">shopCounter</string>
<string id... |
//
// Copyright (c)1998-2011 Pearson Education, Inc. or its affiliate(s).
// All rights reserved.
//
using System;
using System.Collections;
using System.Xml.XPath;
using System.Xml.Xsl;
using OpenADK.Library.Tools.XPath;
namespace OpenADK.Library.Tools.Mapping
{
/**
*
* A FieldAdaptor implementation... |
package com.miscitems.MiscItemsAndBlocks.Utils.Render.TileEntityRenderer;
import com.miscitems.MiscItemsAndBlocks.Models.DiceHolderModel;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.... |
module TwilioApiMock
VERSION = "0.1.0"
end
|
from etk.etk_module import ETKModule
from etk.document import Document
from etk.extractors.glossary_extractor import GlossaryExtractor
class ETKModuleGlossary(ETKModule):
def __init__(self, etk):
ETKModule.__init__(self, etk)
self.name_extractor = GlossaryExtractor(self.etk.load_glossary("./extrac... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>GetAccountTransactionIds</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
... |
module Codewars.Kata.Evaporator where
evaporator :: Double -> Double -> Double -> Integer
evaporator _ e t = ceiling $ (log $ t / 100) / (log $ 1 - e / 100)
|
using System;
using System.Collections.Generic;
using System.Linq;
using Nop.Core;
using Nop.Core.Caching;
using Nop.Core.Data;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Forums;
using Nop.Services.Common;
using Nop.Services.Customers;
using Nop.Services.Events;
using Nop.Services.Messages;
namespace Nop.... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_91) on Mon Jun 06 14:51:10 EDT 2016 -->
<title>IEndpointStateChangeSubscriber (apache-cassandra API)</title>
<meta name="date" content="2016-06... |
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
set I18NSPHINXOPTS=%SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
set I18N... |
package org.apache.hadoop.hbase.hbtop.terminal;
import java.util.concurrent.TimeUnit;
import org.apache.hadoop.hbase.hbtop.terminal.impl.TerminalImpl;
public final class KeyPressTest {
private KeyPressTest() {
}
public static void main(String[] args) throws Exception {
try (Terminal terminal = new Termi... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.drools</groupId>
<artifact... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Mon May 23 19:36:32 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Class Hierarchy (Lucene 6.0.... |
yes = when (not . null $ asdf)
|
DIR=/home/kevinr/src/750book-web-project/_750bookweb
APP=750book
PORT=8000
USER=kevinr
FOREMAN=/var/lib/gems/1.9.1/bin/foreman
#adduser --system --group --home /home/kevinr/src/750book-web-project/_750bookweb --no-create-home --disabled-login --disabled-password --shell /bin/false sevenfiftybook
rm /etc/init/$APP*.co... |
package org.openbaton.nfvo.core.interfaces;
import java.io.IOException;
import org.openbaton.catalogue.nfvo.images.NFVImage;
import org.openbaton.exceptions.AlreadyExistingException;
import org.openbaton.exceptions.NotFoundException;
/**
* Used for operations on the NFVImage objects inside the image repository of ... |
<?php
namespace Composer\Repository;
use Composer\IO\IOInterface;
use Composer\Package\Version\VersionParser;
use Composer\Repository\Pear\ChannelReader;
use Composer\Package\CompletePackage;
use Composer\Repository\Pear\ChannelInfo;
use Composer\Package\Link;
use Composer\Package\LinkConstraint\VersionConstraint;
... |
package org.apache.ignite.internal.processors.cache;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import javax.cache.Cache.Entry;
import javax.cache.configuration.Factory;
import javax.cache.configur... |
#ifndef DYNAMIC_H_WIN_66BC65DB_AFF6_43C8_8654_D1A2801635E2
#define DYNAMIC_H_WIN_66BC65DB_AFF6_43C8_8654_D1A2801635E2
//
// NEED LIBRARY: comsupp.lib comsuppw.lib/comsuppwd.lib
//
#include <vector>
#include <deque>
#include <iosfwd>
#include <map>
#include <string>
#include <comutil.h>
#include "simple/delegate.h"
#... |
package apps::monitoring::loggly::restapi::mode::fields;
use base qw(centreon::plugins::templates::counter);
use strict;
use warnings;
sub set_counters {
my ($self, %options) = @_;
$self->{maps_counters_type} = [
{ name => 'global', type => 0 },
{ name => 'field', type => 1, cb_prefix_output... |
% callRunTestMatrix.m
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function callRunTestMatrix
% runTestMatrix( 'rateVelTau.txt', [pwd,'/output/case003'], 1, 1);
% runTestMatrix( 'rateVelTau.txt', [pwd,'/output/case003']);
% runTestMatrix( 'params004.txt', [pwd,'/output/case004'... |
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(... |
package org.opencloudengine.flamingo.mapreduce.etl;
import org.apache.hadoop.util.ProgramDriver;
import org.opencloudengine.flamingo.mapreduce.core.Constants;
import org.opencloudengine.flamingo.mapreduce.etl.groupby.GroupByDriver;
/**
* 모든 MapReduce를 실행하기 위한 Alias를 제공하는 Program Driver.
*
* @author Edward KIM
* ... |
import roslib; roslib.load_manifest('ar_slam_base')
import rospy
from std_msgs.msg import Float64,Float32
from sensor_msgs.msg import JointState
from geometry_msgs.msg import PointStamped
import tf
import numpy
import message_filters
from ar_slam_base.mapping_kf import *
from ar_track_alvar_msgs.msg import AlvarMark... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_111) on Mon Oct 22 11:56:42 CST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>类 com.dtstack.jlogstash.inp... |
"""Unit tests for core.domain.rte_component_registry."""
from __future__ import annotations
import inspect
import os
import pkgutil
import re
import string
import struct
from core import feconf
from core import schema_utils
from core import schema_utils_test
from core import utils
from core.constants import constant... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Opera/9.80 (Linux mips; ) Presto/2.12.407 Version/12.51 HbbTV/1.1.1 (; Vestel; S7720; 1.0; 1.0;)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/cs... |
<?php
class PluginCallbacksTestCase extends CakeTestCase {
public $autoFixtures = false;
/**
* Start test
*
* @return void
* @access public
*/
public function startTest($method = null) {
$path = APP . 'plugins' . DS . 'plugin_callbacks' . DS . 'tests' . DS . 'mock_app' . DS;
App::import('Model', 'User... |
<?php
declare(strict_types=1);
namespace Artisanry\Tests\Chartist;
use GrahamCampbell\TestBenchCore\ServiceProviderTrait;
class ServiceProviderTest extends AbstractTestCase
{
use ServiceProviderTrait;
}
|
A dark blue syntax theme based on the original Cobolt theme. This theme has been revised to work with Atom verion 1.x.

|
from rest_framework.test import APITestCase
from django.core.urlresolvers import reverse
import json
from helpers import *
class ImageUploadTest(APITestCase):
def test_list_uploaded_images(self):
"""
"""
url = reverse('uploadedimage-list')
#+ with self.assertNumQueries(1):
#+ response = self.client.get... |
package com.sunjian.android_pickview_lib;
import android.os.Bundle;
import android.view.View;
import java.util.ArrayList;
/**
* 手机选项选择器
* Created by sunjian on 2016/12/23.
*/
public class TVOptionsPickerDialog<A, B, C> extends BaseOptionsPickerDialog<A, B, C> {
private View mBtnOK;
public static <A, B,... |
require 'rspec/expectations'
RSpec::Matchers.define :have_a_switch do |name, param, default|
match do |page|
param = param.to_s
btn = page.find_link name
uri = URI(btn[:href])
params = Hash[URI.decode_www_form(uri.query)]
param_matches = default ? !params.has_key?(param) : params[param] == '1'
... |
package java.awt.im;
import java.awt.Rectangle;
import java.awt.font.TextHitInfo;
import java.text.AttributedCharacterIterator;
import java.text.AttributedCharacterIterator.Attribute;
/**
* InputMethodRequests defines the requests that a text editing component
* has to handle in order to work with input methods. ... |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace PrtgAPI.Tree.Internal
{
/// <summary>
/// Represents a property of an <see cref="IPrtgObject"/> in the PRTG Object Tree that does not have a child -> parent relationship.
/// </summary>
internal class... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Tue Jan 10 20:30:27 CET 2017 -->
<title>JJsonArrayResponseConverter (jus-jjson 0.6.9 API)</title>
<meta name="date" content="2017-01-10... |
package edu.ccsu.xml;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
/**
*
* @author Chad Williams
*/
public class XmlCDDemo {
public static void main(String[] args) {
Cds cds = new Cds();
Cd cd = new Cd("Green Day", "Dookie", 1994);
cd.addMusician(new Musician("B... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Mon Jan 15 08:36:52 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... |
from django.contrib import admin
# Register your models here.
from .models import BusinessInfo,ApplicationInfo
# Register your models here.
admin.site.register(BusinessInfo)
admin.site.register(ApplicationInfo) |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; Android 4.1.1; ALCATEL ONE TOUCH 6030A Build/JRO03C) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19</title>
<link rel="stylesheet" href="htt... |
( // Module boilerplate to support browser globals, node.js and AMD.
(typeof module !== "undefined" && function (m) { module.exports = m(require('./runtime')); }) ||
(typeof define === "function" && function (m) { define(["./runtime"], m); }) ||
(function (m) { window.brozula = window.brozula || {}; window.brozul... |
module Travis::Api::App::Responders
require 'date'
class Atom < Base
ATOM_FEED_ERB = ERB.new <<-EOF
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><%= resource.first.repository.slug %> Builds</title>
<link href="<%= endpoint.url %>" type="application/atom+xml" re... |
import React, { Component } from 'react'
module.exports.PiStatusComponent = class extends Component {
constructor (props) {
super(props)
this.state = {
hours: null,
minutes: null,
seconds: null
}
this.loadData()
}
loadData () {
fetch(`${this.props.loadFrom}`)
.then((res... |
require File.expand_path(File.join(File.dirname(__FILE__), "core_ext/object"))
module Rink
autoload :Delegation, "rink/delegation"
autoload :Namespace, "rink/namespace"
autoload :Lexer, "rink/lexer"
autoload :IOMethods, "rink/io_methods"
autoload :LineProcessor, "rink/line_processor"
autoload :Console, "ri... |
/*
* Bean Testing.
*
* 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, ... |
// Copyright 2014 CloudFounders NV
//
// 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 t... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.jme3.gde.cinematic.gui;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
/**
*
* @author MAYANK
*/
public class CanvasViewport extends JScrollPane{
private TimelineCanvas timeline = null;
... |
#import "PLConstraintLayoutAttributeMapper.h"
@implementation PLConstraintLayoutAttributeMapper {
}
+ (NSLayoutAttribute)attributeFromString:(NSString *)attributeName {
attributeName = [attributeName lowercaseString];
if ([attributeName isEqualToString:@"left"]) {
return NSLayoutAttributeLeft;
... |
package net.sf.esfinge.metadata.validate.needsToHave.CT18;
import net.sf.esfinge.metadata.validate.needsToHave.Logging03;
public class OrderProcessing18{
@Logging03
public void registerPurchase(){}
}
|
node-screenshot
===============
This is a WIP app to take screenshots with a node-webkit application. The screenshots themeselves are taken from an external command line program.
TODO:
------------
- [x] Create proof of concept
- [x] Custom Event Binding when window is closed
- [x] Find/Create Windows CLI program wit... |
import {foo} from './dep';
if (foo) { // sketchy null string (cross-module)
}
const bar: string | void = undefined;
if (bar) { // sketchy null string (local)
}
|
from swgpy.object import *
def create(kernel):
result = Creature()
result.template = "object/mobile/shared_dressed_corsair_pirate_weak_rod_m.iff"
result.attribute_template_id = 9
result.stfName("npc_name","rodian_base_male")
#### BEGIN MODIFICATIONS ####
#### END MODIFICATIONS ####
return result |
<?php
declare(strict_types=1);
namespace MsgPhp\Domain\Exception;
/**
* @author Roland Franssen <franssen.roland@gmail.com>
*/
final class InvalidClass extends \LogicException implements DomainException
{
public static function create(string $class): self
{
return new self('Class "'.$class.'" is in... |
package com.arpnetworking.metrics.extras;
/**
* Just here to make sure javadoc gets generated.
*
* @author Brandon Arp (barp at groupon dot com)
*/
public class Dummy {
}
|
<?php
namespace frontend\controllers;
use common\models\SitePages;
use yii;
class IndexController extends AppController
{
function actionIndex()
{
return $this->render('index');
}
} |
require 'aws/s3'
require 'active_support/core_ext/numeric/bytes'
module S3MultipartUpload
module Uploader
class << self
MIN_PART_SIZE = 5.megabytes
MAX_PARTS = 10000
def upload(file, path)
part_size = compute_part_size file.file_size
parts = file.split_into_parts(part_size)
... |
<?php
$mailSent = false;
$suspect = false;
$pattern = '/Content-type:|Bcc:|Cc:/i';
function isSuspect($value, $pattern, &$suspect) {
if (is_array($value)) {
foreach($value as $item) {
isSuspect($item, $pattern, $suspect);
}
} else {
if (preg_match($pattern, $value)) {
... |
<?php
require_once dirname(__FILE__) . '/vendor/autoload.php';
use AlternativePayments\Config;
class AlternativePayments {
// Merchant setup
private $_publicKey = 'pk_test_xxxxxxxx';
private $_secretKey = 'sk_test_xxxxxxxx';
//DEV
//private $_apiUrl = 'http://api.local/api';
//TEST
//pri... |
"""
Tk2
Tk2 is a convenience library for extending the functionality of Tkinter,
to make it easier and more flexible to create GUI applications.
"""
from .basics import *
from .scrollwidgets import *
from .texteditor import Text, MultiTextSearch
from .variables import *
# Later
from .multiwidgets import *
from .pr... |
package v1helpers
import (
"context"
"fmt"
"strconv"
"time"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/client-go/kubernetes"
corev1listers "k8s.io/client-go/... |
package fr.javatronic.blog.massive.annotation2;
import fr.javatronic.blog.processor.Annotation_002;
@Annotation_002
public class Class_933 {
}
|
package net.mindengine.testhub.model.builds;
import net.mindengine.testhub.model.tests.TestStatistics;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
public class BuildResponse {
private Stri... |
"use strict";
var thrift = require('thrift');
var Thrift = thrift.Thrift;
var Q = thrift.Q;
var bean_ttypes = require('./bean_types');
var ttypes = require('./service_types');
//HELPER FUNCTIONS AND STRUCTURES
var BannerService_insert_args = function(args) {
this.banner = null;
if (args) {
if (args.banner ... |
from setuptools import setup
def readme():
with open('./README.rst') as f:
return f.read()
setup(name='rdflib-appengine',
version = '1.2.0',
description='Python distributible for using rdflib with NDB',
long_description=readme(),
url='https://github.com/mr-niels-christensen/rdflib-... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace Detective.Api
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISe... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicecontrol/v1/service_controller.proto
package com.google.api.servicecontrol.v1;
/**
* <pre>
* Response message for the Report method.
* </pre>
*
* Protobuf type {@code google.api.servicecontrol.v1.ReportResponse}
*/
public f... |
"use strict";
var moment = require('moment');
module.exports = {
getPrinciplePropfindXML: function() {
return `<?xml version="1.0" encoding="UTF-8"?>
<A:propfind xmlns:A="DAV:">
<A:prop>
<B:calendar-home-set xmlns:B="urn:ietf:params:xml:ns:caldav" />
<B:calendar-user-address-set xmlns:B="u... |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Accelerator.OutOfOffice.Client.Common;
using Accelerator.OutOfOffice.Client.Logs;
namespace Accelerator.OutOfOffice.Client.Services
{
public class TimezoneService
{
public static TimezoneService _timezoneService;
... |
angular.module('MyApp')
.controller('MainCtrl', ['$scope', 'alertService', '$http', '$rootScope', '$route', 'User','Idea', 'Tool', function($scope, alertService, $http, $rootScope, $route, User, Idea, Tool) {
$scope.myClass = {};
$scope.loading = {ideas: true, users: true};
Idea.query({}, funct... |