code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
warparse
========
MIT-licensed, see `LICENSE`
warparse is an irc bot and php script that monitors and displays messages from warbot.
| anthonynguyen/warparse | README.md | Markdown | mit | 136 |
use machine::Machine;
use process::Context;
pub trait GetValue {
fn get_value(&self, vm: &Machine, context: &Context) -> i32;
fn get_value_long(&self, vm: &Machine, context: &Context) -> i32 {
self.get_value(vm, context)
}
}
| Kerollmops/corewar-rs | machine/src/instruction/get_value.rs | Rust | mit | 246 |
---
layout: post
date: 2017-12-21
title: "Jonathan James Couture Micha"
category: Jonathan James Couture
tags: [Jonathan James Couture]
---
### Jonathan James Couture Micha
Just **$319.99**
###
<table><tr><td>BRANDS</td><td>Jonathan James Couture</td></tr></table>
<a href="https://www.readybrides.com/en/jonathan-... | novstylessee/novstylessee.github.io | _posts/2017-12-21-Jonathan-James-Couture-Micha.md | Markdown | mit | 724 |
# encoding: utf-8
require "phonology"
require File.expand_path("../spanish/orthography", __FILE__)
require File.expand_path("../spanish/phonology", __FILE__)
require File.expand_path("../spanish/syllable", __FILE__)
# This library provides some linguistic and orthographic tools for Spanish
# words.
module Spanish
e... | norman/spanish | lib/spanish.rb | Ruby | mit | 1,408 |
#include "math/lu.hh"
#include <cassert>
#include <cmath>
#include "math/vlist.hh"
LU::lu_t LU::lu(const Matrix& a)
{
assert(a.rows() == a.cols());
std::size_t n = a.rows();
auto l = Matrix::id(n);
auto u = a;
for (std::size_t j = 0; j < n; ++j)
for (std::size_t i = j + 1; i < n; ++i)
{
do... | obs145628/ai-cpp | src/math/lu.cc | C++ | mit | 2,463 |
<!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' xml:lang='en' lang='en'><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>3810-80-8.smi.png.html</title>
</head>
... | andrewdefries/ToxCast | Figure3/Tox21_nnm/WorkHere/3810-80-8.smi.png.html | HTML | mit | 1,798 |
<?php
namespace RestSpec\Output\ConstraintDescriber;
use Symfony\Component\Validator\Constraint;
class NotBlank
{
public function describe(Constraint $constraint)
{
$output = 'is required';
return $output;
}
}
| talkrz/rest-spec | src/RestSpec/Output/ConstraintDescriber/NotBlank.php | PHP | mit | 242 |
# slawler.github.io
Website Development--Under Construction
| slawler/slawler.github.io | README.md | Markdown | mit | 60 |
use anyhow::{anyhow, Result};
use cnx::text::{Attributes, Text};
use cnx::widgets::{Widget, WidgetStream};
use std::fs::File;
use std::io::BufRead;
use std::io::BufReader;
use std::time::Duration;
use tokio::time;
use tokio_stream::wrappers::IntervalStream;
use tokio_stream::StreamExt;
/// Represents CPU widget used t... | mjkillough/hue | cnx-contrib/src/widgets/cpu.rs | Rust | mit | 4,869 |
##
# $Id$
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasp... | hahwul/mad-metasploit | archive/exploits/linux/remote/9954.rb | Ruby | mit | 2,217 |
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Node.js breaks into the Top 5 - Hacker News Hiring Trends (May 2018)</title>
<meta property="og:title" content="Node.js breaks into the Top 5 - Hacker News Hiring Trends (May 2018... | ryanwi/hiringtrends | web/2018/may-node-js-breaks-into-top-5.html | HTML | mit | 18,085 |
require "json"
require "spec_helper"
require_relative "../../lib/simpl"
describe Simpl::Url do
let(:url) { "http://example.com/test-page" }
let(:actual_api_key) { "1234567890abcdef" }
before do
Simpl.api_key = actual_api_key
Simpl.timeout = 30
end
subject { Simpl::Url.new(url) }
context "w... | krisquigley/simpl | spec/simpl/url_spec.rb | Ruby | mit | 3,724 |
//-*-c++-*-
#pragma once
namespace meson {
// Header to ignore CORS.
extern const char kCORSHeader[];
// Strings describing Chrome security policy for DevTools security panel.
extern const char kSHA1Certificate[];
extern const char kSHA1MajorDescription[];
extern const char kSHA1MinorDescription[];
extern const char... | go-meson/framework | src/common/meson_constants.h | C | mit | 518 |
<?php
/*
* MIT License
*
* Copyright (c) 2017 Eugene Bogachov
*
* 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, ... | granulephp/data-bind | lib/DependencyResolverAware.php | PHP | mit | 1,273 |
FROM php:7.1-fpm-alpine
MAINTAINER Alexey Boyko <ket4yiit@gmail.com>
ENV PHPCENSOR_VERSION=0.25.0
WORKDIR /var/www/html
RUN apk update && \
apk add git nginx openssh postgresql-dev openldap-dev gettext zlib-dev && \
curl -sS https://getcomposer.org/installer | php && \
mv composer.phar /usr/bin/composer... | ket4yii/docker-php-censor | web/Dockerfile | Dockerfile | mit | 970 |
require 'thor/group'
require_relative '../routing/extractor'
require_relative '../templates/js_paths.rb'
require_relative '../templates/js_paths_template_str'
module LieutenantGovernor
module Generators
class JsRouteHelpers < Thor::Group
extend Thor::Actions
# Use the extractor to get the hash
... | JordanLittell/lieutenant_governor | lib/lieutenant_governor/generators/js_route_helpers.rb | Ruby | mit | 965 |
<?php namespace Waynestate\Api;
use Waynestate\Api\ConnectorException;
/**
* Class Connector
* @package Waynestate\Api
*/
class Connector
{
public $apiKey; // To obtain an API key: http://api.wayne.edu/
public $parser = 'json'; // Use the included XML parser? Default: true.
public $debug = false; // S... | waynestate/waynestate-api-php | src/Connector.php | PHP | mit | 11,839 |
angular.module('material.animations')
.directive('inkRipple', [
'$materialInkRipple',
InkRippleDirective
])
.factory('$materialInkRipple', [
'$window',
'$$rAF',
'$materialEffects',
'$timeout',
InkRippleService
]);
function InkRippleDirective($materialInkRipple) {
return function(scope, element, attr... | mauricionr/material | src/components/animate/inkCssRipple.js | JavaScript | mit | 5,058 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SpamSlayer</source>
<translation type="unfinished"/>
</message>
<message>
<location lin... | SpamSlayer/live | src/qt/locale/bitcoin_bs.ts | TypeScript | mit | 108,067 |
#pragma once
// Qt.
#include <QWidget>
#include <QSize>
// Forward declarations.
class QVBoxLayout;
class QAbstractButton;
// Multi purpose view container to help with maximization, focus management, and titlebar support.
class rgViewContainer : public QWidget
{
Q_OBJECT
public:
rgViewContainer(QWidget* pPa... | GPUOpen-Tools/RGA | RadeonGPUAnalyzerGUI/Include/Qt/rgViewContainer.h | C | mit | 3,078 |
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="Bludit">
<!-- Generate <title>...</title> -->
<?php echo HTML::metaTagTitle(); ?>
<!-- Generate <meta name="description" content="..."> -->
<?php echo HTML::metaTagDescription(); ?>
<!-- Genera... | bludit/bludit | bl-themes/blogx/php/head.php | PHP | mit | 1,114 |
import math
from service.fake_api_results import ALL_TITLES, OFFICIAL_COPY_RESULT, SELECTED_FULL_RESULTS
SEARCH_RESULTS_PER_PAGE = 20
def get_title(title_number):
return SELECTED_FULL_RESULTS.get(title_number)
def _get_titles(page_number):
nof_results = len(ALL_TITLES)
number_pages = math.ceil(nof_resu... | LandRegistry/drv-flask-based-prototype | service/api_client.py | Python | mit | 898 |
#//%2005////////////////////////////////////////////////////////////////////////
#//
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
#// IBM Corp.; E... | ncultra/Pegasus-2.5 | Schemas/Pegasus/Makefile | Makefile | mit | 2,786 |
using System;
namespace Firestorm.Stems.Analysis
{
/// <summary>
/// Exception that is thrown when <see cref="StemAttribute"/>s have been setup incorrectly.
/// </summary>
public class StemAttributeSetupException : Exception // TODO StemException from Fuel?
{
public StemAttributeSetupExcept... | connellw/Firestorm | src/Firestorm.Stems.Core/Analysis/StemAttributeSetupException.cs | C# | mit | 529 |
package pl.java.scalatech.basic;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.runners.MethodSorters.NAME_ASCENDING;
import java.util.List;
import java.util.Map;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.bea... | przodownikR1/hibernateKata | src/test/java/pl/java/scalatech/basic/SimpleBetterSpringSolutionDaoTest.java | Java | mit | 2,249 |
package jp.ac.nii.prl.mape.controller.service;
import jp.ac.nii.prl.mape.controller.model.MAPEKComponent;
public interface KnowledgeBaseService {
void put(MAPEKComponent kb, String bx, String view, String param);
String get(MAPEKComponent kb, String bx, String param);
} | prl-tokyo/MAPE-controller | src/main/java/jp/ac/nii/prl/mape/controller/service/KnowledgeBaseService.java | Java | mit | 277 |
var boletesPinya = $.merge($.merge($.merge($("#cDB").find("path"), $("#cB4").find("path")), $("#cB3").find("path")), $("#cB2").find("path"));
var boletesTronc = $.merge($.merge($("#cB4").find("path"), $("#cB3").find("path")), $("#cB2").find("path"));
var usedTweets = {};
$(document).ready(function () {
$.each(b... | MPapus/QuanHiSomTots | js/tweets.js | JavaScript | mit | 5,021 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta nam... | ryuichiueda/RobotDesign3 | docs/demonstration.html | HTML | mit | 3,350 |
# frozen_string_literal: true
# Grammar for a simple subset of English language
# It is called nano-English because it has a more elaborate
# grammar than pico-English but remains still tiny compared to "real" English
require 'rley' # Load the gem
########################################
# Define a grammar for a nan... | famished-tiger/Rley | examples/NLP/nano_eng/nano_grammar.rb | Ruby | mit | 2,096 |
package org.nnsoft.shs.core.http.parse;
/*
* Copyright (c) 2012 Simone Tripodi (simonetripodi@apache.org)
*
* 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, includin... | simonetripodi/shs | core/src/main/java/org/nnsoft/shs/core/http/parse/ParserTrigger.java | Java | mit | 1,894 |
// Copyright 2007-2010 Baptiste Lepilleur
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#pragma once
#ifndef JSON_CONFIG_H_INCLUDED
#define JSON_CONFIG_H_INCLUDED
#include <stddef.h>
... | Totopolis/monik.cpp | monik/log/third_party/json/config.h | C | mit | 6,266 |
<?php
namespace prgTW\ErrorHandlerBundle\Command;
use prgTW\ErrorHandler\Error\ErrorException;
use prgTW\ErrorHandlerBundle\ErrorHandler;
use prgTW\ErrorHandler\Metadata\Metadata;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component... | prgTW/error-handler-bundle | Command/TestCommand.php | PHP | mit | 2,106 |
<?php
class Addsemester_model extends CI_Model {
function validateSem($semesterid) {
$this->db->select('semester_id');
$this->db->where('semester_id', $semesterid);
$query = $this->db->get('semester');
if ($query->result_array()) {
return TRUE;
} else {
... | juliemh/tatui | application/models/Addsemester_model.php | PHP | mit | 574 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>W29155_text</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;">
... | datamade/elpc_bakken | ocr_extracted/W29155_text/page4.html | HTML | mit | 1,277 |
<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>... | BuzzAcademy/idioms-moe-unformatted-data | all-data/13000-13999/13895-22.html | HTML | mit | 1,388 |
var sc1 = {
//funhouse mirror
setup:function(){
// videoSetup();
tree = new TREE();
tree.generate({
joints: [5,3,1,10],
divs: [1],
start: [0,0,2,0],
angles: [0,Math.PI/2,1],
length: [20,15,4,1],
rads: [1,2,1,3],
width: [1,2,2,1]
});
scene.add(tree);
tree.position... | dlobser/treejs | sketches/sc27.js | JavaScript | mit | 1,772 |
www.garyhogarth.com
======================== | garyhogarth/garyhogarth.com | README.md | Markdown | mit | 44 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>canon-bdds: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/released/8.7.0/canon-bdds/8.9.0.html | HTML | mit | 7,105 |
ALTER PROCEDURE [dw].[p_lataa_f_amk_julkaisut_f_i]
AS
TRUNCATE TABLE dw.[f_amk_julkaisut_f_i];
INSERT INTO dw.[f_amk_julkaisut_f_i] (
[d_amk_id]
,[d_koulutusala_id]
,[d_ohjauksenala_id]
,d_julkaisutyyppi_id
,d_julkaisun_kansainvalisyys_id
,d_tieteenala_id
,[vuosi]
,[julkaisujen_maara]
,[loadtime]
,[source]
... | CSCfi/antero | db_archive/sql_archive/415__alter_sproc_amk3b.sql | SQL | mit | 1,238 |
'use strict';
// 頑シミュさんの装飾品検索の結果と比較しやすくする
function simplifyDecombs(decombs) {
return decombs.map(decomb => {
let torsoUp = Object.keys(decomb).map(part => decomb[part]).some(comb => {
if (comb == null) return false;
return comb.skills['胴系統倍加'] ? true : false;
});
let... | sakusimu/mh-skillsimu | test/support/util.js | JavaScript | mit | 755 |
# USAsyncBlockOperation
An NSBlockOperation subclass which can tolerate asynchronous calls from within its block.
## The Problem
Calling asynchronous methods from within the block of an `NSBlockOperation` will lead to problems when being used with an operation queue which is concurrency limited (i.e. `NSOperationQueu... | uShip/USAsyncBlockOperation | README.md | Markdown | mit | 4,573 |
<div ng-if="checkPermissions( 'transferValidations', 'view' )">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Transfer #{{ transferItem.id }}</h3>
</div>
<div class="panel-body">
<form class="form-horizontal">
<div class="row">
<div class="col-sm-12 col-md-... | winskie/frogims | application/views/partial_transfer_validation_form.php | PHP | mit | 11,954 |
"use strict";
let datafire = require('datafire');
let openapi = require('./openapi.json');
module.exports = datafire.Integration.fromOpenAPI(openapi, "billbee"); | DataFire/Integrations | integrations/generated/billbee/index.js | JavaScript | mit | 161 |
# UVaProblems
Python code for UVa problems (https://uva.onlinejudge.org)
| gustavo94/UVaProblems | README.md | Markdown | mit | 73 |
$redis = Redis.new
#Redis instance for cron jobs
$redis_cron = Redis.new
| GndFloor/Ruby-Quest | config/initializers/redis.rb | Ruby | mit | 74 |
pem
===
Create private keys and certificates with node.js
[](http://travis-ci.org/andris9/pem)
[](http://badge.fury.io/js/pem)
## Installation
Install with npm
npm install pem
## Examples
Here are som... | achingbrain/pem | README.md | Markdown | mit | 7,778 |
// Generated by CoffeeScript 1.6.3
/*!
@author Branko Vukelic <branko@brankovukelic.com>
@license MIT
*/
var _this = this;
if (typeof define !== 'function' || !define.amd) {
this.require = function(dep) {
return (function() {
switch (dep) {
case 'jquery':
return _this.jQuery;
def... | foxbunny/ribcage | utils/deserializeform.js | JavaScript | mit | 1,357 |
#!/usr/bin/env python3
#
# grmpy documentation build configuration file, created by
# sphinx-quickstart on Fri Aug 18 13:05:32 2017.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All ... | grmToolbox/grmpy | docs/conf.py | Python | mit | 5,902 |
import * as C from "../../actions/ActionCreators";
import * as Routing from "react-router-redux";
import { Effect } from "redux-saga/effects";
import { takeLatest } from "redux-saga";
/**
* Saga handler to load the strings
*/
function* updateBodyClass(action: Routing.RouterAction): IterableIterator<Effect | any> {
... | giespaepen/react-generator | generators/app/templates/src/client/core/sagas/common/UpdateBodyClassSaga.ts | TypeScript | mit | 778 |
# Concatenate Two Arrays
# I worked on this challenge by myself.
# Your Solution Below
def array_concat(array_1, array_2)
new_array = []
n = 0
array_1.each do |x|
new_array[n] = x
n = n + 1
end
array_2.each do |x|
new_array[n] = x
n = n + 1
end
return new_array
end
#method 2 (easiest... | dwoznicki/phase-0 | week-4/concatenate-array/my_solution.rb | Ruby | mit | 551 |
import datetime
import re
import sys
from collections import deque
from decimal import Decimal
from enum import Enum
from ipaddress import IPv4Address, IPv4Interface, IPv4Network, IPv6Address, IPv6Interface, IPv6Network
from pathlib import Path
from types import GeneratorType
from typing import Any, Callable, Dict, Typ... | glenngillen/dotfiles | .vscode/extensions/ms-python.python-2021.5.842923320/pythonFiles/lib/jedilsp/pydantic/json.py | Python | mit | 3,365 |
<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from themelize.me/demos/appstrap1.2/index.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 16 Jun 2013 11:12:50 GMT -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Flow</title>
<!-- Bootstrap CSS -->
<link ... | ryansukale/svgwikiflow | viewdiagram_timeLapse.html | HTML | mit | 16,402 |
import ROOT
from math import pi, sqrt, pow, exp
import scipy.integrate
import numpy
from array import array
alpha = 7.2973e-3
m_e = 0.51099892
Z_Xe = 54
Q = 2.4578
def F(Z, KE):
E = KE + m_e
W = E/m_e
Z0 = Z + 2
if W <= 1:
W = 1 + 1e-4
if W > 2.2:
a = -8.46e-2 + 2.48e-2*Z0 + 2.... | steveherrin/PhDThesis | Thesis/scripts/make_bb_spectrum_plot.py | Python | mit | 5,583 |

[](https://github.com/ajweeks/FlexEngine/actions/workflows/build_linux.yml)
[](LICENSE.md)
[](https://travis-ci.org/tapstream/rollbar-logback)
This is a fork of the ahaid's [Rollbar Logback Appender](https://github.com/ahaid/rollbar-logback) created on
July 27th, 2014 for use with the error aggre... | russgray/rollbar-logback | README.md | Markdown | mit | 1,644 |
'use strict'
module.exports = function (config) {
if (!process.env.COOKING_PATH) {
return
}
const rootPath = process.env.COOKING_PATH.split(',')
config.resolve = config.resolve || {}
config.resolveLoader = config.resolveLoader || {}
config.resolve.modules = (config.resolve.root || []).concat(rootPath... | ElemeFE/cooking | packages/cooking/util/load-resolve-path.js | JavaScript | mit | 408 |
//
// Copyright (C) 2016, Vinodh Kumar M. <GreenHex@gmail.com>
//
// Weather icons from Forecast Font <http://forecastfont.iconvau.lt>.
//
#pragma once
#include <pebble.h>
#include "global.h"
#include "pbl_64_hex_colours.h"
#ifdef INCLUDE_WEATHER
typedef struct {
char glyph;
uint32_t colour;
} GLYPH;
typedef st... | GreenHex/Pebble.Anery | src/c/weather_icons.h | C | mit | 2,286 |
import { Component, OnInit, Inject } from '@angular/core';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
import { Materiaal, Reservering } from '../../models/index';
import { Subscription } from 'rxjs/Subscription';
import { MaterialenService, ReserveringService } from '../../services/in... | GewoonMaarten/FEP-eindopdracht | UitleenSysteem/src/app/components/cart/cart.component.ts | TypeScript | mit | 2,736 |
#!/bin/bash
# Adapted from Gregory Pakosz's amazing tmux config at https://github.com/gpakosz/.tmux
_root() {
tty=${1:-$(tmux display -p '#{pane_tty}')}
username=$(_username "$tty" false)
if [ x"$username" = x"root" ]; then
tmux show -gqv '@root'
else
echo ""
fi
}
_root
| 58bits/dotfiles | tmux-gpakosz/root.sh | Shell | mit | 292 |
module MyForum
class LogReadMark < ActiveRecord::Base
end
end
| vintyara/my_forum | app/models/my_forum/log_read_mark.rb | Ruby | mit | 66 |
var xhrGet = function (url, callback) {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.onload = callback;
xhr.send();
}; | denys-liubushkin/Elemental-Tower | js/xhr.js | JavaScript | mit | 147 |
/*jslint browser: true*/
/*global Tangram, gui */
map = (function () {
'use strict';
var locations = {
'Yangon': [16.8313077,96.2187007,7]
};
var map_start_location = locations['Yangon'];
/*** Map ***/
var map = L.map('map',
{"keyboardZoomOffset" : .05, maxZoom: 20 }
);
... | mapmeld/mvoter-usage | main.js | JavaScript | mit | 4,919 |
## shhigt
[... when you accidentally git commit secrets!](https://shhgit.darkport.co.uk/)
| Frankri/Frankri.github.io | _posts/2020-02-05-shhigt.md | Markdown | mit | 90 |
<?php
return array (
'id' => 'nokia_n8_00_ver1_subua',
'fallback' => 'nokia_n8_00_ver1',
'capabilities' =>
array (
'image_inlining' => 'true',
),
);
| cuckata23/wurfl-data | data/nokia_n8_00_ver1_subua.php | PHP | mit | 164 |
<?php
defined( '_JEXEC' ) or die;
/**
* Abstraction of an instance resource from the Twilio API.
*
* @category Services
* @package Services_Twilio
* @author Neuman Vong <neuman@twilio.com>
* @license http://creativecommons.org/licenses/MIT/ MIT
* @link http://pear.php.net/package/Services_Twilio
*/
a... | manoscrafted/Twilio-for-Joomla | Services/Twilio/InstanceResource.php | PHP | mit | 1,373 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package helper;
import bean.CorpDetat;
import java.util.List;
import javax.swing.JTable;
/**
*
* @author kamal
*/
p... | ismailBsd/cdc | src/helper/CorpDetatHelper.java | Java | mit | 1,011 |
#!/usr/bin/perl
use strict 'vars';
use warnings;
use diagnostics;
# Author: Rauan Sagit
# Beginning Date: 5 June 2013
# Name: tag_pgn_file.pl
# Purpose: take a PGN file containing one or more games as input.
# Write one material balance sheet per game as output. Use a new
# field called "Key = " to connect the PGN fil... | testviking/chess-material-search | bin/tag_pgn_file.pl | Perl | mit | 95,418 |
<?php
/**
* Abstract class InvoiceOcean
*
* API class to communicate with the InvoiceOcean API
*
* @abstract
* @author Chris Schalenborgh <chris@schalenborgh.be>
* @version 1.0
* @link https://github.com/InvoiceOcean/api
*
*/
abstract class InvoiceOcean
{
/**
* @var bool
*/
private $_debug =... | cschalenborgh/php-invoiceocean | src/InvoiceOcean.php | PHP | mit | 6,465 |
package soap
import (
"bytes"
"crypto/tls"
"fmt"
"io/ioutil"
"net/http"
"encoding/xml"
"strings"
"encoding/json"
)
//BasicAuthGet adds basic auth and perform a request to path
func BasicAuthGet(path, username, password string) ([]byte, int, error) {
request, err := BasicAuthRequest(path, username, password)
... | josh5276/brocade-adx-client | brocade/soap/soap.go | GO | mit | 5,467 |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/PlayerController.h"
#include "TankPlayerController.generated.h"
class UTankAimingComponent;
/**
*
*/
UCLASS()
class BATTLETANK_API ATankPlayerController : public APlayerController
{
GENERATED_BODY... | mehmetcengiz/BattleTank | Source/BattleTank/Public/TankPlayerController.h | C | mit | 1,199 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Code. Daten. Jou... | simonwoerpel/simonwoerpel.github.io | projects/cumexfiles/index.html | HTML | mit | 3,821 |
require 'spec_helper'
RSpec.describe JwtMe do
it 'has a version number' do
expect(JwtMe::VERSION).not_to be nil
end
end
| bodikqlar/jwt_me | spec/jwt_me_spec.rb | Ruby | mit | 129 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Da... | devdigital/DatabaseDoc | DatabaseDoc.Library/Properties/AssemblyInfo.cs | C# | mit | 1,414 |
var height = window.innerHeight;
// console.log(height);
var main = document.getElementById('main');
var btn = document.getElementById("btn");
main.style.height = height + 'px';
btn.style.top = (height-90) + 'px';
document.getElementById('usr_name').onkeydown = function(e) {
e = e || event;
if(e.keyCode === 13) {
b... | Jfmaily/Draw-Guess | public/javascripts/index.js | JavaScript | mit | 1,201 |
require 'formula'
class Acpica < Formula
homepage 'https://www.acpica.org/'
url 'https://acpica.org/sites/acpica/files/acpica-unix2-20140424.tar.gz'
sha256 '72ece982bbbdfb1b17418f1feb3a9daaa01803d0d41dcf00e19d702cdf751bbc'
head 'https://github.com/acpica/acpica.git'
def install
ENV.deparallelize
sy... | i8degrees/homebrew-formulae | Formula/acpica.rb | Ruby | mit | 486 |
/*
* default/mouse-push-button.js
*/
"use strict";
var Q = require('q'),
Button = require('./../../button');
var MousePushButton = function (options) {
Button.prototype.constructor.call(this, options);
this.delay = options.delay > 0 ? options.delay : 0;
this.g = null;
if(typeof options.g === 'f... | peutetre/mobile-button | lib/mouse/default/mouse-push-button.js | JavaScript | mit | 3,393 |
const industry = [
{
"name": "金融",
"children": [
{ "name": "银行" },
{ "name": "保险" },
{ "name": "证券公司" },
{ "name": "会计/审计" },
{ "name": "其它金融服务" }
]
},
{
"name": "专业服务",
"children": [
{ "name": "科研/教育" },
{ "name": "顾问/咨询服... | FTChinese/next-signup | client/js/data/industry.js | JavaScript | mit | 2,311 |
{{{
"title" : "Post Two",
"author" : "John Doe",
"description" : "This is the second post.",
"categories" : [ "bar", "baz" ],
"tags" : [ "alpha", "bravo" ],
"date" : "2016-01-02"
}}}
This is post two.
| chrisallenlane/wit-cms | test/mock/posts/post-2.md | Markdown | mit | 228 |
% Szglab4
% ===========================================================================
%
%
\input{includes/header}
\graphicspath{ {images/} }
%
\csapat{\team}{40}
\konzulens{Szabó Ádám Imre}
\taga{Kovács Levente Ákos}{CM6UKU}{vazul250@gmail.com }
\tagb{Lovász Attila Bence}{INCMI7}{attonet2@gmail.com }
\tagc{Graics ... | tht-krisztian/Szoftlab4 | doc/szoftlab4.tex | TeX | mit | 2,016 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_65) on Fri Dec 06 02:55:14 GMT 2013 -->
<TITLE>
Uses of Class node.data.StaticDataLoader
</TITLE>
<META NAME="date" CONTENT="2013-12-06">
<LINK REL... | balazspete/multi-hop-train-journey-booking | doc/node/data/class-use/StaticDataLoader.html | HTML | mit | 7,362 |
# encoding: ascii-8bit
module Bitcoin::Gui
class TxView < TreeView
def initialize gui, replace = nil
super(gui, :tx_view, [
[GObject::TYPE_STRING, "Type"],
[GObject::TYPE_STRING, "Hash"],
[GObject::TYPE_STRING, "Value", :format_value_col],
[GObject::TYPE_INT, "Confi... | mhanne/bitcoin-ruby-gui | lib/gui/tx_view.rb | Ruby | mit | 2,132 |
onst bcrypt = require('bcrypt-nodejs');
const crypto = require('crypto');
console.log('start');
bcrypt.genSalt(10, (err, salt) => {
bcrypt.hash('passwd', salt, null, (err, hash) => {
console.log(hash);
});
});
| mrwolfyu/meteo-bbb | xxx.js | JavaScript | mit | 231 |
# 203. Remove Linked List Elements
Difficulty: Easy
https://leetcode.com/problems/remove-linked-list-elements/
Remove all elements from a linked list of integers that have value val.
**Example:**
```
Input: 1->2->6->3->4->5->6, val = 6
Output: 1->2->3->4->5
```
| jiadaizhao/LeetCode | 0201-0300/0203-Remove Linked List Elements/README.md | Markdown | mit | 267 |
<!--
# remark
A simple, in-browser, markdown-driven slideshow tool targeted at people who know their way around HTML and CSS
https://github.com/gnab/remark
-->
<!DOCTYPE html>
<html>
<head>
<title>Initiation a drupal</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type... | denislaliberte/blog | slides/drupal_ini/index.html | HTML | mit | 1,733 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... | KlientutvecklingGrupp2/NackademiskaAuktionsframjandet | index.html | HTML | mit | 1,473 |
import { privatize as P } from '@ember/-internals/container';
import { getOwner } from '@ember/-internals/owner';
import { guidFor } from '@ember/-internals/utils';
import {
addChildView,
OwnedTemplateMeta,
setElementView,
setViewElement,
} from '@ember/-internals/views';
import { assert, debugFreeze } from '@e... | intercom/ember.js | packages/@ember/-internals/glimmer/lib/component-managers/curly.ts | TypeScript | mit | 18,111 |
class SubscriptionTracking(object):
def __init__(self, enable=None, text=None, html=None, substitution_tag=None):
self._enable = None
self._text = None
self._html = None
self._substitution_tag = None
if enable is not None:
self.enable = enable
if text is... | galihmelon/sendgrid-python | sendgrid/helpers/mail/subscription_tracking.py | Python | mit | 1,603 |
<?php
namespace TCG\Voyager\Models;
use Illuminate\Database\Eloquent\Model;
use TCG\Voyager\Facades\Voyager;
class Languages extends Model
{
protected $table = 'admin_language';
public function posts()
{
return $this->hasMany(Voyager::modelClass('Post'))->published();
}
}
| voodoostudio/One_admin | src/Models/Languages.php | PHP | mit | 302 |
# City Defense
As a powerful, invulnerable ship, defend your city from the aliens invading from space. If three aliens pass your defenses and get into the city, it's game over!
[Game Design Doc](GameDesignDoc.md)
## Usage
```shell
# Compile
qmake -project
qmake
make
# Doxygen
doxygen -g config.txt
doxygen config.t... | aduvoisin13/City-Defense | README.md | Markdown | mit | 350 |
module Doc2mock
VERSION = "0.0.1"
end
| DefactoSoftware/doc2mock | lib/doc2mock/version.rb | Ruby | mit | 40 |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Auction extends CI_Controller {
public $id_auction;
public $tabNav;
public function __construct(){
parent::__construct();
if(!$this->session->userdata('admin')){
redirect(site_url());
}
$this->load->model('auction_model','am'... | muarif/regas | application/modules/auction/controllers/auction.php | PHP | mit | 28,463 |
/*!
* \file
* \brief Class module::Decoder_turbo.
*/
#ifndef DECODER_TURBO_HPP_
#define DECODER_TURBO_HPP_
#include <vector>
#include <memory>
#include <mipp.h>
#include "Tools/Code/Turbo/Post_processing_SISO/Post_processing_SISO.hpp"
#include "Module/Interleaver/Interleaver.hpp"
#include "Module/Decoder/Decoder_S... | aff3ct/aff3ct | include/Module/Decoder/Turbo/Decoder_turbo.hpp | C++ | mit | 2,569 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About MyBroCoin</source>
<translation>Info su MyBroCoin</translation>
... | mybrocoin/mybrocoin | src/qt/locale/bitcoin_it.ts | TypeScript | mit | 116,570 |
# HumanName
[](http://badge.fury.io/rb/human_name)
[](https://travis-ci.org/mcls/human_name)
Never write `def full_name` again!
## Installation
Add this line to your application's Gemfile:
... | mcls/human_name | README.md | Markdown | mit | 1,630 |
<?php
namespace Brasa\RecursoHumanoBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="rhu_proyeccion")
* @ORM\Entity(repositoryClass="Brasa\RecursoHumanoBundle\Repository\RhuProyeccionRepository")
*/
class RhuProyeccion
{
/**
* @ORM\Id
* @ORM\Column(name="codigo_proyeccion_pk", t... | wariox3/brasa | src/Brasa/RecursoHumanoBundle/Entity/RhuProyeccion.php | PHP | mit | 18,149 |
<?php
if(!App\Requests\Request::$ajax) {
require ROOT . '/app/Layouts/Admin/Header.php';
require ROOT . '/app/Layouts/Admin/Menu.php';
}
?>
<div class="content-wrapper" data-locales="admin_articles">
<div class="content-header">
<div class="header-mainline">
<h2 class="mainline-h... | lamka02sk/wrinche | app/Layouts/Articles/Main.php | PHP | mit | 757 |
package coinbase
import (
"os"
"testing"
)
func createBuysClient(t *testing.T) (c *Client) {
c = &Client{
APIKey: os.Getenv("COINBASE_API_KEY"),
}
if c.APIKey == "" {
t.Skip("Coinbase api key is missing (should be in the COINBASE_API_KEY environment variable)")
}
return c
}
func TestBuys(t *testing.T) {... | grantmd/go-coinbase | methods_buys_test.go | GO | mit | 468 |
using SSPES.BD;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
namespace SSPES.Models {
public class VariableModel {
private Conexion con = new Conexion();
protected string nombre { get; set; }
protected string tipoDato { get; set; ... | manuelstuner/SSPES | SSPES/SSPES/Models/VariableModel.cs | C# | mit | 3,402 |
'use strict'
const { spawn } = require('@malept/cross-spawn-promise')
const which = require('which')
function updateExecutableMissingException (err, hasLogger) {
if (hasLogger && err.code === 'ENOENT' && err.syscall === 'spawn mono') {
let installer
let pkg
if (process.platform === 'darwin') {
in... | unindented/electron-installer-windows | src/spawn.js | JavaScript | mit | 913 |
<div class="container heading">
<div>
<h4>
CONGRATULATIONS, YOU’RE A WINNER OF THE 2015-2016
</h4>
<br/>
<h1>
PRESIDENT'S CLUB
</h1>
</div>
<div class="lead">MARCH 1-5, 2016
<div class="seal" /> HONOLULU, HAWAII
</div>
</div>
<div c... | ZENxd/Presidents_Club_Winners_Build | views/home.html | HTML | mit | 8,118 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.