answer
stringlengths
15
1.25M
const path = require(`path`); const _ = require("lodash"); const { createFilePath } = require(`<API key>`); exports.onCreateNode = ({ node, getNode, actions }, pluginOptions) => { const { createNodeField } = actions; if (node.internal.type === `MarkdownRemark`) { const slug = createFilePath({ node, getNode, bas...
<?php // // DO NOT EDIT DIRECTLY. EDIT THE CLASS EXTENSIONS IN THE CONTROL PANEL. namespace LiamW\<API key>\XF\Admin\Controller { class XFCP_User extends \XF\Admin\Controller\User {} } namespace LiamW\<API key>\XF\ChangeLog { class XFCP_User extends \XF\ChangeLog\User {} } namespace LiamW\<API key>\XF\Pub\Contr...
#define PROXY_DELEGATION #include <rpcproxy.h> #ifdef __cplusplus extern "C" { #endif EXTERN_PROXY_FILE( _tstlib ) <API key> /* Start of list */ <API key>( _tstlib ), /* End of list */ PROXYFILE_LIST_END DLLDATA_ROUTINES( aProxyFileList, GET_DLL_CLSID ) #ifdef __cplusplus } /*extern "C" */ #endif /* end of generat...
<?php require_once(FCPATH.'/application/views/breadcrumb.php'); require_once(FCPATH.'/application/views/<API key>.php'); $request_counter_url = site_url('admin/counters/get_all/'); ?> <div class="row"> <div class="col-md-12"> <!-- BEGIN EXAMPLE TABLE PORTLET--> <div class="portlet light "> ...
import Vue from "vue"; import WithRender from "./app.html"; @WithRender export default class App extends Vue {}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % CWT-Prolog Server Interface % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% :- use_module(library(http/thread_httpd)). :- use_module(library(http/http_dispatch)). :- use_module(library(http/http_parameters)). :- use_module(database). % Basic header for plain text header('text/plain', 'Content-type: ...
require("./38.js"); require("./76.js"); require("./153.js"); require("./306.js"); module.exports = 307;
#include "ofApp.h" void ofApp::setup(){ receiver.setup(12345); panel.setup("pin control"); // SETUP fan (which will alter panel here) panel.add(allOn.setup("all on", false)); panel.add(useOsc.setup("use osc", false)); LC.setup(); FM.setup(); SM.setup(); ofSoundStreamSetup(2,0,this, 4...
<!doctype html> <html> <head> <title>Tracking.JS Test Page</title> <meta name="ga-trackingid" content="UA-12314225-13"> <meta name="ga-features" content="displayfeatures,linkid,events"> <meta name="ga-debug" content="true"> <meta name="ga-trace" content="true"> <meta ...
TinkerforgeDemos ============= Tinkerforge demo projects (originaly for the article in dotnetpro Magazin 12/2013) https:
// // extend.js // var createjs = createjs||{}; /** * @class Utility Methods */ createjs.extend = function(subclass, superclass) { "use strict"; function o() { this.constructor = subclass; } o.prototype = superclass.prototype; return (subclass.prototype = new o()); }; // // promote.js // //this.create...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt--> <title>Method Assets.refresh</title> <link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/...
#handleInternalLinks This is a small bit of javascript to handle all internal links. You can use it to perform another function on these links by passing it a callback, or alternatively you can pass it `null` to just add an `internal` attribute to all internal links. For convenience, both the `.coffee`, and `.js` files...
Twig is a branch code coverage tool for Rubinius. Usage == To run code coverage on the application started by `app.rb`, run the following: twig app.rb
package com.onelogin.saml2.util; /** * Constants class of OneLogin's Java Toolkit. * * A class that contains several constants related to the SAML protocol */ public final class Constants { /** * Value added to the current time in time condition validations. */ public static final Integer ALOWED_C...
// HSLocationSearch.h // Hot Spot #import <UIKit/UIKit.h> #import <MapKit/MapKit.h> @interface HSLocationSearchVC : UIViewController @property (weak, nonatomic) IBOutlet MKMapView *mapView; @end
<div class="commune_descr limited"> <p> Saint-Martin-d'Oydes est un village situé dans le département de l'Ariège en Midi-Pyrénées. Elle comptait 248 habitants en 2008.</p> <p>La commune offre quelques aménagements, elle propose entre autres un terrain de tennis et une boucle de randonnée.</p> <p>Le no...
meta-title: JS Frameworks title: JS Frameworks layout: blank <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>The European Bioinformatics Institute &lt; EMBL-EBI</title> <meta name="description" content="EMBL-EBI" /><!-- Describe what this page is about --> <meta name="keywords" content="...
angular.module('addonsApp') .directive('addon', ['AddonsService', function(AddonsService) { return { restrict: 'E', scope: { addon: '=' }, link: function(scope, element, attrs) { var addonsManager = AddonsService.manager; var localAddonIndex = utils.findItem(AddonsS...
<?php namespace Tech\TBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\<API key>; use Symfony\Component\OptionsResolver\<API key>; class PersonarelformType extends AbstractType { /** * @param <API key> $builder * @param array $options */ public function buildFo...
title: Extraterm v0.29.1 released date: 2017-10-01 16:50:00 +0100 categories: release This minor release fixes a recently introduced bug which broke the `from` command Download it from [Github](https://github.com/sedwards2009/extraterm/releases/tag/v0.29.1)
#pragma once #ifndef <API key> #define <API key> #include <MACE/Core/Constants.h> #include <MACE/Core/Interfaces.h> #include <MACE/Graphics/Window.h> #include <MACE/Utility/Color.h> #include <memory> #include <map> #include <string> #include <functional> #ifdef MACE_OPENCV # include <opencv2/opencv.hpp> #endif//MACE...
package com.maximejunger.react; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.<API key>; import android.bluetooth.<API key>; import android.bluetooth.<API key>; import android.bluetooth.<API key>; import android.blue...
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::DataFactory::Mgmt::V2018_06_01 module Models # This activity executes inner activities until the specified boolean # expression resul...
# AutoHtml AutoHtml is a collection of filters that transforms plain text into HTML code. See [live demo](https://autohtml.rors.org). ## Installation Add this line to your application's Gemfile: ruby gem 'auto_html' And then execute: sh $ bundle Or install it yourself as: sh $ gem install auto_html ## Abstract AutoHtml...
<?php return array ( 'id' => 'zte_2118_ver1', 'fallback' => 'generic_xhtml', 'capabilities' => array ( 'model_name' => '2118', 'brand_name' => 'ZTE', 'wml_1_2' => 'true', 'preferred_markup' => 'wml_1_2', 'max_image_width' => '128', 'resolution_height' => '160', 'resolution_width' => ...
package screepsws import "fmt" func (ws *webSocket) SubscribeRoom(shard, room string) (<-chan RoomResponse, error) { channel := fmt.Sprintf(roomFormat, shard, room) dataChan, err := ws.Subscribe(channel) if err != nil { return nil, fmt.Errorf("failed to subscribe to '%s'", channel) } respCha...
package solved; import tasks.ITask; import tasks.Tester; //Answer : 1.710637717 public class Task_197 implements ITask { public void solving() { // double u = -1; // while (true) { // System.out.println(u); // u = floor(exp((30.403243784-u*u) * log(2))) * 1e-9; //just not...
<?php namespace Services\CVS; use Services\CVS\Entities\Interfaces\Versionable; use \Exception as Exception; use Entities\TemplateRepository; use Services\Shell; use DB\EntityManager; class CVS { private $_repositoryPath; private $_origin; private $_branch; private $_templateRepo; private $_entityMa...
from multihash import SHA1, SHA2_256, SHA2_512, SHA3, BLAKE2B, BLAKE2S, \ decode, encode, is_valid_code, is_app_code
#pragma once // Async Logger implementation // Use an async_sink (queue per logger) to perform the logging in a worker thread #include "spdlog/details/async_log_helper.h" #include "spdlog/async_logger.h" #include <string> #include <functional> #include <chrono> #include <memory> template<class It> inline spdlog::async_...
{{<govuk_template}} {{$head}} {{>includes/head}} {{/head}} {{$propositionHeader}} {{/propositionHeader}} {{$headerClass}}with-proposition{{/headerClass}} {{$content}} <main id="content" role="main"> {{>includes/phase_banner}} <div class="grid-row"> <div class="column-two-thirds"> <h1 class="form-title hea...
<?php session_start(); $con = mysql_connect($_SESSION['DBHOST'],$_SESSION['usr'],$_SESSION['rpw']); if (!$con){ echo 'Uh oh!'; die('Error connecting to SQL Server, could not connect due to: ' . mysql_error() . '; username=' . $_SESSION["username"]); } else if($con){ if(!mysql_select_db($_SESSION[...
published: true title: Docker tags: docker > Docker uses the Linux kernel and features of the kernel, like Cgroups and namespaces, to segregate processes so they can run independently as if they were running on separate system. - [What is Docker?](https: - [x11docker](https://github.com/mviereck/x11docker) - un GUI app...
package in.twizmwaz.cardinal.module.modules.hill; import in.twizmwaz.cardinal.GameHandler; import in.twizmwaz.cardinal.event.ScoreUpdateEvent; import in.twizmwaz.cardinal.module.GameObjective; import in.twizmwaz.cardinal.module.TaskedModule; import in.twizmwaz.cardinal.module.modules.matchTimer.MatchTimer; import in.tw...
<!DOCTYPE html> <html > <head> <meta charset="UTF-8"> <title>A Pen by Arne Hallvard Halleraker</title> </head> <body> <h1>Unit 1</h1> <h2>What a Web Page is</h2> <p> A web page is a text document written in a language called HTML. Web browsers read these documents, and then interpret and display them...
'use strict'; angular.module('travelPlannerApp') .controller('indexUsersCtrl', function($scope, $rootScope, $location, $translate, userService, $q, ROLES, toaster, DTOptionsBuilder, DTColumnBuilder, $compile, sweetAlertService) { $scope.blockActions = false; function createdRow(row) { //...
package main.java.Ionex; import javax.swing.JTextField; import java.awt.Event; class ConcenTextField extends JTextField { String lastValue; public ConcenTextField(String string) { super(string); } public boolean keyUp(Event evt, int key) { //if the field is now empty, it's OK Str...
<?php namespace Ufo\Security; use Ufo\User\User as User; /** * Child Exceptions. */ class <API key> extends <API key> {} //Thrown when brute-force attack is detected class <API key> { /** * ID of current user. * @var string */ protected $userID = null; /** * Time after which the tem...
module CIL.Cecil { "use strict"; export const enum ModuleKind { Dll, Console, Windows, NetModule } export const enum TargetArchitecture { I386, AMD64, IA64, ARMv7 } export const enum ModuleAttributes { ILOnly = 1...
<?php declare(strict_types=1); namespace Tests\Localization; class SrCyrlBaTest extends <API key> { const LOCALE = 'sr_Cyrl_BA'; // Serbian const CASES = [ // Carbon::parse('2018-01-04 00:00:00')->addDays(1)->calendar(Carbon::parse('2018-01-04 00:00:00')) // 'Tomorrow at 12:00 AM' 'сутра...
<?php return unserialize('a:2:{i:0;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";N;s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options";a:0:{}}i:1;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";s:46:"LBcrew\\MessagesBundle\\Entity\\messageRepository";s:8:"readOnly";b:0;}}');
(function () { 'use strict'; angular .module("fc.configuration") .provider("hierarchyConfigSvc", <API key>); /* @ngInject */ function <API key>() { // Available in config. var cfg = this; cfg.activateEndpoint = "activate"; cfg.deactivateEndpoint = "deactiv...
<html> <head> - CDC for Kettle </head> <body> <script> (function(i,s,o,g,r,a,m){i['<API key>']=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.<API key>(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script',' ga('create'...
package com.editize.editorkit; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; import java.util.Vector; import java.util.Iterator; import com.editize.*; /** * Dialog to choose an image and its attributes. */ public class TableDialog extends JDialog implements ActionListe...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class tweet { private $_oauth = NULL; function __construct() { $this->_oauth = new tweetOauth(); } function __call($method, $args) { if ( method_exists($this, $method) ...
<?php require_once('IController.php'); require_once('Configs.php'); require_once('ChocalaVars.php'); /** * Description of WebController * @author ypra */ abstract class WebController implements IController { protected $allowedMethods = array(); /** * * @var boolean */ protected $rendered =...
#ifndef SQLITE_LIBCU_H #define SQLITE_LIBCU_H #include <ext/global.h> // CUDA #define METHOD __host_device__ #define FIELD __device__ #define CONSTFIELD __constant__ #define __error__ ERROR #define __implement__ panic("__implement__") #pragma region Basetypes #define SQLITE_PTRSIZE PTRSIZE_ #define SQLITE_WITHIN WITHIN...
import * as React from 'react'; import classNames from 'classnames'; import { ownerDocument, activeElement, contains, getContainer, on } from 'dom-lib'; import canUseDom from 'dom-lib/lib/query/canUseDOM'; import Portal from '../Portal'; import ModalManager from './ModalManager'; import Fade from '../Animation/Fade'; i...
import requests import json cart_url = 'http://127.0.0.1:8000/api/cart/' def create_cart(): # create cart cart_r = requests.get(cart_url) # get cart token cart_token = cart_r.json()["token"] return cart_token def do_api_test(email=None, user_auth=None): cart_token = create_cart() # add items...
def printFileContents(myFile): print(open(myFile).read().splitlines()) def writeFileContents(myFile, somethingToWrite): f = open(myFile,'a') f.write(somethingToWrite +'\n') # python will convert \n to os.linesep f.close() # you can omit in most cases as the destructor will call if printFileContents("ali...
# Pwee PHP Extension Pwee is a PHP extension that gives web developers the ability to expand the PHP runtime environment. Developers can use XML to define and add custom constants and variables that are accessible to each script. The lifetime and scope of constants and variables can be controlled individually and the s...
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys file=str(sys.argv[1]) file2=str(sys.argv[2]) outfile=open(file2,'w') with open (file) as f: for line in f: if line.startswith('<API key>'): line = line.replace('<API key>','<API key>') line = line.replace('table.gz','table.minp...
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> namespace BugGuardian.WebForms.TestWebApp { public partial class SiteMaster { <summary> MainContent control....
<ion-nav-bar> </ion-nav-bar> <ion-view view-title="Allergies"> <ion-nav-buttons side="secondary"> <button class="button button-clear" ng-click="add()"> <i class="icon <API key>"></i> Add </button> </ion-nav-buttons> <ion-content> <div class="list"> <ion-checkbox ng-repeat...
<?php namespace Blog\MainBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Blog\MainBundle\Entity\Category; /** * Post * * @ORM\Table() * @ORM\Entity(repositoryClass="Blog\MainBundle\Entity\PostRepository") */ class Post { /** * @var integer * * @ORM\Column(name="id", type="integer") * @O...
package cz.augi.gsonscala import java.lang.reflect.ParameterizedType import java.util.Optional import com.google.gson.reflect.TypeToken import com.google.gson.stream.{JsonReader, JsonWriter} import com.google.gson.{Gson, TypeAdapter, TypeAdapterFactory} object <API key> extends TypeAdapterFactory { override def creat...
@charset "UTF-8"; #settings-ctrl { position: relative; } #donate { position: absolute; top: 0; right: 0; } [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak, .ng-hide { display: none !important; } ng\:form { display: block; } body { height: 200px; width: 500px; font-family...
package edu.ustc.mix.core.mq.rabbitmq; import com.rabbitmq.client.Channel; import com.rabbitmq.client.Connection; import com.rabbitmq.client.ConnectionFactory; import com.rabbitmq.client.QueueingConsumer; import com.rabbitmq.client.QueueingConsumer.Delivery; public class RabbitMQReceiver { private final static Stri...
/*! Parse a request details: filters, fields selection, sorting */ export default function (resource_obj, querystring, context) { // resource identifier in the querystring params const res_key = resource_obj.relationship ? resource_obj.relationship.name : resource_obj.type; // querystring param to consi...
/** * Definition for singly-linked list. * struct ListNode { * int val; * struct ListNode *next; * }; */ int getLength(struct ListNode* head) { int length = 0; while (head != NULL) { head = head->next; length++; } return length; } struct ListNode* reverseList(struct ListNod...
class Integer def divisible_by?(k) (self % k).zero? end def next_divisible_int(k) ((self / k) + 1) * k end def prev_divisible_int(k) return (self - k) if divisible_by?(k) (self / k) * k end end def solution(a, b, k) count = 0 count += a.divisible_by?(k) ? 1 : 0 count += b.divisible_by?...
// Use of this source code is governed by a BSD-style package sync2 import ( "testing" "time" ) func TestSemaNoTimeout(t *testing.T) { s := NewSemaphore(1) s.Acquire() released := false go func() { time.Sleep(10 * time.Millisecond) released = true s.Release() }() ...
using Library.Entity; namespace Library.Services.Interface { public interface <API key> : IServiceBase<FamilyEventTemplate> { <summary> Create a FamilyEvent from a FamilyEventTemplate </summary> <param name="id">Id of FamilyEventTemplate</param> <returns></returns> ...
<html> <head> <title>Mozilla/5.0 (Linux; U; Android 4.0.3; xx; LG-L40G Build/IML74K) 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"> <link href="https://fonts.goog...
"tags": ["Wiki", "ESHTMC", "ESHTMC"], "author": "Xin Feng", "title": "Jinlong Weng's Friend, Invitation" <!DOCTYPE HTML> <html> <head> <style> body { margin: 0px; padding: 0px; } </style> </head> <body> <h1>Invitation</h1> <canvas id="myCanvas" width="1024" height="1024...
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # Note that this schema.rb definition is the authoritative sourc...
"use strict"; var Root = require('../root'); module.exports = Root.create(). def('linear', function (from, to) { return function (progress) { return from + ((to - from) * progress); }; }). def('sineIn', function (from, to) { var linear = this.linear(from, to); ret...
module MongoJob module Helpers # Given a word with dashes, returns a camel cased version of it. # classify('job-name') # => 'JobName' def classify(dashed_word) dashed_word.split('-').each { |part| part[0] = part[0].chr.upcase }.join end # Given a camel cased word, returns the constant it rep...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Web.WebPages.OAuth; using SumatorMVC.Models; namespace SumatorMVC { public static class AuthConfig { public static void RegisterAuth() { // To let users of this site log in using the...
layout: post title: wake up you need to make money!!! date: 2016-04-03 categories: - All me description: image: 'https://jaythanelam.github.io/mommy-knows-best/assets/images/wakeup-make-money.jpg' image-sm: 'https://jaythanelam.github.io/mommy-knows-best/assets/images/wakeup-make-money.jpg' I'm looking at going back to...
package com.chiorichan.plugin.acme.certificate; import com.chiorichan.AppConfig; import com.chiorichan.configuration.<API key>; import com.chiorichan.http.HttpCode; import com.chiorichan.http.ssl.CertificateWrapper; import com.chiorichan.lang.EnumColor; import com.chiorichan.logger.Log; import com.chiorichan.plugin.acm...
<?php namespace Mayeco\NotificationsBundle\Entity; use Doctrine\ORM\EntityRepository; class ResponseRepository extends EntityRepository { }
using Ycql.SqlFunctions; namespace Ycql.SqlServerFunctions { <summary> Represents Day function in Sql Server which returns an integer representing the day (day of the month) of the specified date </summary> public class <API key> : SqlFunctionBase { <summary> Initializes a new instan...
<div class="row"> <!-- left column --> <div class="col-md-12"> <!-- general form elements --> <div class="box box-primary"> <div class="box-header with-border"> <h3 class="box-title">Maquileros</h3> <div class="box-tools pull-right"> <a ng-show="vm.can('crear_maquilero')" cla...
// BMPLoader.cpp // PacManX #pragma once #include "../include/BMPLoader.hpp" #define STD_OFFSET 54 using std::ios; BMPloader::BMPloader(const string filename) { mImage = NULL; mWidth = mHeight = 0; mIsOK = false; infile = new ifstream(filename.c_str(), ios::in | ios::binary); if (!infile->fail())...
export const FETCH_INSTRUMENTS = "FETCH_INSTRUMENTS" export const <API key> = "<API key>" export const <API key> = "<API key>" export const <API key> = "<API key>" export const <API key> = "<API key>" export const CREATE_INSTRUMENT = "CREATE_INSTRUMENT" export const <API key> = "<API key>" export const <API key> = "<AP...
# coding: utf-8 import bisect import contextlib import csv from datetime import datetime import functools import json import logging import random import threading import time import unittest import uuid import redis QUIT = False SAMPLE_COUNT = 100 config_connection = None # <start id="recent_log"/> SEVERITY = { lo...
package com.swandiggy.poe4j.data.rows.gen; import java.util.List; import com.swandiggy.poe4j.data.annotations.DatFile; import com.swandiggy.poe4j.data.annotations.Order; import com.swandiggy.poe4j.data.rows.BaseRow; import lombok.Data; import lombok.EqualsAndHashCode; @Data @EqualsAndHashCode(callSuper = true) @DatFile...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Class CI_DB_mysqli_driver | Practica2_Servidor</title> <link rel="stylesheet" href="resources/style.css?<SHA1-like>"> </head> <body> <div id="left"> <div id="menu"> <a href="index.html" title="Overview"><span>Overview</span></a> ...
<?php namespace Model\Ontology; use Model\Entity\Question; class QuestionDefinition implements IDefinition { use \Nette\SmartObject; /** @var CourseFactory */ private $factory; /** @var QuestionRepository */ private $repository; /** @var string Question's source filename */ public $source; ...
/* Programa que transforma todos os caracteres em minusculo AUTOR: GABRIEL HENRIQUE CAMPOS SCALICI NUMERO: 9292970 DATA:10-05-2015 */ #include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> int main(){ char * seq = malloc(10000); int i, j; //PEgando os valores digitados pel...
using System.Collections.Generic; using System.Linq; namespace ErwinMayerLabs.Lib { public static class UtilsExtensions { public static IEnumerable<T> GetRange<T>(this IReadOnlyList<T> array, int startIndex, int endIndex) { if (startIndex <= endIndex) { for (var j = startIndex; j...
package com.example.newbiechen.<API key>.ui.base; import android.os.Bundle; import android.support.annotation.IntegerRes; import android.support.annotation.LayoutRes; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import ...
## Compiling your own version with Gulp-Include You many not need to use every component available. If you would like to compile your own version and you are using Gulp ish.js makes that pretty easy for you. Firstly you will need to install Gulp-Include. $ npm install gulp-include --save-dev Then add an include tas...
<?php namespace Oro\Bundle\FilterBundle\Filter; use Doctrine\Common\Collections\Collection; use Oro\Bundle\FilterBundle\Datasource\<API key>; use Symfony\Component\Form\Extension\Core\View\ChoiceView; use Oro\Bundle\FilterBundle\Form\Type\Filter\FilterType; use Oro\Bundle\FilterBundle\Form\Type\Filter\ChoiceFilterType;...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Pwdlyser_Enterprise { <summary> Interaction logic for App.xaml </summary> public partial class App : Application { } }
# CornFlake CornFlake is a small, interpreted programming language, written entirely in a Swift command line app. The language is inspired by the idea of a finite turing machine, where the number of cells is relatively small, and calculations exists with interactions between the slots. The interpreter can run on any Un...
require_relative 'hang_man' require_relative 'hangman_view' require_relative 'random_word' def get_letter STDIN.gets.to_s[0] end random_word = RandomWord.new('words.txt').get_word hangman = HangMan.new(random_word) HangManView.display_hangman(hangman) while !hangman.finished? begin hangman.play_turn(get_letter)...
package board; public enum Color { WHITE, BLACK }
#!/usr/bin/python # TODO: issues with new oauth2 stuff. Keep using older version of Python for now. # #!/usr/bin/env python from <API key> import <API key> import string import re import datetime import pyperclip # Edit Me! # Remember, this is during signup, so current month is not April, it's March. <API key> = 31 cu...
+ function($) { 'use strict'; // AFFIX CLASS DEFINITION var Affix = function(element, options) { this.options = $.extend({}, Affix.DEFAULTS, options) this.$target = $(this.options.target) .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this)) .on('click.bs...
using BehaviourTree.Decorators; using BehaviourTree.Tests.Utils; using NUnit.Framework; namespace BehaviourTree.Tests { [TestFixture] internal sealed class CooldownTests { [Test] public void <API key>() { var child = new MockBehaviour { ReturnStatus = BehaviourStatus.Succ...
// DSShareHelps.h // DirectoryStructure #import <Foundation/Foundation.h> @interface DSShareHelps : NSObject @end
.PHONY: clean clean-test clean-pyc clean-build docs help .DEFAULT_GOAL := help define BROWSER_PYSCRIPT import os, webbrowser, sys try: from urllib import pathname2url except: from urllib.request import pathname2url webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1]))) endef export BROWSER_PYSC...
< .Notes NAME: Update-SCSMEnumList.ps1 AUTHOR: Stefan Johner Website: http://blog.jhnr.ch Twitter: http://twitter.com/JohnerStefan Version: 1.1 CREATED: 11/04/2015 LASTEDIT: 11/04/2015 1.0 Initial Release .Synopsis This script updates Service Manager enums based on a MySQL query. .Description The script e...
# macsetup Script to setup my mac ## Step 1 To start the setup prosess, execute the following line: curl https://raw.githubusercontent.com/rogerlysberg/macsetup/master/setup.sh | sh
import markdown, datetime from django import template from django.template.base import (Node, NodeList, TemplateSyntaxError) register = template.Library() @register.filter(name='toHtml') def toHtml(markdownfile): return markdown.markdown(markdownfile) @register.filter(name='toNowTime') def toNowTime(black_hole): ...
/** * Datasource.js */ var Datasource=function(pParams) {}; /** * Initializes the datasource * @param pParams the parameters * @param pCallback the callback to invoke on completion */ Datasource.prototype.init=function(pParams, pCallback) { pCallback && pCallback(); }; /** * Closes the datasou...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name=viewport content="width=device-width, initial-scale=1, user-scalable=no"> <link href='http://fonts.googleapis.com/css?family=Roboto+Slab:300,400|Roboto:300,400,700,300italic' rel='stylesheet' type='text/css'> <title>DG | 707</titl...