code
stringlengths
4
1.01M
language
stringclasses
2 values
#!/usr/bin/env node process.env.FORCE_COLOR = true; const program = require('commander'); const package = require('../package.json'); /** * CLI Commands * */ program .version((package.name) + '@' + (package.version)); /** * Command for creating and seeding */ program .command('create [dataObject]', 'Gen...
Java
+++ date = "2019-03-01T18:09:26-07:00" title = "Trust and Integrity" author = "Jessica Frazelle" description = "Some reflections on my recent adventures." +++ I stated in my first post on my [reflections of leadership in other industries](https://blog.jessfraz.com/post/government-medicine-capitalism/) that I would wri...
Java
var hb = require('handlebars') , fs = require('vinyl-fs') , map = require('vinyl-map') module.exports = function (opts, cb) { if (!opts || typeof opts === 'function') throw new Error('opts is required') if (!opts.origin) throw new Error('opts.origin is required') if (!opts.target) throw new Error('opts.targe...
Java
package boun.swe573.accessbadger; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class ABHelloWorld { @RequestMapping("/welcome") public String helloWorld() { String message = "<br><div style='text-align:center;'>" + "<h3>*...
Java
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2017, STEREOLABS. // // All rights reserved. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIE...
Java
# frozen_string_literal: true # == Schema Information # # Table name: tags # # id :uuid not null, primary key # shared :boolean not null # tag_name :string not null # created_at :datetime not null # updated_at :datetime not null...
Java
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>class AddPhotoToSpeakerViaPaperclip - RDoc Documentation</title> <script type="text/javascript"> var rdoc_rel_prefix = "./"; </script> <script src="./js/jquery.js"></script> <script src="./js/darkfish.js"></script> <link href="./css/fonts.css" rel="styl...
Java
#!/bin/sh # seems there are problems in tab-replacement # this is the mac-version sed 's/ / \& /g' ../temp/mpfr.d.column > ../temp/mpfr.d.amp sed 's/ / \& /g' ../temp/mpfr.h.column > ../temp/mpfr.h.amp sed 's/ / \& /g' ../temp/jur.d.column > ../temp/jur.d.amp sed 's/ / \& /g' ../temp/jur.h.column > ../temp/j...
Java
<dom-element id="email-reader"> <template> <!-- <iframe sandbox height="100%" width="100%" srcdoc="{{email.body}}"></iframe> --> </template> <script> Polymer({ is: 'email-reader' }) </script> </dom-element>
Java
INSERT INTO customers (first_name, last_name) VALUES ('Nobita', 'Nobi'); INSERT INTO customers (first_name, last_name) VALUES ('Takeshi', 'Goda'); INSERT INTO customers (first_name, last_name) VALUES ('Suneo', 'Honekawa'); INSERT INTO customers (first_name, last_name) VALUES ('Shizuka', 'Minamoto');
Java
#!/usr/bin/python # -*- coding: utf-8 -*- from scrapy.spider import Spider from scrapy.selector import Selector from my_settings import name_file, test_mode, difference_days from datetime import datetime, timedelta print "Run spider NewenglandFilm" file_output = open(name_file, 'a') email_current_sessio...
Java
module Tabulo # @!visibility private module Util NEWLINE = /\r\n|\n|\r/ # @!visibility private def self.condense_lines(lines) join_lines(lines.reject(&:empty?)) end # @!visibility private def self.divides?(smaller, larger) larger % smaller == 0 end # @!visibility pri...
Java
<?php //Get Variables $favuserid = $_POST['userid']; $ownprofile = $_POST['ownprofile']; $ownusername = $_POST['ownusername']; //Connect to mysql database $connection = mysql_connect("localhost", "6470", "6470") or die("mySQL Connection Error<br />\n"); $database='6470_main'; mysql_select_db($database) or die('Error, ...
Java
var request = require('request'); var url = require('url'); var authenticate = require('./oauthentication'); var Request = function(obj){ this.obj = obj; }; Request.prototype.mailboxes = function(method, specific_url, params, callback){ /* * @params: * @ param : if user wants to call specific mailbox e.g. : ...
Java
<?php namespace Sasedev\Commons\SharedBundle\HtmlModel\Tags; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Src; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Type; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Charset; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Defer; use Sasedev\Co...
Java
use std::process::{Command,Output}; use std::io; use tmux::pane::Pane; use capture::retrieve_capture; use serde::Serializer; use serde::ser::Serialize; // Come back and question the accuracy of windows without names // that have active, or previous window designations. static NAME_REGEX: &'static str = r":\s(\w*)[$\...
Java
package gradebookdata; /** * Represents one row of the course table in the GradeBook database * * @author Eric Carlton * */ public class Course { private String name; private int weight; private int ID; /** * Create a course with all fields filled * * @param name * name of course * @...
Java
#include "RDom.h" #include "Util.h" #include "IROperator.h" #include "IRPrinter.h" namespace Halide { using namespace Internal; using std::string; using std::vector; RVar::operator Expr() const { if (!min().defined() || !extent().defined()) { user_error << "Use of undefined RDom dimension: " << ...
Java
# webpack-boilerplate Simple production-ready boilerplate for [Webpack](http://webpack.github.io/) (CoffeeScript and HTML) ## Features * compiles your scripts, templates, styles * lints them * wraps the scripts and templates in common.js / AMD modules * concatenates scripts and styles * generates source maps for con...
Java
(function () { 'use strict'; angular.module('atacamaApp').directive('atacamaIndicator', indicatorDirective); function indicatorDirective() { return { templateUrl: 'app/components/widgets/indicator/indicator.html', link: linkFunc, controller: 'IndicatorWidgetController', controllerAs...
Java
/* * Configuration.h * * Created on: Nov 25, 2015 * Author: yash */ #ifndef CONFIGURATION_H_ #define CONFIGURATION_H_ #include <string> #include <vector> #include <map> #include <mutex> namespace daf { class Config { private: std::string FileLocation; std::mutex Lock; std::map<std::string,...
Java
--- layout: page permalink: /sobre/index.html title: Interface tags: [Interface, Pesquisa, Filosofia, Cultura] imagefeature: fourseasons.jpg chart: true --- <figure> <img src="{{ site.url }}/images/profile.png" alt="The Immortal"> <figcaption><a href="http://www.nickgentry.com/the-immortal/" target="_blank">The Imm...
Java
define(['tantaman/web/css_manip/CssManip'], function(CassManip) { var el = CassManip.getStyleElem({ id: 'customBackgrounds', create: true }); /** * This is essentially a view class that * render the stylesheet of background classes whenever * new background classes are created. * * @param {EditorModel...
Java
import { sp } from "@pnp/sp"; import "@pnp/sp/webs"; import "@pnp/sp/user-custom-actions"; import { ISearchQuery } from "@pnp/sp/search"; import { Web } from "@pnp/sp/webs"; export default class ApplicationCustomizersService { /** * fetchAllApplictionCustomizers */ public fetchAllApplictionCustomiz...
Java
/* * (C) Copyright 2012 SAMSUNG Electronics * Jaehoon Chung <jh80.chung@samsung.com> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <dm.h> #include <malloc.h> #include <sdhci.h> #include <fdtdec.h> #include <linux/libfdt.h> #include <asm/gpio.h> #include <asm/arch/mmc.h> #include <asm/arch/...
Java
package host import ( "errors" "io/ioutil" "path/filepath" "testing" "time" "github.com/NebulousLabs/Sia/crypto" "github.com/NebulousLabs/Sia/modules" "github.com/NebulousLabs/Sia/modules/renter" "github.com/NebulousLabs/Sia/types" ) const ( testUploadDuration = 20 // Duration in blocks of a standard uploa...
Java
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp624Component } from './comp-...
Java
#include "glprogram.h" #include <gl/gl3w.h> #include <cstdio> bool compileStatus(GLuint shader) { int ret; glGetShaderiv(shader, GL_COMPILE_STATUS, &ret); return ret; } bool linkStatus(GLuint program) { int ret; glGetProgramiv(program, GL_LINK_STATUS, &ret); return ret; } bool compileShader(GLuint handle, GLenu...
Java
#include <climits> #include <cstdlib> #include <cstring> #include "orderline.h" #include "../src/schema/conversion.h" using namespace std; void OrderlineStore::add(string elements[10]) { add_instance(atoi(elements[0].c_str()), atoi(elements[1].c_str()), atoi(elements[2].c_str()), atoi(elements[3].c_str(...
Java
using Microsoft.Owin.Security.OAuth; using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace CodeReaction.Web { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Configure Web API t...
Java
require 'spec_helper' describe Emarsys::Broadcast::Email do it 'should validate valid email' do expect(Emarsys::Broadcast::Email::validate 'winston.smith-1984@big.brother.ru').to be_truthy expect(Emarsys::Broadcast::Email::validate 'abc@example.com').to be_truthy end it 'should not validate invalid email...
Java
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>That's Life</title> <style> body { margin: 0; background-color: #f0f0f0; } canvas { width: 100%; height: 100% } #ex1Slider .slider-selection { background: #009900; } #ex1Slider { margin-le...
Java
var dp = jQuery; dp.noConflict(); dp(document).ready(function() { //SMOOTH SCROLL dp('a[href^="#"]').bind('click.smoothscroll', function(e) { e.preventDefault(); dp('html,body').animate({ scrollTop: dp(this.hash).offset().top }, 1200); }); //SUPER SLIDES // dp('...
Java
<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="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>...
Java
<?php require "header.php"; require "menu.php"; session_start(); require "config.php"; require_once __DIR__ . '/src/Facebook/autoload.php'; $fb = new Facebook\Facebook([ 'app_id' => APP_ID, 'app_secret' => APP_SECRET, 'default_graph_version' => APP_VERSION ]); $helper = $fb->getRedirectLoginHelper(); $...
Java
<?php namespace Propel\Tests\Generator\Migration; /** * @group database */ class ForeignKeyTest extends MigrationTestCase { public function testAdd() { $originXml = ' <database> <entity name="migration_test_6"> <field name="id" type="integer" primaryKey="true" autoIncrement="true" /> ...
Java
<?php namespace Theintz\PhpDaemon\Plugin; use Theintz\PhpDaemon\Daemon; use Theintz\PhpDaemon\Exception; use Theintz\PhpDaemon\IPlugin; use Theintz\PhpDaemon\Lib\Command; /** * Create a simple socket server. * Supply an IP and Port for incoming connections. Add any number of Command objects to parse client input. ...
Java
#include "bitcoinunits.h" #include <QStringList> BitcoinUnits::BitcoinUnits(QObject *parent): QAbstractListModel(parent), unitlist(availableUnits()) { } QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits() { QList<BitcoinUnits::Unit> unitlist; unitlist.append(BTC); unitlist.append(mBT...
Java
namespace AgileObjects.AgileMapper.Api.Configuration.Projection { /// <summary> /// Enables chaining of configurations for the same source and result type. /// </summary> /// <typeparam name="TSourceElement">The source type to which the configuration should apply.</typeparam> /// <typeparam name="T...
Java
#include <string> #include <vector> using std::string; using std::vector; // StrUtil class class StrUtils { public: /**Function used to trim empty character * from begin and end of the string * @param string& string to trim * @return string& trimed tring, same object of parameter */ static string tri...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SetupEnviroment { class Application { public static void Main(string[] args) { NameSelector.DoExample(); //IdSelector.Main(); //No...
Java
<!DOCTYPE html> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <title>module ActionController::Head - Rails Framework Documentation</title> <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet"> <script type="text/javascript"> var rdoc_rel_prefix = "../"; </sc...
Java
/* ********************************************************************************************************** * The MIT License (MIT) * * * * Copyright (c) 2016 Hypermediasystems Ges. f. Software mbH * * Web: http://www.hypermediasystems.de * ...
Java
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Web.UI; using System.Web.UI.WebControls; using Vevo; using Vevo.Domain.DataInterfaces; using Vevo.Shared.Utilities; using Vevo.WebAppLib; using Vevo.Base.Domain; public partial class Components_SearchFilterNew : Vevo.Web...
Java
#include <stdio.h> #include <stdlib.h> static inline void swap(int *a, int *b) { int tmp = *a; *a = *b; *b = tmp; } static int firstMissingPositive(int* nums, int numsSize) { if (numsSize == 0) { return 1; } int i = 0; while (i < numsSize) { /* nums[i] should be i+1 and nu...
Java
<?php namespace Eeemarv\EeemarvBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface;...
Java
/* * aem-sling-contrib * https://github.com/dherges/aem-sling-contrib * * Copyright (c) 2016 David Herges * Licensed under the MIT license. */ define([ "./core", "./var/slice", "./callbacks" ], function( jQuery, slice ) { jQuery.extend({ Deferred: function( func ) { var tuples = [ // action, add list...
Java
/// <reference path="../../../typings/index.d.ts" /> import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { UserList } from '../components/users'; export class People extends React.Component<{}, {}> { render () { return ( <div className="row"> <div id="content"> ...
Java
var http = require("http"); var url = require("url"); function start(route, handle) { function onRequest(request, response) { var pathname = url.parse(request.url).pathname; console.log("Request for " + pathname + " received."); route(handle, pathname, response); } http.crea...
Java
using DandelionWebSockets import JSON import Base.== import DandelionSlack: on_event, on_reply, on_error, on_connect, on_disconnect, EventTimestamp, RTMWebSocket, send_text, stop, RTMClient, makerequest, wsconnect, HttpException import DandelionWebSockets: @mock, @mockfunc...
Java
// // UIColor+Rainbow.h // Rainbow UIColor Extension // // Created by Reid Gravelle on 2015-03-28. // Copyright (c) 2015 Northern Realities Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Softwa...
Java
<?php /** * Copyright (c) 2015 Tobias Schindler * * 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...
Java
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Java
/* * XPropertyEvent.cs - Definitions for X event structures. * * Copyright (C) 2002, 2003 Southern Storm Software, Pty Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either versi...
Java
<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="description"> <meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML"> <meta n...
Java
import * as Models from './' export const ItemRequestPriority = [ 'low', 'standard', 'high', 'highest' ] as const export type ItemRequestPriorityTuple = typeof ItemRequestPriority export type ItemRequestPriority = ItemRequestPriorityTuple[number] export const ItemRequestDestination = ['Svařovna'] as const export ...
Java
--- layout: default title: Home --- <div class="posts"> {% for post in paginator.posts %} <div class="post"> <h1 class="post-title"> {{ post.title }} </h1> <span class="post-date">{{ post.date | date_to_string }}</span> {{ post.content }} </div> {% endfor %} </div> <div class="paginati...
Java
package com.orbital.lead.controller.Activity; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v...
Java
# Œ 685 ‰ --- lptwnw ] jobnu Dnu pRBqw kY md mY Aihinis rhY idvwnw ]1] dIn dieAwl sdw duK BMjn qw isau mnu n lgwnw ] jn nwnk kotn mY iknhU gurmuiK hoie pCwnw ]2]2] DnwsrI mhlw 9 ] iqh jogI kau jugiq n jwnau ] loB moh mwieAw mmqw Puin ijh Git mwih pCwnau ]1] rhwau ] pr inMdw ausqiq nh jw kY kMcn loh smwno ] hrK sog qy r...
Java
const colors = require('colors/safe'); const shouldSilenceWarnings = (...messages) => [].some((msgRegex) => messages.some((msg) => msgRegex.test(msg))); const shouldNotThrowWarnings = (...messages) => [].some((msgRegex) => messages.some((msg) => msgRegex.test(msg))); const logOrThrow = (log, method, messages) =>...
Java
/*********************************************************************************** Copyright (C) 2016 Mohammad D. Mottaghi Under the terms of the MIT license, permission is granted to anyone to use, copy, modify, publish, redistribute, and/or sell copies of this source code for any commercial and non-commerci...
Java
require "chamberevents/version" require 'chamberevents/read' require 'chamberevents/ical' require 'chamberevents/upload' module Chamberevents def self.update! events = Read.current ical = Ical.new(events).to_s Upload.write('elginchamber-events.ics', ical) end end
Java
require File.dirname(__FILE__) + '/test_helper' context "Resque::Scheduler" do setup do Resque::Scheduler.dynamic = false Resque.redis.flushall Resque::Scheduler.clear_schedule! end test 'set custom logger' do custom_logger = Logger.new('/dev/null') Resque::Scheduler.logger = custom_logger ...
Java
<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>...
Java
/* * (C) Copyright 2015 Richard Greenlees * * 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, merge,...
Java
<?php // Load DB include "ConfigDb.php"; // Load core classes include "core/Model.php"; include "core/Controller.php"; // Load model classes - they extend Model.php include "model/AddressesModel.php"; include "model/EmployeesModel.php"; // Load Controller class - it extends Controller.php include 'controller/FilterI...
Java
package action import ( "os" "path/filepath" "github.com/gopasspw/gopass/internal/tree" "github.com/gopasspw/gopass/internal/config" "github.com/gopasspw/gopass/internal/out" "github.com/gopasspw/gopass/internal/store/leaf" "github.com/gopasspw/gopass/pkg/ctxutil" "github.com/gopasspw/gopass/pkg/fsutil" "gi...
Java
require "codeclimate-test-reporter" CodeClimate::TestReporter.start # This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper"` to ensure that it is only # loaded once. # # Se...
Java
// Copyright (c) Simple Injector Contributors. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license information. namespace SimpleInjector.Diagnostics { using System; using System.Diagnostics; using SimpleInjector.Advanced; /// <summary> /// Diag...
Java
import Helper, { helper as buildHelper } from '@ember/component/helper'; import { inlineSvg } from 'ember-inline-svg/helpers/inline-svg'; import SVGs from '../svgs'; import Ember from 'ember'; let helper; if (Helper && buildHelper) { helper = buildHelper(function ([path], options) { return inlineSvg(SVGs, path, ...
Java
'use strict'; var path = require('path'); var Stream = require('readable-stream'); var BufferStreams = require('bufferstreams'); var ttf2woff2 = require('ttf2woff2'); var PluginError = require('plugin-error'); var replaceExtension = require('replace-ext'); var PLUGIN_NAME = 'gulp-ttf2woff2'; // File level transform ...
Java
<!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...
Java
--- categories: - 价值投资 --- ### 一、本周操作(无) ### 二、持仓实盘 ![](https://imgkr.cn-bj.ufileos.com/58765ae4-90fd-4502-85e6-ace588d94f35.png) 其中:1、持仓分别在A股、港股和美股,港美股通过雪盈证券购买;2、持仓比例小于5%的可以理解为观察仓或收藏股(收集优秀公司的股权,比如Facebook、Google、Amazon等);3、收益率计算方式为:2020年收益率=(当前持仓净值+2020年新增资金-年初持仓净值)/年初持仓净值。 ### 三、收益记录 ![](https://imgkr.cn-bj.u...
Java
public class Solution { public int lengthOfLongestSubstringTwoDistinct(String s) { int[] map = new int[128]; int count = 0, start = 0, end = 0, d = 0; while (end < s.length()) { if (map[s.charAt(end++)]++ == 0) count++; while (count > 2) if(map[s.charAt(start++)]-- ==...
Java
<?php /** * This class defines the structure of the 'category' 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 * ORDER BY clause to know whether it needs to apply SQL to make the ORDE...
Java
#BEGIN_HEADER # # Copyright (C) 2020 Mahdi Safsafi. # # https://github.com/MahdiSafsafi/opcodesDB # # See licence file 'LICENCE' for use and distribution rights. # #END_HEADER use strict; use warnings; # BNDCL-Check Lower Bound. T['BNDCL REG:r=$BNDr AGEN:r=$agen ', 'MODE=64 ', 'BNDCL_ro ', '']; T['BNDCL REG...
Java
#!usr/bin/perl; use strict; my $blastFile = $ARGV[0]; open (BFILE,$blastFile); open (ANIT,">blastANIT"); open (ANIS,">blastANIS"); open (ANIU,">blastANIU"); my $counter=0; while (my $line=<BFILE>){ #print $line; if ($line =~ m/(ANIS)/){ print ANIS $line; } elsif ($line =~ m/(ANIT)/){ print ANIT $line; } e...
Java
require "spec_helper" describe ZMQP1 do it "is awesome" do ZMQP1::Awesome.new.describe.should be_awesome end end
Java
namespace TheDmi.CouchDesignDocuments { public interface IShowsSection { } }
Java
//# sourceMappingURL=WeatherData.js.map
Java
--- layout: page title: Architektur permalink: "architecture/de/overview/" language: de --- ## Übersicht Eine OneConnexx Installation besteht typischerweise aus den folgenden Komponenten: ![x]({{ site.baseurl }}/assets/content-images/architecture/de/overview.png "Übersicht") Die Datenbank, Alerting-Ser...
Java
--- layout: post title: suruba amadora titleinfo: pornvd desc: Watch suruba amadora. Pornhub is the ultimate xxx porn and sex site. --- <iframe src="http://www.pornhub.com/embed/ph56eacb34eae47" frameborder="0" width="630" height="338" scrolling="no"></iframe> <h2>suruba amadora</h2> <h3>Watch suruba amadora. Pornhub ...
Java
<?php /* Safe sample input : get the field userData from the variable $_GET via an object sanitize : use of floatval construction : interpretation with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute t...
Java
# Royal Geni : A React Starter Kit ## Installation ```bash npm install ``` ## Running Dev Server ```bash npm run dev ``` The first time it may take a little while to generate the first `webpack-assets.json` and complain with a few dozen `[webpack-isomorphic-tools] (waiting for the first Webpack build to finish)` p...
Java
/* * The MIT License (MIT) * * Copyright (c) 2016 MrInformatic. * * 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...
Java
function commentPage() { // Open popup $("#comment-popup").dialog({ width : 800, height : 400, modal : true, appendTo: "#mainForm", open : function(event, ui) { $('input[id$="comment-comment"]').focus(); }, close : function(event, ui) { cancelComment(); } }); } /** * Clean ...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; using TwitterAPI; using System.Net; using Core; using System.Security.Cryptography; using System.IO; namespace TwitterAPI { [DataContract] public class TwitterDirectMessage { /// <summary> ...
Java
Elite-Solutions-Computer-Service =============================== Another website I ran at one time, hand-coded. Some scraps from it's predecessor are also buried in the directory. Looking at the predecessor site, one can easily see it was my learning experience using GIMP to slice and dice a website :)
Java
document.addEventListener("DOMContentLoaded", function() { "use_strict"; // Store game in global variable const CASUDOKU = {}; CASUDOKU.game = (function() { // Controls the state of the game // Game UI let uiStats = document.getElementById("gameStats"), uiComplete = document.getElementById("gameCo...
Java
# Asynchronous Example An example showing how to delay rendering for asynchronous events. ## Commands ```sh $ npm install $ npm run dev $ npm run build ``` ## Code ```js // webpack.config.babel.js new HtmlPlugin((assets, defaultTemplate, compiler) => { return new Promise((resolve, reject) => { var template...
Java
package rest import ( restful "github.com/emicklei/go-restful" swagger "github.com/emicklei/go-restful-swagger12" ) // ConfigureSwagger configures the swagger documentation for all endpoints in the container func ConfigureSwagger(apiDocPath string, container *restful.Container) { if apiDocPath == "" { return } ...
Java
webpackJsonp([2],{ /***/ 16: /***/ function(module, exports, __webpack_require__) { /// <reference path="../../typings/tsd.d.ts" /> var ListController = __webpack_require__(17); // webpack will load the html. Nifty, eh? __webpack_require__(9); // webpack will load this scss too! __webpack_require__(18); modul...
Java
<?php namespace App\Models; use Fwartner\Katching\Cacheable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Comment extends Model { use Cacheable, SoftDeletes; protected $table = 'comments'; protected $fillable = [ 'content', 'is_spam', ...
Java
#**Django-AdminLTE-X** ###**Django AdminLTE Template** AdminLTE Bootstrap Theme packaged for Django **Quick Start** Install the pip package: ``` pip install django_adminlte_x ``` Add `adminlte` to your `INSTALLED_APPS` setting like this: ``` INSTALLED_APPS = ( 'adminlte' ... ) ``` It is almost done. You can chec...
Java
require File.expand_path('../core_response', __FILE__) module Korwe module TheCore class InitiateSessionResponse < CoreResponse def initialize(session_id, guid, successful) super(session_id, :InitiateSessionResponse, guid, successful) end end end end
Java
djsex.css = { /* * http://stackoverflow.com/questions/524696/how-to-create-a-style-tag-with-javascript */ create: function(stylesheet) { var head = document.getElementsByTagName('head')[0], style = document.createElement('style'), rules = document.createTextNode(stylesh...
Java
<?php namespace Mapbender\ActivityIndicatorBundle\Element; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; /** * */ class ActivityIndicatorAdminType extends AbstractType { /** * @inheritdoc */ ...
Java
--- title: "New package uniftest with initial version 1.0 " kind: article created_at: 2014-12-25 01:13:00 UTC author: CRANberries categories: tags: layout: post --- <strong>Package</strong>: uniftest<br> <strong>Version</strong>: 1.0<br> <strong>Date</strong>: 2014-12-24<br> <strong>Title</strong>: Tests for Uniformi...
Java
/** * The Furnace namespace * * @module furnace * @class Furnace * @static */ import Validation from 'furnace/packages/furnace-validation'; import I18n from 'furnace/packages/furnace-i18n'; import Forms from 'furnace/packages/furnace-forms'; export default { /** * * @property Forms * @type Furnace.Forms...
Java
for f in $@ do echo $f out=`basename $f | sed 's/.fa$//g'` echo blastp -outfmt '6 qseqid sseqid evalue' -num_threads 16 -query $f -db uniprot/uniprot_all.fasta -out "blast/$out.blast" done
Java