code
stringlengths
4
1.01M
/* Copyright 2011 Google Inc. Modifications Copyright (c) 2014 Simon Zimmermann 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 a...
module HTMLValidationHelpers def bad_html '<html><title>the title<title></head><body><p>blah blah</body></html>' end def good_html html_5_doctype + '<html><title>the title</title></head><body><p>a paragraph</p></body></html>' end def dtd '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitiona...
using System.Xml.Serialization; namespace ImgLab { [XmlRoot("source")] public sealed class Source { [XmlElement("database")] public string Database { get; set; } } }
package fr.adrienbrault.idea.symfony2plugin.tests; import fr.adrienbrault.idea.symfony2plugin.ServiceMap; import fr.adrienbrault.idea.symfony2plugin.ServiceMapParser; import org.junit.Test; import org.junit.Assert; import java.io.ByteArrayInputStream; import java.util.Map; /** * @author Adrien Brault <adrien.brault...
ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' require 'minitest/reporters' Minitest::Reporters.use! class ActiveSupport::TestCase # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. fixtures :all include Applicat...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> ii; typedef vector<int> vi; typedef vector<ii> vii; int main () { int n; while(scanf("%d", &n) && n) { bitset<32> bs,a,b; bs = n; int cont = 0; for(int i = 0; i < 32; i++) { if(bs.test(i)) { ...
#ifndef BARBERPOLE_H #define BARBERPOLE_H #include "iLampAnimation.h" #include "Lamp.h" class BarberPole : public iLampAnimation { public: BarberPole(Lamp* lamp); int itterate(); void reset(); protected: int cur_led = 0; int offset = 0; uint8_t hue = 0; uint8_t fps = 60; private: }; ...
describe Certificate do it { is_expected.to have_property :id } it { is_expected.to have_property :identifier } it { is_expected.to have_property :image_key } it { is_expected.to have_property :certificate_key } it { is_expected.to have_property :created_at } it { is_expected.to belong_to :delivery } it...
<?php namespace OpenRailData\NetworkRail\Services\Stomp\Topics\Rtppm\Entities\Performance; /** * Class Performance * * @package OpenRailData\NetworkRail\Services\Stomp\Topics\Rtppm\Entities\Performance */ class Performance { /** * @var int */ private $totalCount; /** * @var int */...
package gitnotify import ( "errors" "fmt" "html/template" "net/http" "os" "sort" "github.com/gorilla/mux" "github.com/markbates/goth" "github.com/markbates/goth/gothic" "github.com/markbates/goth/providers/github" "github.com/markbates/goth/providers/gitlab" "github.com/sairam/kinli" ) // Authentication ...
import numpy as np import matplotlib.pylab as plt from numba import cuda, uint8, int32, uint32, jit from timeit import default_timer as timer @cuda.jit('void(uint8[:], int32, int32[:], int32[:])') def lbp_kernel(input, neighborhood, powers, h): i = cuda.grid(1) r = 0 if i < input.shape[0] - 2 * neighborho...
package me.F_o_F_1092.WeatherVote.PluginManager.Spigot; import java.util.ArrayList; import java.util.List; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import me.F_o_F_1092.WeatherVote.Options; import me.F_o_F_1092.WeatherVote.PluginManager.Command; import me.F_o_F_1092.WeatherVote.Plugi...
namespace _05_SlicingFile { using System; using System.Collections.Generic; using System.IO; class StartUp { static void Main() { var sourceFile = @"D:\SoftUni\05-Csharp Advanced\08-EXERCISE STREAMS\Resources\sliceMe.mp4"; var destinationDirectory = @"D:\Sof...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Be...
#pragma once #include "SYCL/detail/common.h" namespace cl { namespace sycl { namespace detail { using counter_t = unsigned int; template <class T, counter_t start = 0> class counter { private: static counter_t internal_count; counter_t counter_id; public: counter() : counter_id(internal_count++) {} coun...
pub const MEMORY_REGIONS_MAX: usize = 8;
<!-- INCLUDE ucp_header.html --> <!-- IF not PROMPT --> <!-- INCLUDE ucp_pm_message_header.html --> <!-- ENDIF --> <!-- IF PROMPT --> <h2>{L_EXPORT_AS_CSV}</h2> <form id="viewfolder" method="post" action="{S_PM_ACTION}"> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <h3...
define(['omega/entity', 'omega/core'], function (e, o) { 'use strict'; var triggerKey = function (action, e) { o.trigger(action, { keyCode: e.keyCode, shiftKey: e.shiftKey, ctrlKey: e.ctrlKey, altKey: e.altKey }); }; window.onkeydown =...
package zeonClient.mods; import java.util.Iterator; import org.lwjgl.input.Keyboard; import net.minecraft.client.entity.EntityOtherPlayerMP; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.playe...
package com.github.lunatrius.schematica.client.gui; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiSlot; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.resources.I18n; import net.minecraft.item.ItemStack; class GuiSchematicMaterialsSlot extends GuiSlot { p...
package li.cryx.minecraft.death; import java.util.logging.Logger; import li.cryx.minecraft.death.i18n.ITranslator; import li.cryx.minecraft.death.persist.AbstractPersistManager; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.Player; public interface ISpiritHealer { void addAltarL...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * A CodeIgniter library that wraps \Firebase\JWT\JWT methods. */ class Jwt { function __construct() { // TODO: Is this the best way to do this? (Issue #4 at psignoret/aad-sso-codeigniter.) require_once(APPPATH . 'libra...
--- layout: post title: 100 Plus date: 2013-07-13 20:23 author: admin comments: true --- Hey,  I just noticed that this is my 102nd entry here on Tidy Husband. I've written over 100 articles here - An anniversary of sorts and when you think about it, it only took me about a year. I've written 55,000 words here....
$(window).on('load', function() {//main const dom = {//define inputs tswitch: $("#wave-switch input"), aSlider: $("input#angle"),//angle slider nSlider: $("input#refractive-index-ratio"), }; let layout = {//define layout of pot showlegend: false, ...
// EX.1 - READ A TEXT FILE CHAR BY CHAR #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { FILE *bin; //declare a file pointer variable FILE *numfile; char s[20] = "1234"; int ch; int i; char line[50]; numfile = fopen("numbers.txt","r"); bin = fopen("numbers....
<html> <head> <title>主页</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta http-equiv="imagetoolbar" content="no"/> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta name="apple-mobile-web-app-capable" content="yes"/...
/***************************************************************** * syscall.c * adapted from MIT xv6 by Zhiyi Huang, hzy@cs.otago.ac.nz * University of Otago * ********************************************************************/ #include "types.h" #include "defs.h" #include "param.h" #include "mem...
// Package machinelearningservices implements the Azure ARM Machinelearningservices service API version 2019-06-01. // // These APIs allow end users to operate on Azure Machine Learning Workspace resources. package machinelearningservices // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under t...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <base data-ice="baseUrl" href="../../../"> <title data-ice="title">CondaExecutable | API Document</title> <link type="text/css" rel="stylesheet" href="css/style.css"> <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css"> <script src="sc...
<?php namespace App\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Foundation\Auth\AuthenticatesUsers; class AdminLoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>XPEDYTOR</title> <meta name="author" content="lajmahal"/> <meta name="description" content="The Xpedytor App"/> <meta name="keywords" content="xpedytor"/> <link rel="stylesheet" href="../../js/lib/bootstrap/dist/css/bootstrap....
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class LogoutBox Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try ...
--- tags: post title: The utility module antipattern description: Why naming a module or file utils is a bad idea and how to fix that problem. date: 2020-05-20 published: true featuredImage: "./www/posts/utils-antipattern/banner.jpg" featuredImageAlt: Messy toolbox thumbnailImage: "./thumbnail.jpg" thumbnailImageAlt:...
# ETL We are going to do the `Transform` step of an Extract-Transform-Load. ### ETL Extract-Transform-Load (ETL) is a fancy way of saying, "We have some crufty, legacy data over in this system, and now we need it in this shiny new system over here, so we're going to migrate this." (Typically, this is followed by, "W...
package pixlepix.auracascade.data; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; /** * Created by localmacaccount on 5/31/15. */ public class Quest { //TODO QUEST public static int nextId; public final ItemStack target; public final ItemStack result; public f...
<?php /* * This file is part of the Itkg\Core package. * * (c) Interakting - Business & Decision * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Itkg\Core\Cache\Adapter; use Itkg\Core\Cache\AdapterInterface; use Itkg\C...
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "splashscreen.h" #include "clientversion.h" #include "util.h" #include <QPainter> #undef loop /* ugh, remove this wh...
<?php namespace Oro\Bundle\NoteBundle\Controller; use FOS\RestBundle\Util\Codes; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Routing\Router; use Symfony\Component\HttpFoundation\Response; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\F...
'use strict'; memoryApp.controller('AuthCtrl', function ($scope, $location, AuthService) { $scope.register = function () { var username = $scope.registerUsername; var password = $scope.registerPassword; if (username && password) { AuthService.register(username, password).then( function () ...
backbone.io-todos ================= A very simple todos app demonstrating the backbone.io module and mongoDB middleware
/** * MIT License * * Copyright (c) 2017 zgqq * * 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, me...
<html> <head> <title> Why we oppose the FTAA </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="74...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.2.1; en-us; Q600 Build/JOP40D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - LG-G922 Obigo/WAP2.0 MIDP-2.0/CLDC-1.1</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.goo...
--- category: travel type: post --- # 千里江山&赵孟頫&茜茜公主 住在北京的最大好处就是冬天能以 40 元的价格逛故宫,并看到别处动辄上百的展品。 ## 千里江山图 & 江山秋色图 ![](http://ww1.sinaimg.cn/large/89d0a2e1ly1flobr8m5f1j21sx17awq4.jpg) ![](http://ww1.sinaimg.cn/large/89d0a2e1ly1flobreiuksj21sx17ak2v.jpg) ![](http://ww1.sinaimg.cn/large/89d0a2e1ly1flobrj5wybj21sx17agr3...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="nb" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About RupayaCoin</source> <translation>Om RupayaCoin</translation> </m...
require File.expand_path('../helper', __FILE__) class BeforeFilterTest < Test::Unit::TestCase it "executes filters in the order defined" do count = 0 mock_app do get('/') { 'Hello World' } before do assert_equal 0, count count = 1 end before do assert_equal 1, ...
// // SPFastPush.h // e-mail:83118274@qq.com // // Created by lishiping on 16/11/11. // Copyright (c) 2016年 lishiping. All rights reserved. // //If you think this open source library is of great help to you, please open the URL to click the Star,your approbation can encourage me, the author will publish the better ...
<?php namespace IdeaSeven\Core\Services\Menu; use IdeaSeven\Core\Exceptions\InvalidMenuStructureException; use IdeaSeven\Core\Helpers\Strings; use IdeaSeven\Core\Services\Lang\Contracts\LanguagesContract; /** * Class PermalinkCreator * @package IdeaSeven\Core\Services\Menu */ class PermalinkCreator { /** ...
<?php /* TwigBundle:Exception:exception_full.html.twig */ class __TwigTemplate_add344e1e383c1eb02227246319313ae extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("TwigBundle::layout.html.twig"); ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0-beta2) on Mon Mar 19 19:30:45 CST 2007 --> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE> 接口 javax.print.FlavorException...
<?php namespace CBSi\ProductBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use CBSi\ProductBundle\Model\Product; use CBSi\ProductBundle\ApiClient; class DefaultController extends Controller { public function indexAction($name) { return $this->render('CBSiProductBundle:De...
<!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" con...
<!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" con...
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
export const PlusCircle = ` <svg viewBox="0 0 28 28"> <g fill="none" fill-rule="evenodd"> <path d="M8 14h12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/> <circle stroke="currentColor" cx="14" cy="14" r="13"/> <path d="M14 8v12" stroke="currentColor" stroke-linecap="round" stroke-...
<?php /* * Description of bibliographyController * * This is a controller loading the bibliography. It does not support any user input */ namespace PNM\controllers; class bibliographyController { public function load() { $bibliography = new \PNM\models\bibliography(); $view = new \PNM\vi...
package com.missingeye.pixelpainter.events.network.texture; import com.missingeye.pixelpainter.common.PixelMetadata; import net.minecraft.util.ResourceLocation; /** * Created on 1/17/2015. * * @auhtor Samuel Agius (Belpois) */ public class ServerUpdatedTexturePacketEvent extends UpdatedTexturePacketEvent { publi...
# Changelog ## 2.0.5 (Sep 16 2014) - Fix small bugs ## 2.0.4 (Sep 9 2014) - Prevent window from moving when clicking window buttons ## 2.0.3 (Sep 9 2014) - Add "Media Link" button, click to open current playing video/music link (Can resolve SoundCloud URL now) - Load faster - Fix Auto-Woot doesn't work if loaded too...
Contributing ============ - [Fork](https://help.github.com/articles/fork-a-repo) the [notifier on github](https://github.com/bugsnag/bugsnag-android-gradle-plugin) - Build and test your changes - Commit and push until you are happy with your contribution - [Make a pull request](https://help.github.com/articles...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace QSDStudy { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*path...
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
--- title: Dimmer --- <h3 class="docs-subsection-title">Default</h3> <div class="docs-example"> <div av-dimmer class="card card-block"> <div class="dimmer-content dimmer-content-dark text-center"> <p> Dimmer Message </p> </div> <h4 class="card-title">Example title</h4> <p class="card-text">Examp...
#ifndef LUCE_HEADER_TYPETRAIT_TYPEEQUAL_HH #define LUCE_HEADER_TYPETRAIT_TYPEEQUAL_HH #include <Luce/Configuration.hh> #include <Luce/Utility/NonComparable.hh> #include <Luce/Utility/NonCopyable.hh> namespace Luce { namespace TypeTrait { template<typename Lhs_, typename Rhs_> struct TypeEqual LUCE_M...
#!/usr/bin/env julia using ArgParse s = ArgParseSettings() @add_arg_table s begin "config" help = "a YAML configuration file" default = "config.yaml" end parsed_args = parse_args(ARGS, s) import YAML config = YAML.load(open(parsed_args["config"])) # Make some diagnostic plots to show what the model loo...
export type TemplateToken = string | TemplatePlaceholder; export interface TemplatePlaceholder { before: string; after: string; name: string; } interface TokenScanner { text: string; pos: number; } const enum TemplateChars { /** `[` character */ Start = 91, /** `]` character */ En...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_24) on Mon Apr 01 21:56:35 EDT 2013 --> <TITLE> Groupable (ATG Java API) </TITLE> <META NAME="date" CONTENT="2013-04-01"> <LINK REL ="stylesheet" T...
package com.example.aperture.core.contacts; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.provider.ContactsContract; import java.util.List; import java.util.ArrayList; import com.example.aperture.core.Module; public class Email...
<?php return array ( 'id' => 'samsung_n300_ver1', 'fallback' => 'uptext_generic', 'capabilities' => array ( 'model_name' => 'SGH-N300', 'brand_name' => 'Samsung', 'streaming_real_media' => 'none', ), );
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
<table width="90%" border="0"><tr><td><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="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
// Copyright (c) 2011-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "kcoingui.h" #include "kcoinunits.h" #include "clientmodel.h" #include "guiconstants.h" #include "guiutil.h" #inclu...
var xmas = {}; (function() { xmas.present = { box: {} }; }()); (function(global) { global.xmas.present.box.color = 'Red'; }(this));
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GSAKWrapper.Excel { public class PropertyItemHasUserNote : PropertyItem { public PropertyItemHasUserNote() : base("HasUserNote") { } public ...
Vswiki::Application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both thread web serve...
/** * A decorator for making sure specific function being invoked serializely. * * Usage: * class A { * @serialize * async foo() {} * } * */ export default function serialize(target, key, descriptor) { let prev = null; function serializeFunc(...args) { const next = () => Promise.resolve(descr...
<?php namespace Application\Controller; use Zend\Mvc\Controller\AbstractRestfulController; use Zend\View\Model\JsonModel; class UserController extends AbstractRestfulController { protected $collectionOptions = array('GET', 'POST'); protected $resourceOptions = array('GET', 'PUT', 'DELETE'); protected fu...
Changelog ========== ### 3.1.2 - Bump to FBSDK 5.5.0 ### 3.1.1 - Bump to FBSDK 5.4.1 ### 3.1.0 - Bump to FBSDK 5.2.3 ### 3.0.2 - Bug fix with facebook picture pagination ### 3.0.1 - Bug fix with facebook album pagination ### 3.0.0 - Bump to FBSDK 5.0.0 (contains a lot of breaking change) ### 2.6.0 - Bu...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../openssl_sys/enum.stack_st_X509.html"> </head> <body> <p>Redirecting to <a href="../../openssl_sys/enum.stack_st_X509.html">../../openssl_sys/enum.stack_st_X509.html</a>...</p> <script>location.replace("../../openssl_sys/...
<?php /** * This module shows an introduction tour for new users * * @package profiler.modules_core.like * @since 0.5 */ class TourModule extends HWebModule { public $isCoreModule = true; public static function onDashboardSidebarInit($event) { if (HSetting::Get('enable', 'tour') == 1 && Yii:...
package ast import ( "testing" "bitbucket.org/yyuu/xtc/xt" ) func TestPrefixOpNode(t *testing.T) { x := NewPrefixOpNode(loc(0,0), "--", NewVariableNode(loc(0,0), "a")) s := `{ "ClassName": "ast.PrefixOpNode", "Location": "[:0,0]", "Operator": "--", "Expr": { "ClassName": "ast.VariableNode", "L...
package com.dpanayotov.simpleweather.api.base; public class BaseForecastResponse { }
// // EmailComposer.h // // // Created by Jesse MacFadyen on 10-04-05. // Copyright 2010 Nitobi. All rights reserved. // #import <Foundation/Foundation.h> #import <MessageUI/MFMailComposeViewController.h> #import <MobileCoreServices/MobileCoreServices.h> #import <Cordova/CDV.h> @interface EmailCompose...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>qarith: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cfml: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
require 'rails_helper' RSpec.describe "Pages", :type => :request do describe "GET /pages" do it "redirects when unauthenticated" do get pages_path expect(response.status).to be(302) end end let(:rory) {User.create!(name: 'Rory', uid: "1")} let(:valid_attributes) { { path: 'path/to/page', b...
--- layout: post title: "Welcome" date: 2015-07-26 15:07:29 author: Rodrigo de Freitas modalID: modalWelcome image: /images/posts/welcome.png --- Normalmente as pessoas da minha área colocariam o título de "Hello World" na primeira postagem do blog, mas como eu já acho isso um pouco batido e como você deve ter notad...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Huoran Chat</title> <link rel="stylesheet" type="text/css" href="styles/main.css" /> </head> <body> <!-- The window for login and registration --> <div id='loginWindow'> <h1>Huoran Chat</h1> <br> <div id="loginWrap...
var functions = {} functions.evaluateSnapshotType = function (name) { var splittedName = name.split('-') var type = splittedName[splittedName.length - 1].split('.')[0] return type === 'motion' ? type : type === 'snapshot' ? 'periodic' : 'unknown' } functions.getSnapshotDate = function (name) { var splittedDa...
package bsw import ( "testing" ) func TestMX(t *testing.T) { _, results, err := MX("stacktitan.com", "8.8.8.8") if err != nil { t.Error("error returned from MX") t.Log(err) } found := false for _, r := range results { if r.Hostname == "mx1.emailsrvr.com" { found = true } } if !found { t.Error("MX...
package edu.avans.hartigehap.web.util; import java.io.UnsupportedEncodingException; import javax.servlet.http.HttpServletRequest; import org.springframework.web.util.UriUtils; import org.springframework.web.util.WebUtils; import lombok.extern.slf4j.Slf4j; @Slf4j public class UrlUtil { private UrlUtil() { ...
package com.veggie.src.java.controllers.transaction; import java.util.List; import com.veggie.src.java.controllers.Controller; import com.veggie.src.java.form.Form; import com.veggie.src.java.form.AbstractFormBuilder; import com.veggie.src.java.form.AbstractFormBuilderFactory; import com.veggie.src.java.notification.N...
<?php return array ( 'FrameworkBundle:Form:attributes.html.php' => 'C:\\xampp\\htdocs\\linkedxpert\\vendor\\symfony\\symfony\\src\\Symfony\\Bundle\\FrameworkBundle/Resources/views/Form/attributes.html.php', 'FrameworkBundle:Form:button_attributes.html.php' => 'C:\\xampp\\htdocs\\linkedxpert\\vendor\\symfony\\symfon...
# tapjoy Module ## Description TODO: Enter your module description here ## Accessing the tapjoy Module To access this module from JavaScript, you would do the following: var tapjoy = require("ti.tapjoy"); The tapjoy variable is a reference to the Module object. ## Reference TODO: If your module has an API, yo...
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ /** * 1. Set default font family to sans-serif. * 2. Prevent iOS and IE text size adjust after device orientation change, * without disabling user zoom. */ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2...
using Android.App.Job; namespace Plugin.FirebasePushNotification { public class PNFirebaseJobService : JobService { public override bool OnStartJob(JobParameters @params) { return false; } public override bool OnStopJob(JobParameters @params) { ...
(function() { 'use strict'; angular .module('rtsApp') .directive('hasAuthority', hasAuthority); hasAuthority.$inject = ['Principal']; function hasAuthority(Principal) { var directive = { restrict: 'A', link: linkFunc }; return directive...
require 'rails_helper' RSpec.describe Gallery, type: :model do it "is valid with valid attributes" do gallery = create(:gallery) expect(gallery).to be_valid end describe "associations and validations" do it { should have_many(:collections) } it { should validate_presence_of(:name) } it { s...
Gitscm::Application.routes.draw do constraints(:host => 'whygitisbetterthanx.com') do root :to => 'site#redirect_wgibtx', as: :whygitisbetterthanx end constraints(:host => 'progit.org') do root :to => 'site#redirect_book', as: :progit get '*path' => 'site#redirect_book' end # constraints(:subdom...