code
stringlengths
4
1.01M
# Generated by Django 2.2.12 on 2020-08-23 07:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('job_board', '0004_jobpost_is_from_recruiting_agency'), ] operations = [ migrations.AlterField( model_name='jobpost', ...
using System; using System.Collections.Generic; using Unit = System.ValueTuple; namespace LaYumba.Functional { using System.Threading.Tasks; using static F; public static partial class F { public static Option<T> Some<T>(T value) => new Option.Some<T>(value); // wrap the given value into a Some ...
require "rails_helper" describe %q{ As an admin I can edit users } do let!(:admin) { create :user, :admin } before { login_as_admin admin } feature "submitting form" do let!(:user) { create :user } before do visit edit_admin_user_path(user) end let(:attributes) { attributes_fo...
import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn import tree from subprocess import call # https://archive.ics.uci.edu/ml/machine-learning-databases/mushroom/agaricus-lepiota.names # # TODO: Load up the mushroom dataset into dataframe 'X' # Verify you did it ...
@import 'normalize.css'; html, body { width: 100%; height: 100%; margin: 0; padding: 0; overflow-x:hidden; font-size: 1rem; font-family: 'Roboto', sans-serif; background-color: #221f1f; color: #ffffff; } .container { margin: 50px auto 0; } .header { position: fixed; top: 0; left: 20px; z-...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
/** * @fileOverview js-itm: a Javascript library for converting between Israel Transverse Mercator (ITM) and GPS (WGS84) coordinates.<p> * <a href="http://code.google.com/p/js-itm/">http://code.google.com/p/js-itm/</a> * @author Udi Oron (udioron at g mail dot com) * @author forked from <a href="http://www.nearby.o...
var models = require('../models'); var Message = models.Message; var User = require('../proxy').User; var messageProxy = require('../proxy/message'); var mail = require('./mail'); exports.sendReplyMessage = function (master_id, author_id, topic_id, reply_id) { var message = new Message(); message.type = 'reply'; ...
<div ng-controller="CouplesController"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Add New Couple</h1> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading"> </div> <div class="pa...
import os from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker Base = declarative_base() class DBConnector(): ''' where every row is the details one employee was paid for an entire month. ''' @classmethod def get_sess...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using CppSharp.AST; using CppSharp.AST.Extensions; using CppSharp.Types; using ParserTargetInfo = CppSharp.Parser.ParserTargetInfo; using Type = CppSharp.AST.Type; namespace CppSharp.Generators.CSharp { ...
#ifndef IntCell_H #define IntCell_H /** * A class for siulating an integer memory cell. */ class IntCell { public: explicit IntCell(int initialValue = 0); int read() const; void write(int x); private: int *storedValue; }; #endif
--- layout: attachment title: Kivy for Android Tutorial date: 2014-05-21 23:12:52.000000000 -03:00 categories: [] tags: [] status: inherit type: attachment published: false meta: {} author: login: aronbbordin email: aron.bordin@gmail.com display_name: aron.bordin first_name: '' last_name: '' excerpt: !ruby/ob...
#!env /usr/bin/python3 import sys import urllib.parse import urllib.request def main(): search = sys.argv[1] url = 'http://rarbg.to/torrents.php?order=seeders&by=DESC&search=' url = url + search print(url) req = urllib.request.Request(url, headers={'User-Agent' : "Magic Browser"}) resp = urlli...
module Sspy class Cli def run end end end
import Services from '../src/lib/services'; const _ = require('lodash'); require('db-migrate-mysql'); const expect = require('unexpected'); const request = require('./request.func'); let rds; class Email { // eslint-disable-next-line sendHtml() { return Promise.resolve(); } } class Slack { // eslint-dis...
#include "BinaryLLHeap.h" int main(int argc, char* argv[]) { BinaryLLHeap <int> heap; heap.insert(5); return 0; }
using Pliant.Captures; using Pliant.Diagnostics; using Pliant.Utilities; namespace Pliant.Languages.Pdl { public class PdlQualifiedIdentifier : PdlNode { private readonly int _hashCode; public ICapture<char> Identifier { get; private set; } public PdlQualifiedIdentifier(string identi...
using System.Collections.Generic; namespace HectorSharp { public class CassandraClientConfig { public LoadBalancingStrategy LoadBalancingStrategy { get; set; } public IList<Endpoint> Hosts { get; set; } } }
#!/usr/bin/env node var JavaScriptBuffer = require('../type-inference'), fs = require('fs'), clc = require('cli-color'); var filename = process.argv[2]; var text = fs.readFileSync(filename, {encoding:"utf8"}); var lines = text.split(/\r?\n|\r/); var buffer = new JavaScriptBuffer; buffer.add(filename, text); va...
var espeak = require('node-espeak'); espeak.initialize(); espeak.onVoice(function(wav, samples, samplerate) { }); espeak.speak("hello world!");
import { Injectable } from '@angular/core'; import { Router} from '@angular/router'; import { Store, ActionReducer, Action} from '@ngrx/store'; import { Observable } from 'rxjs/Rx'; const initSearchContext: any = { q: null, i: 1, n: 100, sortId: 0 }; export const searchContext: ActionReducer<any> = (state: an...
<div class="modal slide-down fade" id="wizard-reincripcion"> <div class="modal-dialog"> <div class="v-cell"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</...
##1.5 Tracking Changes## **How does tracking and adding changes make developers' lives easier?** >Tracking and adding changes allow developers to break the giant work of projects into smaller chunks which can be updated and modified discretely from the entire project. The tracked changes make it easy to see who's...
'use strict'; /** * Module dependencies. */ var express = require('express'), consolidate = require('consolidate'), mongoStore = require('connect-mongo')(express), flash = require('connect-flash'), helpers = require('view-helpers'), assetmanager = require('assetmanager'), config = require('.....
// @flow import { transformFileSync, type babel } from 'babel-core'; import pluginReactIntl from 'babel-plugin-react-intl'; import pluginReactIntlAuto from 'babel-plugin-react-intl-auto'; import pathOr from 'ramda/src/pathOr'; import compose from 'ramda/src/compose'; import type { AbsolutePath } from '../../../../typ...
/** * Copyright (c) 2013, FeedHenry Ltd. All Rights Reserved. * * Class which exposes collection of utility / helper functions for managing user sessions. * - Creates new session for valid user. * - Validates session for incoming requests. * - Returns the session object associated to the specified sessionId. * -...
// @flow import getKeys from "./getKeys"; import type {Composite} from "./types"; /** * Returns true if composite has no own enumerable keys (is empty) or false * otherwise */ const isEmpty = (composite: Composite): boolean => getKeys(composite).length === 0; export default isEmpty;
<script src="https://libraries.wildersueden.org/js/jquery-2/jquery.min.js"></script> <script src="https://libraries.wildersueden.org/js/bootstrap-3/bootstrap.min.js"></script> <script src="https://libraries.wildersueden.org/js/scripts.js"></script> <script src="{f:uri.resource(path: 'js/package.js')}"></script>
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
// // Gateway+Foreground.h // Vihome // // Created by Air on 15-1-27. // Copyright © 2017年 orvibo. All rights reserved. // #import "Gateway.h" @interface Gateway (Foreground) - (void)searchMdnsResult:(NSNotification *)notif; -(void)readTable:(NSString *)tableName uid:(NSString *)uid completion:(commonBlock)comp...
--TEST-- SapiResponse::getVersion --FILE-- <?php $response = new SapiResponse(); var_dump($response->getVersion()); --EXPECT-- NULL
this.NesDb = this.NesDb || {}; NesDb[ 'EFA19C34C9DC95F7511AF979CAD72884A6746A3B' ] = { "$": { "name": "Arkanoid", "altname": "アルカノイド", "class": "Licensed", "subclass": "3rd-Party", "catalog": "TFC-AN-5400-10", "publisher": "Taito", "developer": "Taito", "region": "Japan", "players": "1", "date": "...
--- title: GitLab is now simple to install date: February 14, 2014 --- GitLab is the most fully featured open source application to manage git repositories. However, historically it was not easy to install and update GitLab. Installing it required copy-pasting commands from a long guide. The guide [actually worked](ht...
<style type="text/css"> #sidebar{ width:200px;} #tab-content{padding:10px; margin-top:-40px;} </style> <style type="text/css"> #sidebar{ width:200px;} #tab-content{padding:10px; margin-top:-20px;} </style> <?php $this->load->view('common/header'); ?> <script> $(document).ready(function () { //alert('hi...
require_relative '../examine' module InternetScrabbleClub class Client module ResponseParsers class Examine::History < Examine rule(:sub_command) { str('HISTORY') } rule(:arguments) { delimited([stats, settings, (player_info.as(:info) >> newline_with_whitespace >> plays.as(:pl...
// Karma configuration // Generated on Tue Jan 06 2015 16:30:03 GMT-0800 (PST) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: 'browser', // frameworks to use // available frameworks: https://npmjs.org/browse/ke...
var searchData= [ ['screeningsolver',['ScreeningSolver',['../classhdim_1_1internal_1_1_screening_solver.html',1,'hdim::internal']]], ['sgd',['SGD',['../classhdim_1_1hdim_1_1_s_g_d.html',1,'hdim::hdim']]], ['sgd_5fsr',['SGD_SR',['../classhdim_1_1hdim_1_1_s_g_d___s_r.html',1,'hdim::hdim']]], ['softthres',['SoftTh...
package edu.berkeley.nlp.assignments; import edu.berkeley.nlp.util.*; import edu.berkeley.nlp.io.IOUtils; import java.util.*; import java.io.*; /** * Harness for testing word-level alignments. The code is hard-wired for the * aligment source to be english and the alignment target to be french (recall * that's th...
<html style="Height: 100%"> <head> <title>Home</title> <link rel="stylesheet" href="http://georgethedan.github.io/stylesheets/style/stuff.min.css"> <link rel="stylesheet" href="http://georgethedan.github.io/stylesheets/style.css"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min....
#!/usr/bin/env ruby # encoding: utf-8 require_relative '../environment.rb' puts 'Starting to build library of descriptors' descriptors = Linepig::DescriptorExtractor.new descriptors.create puts 'Done'
package analysisservices // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
#twit Twitter API Client for node Supports both the **REST** and **Streaming** API. #Installing ``` npm install twit ``` ##Usage: ```javascript var Twit = require('twit') var T = new Twit({ consumer_key: '...' , consumer_secret: '...' , access_token: '...' , access_token_secret: ...
#pragma once /** * @file PluginHelper.h * @brief Contains helper functions to make writing plugin classes easier. * * @author Michael Albers */ #include <cstdint> #include <functional> #include <stdexcept> #include <string> #include "PluginEntity.h" namespace QS { /** * Contains helpful functions for writi...
/* This is custom CSS file */ body { font-size: 16px; color: #000; background-color: #f5f8fa; font-family: 'Oxygen', sans-serif; } /* HEADER */ #header-nav { background-color: #4099FF; border-radius: 0; border: 0; } .navbar-brand { padding-top: 20px; padding-bottom: 10px; } .navbar-brand h1 { ...
## Account API ### `signup` ### `login` ### `logout` ### `apply_shadow` ### `release_shadow`
(function () { 'use strict'; angular .module('openSenseMapApp') .controller('EditBoxLocationController', EditBoxLocationController); EditBoxLocationController.$inject = ['$scope', 'boxData', 'notifications', 'AccountService', 'Box']; function EditBoxLocationController ($scope, boxData, notifications,...
function foo<T = string>() {}
<?php namespace app\controllers; use Yii; use yii\web\Response; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\AccessControl; use yii\filters\VerbFilter; use yii\data\ActiveDataProvider; use yii\base\Exception; use app\components\StringUtils; use app\models\Category; /** * CategoryControl...
<?php class LayoutView extends \Owl\Layout{}
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Colossus</source> <translation>Σχετικά με το Colossus</translatio...
{% extends "settings/base.html" %} {% block title %}{{ _('Settings') }} - {{ _('Tickets') }}{% endblock %} {% block head %} <meta name="api-esi-ui-newmail" content="{{url_for('api_ui.post_esi_openwindow_newmail')}}"> <meta name="api-esi-ui-auth" content="{{ url_for('api_ui.auth') }}"> {{ super() }} {% assets filters=...
#Optimización Del Gradiente Descendente aplicando el Momento por medio de TensorFlow ** El algoritmo se implenta a partir del calculo de gradientes que nos sumistra TensorFlow, de esta manera se da un ejemplo de como implementar cualquier algoritmo que tenga como base el gradiente descendente** Material correspondie...
/** */ package IFML.Core.presentation; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.EventObject; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Lis...
# Pimoroni-PanTilt-Hat-WebInterface This is a bootstrap webinterface for the Pimoroni PanTilt Hat You will need: * Pimoroni Pan/Tilt HAT Kit * A Pi Camera * Streaming URL for The 15cm ribbon cable supplied with the Pi Camera should be long enough if you're mounting the Pan/Tilt HAT on the Pi. If you're using a Black ...
--- layout: page title: Hernandez 45th Anniversary date: 2016-05-24 author: Kathy Braun tags: weekly links, java status: published summary: Morbi pellentesque venenatis hendrerit. Nulla vehicula. banner: images/banner/meeting-01.jpg booking: startDate: 11/26/2019 endDate: 12/01/2019 ctyhocn: AVPHDHX groupCode: ...
<div class="commune_descr limited"> <p> Saint-Maixent est un village géographiquement positionné dans le département de Sarthe en Pays de la Loire. Elle totalisait 743 habitants en 2008.</p> <p>À Saint-Maixent, la valorisation moyenne à l'achat d'un appartement se situe à zero &euro; du m² en vente. La ...
@import scala.collection.mutable.ArrayBuffer @(goodComments:ArrayBuffer[String])(badComments:ArrayBuffer[Html]) @main("All Comments"){ <p> <button id="back" name="back" value="back" onclick="window.history.back()">Back</button> </p> <table class="table"> <col width="50%" /> <thead> ...
<?php if($_POST) { //check if its an ajax request, exit if not if(!isset($_SERVER['HTTP_X_REQUESTED_WITH']) AND strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) != 'xmlhttprequest') { $output = json_encode(array( //create JSON data 'type'=>'error', 'text' => 'Invalid reque...
<div class="first_column ui-corner-all ui-widget ui-widget-content"> <h3>Add new site</h3> <?php if(!empty($_SESSION['error_message'])){ ?> <div class="ui-widget"> <div class="ui-state-error ui-corner-all" style="margin-top: 20px; padding: 0 .7em;"> <p> <spa...
/** * For proper JSON escaping for use as JS object literal in a <script> tag * For your education: http://timelessrepo.com/json-isnt-a-javascript-subset * * Javascript implementation of http://golang.org/pkg/encoding/json/#HTMLEscape */ 'use strict'; var ESCAPE_LOOKUP = { '&': '\\u0026', '>': '\\u003e', '...
import {Observable} from '../Observable'; import {filter} from './filter'; const not = <T>(fn: (val: T) => boolean) => (x: T) => !fn(x); /** * Splits the source Observable into two, one with values that satisfy a predicate, * and another with values that don't satisfy the predicate. * * Marble diagram: * * ```t...
--- title: Occuparsi Del Popolo Di Dio date: 20/03/2022 --- `Leggere Ebrei 13:1,2 ; Romani 12:13 ; 1 Timoteo 3:2 ; Tito 1:8 e 1 Pietro 4:9 . Che posto aveva l’ospitalità nella chiesa primitiva?` Il cristianesimo era un movimento errante che spesso dipendeva dall’ospitalità di altri cristiani ma anche di non cristi...
<?php /* * Category Bundle * This file is part of the BardisCMS. * * (c) George Bardis <george@bardis.info> * */ namespace BardisCMS\CategoryBundle\Repository; use Doctrine\ORM\EntityRepository; class CategoryRepository extends EntityRepository { }
""" Module containing classes for HTTP client/server interactions """ # Python 2.x/3.x compatibility imports try: from urllib.error import HTTPError, URLError from urllib.parse import urlencode except ImportError: from urllib2 import HTTPError, URLError from urllib import urlencode import socket from ...
class Object def maybe self end end
import unittest import itertools class TestWorld(object): def __init__(self, **kw): self.__dict__.update(kw) self.components = self self.entities = set() self.new_entity_id = itertools.count().__next__ self.new_entity_id() # skip id 0 for comp in list(kw.values()): comp.world = self class TestComp...
/* @group Base */ .chzn-container { font-size: 13px; position: relative; top:9px; display: inline-block; zoom: 1; *display: inline; } .chzn-container .chzn-drop { background: #fff; border: 1px solid #aaa; border-top: 0; position: absolute; top: 29px; left: 0; -webkit-box-shadow: 0 4px 5px rgba...
from django.db import models from django.contrib.sites.models import Site # Create your models here. class Link(models.Model): url = models.URLField(max_length=512) site = models.ForeignKey(Site, on_delete=models.SET_NULL, null=True) request_times = models.PositiveIntegerField(default=0) updated = mod...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Count_Substring_Ocurrences { class Program { static void Main(string[] args) { var text = Console.ReadLine().ToLower(); var specialWord = Consol...
body { background: #fafafa; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #333; } .browsehappy { margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0; } /* Everything but the jumbotron gets side spacing for mobile first views */ .header, .marketing, .foote...
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <script src="./socket.io-client.js"></script> </body> </html>
namespace Expresso.Resolvers { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; /// <summary> /// Поставщик сборок текущего домена /// </summary> public class AppDomainAssembliesProvider : IAssemblyProvider { /// <summary> ...
package com.showka.service.query.u05.i; import java.util.List; import com.showka.domain.u05.UriageRireki; import com.showka.domain.z00.Busho; import com.showka.entity.RUriage; import com.showka.value.TheDate; public interface UriageRirekiQuery { /** * 計上日と部署を指定しての売上を検索します。 * * @param busho * ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; class ReminderController extends Controller { // public function showReminder() { //return view('reminder')->with('page' => 'reminder'); return view('reminder' ,...
import styled from 'styled-components'; import Stones from '../Stones'; const StyledStones = styled(Stones)` display: inline-block; width: 100%; min-height: 30px; div { display: inline-block; width: 20px; height: 20px; border: 1px solid #000000; border-radius: 50%; margin: 0 1px 0 0; ...
class InvalidValueState(ValueError): pass
// // Copyright (c) 2017-2020 the rbfx project. // // 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...
/*************************************** * Responsive Menu - v.1.0 * * Tested on: * Firefox * Chrome * Safari * IE9+ (because of its responsive nature is useless to optimize it for previeous IEs) * Safari iOS * ...It should work on Android too, but I've not tested on it yet ;) * * Overview: * * Two states responsive m...
import java.util.Scanner; /** * Created by mvieck on 12/21/16. */ public class CarProject { Car[] cars = new Car[3]; public CarProject() { cars[0] = new Car("Ford",80, 7); cars[1] = new Car("Kia", 70, 6); cars[2] = new Car("Lexus", 60, 8); } public static void main(String[]...
using System; using System.Collections; namespace hub { public class logicproxy { public logicproxy(juggle.Ichannel ch) { _hub_call_logic = new caller.hub_call_logic(ch); } public void reg_logic_sucess_and_notify_hub_nominate() { _hub_call_logic.reg_logic_sucess_and_notify_hub_nominate(hub.name); ...
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title>Moduler.js - Maps</title> <meta name="viewport" content="width=device-width"> <style> body { font-family: sans-serif; } .red { background: red; padding: 10px; } .green...
# Contributing Contributions are **welcome** and will be fully **credited**. We accept contributions via Pull Requests on [Github](https://github.com/nigelgreeway/route-generator-plugin). ## Pull Requests - **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-g...
@extends('protected.admin.master') @section('title', 'CRUD - Ampur') @section('content') @if (Session::has('flash_message')) <p>{{ Session::get('flash_message') }}</p> @endif <ol class="breadcrumb"> <li><a href="{{URL::to('database')}}">Database</a></li> <li class="active">tbl_province</li> </ol> ...
# distance_field_demo Multi-channel distance field font starling & feathers demo. It is assumed that starling and feathers are a level higher in the "lib" directory. Please specify your path to air sdk in the "bat/SetupSDK.bat" file, e.g. set FLEX_SDK=c:\Flash\SDK_Air190
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Login // Soft Admin</title> <!-- Default Styles (DO NOT TOUCH) --> <link rel="stylesheet" href="lib/css/font-awesome.min.css"> <link rel="stylesheet" href="lib/cs...
#include <bits/stdc++.h> using namespace std; using ull = unsigned long long; ull arr[int(1e5)+5]; int n, q, x; int bs(int key) { int l = 0, r = n-1, mid, ans=-1; while (l <= r) { mid = l + (r - l + 1)/2; if (arr[mid] == key) { r = mid - 1; ans = mid; } else if (arr[mid] < key) l = mid + 1; else ...
var plain = require('./workers/plain.js'); var NodeMover = require('./modules/NodeMover').NodeMover; var PixiGraphics = require('./modules/PixiGraphics').PixiGraphics; module.exports.main = function () { var _layoutIterations = 1000; var _layoutStepsPerMessage = 25; //--simple frame-rate display for rende...
# frozen_string_literal: true require "rails_helper" module Renalware describe Letters::PathologyLayout do subject(:layout) { described_class.new } describe "#each_group" do it "yields a block for each group of path description that should be displayed in a letter" do da = build_stubbed( ...
# jsdoc-generator output jsdoc. ## Update v0.2.3 update description v0.2.2 update README.md --- ## Installation `$ apm install jsdoc-generator` --- ## Settings ### jsdoc options 1. open settings pane. 2. select `Jsdoc Generator` from `Packages`. 3. `Options` section. **example** ``` --debug --nocolor ``` #...
//////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2021 Tim Stair // // 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 Soft...
require 'test_helper' module Jigashira class TableControllerTest < ActionController::TestCase setup do @routes = Engine.routes end test "should get index" do get :index assert_response :success end end end
function SignupController() { // redirect to homepage when cancel button is clicked // $('#account-form-btn1').click(function(){ window.location.href = '/#section-3';}); // redirect to homepage on new account creation, add short delay so user can read alert window // $('.modal-alert #ok').click(function(){ setTimeo...
'use strict'; function posix(path) { return path.charAt(0) === '/'; }; function win32(path) { // https://github.com/joyent/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; var result = splitDeviceRe.exec(pa...
<?php use Symfony\Component\Routing\RequestContext; use Symfony\Component\Routing\Exception\RouteNotFoundException; use Psr\Log\LoggerInterface; /** * appDevUrlGenerator * * This class has been auto-generated * by the Symfony Routing Component. */ class appDevUrlGenerator extends Symfony\Component\Routing\Genera...
#!/Library/Frameworks/Python.framework/Versions/2.7/bin/python import numpy as np import sys import scipy from scipy import stats data_file = sys.argv[1] data = np.loadtxt(data_file) slope, intercept, r_value, p_value, std_err = stats.linregress(data[499:2499,0], data[499:2499,1]) nf = open('linear_reg.dat', 'w') ...
<?php $_lang['blockdown'] = 'EpicEditor for ContentBlocks'; $_lang['blockdown.description'] = 'Markdown Input Type powered by EpicEditor.'; $_lang['blockdown.theme_preview'] = 'Preview Theme'; $_lang['blockdown.theme_preview.description'] = 'The theme for the previewer.'; $_lang['blockdown.theme_editor'] = 'Theme Edi...
class String def tab(spaces=2) ' ' * spaces + self end def then_add(string) self << "\n#{string}" end end
/* * cocos2d-x http://www.cocos2d-x.org * * Copyright (c) 2010-2014 - cocos2d-x community * Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. * * Portions Copyright (c) Microsoft Open Technologies, Inc. * All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use thi...