answer
stringlengths
15
1.25M
'use strict'; var _ = require('lodash'), jsonFormat = require('json-format'), grunt = require('grunt'); var util = require('../util/util'); module.exports = { json: function(data, options, generatedContent, callback){ if(_.isString(options.dest)){ grunt.file.write(options.dest + '/json/' + generated...
/** * Dont edit this file! * This module generates itself from lang.js files! * Instead edit the language files in /lang/ **/ /*global define*/ define(function () { "use strict"; var i18n = {}; i18n.de = { "Visit %s overview" : "Zur %s Übersicht", "An error occured, please reload." : "Es gab einen unerwarte...
layout: page title: "ACCT 4825: Experimental Seminar Statistics" comments: true description: "blanks" keywords: "ACCT,4825,CU,Boulder" <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></sc...
use chrono::{offset::Utc, DateTime}; use rustorm::{pool, DbError, FromDao, Pool, ToColumnNames, ToDao, ToTableName}; Run using: ```sh cargo run --example insert_usage_mysql --features "with-mysql" ``` fn main() { mod for_insert { use super::*; #[derive(Debug, PartialEq, ToDao, ToColumnNames, ToTable...
#ifndef <API key> #define <API key> #include "base/task/task.h" #include "base/threading/condition.h" #include "base/threading/message_pump.h" #include "base/timer/timer.h" namespace base { class MessagePumpPosix : public MessagePump { public: MessagePumpPosix(); virtual ~MessagePumpPosix(); virtual void R...
'use strict'; /** * Module dependencies. */ var path = require('path'), mongoose = require('mongoose'), Person = mongoose.model('Person'), errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller')), _ = require('lodash'); /** * Create a Person */ exports.create = func...
#include <iostream> #include <sstream> #include <vector> #include <cmath> #include <reader.hpp> #include <writer.hpp> using namespace std; using namespace jam; struct JoinK { JoinK(vector<vector<char>>&& input, int kIn) : g(input), k(kIn) { n = g.size(); } void rotate() { for (auto& v : g) { v.erase(remov...
"use strict";require("retape")(require("./index"))
use('sassmine').on(function(sas) { var Block = Class.extend({ constructor: function(message, code) { this.base(); this.message = message; this.code = code; this.before = []; this.after = []; }, execute: function() { this...
#include <Core/Platform.h> #include <Shared/misc.h> #include <Core/Core.h> #include "DebugCamera.h" #include "SceneTools.h" DebugCamera::DebugCamera(Pimp::World* world) : world(world) , isEnabled(false) , isLookingAt(false) { ASSERT(nullptr != world); camera = new Pimp::Camera(world); world->GetEl...
#ifndef <API key> #define <API key> // OpenTissue Template Library // - A generic toolbox for physics-based modeling and simulation. #include <OpenTissue/configuration.h> #include <OpenTissue/core/containers/mesh/mesh.h> #include <boost/cast.hpp> #include <list> namespace OpenTissue { namespace sdf { /** * ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa_IR" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About callcoin</source> <translation>در مورد بیتکویین</translation> ...
import { Component } from '@angular/core'; import { ContactService } from './contact.service'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'Simple Contacts Application'; constructor(private contactService:Con...
package org.moe.runtime class MoeSystem( private var STDOUT : java.io.PrintStream = Console.out, private var STDIN : java.io.BufferedReader = Console.in, private var STDERR : java.io.PrintStream = Console.err ) { def getSTDIN = STDIN def getSTDOUT = STDOUT def getSTDERR = STDERR def getEnv = s...
<?php use Phinx\Migration\AbstractMigration; class CreateCinemaTables extends AbstractMigration { public function change() { $movies = $this->table("movies", ['id' => true, 'primary_key' => 'id']); $movies->addColumn('kinopoisk_id', 'integer') ->addColumn('name', 'string') ...
import { delay } from "../delay" import { getOneTrustConsent } from "../getOneTrustConsent" import { oneTrustReady } from "../oneTrustReady" jest.mock("../delay") jest.mock("../oneTrustReady") describe("getOneTrustConsent", () => { const delayMock = delay as jest.Mock const oneTrustReadyMock = oneTrustReady as jest...
'use strict' const { describe, it, beforeEach, afterEach } = require('mocha') const Helper = require('hubot-test-helper') const { expect } = require('chai') const mock = require('mock-require') const http = require('http') const sleep = m => new Promise(resolve => setTimeout(() => resolve(), m)) const request = uri => ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Fungus { // <summary> Add force to a Rigidbody2D </summary> [CommandInfo("Rigidbody2D", "AddForce2D", "Add force to a Rigidbody2D")] [AddComponentMenu("")] public class AddF...
exports.engine = function(version){ version = version || null; switch (version){ case null: case '0.8.2': return require('./0.8.2').engine; default: return null; } };
/* This is a managed file. Do not delete this comment. */ #include <include/lifecycle.h> static void echo(lifecycle_Foo this, char* hook) { corto_state s = corto_stateof(this); char *stateStr = corto_ptr_str(&s, corto_state_o, 0); corto_info("callback: %s [%s]", hook, stateStr); free(sta...
class CCipher: def decode(self, cipherText, shift): a = ord('A') decoder = [a + (c - shift if c >= shift else c - shift + 26) for c in range(26)] plain = [chr(decoder[ord(c) - a]) for c in cipherText] return ''.join(plain)
'use strict'; var Killable = artifacts.require('../contracts/lifecycle/Killable.sol'); require('./helpers/transactionMined.js'); contract('Killable', function(accounts) { it('should send balance to owner after death', async function() { let killable = await Killable.new({from: accounts[0], value: web3.toWei('10',...
// PCMenuPopView.h // PCMenuPopDemo #import <UIKit/UIKit.h> @class PCMenuPopView; @protocol <API key> <NSObject> - (NSInteger)<API key>:(PCMenuPopView *)menuPopView; //button - (void)menuPopView:(PCMenuPopView *)menuPopView <API key>:(UIButton *)menuButton index:(NSInteger)index; //button - (CGRect)menuPopView:(PCMen...
from hwt.synthesizer.rtlLevel.<API key> import <API key> from hwt.synthesizer.rtlLevel.<API key> import <API key> from hwt.synthesizer.rtlLevel.<API key> import <API key> class DummyPlatform(): """ :note: all processors has to be callable with only one parameter which is actual Unit/RtlNetlist instance ...
using Microsoft.Diagnostics.Tracing; using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Linq; using System.Management.Automation; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Threading; namespace EtwStream.PowerShell { [Cmdlet(VerbsCommon.Get, "T...
package com.ipvans.flickrgallery.ui.main; import android.util.Log; import com.ipvans.flickrgallery.data.SchedulerProvider; import com.ipvans.flickrgallery.di.PerActivity; import com.ipvans.flickrgallery.domain.FeedInteractor; import com.ipvans.flickrgallery.domain.UpdateEvent; import java.util.concurrent.TimeUnit; impo...
package aaron.org.anote.viewbinder; import android.app.Activity; import android.os.Bundle; public class DynamicActivity extends Activity { @Override public void onCreate(Bundle savedInstance) { super.onCreate(savedInstance); Layout.start(this); } }
'use strict'; describe('Directive: resize', function () { // load the directive's module beforeEach(module('orderDisplayApp')); var element, scope; beforeEach(inject(function ($rootScope) { scope = $rootScope.$new(); })); //TODO: Add unit tests /*it('should change height', in...
package net.jenet; import java.nio.ByteBuffer; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; /** * Wraps information to be sent through JeNet. * @author Dizan Vasquez */ public class Packet implements IBufferable { /** * Indicates that ...
'use strict'; angular.module('core').controller('HomeController', ['$scope', 'Authentication', '$http', '$modal','$rootScope', function($scope, Authentication, $http, $modal, $rootScope) { // This provides Authentication context. $scope.authentication = Authentication; $scope.card = {}; ...
/*eslint-disable */ var webpack = require( "webpack" ); var sml = require( "source-map-loader" ); /*eslint-enable */ var path = require( "path" ); module.exports = { module: { preLoaders: [ { test: /\.js$/, loader: "source-map-loader" } ], ...
import {Component, OnInit} from '@angular/core'; import {ActivityService} from '../../services/activity.service'; import {Activity} from "../../models/activity"; import {BarChartComponent} from "../bar-chart/bar-chart.component"; @Component({ selector: 'records-view', moduleId: module.id, templateUr...
from __future__ import (absolute_import, division, print_function, unicode_literals) RJUST = 12 def format_fans(fans): return format_line(prefix='fans'.rjust(RJUST), values=fans) def format_rpms(rpms): return format_line(prefix='rpms'.rjust(RJUST), values=rpms) def format_pwms(pwms): ...
/** \file stlsoft/conversion/internal/<API key>.hpp * * \brief [C++ only] Explicit specialisations of stlsoft::explicit_cast * (\ref <API key> "Conversion" Library). */ #ifndef <API key> # error This file is included from within stlsoft/conversion/explicit_cast.hpp, and cannot be included directly #else #ifndef <...
- (fopen) - (fgets) - (fclose) ## fopen ID fopen(, ); 3, - r() - w() - a() file01.txt $fp = fopen('file01.txt', 'r'); ## fclose fopenfopen fclose($fp); ## fgets fopen1 fopen,fclose if (($fp = fopen($filename, 'r')) !== FALSE) { while (($tmp = fgets($fp)) !== FALSE) { $data[] = htmlspecialchars($tmp, ENT_QUOTES...
<!DOCTYPE html> <html> <head> <title>JAVASCRIPT BASICS</title> <meta charset="UTF-8"> <link href="../styles/main.css" rel="stylesheet" type="text/css"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/n...
<h1>Full Sail Landing Page</h1> <h2>README</h2> <h3>Objective:</h3> <p>Recreate a PSD landing page using HTML/CSS/JavaScript for Full Sail University</p> <h3>Dependencies</h3> <ul> <li>Rails</li> <li>Boostrap</li> </ul> <h3>How to run through terminal</h3> <ul> <li>Fork project</li> <li>Clone forked repo/instal...
package com.aspose.cloud.sdk.cells.model; public enum <API key> { csv, xlsx, xlsm, xltx, xltm, text, html, pdf, ods, xls, spreadsheetml, xlsb, xps, tiff, jpeg, png, emf, bmp, gif }
# Haml Changelog ## 5.0.1 Released on May 3, 2017 ([diff](https://github.com/haml/haml/compare/v5.0.0...v5.0.1)). * Fix parsing attributes including string interpolation. [ * Stop distributing test files in gem package and allow installing on Windows. * Use ActionView's Erubi/Erubis handler for erb filter only on Actio...
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Package' db.create_table(u'api_package', ( (u'id', self.gf('django.db.models.fields...
from __future__ import absolute_import import matplotlib # Force matplotlib to not use any Xwindows backend. matplotlib.use('Agg') import matplotlib.pyplot as plt from plotly.tests.utils import compare_dict from plotly.tests.test_optional.optional_utils import run_fig from plotly.tests.test_optional.test_matplotlylib.d...
const { environment } = require('@rails/webpacker') const webpack = require('webpack') // excluding node_modules from being transpiled by babel-loader. environment.loaders.delete("nodeModules"); environment.plugins.prepend('Provide', new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', jquery: "jquery", ...
from distutils.core import setup setup( # Application name: name="streaker", # Version number (initial): version="0.0.1", # Application author details: author="Aldi Alimucaj", author_email="aldi.alimucaj@gmail.com", # Packages packages=["streaker"], scripts=['bin/streaker'], ...
const ResponseMessage = require('../../messages').Response; const through2 = require('through2'); const xtend = require('xtend'); var defaults = { ignore_invalid: false }; function encoder(Message, options) { options = xtend(defaults, options || {}); return through2.obj(function(message, enc, callback) { ...
<?php namespace CoreBundle\Model\map; use \RelationMap; use \TableMap; /** * This class defines the structure of the 'list_holidays' table. * * * * This map class is used by Propel to do runtime db structure discovery. * For example, the createSelectSql() method checks the type of a given column used in an * ORD...
'use strict'; import { List } from 'immutable'; import * as <API key> from './<API key>'; import ApiDataInstance from './api-data-instance'; import <API key> from './<API key>'; import ENTITY from './entities'; import merge from 'lodash/merge'; const _ = { merge, } const <API key> = '__ANNOTATION__='; let defaultBloc...
-- Host: 127.0.0.1 -- SO del servidor: Win64 /*!40101 SET @<API key>=@@<API key> */; /*!40101 SET NAMES utf8mb4 */; /*!40014 SET @<API key>=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='<API key>' */; -- Volcando estructura para tabl...
db_config = YAML.load(File.read(ROOT_DIR + '/../config/database.yaml'))['production'] ActiveRecord::Base.<API key>(db_config) class Node < ActiveRecord::Base has_many :cidrs has_one :limit def flow_id self.id + 10 end def mark_in $config['iptables']['mark_prefix_in'] + "%04d" % self.id end def mar...
using System; using System.Runtime.InteropServices; using System.Text; namespace CSharpGL { public partial class GL { #region OpenGL 2.0 // Constants // <summary> // </summary> //public const uint <API key> = 0x8009; // <summary> // </summary> //p...
package ch.hesso.master.caldynam; import android.app.Fragment; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.graphics.Outline; import android.os.Bundle; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarActivity; import android.support.v7....
default: @echo "'make check'" for tests @echo "'make check-cov'" for tests with coverage @echo "'make lint'" for source code checks @echo "'make ckpatch'" to check a patch @echo "'make clean'" to clean generated files @echo "'make man'" to generate sphinx documentation @echo "'make update-re...
# encoding: utf-8 class DocsController < <API key> get '/doc' do before_all haml :docs, :layout => :'layouts/main' end end
// <API key>.h // scanreader #import <UIKit/UIKit.h> @interface <API key> : UIViewController @end
#include <iostream> #include <string> #include <tuple> std::tuple<int,int> wczytaj_liczby(); int main () { std::string opcja; do { int a,b; std::cout << "wybierz opcje przeliczania" << std::endl; std::cout << "dodawanie, odejmowanie, mnozenie czy dzielenie?" << std::endl; std::ci...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v2/resources/<API key>.proto package resources import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" wrappers "github.com/golang/protobuf/ptypes/wrappers" _ "google.golang.org/genproto/googleapis/api/a...
var log = require('./logger')('reporter', 'yellow'); var colors = require('colors'); /* eslint no-console: 0 */ module.exports = function(diff) { var keys = Object.keys(diff); var count = 0; var timer = log.timer('reporting'); if (keys.length === 0) { log(' no diff detected', 'green'); } else { log(' ...
<html> <head> <title>%%%name%%% - Wright! Magazine</title> %%%=templates/headers.html%%% <link rel="stylesheet" href="%%%urlroot%%%fonts/stylesheet.css" type="text/css" charset="utf-8" /> <script type="text/javascript" src="%%%urlroot%%%js/wright.js?a=1"></script> </head> <bo...
package info.dgjones.abora.white.edgeregion; import java.io.PrintWriter; import info.dgjones.abora.white.rcvr.Rcvr; import info.dgjones.abora.white.rcvr.Xmtr; import info.dgjones.abora.white.spaces.basic.Position; import info.dgjones.abora.white.xpp.basic.Heaper; /** * Clients of EdgeManager define concrete subclasses...
// NYSegmentedControl+CBDSettings.h // SmartMathsMP #import "NYSegmentedControl.h" @interface NYSegmentedControl (CBDSettings) - (void)<API key>:(UIColor *)segmentColor titleColor:(UIColor *)titleColor selectedTitleColor:(UIColor *)selectedTitleColor font:(UIFont *)...
<?php declare(strict_types=1); namespace Y0lk\SQLDumper; use ArrayObject; use PDO; use <API key>; /** * A <API key> is used to group TableDumper objects together, allowing you to specify dump options on multiple table at once. * All TableDumper methods can be called directly on a <API key>, and will be executed on al...
<?php namespace modules\admin\controllers; use vendor\Controller; class Option extends Controller { public function index() { echo $this->render('module.admin@views/option.php', ['mainTitle' => '']); } }
package com.microsoft.azure.management.resources.implementation; import com.microsoft.azure.management.resources.<API key>; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; /** * Resource group information. */ public class ResourceGroupInner { /** * The ID of the resource group. ...
#include <net/http/CServer.hpp> namespace net { namespace http { CServer::CServer(void) : net::CServer(net::EProtocol::TCP) { } }}
require "spec_helper" require "tidy_i18n/duplicate_keys" describe "Finding duplicate translations" do def locale_file_paths(file_names) file_names.collect do |path| File.expand_path(File.join(File.dirname(__FILE__), "fixtures", path)) end end it "finds duplicate keys when the locale only has one fil...
// partial2js "use strict"; var glob = require('glob-all'); var fs = require('fs'); var path = require('path'); var stream = require('stream'); var htmlmin = require('html-minifier').minify; var escape = require('js-string-escape'); var eol = require('os').EOL; function Partial2Js( opts ) { opts = op...
<?php /* Cachekey: cache/stash_default/doctrine/<API key>[<API key>]/ */ /* Type: array */ $loaded = true; $expiration = 1425255999; $data = array(); /* Child Type: integer */ $data['return'] = 1; /* Child Type: integer */ $data['createdOn'] = 1424843731;
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Blocks &amp; Guidelines</title> <link rel="stylesheet" type="text/css" href="./css/ui.css"> <script src='http...
<?php class AsuransiForm extends CFormModel { public $stringNIM; public $arrayNIM; public function rules() { return array( array('stringNIM', 'required'), ); } public function attributeLabels() { return array( 'stringNIM' => Yii::t('app','NIM')...
Copyright (c) 2017 Eric Scuccimarra <skooch@gmail.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, mer...
function main() while true do print('Hello') end end live.patch('main', main) live.start(main)
#nullable disable namespace StyleCop.Analyzers.OrderingRules { using System; using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using StyleCop.Analyzers.H...
#ifndef <API key> #define <API key> #include <memory> #include <type_traits> #include "Socket.h" #include "Reactor.h" #include "Buffer.h" #include "Operation.h" #include "SSLSocket.h" namespace lw_network { template<typename Sock = Socket> class ReactiveSocketBase : public Sock { static_assert(std::is_base_of<Socke...
var testLogin = function(){ var username = document.getElementById("username").value; var password = document.getElementById("password").value; alert("username="+username+" , password="+password); } window.onload = function (){ }
from __future__ import absolute_import, division, print_function, unicode_literals # Statsd client. Loosely based on the version by Steve Ivy <steveivy@gmail.com> import logging import random import socket import time from contextlib import contextmanager log = logging.getLogger(__name__) class StatsD(object): def ...
// <summary> // Provides operations for profiling the code. // </summary> namespace Kephas.Diagnostics { using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Kephas.Logging; using Kephas.Operations; using Kephas.Threading.Tasks;...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; namespace Examples { class Program { [STAThread] static void Main(string[] args) { SolidEdgeFramework.Application application = null; SolidEdgePart.PartDocument partDocument = nu...
class <API key> < <API key> <API key> :stop_tracking, :only => [:destroy] def stop_tracking current_user.update_attributes(:current_sign_in_ip => nil) end end
using System.ComponentModel; namespace LinqAn.Google.Metrics { <summary> The total number of completions for the requested goal number. </summary> [Description("The total number of completions for the requested goal number.")] public class Goal19Completions: Metric<int> { <summary> ...
using Silk.NET.Input; using Silk.NET.Maths; using Silk.NET.Windowing; namespace <API key> { class Program { private static IWindow _window; private static void Main(string[] args) { //Create a window. var options = WindowOptions.Default; options = new ...
FILE(REMOVE_RECURSE "CMakeFiles/polynomialutils_4.dir/polynomialutils.cpp.o" "polynomialutils_4.pdb" "polynomialutils_4" ) # Per-language clean rules from dependency scanning. FOREACH(lang CXX) INCLUDE(CMakeFiles/polynomialutils_4.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang)
title: Overdose Fatality Review Teams Literature Review _template: publication area: - Criminal Justice System pubtype: - Research Report pubstatatus: 'true' summary: States and localities across the United States have implemented overdose fatality review teams to address the impact of the opioid crisis on their co...
<?php namespace Libreame\BackendBundle\Helpers; use Libreame\BackendBundle\Controller\AccesoController; use Libreame\BackendBundle\Repository\<API key>; use Libreame\BackendBundle\Entity\LbIdiomas; use Libreame\BackendBundle\Entity\LbUsuarios; use Libreame\BackendBundle\Entity\LbEjemplares; use Libreame\BackendBundle\E...
;(function() { /** * Block-Level Grammar */ var block = { newline: /^\n+/, code: /^( {4}[^\n]+\n*)+/, fences: noop, hr: /^( *[-*_]){3,} *(?:\n+|$)/, heading: /^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/, nptable: noop, lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/, blockquote: /^( *>[^\n]+(\n(?!def)[^\n]+)...
// Unit Test (numerical differentiation) #include <gtest/gtest.h> #include <cmath> #include "diff.h" #include "matrix.h" using namespace nmlib; static double f_11(double x){ return cos(x); } static double f_n1(const Matrix& x){ return cos(x(0))*cos(2*x(1)); } static Matrix f_nm(const Matrix& x){ Matrix y(3); y(0)=cos(x...
import React from "react"; import { Message } from "semantic-ui-react"; import Bracket from "./Bracket"; import "./index.scss"; import parseStats from './parseStats'; export default class Brackets extends React.PureComponent { constructor(props) { super(props); this.state = { data: this.updateStats(prop...
define([ 'backbone', 'metro', 'util' ], function(Backbone, Metro, Util) { var MotivationBtnView = Backbone.View.extend({ className: 'motivation-btn-view menu-btn', events: { 'click': 'toggle', 'mouseover': 'over', 'mouseout': 'out', }, initialize: ...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_11) on Wed Mar 06 13:52:23 HST 2013 --> <title>S-Index</title> <meta name="date" content="2013-03-06"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> </head> <body> <script type="te...
#ifndef <API key> #define <API key> #include "compat.h" #include "serialize.h" #include <stdint.h> #include <string> #include <vector> extern bool fAllowPrivateNet; enum Network { NET_UNROUTABLE = 0, NET_IPV4, NET_IPV6, NET_TOR, NET_MAX, }; /** IP address (IPv6, or IPv4 using mapped IPv6 range (::FF...
<?php /** * Outputs an switch when the [twp-switch] is used * * @param [string] $atts shortcode attributes, required. * @param [string] $content shortcode content, optional. * @return output of shortcode * @since 1.0.0 * @version 1.0.4 */ function twp_switch( $atts, $content = '' ) { $atts ...
import pandas as pd import os import time from datetime import datetime import re from time import mktime import matplotlib import matplotlib.pyplot as plt from matplotlib import style style.use("dark_background") # path = "X:/Backups/intraQuarter" # for Windows with X files :) # if git clone'ed then use relative path,...
/* * App Actions * * Actions change things in your application * Since this boilerplate uses a uni-directional data flow, specifically redux, * we have these actions which are the only way your application interacts with * your application state. This guarantees that your state is up to date and nobody * messes ...
# oninput-fix >Fix input event in jquery, support low version of ie. Introduction: Default is CommonJS module If not CommonJS you must do this: >1.Remove first and last line of the code > >2.Wrap code useing: js (function ($){ // the code of remove first and last line }(jQuery)); API: Sample: > js $('#input').on('inp...
package cmd import ( "errors" "github.com/cretz/go-safeclient/client" "github.com/spf13/cobra" "log" "os" ) var lsShared bool var lsCmd = &cobra.Command{ Use: "ls [dir]", Short: "Fetch directory information", RunE: func(cmd *cobra.Command, args []string) error { if len(args) !=...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <title>rb-aem manual | 3. Packing and unpacking data</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css" media="all"><!--@import url(../full.css);--></style> </head> <body> <h1><img src="../rb-appscript-logo.png" al...
const simple_sort = (key, a, b) => { if (a[key] < b[key]) return -1 if (a[key] > b[key]) return 1 return 0 } const name_sort = (a, b) => simple_sort('name', a, b) const skill_sort = (a, b) => simple_sort('skill', a, b) const speed_sort = (a, b) => simple_sort('speed', a, b) export { simple_sort, name_sort, ...
export { default } from './EditData';
<footer id="footer" role="contentinfo"> <a href="#" class="gotop js-gotop"><i class="icon-arrow-up2"></i></a> <div class="container"> <div class=""> <div class="col-md-12 text-center"> <p>{{ with .Site.Params.footer.copyright }}{{ . | markdownify }}{{ end ...
using System.Xml.Linq; namespace Lux.Serialization.Xml { public interface IXmlConfigurable { void Configure(XElement element); } }
<?php /* Section: signup Language: Hungarian Translator: uno20001 <regisztralo111@gmail.com> */ $translations = array( 'h1' => 'Regisztráció', 'mysql-db-name' => 'MySQL adatbázis név', 'mysql-user-name' => 'MySQL felhasználónév', 'mysql-user-password' => 'MySQL jelszó', '<API key>' => 'MySQL jelszó ...
const Koa = require('koa') const screenshot = require('./screenshot') const app = new Koa() app.use(async ctx => { var url = ctx.query.url console.log('goto:', url) if (!/^https?:\/\/.+/.test(url)) { ctx.body = 'url ' } else { if (!isNaN(ctx.query.wait)) { ctx.query.wait = ~~ctx.query.wait } ...