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
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] local QuestID = 33 local Quest = Quests[QuestID] Quest.Texts =...
Noneatme/iLife-SA
server/Classes/Quest/Scripts/33.lua
Lua
mit
2,051
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("Sh...
Sharparam/SteamLib
Sharparam.SteamLib/Properties/AssemblyInfo.cs
C#
mit
1,412
package de.fxnn.brainfuck; import java.util.Objects; import java.util.regex.Pattern; import com.google.common.base.Function; import com.google.common.base.Functions; import de.fxnn.brainfuck.program.Program; import de.fxnn.brainfuck.program.StringProgram; import de.fxnn.brainfuck.program.TreePrograms; public class P...
fxnn/brainfuck-on-genetics
src/main/java/de/fxnn/brainfuck/ProgramOptimizer.java
Java
mit
1,695
module Traductor module Translatable def self.included(base) base.module_eval do extend ClassMethods # has_many :translations, :class_name => 'Traductor::Translation', :as => :source end end def get_translation(locale) self.translations.find_by_locale(locale)...
cndreisbach/traductor
lib/traductor/translatable.rb
Ruby
mit
1,319
/* ==== html resets ==== */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, arti...
EkaPurnama/posilly
gui/css/reset.css
CSS
mit
8,604
<?php namespace Petit\BackBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class PersonControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); ...
pacordovad/project2
src/Petit/BackBundle/Tests/Controller/PersonControllerTest.php
PHP
mit
1,937
<html><body> <h4>Windows 10 x64 (18362.356)</h4><br> <h2>_KQOS_GROUPING_SETS</h2> <font face="arial"> +0x000 SingleCoreSet : Uint8B<br> +0x008 SmtSet : Uint8B<br> </font></body></html>
epikcraw/ggool
public/Windows 10 x64 (18362.356)/_KQOS_GROUPING_SETS.html
HTML
mit
207
#ifndef RESOURCE_H #define RESOURCE_H #include <stdint.h> #pragma pack(push, 1) struct ArtResourceSettings { uint32_t flags; /* 0 */ union { struct { uint32_t width; /* fixed */ uint32_t height; /* fixed */ int16_t frames; } image; struct { int32_t scale; /* fixed */ uin...
werkt/kwd
src/Resource.h
C
mit
921
from __future__ import unicode_literals import django from django.core.exceptions import FieldError from django.test import SimpleTestCase, TestCase from .models import ( AdvancedUserStat, Child1, Child2, Child3, Child4, Image, LinkedList, Parent1, Parent2, Product, StatDetails, User, UserProfile, UserStat, ...
denisenkom/django-sqlserver
tests/select_related_onetoone/tests.py
Python
mit
11,118
define([ 'streamhub-sdk/content/views/content-list-view', 'streamhub-gallery/content/content-view-factory', 'text!streamhub-gallery/css/horizontal-list-view.css', 'streamhub-sdk/debug', 'inherits' ], function (ContentListView, HorizontalContentViewFactory, HorizontalListViewCss, debug, inherits) { ...
cheung31/streamhub-gallery
src/views/horizontal-list-view.js
JavaScript
mit
4,409
using InformationMachineAPI.PCL.Http.Request; using InformationMachineAPI.PCL.Http.Response; namespace InformationMachineAPI.PCL.Http.Client { /// <summary> /// Represents the contextual information of HTTP request and response /// </summary> public class HttpContext { /// <summary> ...
information-machine/information-machine-api-csharp
InformationMachineAPI.PCL/HTTP/Client/HttpContext.cs
C#
mit
1,055
--- layout: post title: Java 图片缩略图生成库 tags: 其他 --- 大家好,我是你们的章鱼猫。 最近有一个需求是需要给网站的图片生成一个高质量的缩略图,方便在有些场景中展示。而在 Java 中,如果要对图片进行处理,需要了解和使用 Image I/O API、Java 2D API、图片处理和图片缩放技术等,整体来看处理缩略图非常的复杂。 今天要推荐的开源库 Thumbnailator(GitHub 标星 3.2K)就是为了帮助大家更好的生成图片的缩略图。 ![image-20201025190143301](https://7465-test-3c9b5e-books-1301492295...
ZhuPeng/zhupeng.github.io
_posts/2020-10-25-java.thumbnailator.md
Markdown
mit
1,477
module WellsFargo class Element class InvoiceInfo < WellsFargo::Element attribute :pmt_action_code attribute :discount_cur_amt attribute :total_cur_amt attribute :net_cur_amt attribute :withd_amt attribute :eff_dt attribute :invoice_type attribute :invoice_num ...
JackDanger/wells_fargo
lib/wells_fargo/elements/invoice_info.rb
Ruby
mit
442
local anim8 = { _VERSION = 'anim8 v2.3.0', _DESCRIPTION = 'An animation library for LÖVE', _URL = 'https://github.com/kikito/anim8', _LICENSE = [[ MIT LICENSE Copyright (c) 2011 Enrique García Cota Permission is hereby granted, free of charge, to any person obtaining a copy of ...
Sewerbird/Helios2400
lib/anim8.lua
Lua
mit
8,491
(function() { 'use strict'; /** * @name RootController * @description The root controller that contains some rootScope accessible methods * @memberof ag */ angular.module('ag').controller('RootController', getRootController); var inject = ['$rootScope']; getRootController.$in...
thlem/Agilog
src/app/agilog/agilog.controller.js
JavaScript
mit
1,111
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>{{ page.title }} - Stella Blog</title> <meta name="author" content="Delano Mandelbaum" /> <meta name="description" content="The blog for the...
stella/stella.github.com
_layouts/layout.html
HTML
mit
3,174
'use strict'; /** * @ngdoc function * @name wavesApp.controller:EventsCtrl * @description * # EventsCtrl * Controller of the wavesApp */ angular.module('wavesApp') .controller('EventsCtrl', ['$scope', function ($scope) { $scope.events = [ 'Evento1', 'Evento2', 'Evento3', 'Evento4', 'Evento5', 'Ev...
InflectProject/waves
app/scripts/controllers/events.js
JavaScript
mit
357
/* Package db holds the service-wide database configuration functionality. It mostly calls into other <package>/db/ methods. */ package db import ( "errors" apiDB "spaciblo.org/api/db" "spaciblo.org/be" ) /* InitDB sets up a be.DBInfo and migrates the api, sim, and ws tables */ func InitDB() (*be.DBInfo, error) ...
Spaciblo/spaciblo-core
go/src/spaciblo.org/db/db.go
GO
mit
578
# BibWord Easy bibliography styles for Microsoft Word ## Introduction The main goal of this project is to collect and maintain a number of bibliography styles which can be used by Microsoft Word 2007 and later. Most styles are either created using [BibWord](BibWord) or derived from the styles which come with Microsoft...
ydhondt/BibWord
README.md
Markdown
mit
3,020
# Simple Battleship Game Simple Battleship Game Hello! It's a simple realization of a Battleship game on Python 3 The rules and information about this game you can find on http://en.wikipedia.org/wiki/Battleship_%28game%29 To start game: - Open terminal (ctr+t) - Clone repository: git clone https://github.com/litany...
litany-of-madness/simple-battleship-game
README.md
Markdown
mit
701
<!DOCTYPE html> <!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]--> <!--[if IE 8]><html class="lt-ie9 no...
1wheel/scraping
epa-grants/research/raw/01684.html
HTML
mit
19,849
/** * Created by gongmw on 2017-05-03. */ public class No344 { public String reverseString(String s) { if (s == null) return null; char[] sa = s.toCharArray(); char[] r = new char[sa.length]; for(int i=0; i<sa.length; i++) r[i] = sa[sa.length-1-i]; return new String(r); ...
GongWilliam/leetcode
easy/No344.java
Java
mit
325
'use strict'; angular.module('core.admin').run(['Menus', function (Menus) { Menus.addMenuItem('topbar', { title: 'Admin', state: 'admin', type: 'dropdown', roles: ['admin'] }); Menus.addSubMenuItem('topbar', 'admin', { title: 'Dashboard', state: 'admin.dashboard',...
hibernator11/Galatea
modules/core/client/config/core-admin.client.menus.js
JavaScript
mit
384
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("Fi...
przemekwa/FileToPartsNet
FileToParts/Properties/AssemblyInfo.cs
C#
mit
1,442
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
Azure/azure-sdk-for-python
sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_05_01/operations/_express_route_ports_locations_operations.py
Python
mit
7,987
Link Highlighter for Chrome =========================== This is a simple extension for Chrome which uses jQuery to highlight links. The jQuery library is injected into the page by the extension to make DOM access simpler. The injected code highlights links with specific file extensions.
brianly/LinkHighlighterExtension
README.md
Markdown
mit
288
TRUNCATE TABLE `nutrition`; INSERT INTO `nutrition` (`id`, `name`, `description`, `order`, `active`, `created`, `createdById`, `updated`, `updatedById`) VALUES (1, 'Serving Size', 'Serving Size', 1, 1, NOW(), 10, NOW(), 10), (2, 'Calories', 'Calories', 2, 1, NOW(), 10, NOW(), 10), (3, 'Fat Total', 'Fat Total', 3, 1...
tlan16/sushi-co
core/promotion/Archive/nutrition.sql
SQL
mit
642
<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/13142-22.html
HTML
mit
1,977
package houseprices.admin.datadownload import scala.concurrent.ExecutionContext import scala.concurrent.Future import akka.actor.ActorSystem import akka.http.scaladsl.Http import akka.http.scaladsl.model.HttpMethod import akka.http.scaladsl.model.HttpMethods import akka.http.scaladsl.model.HttpRequest import akka.htt...
ayubmalik/houseprices
houseprices-core/src/main/scala/houseprices/admin/datadownload/HttpClient.scala
Scala
mit
1,804
<?php class SilkTopConfig extends ClothingConfig { public $detailsPartial = './layouts/partials/silk-details.php'; public $sizeGuidance = './layouts/partials/size-guidance-top.php'; } ?>
olu1987/lntnew
classes/SilkTopConfig.php
PHP
mit
203
# Œ 978 ‰ --- Bwl ] hir ho ho ho myil inhwl ]1] rhwau ] hir kw mwrgu gur sMiq bqwieE guir cwl idKweI hir cwl ] AMqir kptu cukwvhu myry gurisKhu inhkpt kmwvhu hir kI hir Gwl inhwl inhwl inhwl ]1] qy gur ky isK myry hir pRiB Bwey ijnw hir pRBu jwinE myrw nwil ] jn nwnk kau miq hir pRiB dInI hir dyiK inkit hdUir inhwl inh...
bogas04/SikhJS
assets/docs/md/SGGS/Ang 978.md
Markdown
mit
1,319
<?php /* * Copyright 2011 Piotr Śliwa <peter.pl7@gmail.com> * * License information is in LICENSE file */ namespace PHPPdf; use PHPPdf\Exception\BadMethodCallException; /** * Current version of this library * * @author Piotr Śliwa <peter.pl7@gmail.com> */ final class Version { const V...
rasamu/proyectoec
vendor/psliwa/php-pdf/lib/PHPPdf/Version.php
PHP
mit
507
'use strict'; angular.module('vppApp') .factory('User', function ($resource) { // TODO });
MetropolitanTransportationCommission/vpp-webapp
client/public/utils/services/user.service.js
JavaScript
mit
96
#!/usr/bin/env python # coding: utf-8 import sys, os sys.path.append(os.pardir) # 親ディレクトリのファイルをインポートするための設定 import numpy as np import matplotlib.pyplot as plt from dataset.mnist import load_mnist from simple_convnet import SimpleConvNet from common.trainer import Trainer # データの読み込み (x_train, t_train), (x_test, t_tes...
kgsn1763/deep-learning-from-scratch
ch07/train_convnet.py
Python
mit
1,553
/** * @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 {fromPromise} from 'rxjs/observable/fromPromise'; import {composeAsyncValidators, composeValidators} from '....
not-for-me/angular
modules/@angular/forms/src/model.ts
TypeScript
mit
42,414
/** * 所有组件的基类 */ class BaseModule { constructor() { //this.__exp 接口引用,使用实例绑定上下文,不直接使用 //this.__exports 接口引用,未绑定上下文,不直接使用 //this.exports 提供设置和获取暴露接口的get、set, } get exports() { return this.__exp; } set exports(exp_s) { var context = this; //用于编译时候的原始方...
Avtpas/PageCreator
src/modules/BaseModule.js
JavaScript
mit
2,393
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Product and Trade Secret source code contains trade secrets ...
wobbier/source3-engine
ThirdParty/Havok/include/Physics2012/Utilities/Geometry/hkpGeometryConverter.h
C
mit
1,904
/* globals __DEV__ */ import Phaser from 'phaser' import Player from '../sprites/Player' import Asteroid from '../sprites/Asteroid' import Space from '../environment/Space' import Bullet from '../sprites/Bullet' import Pickup from '../sprites/Pickup' import Overlay from '../UI/overlay' import AsteroidDefinitions from '...
EthanPKlein/PhaserGame
src/states/Game.js
JavaScript
mit
9,158
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_09) on Wed Dec 12 23:07:28 EST 2012 --> <title>javazoom.jl.player.advanced Class Hierarchy</title> <meta name="date" content="2012-12-1...
jakemmarsh/Comptune
doc/javazoom/jl/player/advanced/package-tree.html
HTML
mit
5,218
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jQuery Mobile Docs - Sample form response</title> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../_assets/css/jqm-docs...
forresst/jquery-mobile-fr_FR
docs/forms/forms-sample-response.php
PHP
mit
2,523
<!-- HTML header for doxygen 1.8.10--> <!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" cont...
bradhowes/sidecar
docs/structLogger_1_1Configurator_1_1InvalidCommand.html
HTML
mit
16,751
<!DOCTYPE html> <html class="no-js" lang="en"> <head> {% include head.html %} </head> <body> <div class="site"></div> {% include hero.html %} {% include nav.html %} {{ content }} {% include footer.html %} {% include scripts.html %} </body> </html>
caleorourke/unveil
_layouts/default.html
HTML
mit
286
var vows = require('vows'), assert = require('assert'); var Generateur = require('./generateur.js'); vows.describe('Générateur') .addBatch({ 'A name - ': { topic: new (Generateur), 'when is generated': { topic: function (generateur) { params = {}; return generateur.getN...
Toam/generateurNoms
test.js
JavaScript
mit
6,675
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _jestDiff = require('jest-diff'); var _jestDiff2 = _interopRequireDefault(_jestDiff); var _jestGetType = require('jest-get-type'); var _jestGetType2 = _interopRequireDefault(_jestGetType); var _jestRegexUtil = require('jest-regex-u...
galenscook/algorithms
javascript/node_modules/expect/build/matchers.js
JavaScript
mit
27,128
##tomieric.github.io 前端分享园 > 基于hexo [博客](http://getf2e.com/) [旧博客](http://tomieric.github.io/old-blog) [笔记](https://github.com/tomieric/tomieric.github.io/issues) [案例列表](https://github.com/tomieric/tomieric.github.io/wiki/%E9%A1%B9%E7%9B%AEdemo)
tomieric/tomieric.github.io
README.md
Markdown
mit
289
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div class="wk-progress"> <div class="col-sm-12 col-md-12"> <h1><a href="<?php echo base_url()?>usuario/index">Usuarios</a>/Nuevo</h1> </div> </div> <?php $atributos = array('id' => 'guardar','name' =>'Guardar'); echo for...
RosaGarcia/panelwd
application/views/usuario/new.php
PHP
mit
2,307
# Sean Faulkner Portfolio A website to showcase my skills and projects. Cloned from the Agency free Bootstrap theme. ## Theme Creator Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**, Owner of [Blackrock Digital](http://blackrockdigital.io/). * https://twitter.com/davi...
sjf125/portfolio-site
README.md
Markdown
mit
730
<!DOCTYPE HTML> <!-- Fractal by HTML5 UP html5up.net | @n33co Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) --> <html> <head> <title>Hub of Internet Things</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <!--[if l...
amin10/hoit
www/index.html
HTML
mit
7,305
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Treehopper.Libraries.Sensors.Optical { /// <summary> /// Rohm Semiconductor BH1750FVI ambient light sensor /// </summary> [Supports("Rohm Semiconductor", "BH1750FVI")] public class Bh1750 : A...
treehopper-electronics/treehopper-sdk
NET/API/Treehopper.Libraries/Sensors/Optical/Bh1750.cs
C#
mit
3,266
<!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...
v8-dox/v8-dox.github.io
aa575b8/html/classv8_1_1SymbolObject-members.html
HTML
mit
55,402
// PLForm // // Created by Ash Thwaites on 11/12/2015. // Copyright (c) 2015 Pitch Labs. All rights reserved. // #import <Foundation/Foundation.h> #import "PLValidator.h" #pragma mark - Validator interface @interface PLValidatorAlphabetic : PLValidatorSingleCondition { } @property (nonatomic) BOOL allowWhitespa...
PitchLabsAsh/PLForm
Pod/Classes/PLFormValidation/PLValidatorAlphabetic.h
C
mit
330
/* * Copyright (c) Fundacion Jala. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package org.fundacionjala.oblivion.apex.grammar.parser.exceptions; import org.fundacionjala.oblivion.apex.grammar.jcclexer.ParseException; /** * Represen...
fundacionjala/oblivion-netbeans-plugin
Grammar/src/org/fundacionjala/oblivion/apex/grammar/parser/exceptions/ClassTypeException.java
Java
mit
1,294
@import url(http://fonts.googleapis.com/css?family=Open+Sans); @media print { /* Hide containers in print mode */ #buzzWords, #output, #cardCreator, #printCards { display: none !important; } div{ page-break-inside: avoid; } @page { text-align: center; margin-to...
janwieners/BuBi
css/style.css
CSS
mit
2,755
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About YardSaleCoin</source> <translation>O YardSaleCoin-u</translation> ...
yardsalecoin/yardsalecoin
src/qt/locale/bitcoin_hr.ts
TypeScript
mit
107,476
from copy import deepcopy import settings from twitch.player_manager import PlayerManager class QuestPlayerManager(PlayerManager): """ Functions like add_gold perform a raw store action and then save. __add_gold is the raw store action in this case. Properties of raw store actions: - Call usernam...
Xelaadryth/Xelabot
quest_bot/quest_player_manager.py
Python
mit
11,668
using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WestBlueGolfLeagueWeb.Controllers.Filters { public class WestBlueHandleErrorAttribute : HandleErrorAttribute { private static readonly ILog Logger = LogManager.GetLogger(...
tahoeWolverine/WestBlueGolfLeague
WestBlueGolfLeagueWeb/WestBlueGolfLeagueWeb/Controllers/Filters/WestBlueHandleErrorAttribute.cs
C#
mit
706
# Change Log ## 0.0.5 (2015-07-17) * Add support for `403` Fobidden response. * Update testcases with Express 4.x changes (body-parser). * Bump dependencies - express 3.4.8 → 4.13.1, mocha 1.17.1 → 2.2.5, supertest 0.9.0 → 1.0.1. * Add Travis builds for Node 0.12 and iojs. ## 0.0.4 (2014-12-24) * Fix deprecati...
paambaati/express-api-helper
CHANGELOG.md
Markdown
mit
750
import polarToCartesian from '../src/utils/polarToCartesian'; describe('GridUtils', () => { describe('polarToCartesian', () => { const config = { radius: 20, angle: 20, }; it('should return cartesian output for the given polar input config', () => { const expected = { x: config....
hshoff/vx
packages/visx-grid/test/utils.test.ts
TypeScript
mit
489
/* notes getBoolPref is not a function http://comments.gmane.org/gmane.comp.mozilla.project-owners/241 */ //*********** export named single global object while using shorthand internally var spenibus_zoomMonitor = (function() { //***********************************************************...
spenibus/zoom-monitor-firefox-addon
content/overlay.js
JavaScript
mit
5,593
//============================================================================== // TorqueLab -> MeshRoadEditor - Road Manager - NodeData // Copyright (c) 2015 All Right Reserved, http://nordiklab.com/ //------------------------------------------------------------------------------ //===================================...
NordikLab/TorqueLab
tlab/roadEditor/nodeManager/nodeStack.cs
C#
mit
7,044
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Appconfiguration::Mgmt::V2019_11_01_preview module Models # # Defines values for ProvisioningState # module ProvisioningStat...
Azure/azure-sdk-for-ruby
management/azure_mgmt_appconfiguration/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/provisioning_state.rb
Ruby
mit
506
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Security::Mgmt::V2019_01_01_preview module Models # # Security assessment on a resource # class SecurityAssessment < Resourc...
Azure/azure-sdk-for-ruby
management/azure_mgmt_security/lib/2019-01-01-preview/generated/azure_mgmt_security/models/security_assessment.rb
Ruby
mit
3,934
<?php namespace Controller; use Framework\Helper\MainControllerHelper as Helper; use Framework\Helper\Paginator; class MainController extends AbstractController { /** * Renders previously retrieved movie data or gets new data. * * @return string */ public function showMovies() { ...
noonlit/cinema
src/Controller/MainController.php
PHP
mit
4,320
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' Runtime Version:4.0.30319.42000 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '-----------...
haxtivitiez/Humidity_Calculator
My Project/Resources.Designer.vb
Visual Basic
mit
2,728
package com.alos.productcatalog.services; import com.alos.productcatalog.exceptions.FailureException; import com.alos.productcatalog.model.LocationIdentifier; public interface CustomerLocationService { /** * Takes a customerID and returns a String that represents a location identifier. * @param customerID * ...
Alos/product_catalogue
product-catalog/src/main/java/com/alos/productcatalog/services/CustomerLocationService.java
Java
mit
593
--- title: Clojure's forgotten for loop labels: [clojure, tutorial] tags: [clojure, functional, programming, tutorial] --- Higher order functions in Clojure get a great deal of attention, and for good reason. Clojure has a [rich standard library](http://www.clojureatlas.com/org.clojure:clojure:1.4.0.html) of functions...
jeaye/jeaye.github.io
_posts/2016-07-27-clojure-for.md
Markdown
mit
4,190
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::IotHub::Mgmt::V2017_07_01 module Models # # The properties of an IoT hub. # class IotHubProperties include MsRestAzur...
Azure/azure-sdk-for-ruby
management/azure_mgmt_iot_hub/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb
Ruby
mit
8,458
Recipes::Application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both thread web serv...
danielwanja/recipes
config/environments/production.rb
Ruby
mit
3,251
<?php // @expectedError Exclamationmarks are not allowed in Exceptionmessages class ExclamationException { public function foobar() { echo 'Hi'; echo 'Wrong!'; echo 'Bye'; echo "Hola"; } }
flyeralarm/php-code-validator
tests/rules/classes/not-allowed/ExclamationException.php
PHP
mit
234
### Set up APNS: Certificates for push notifications Matchmore iOS SDK uses Apple Push Notification Service (APNS) to deliver notifications to your iOS users. In order to get the certificates and upload them to our portal. **A membership in the Apple iOS developer program is required.** #### 1. Enabling the Pus...
matchmore/alps-ios-sdk
ApnsSetup.md
Markdown
mit
3,895
<?php use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { Model::unguard(); // $this->call('UserSeeder'); } }
neonbug/meexo
database/seeds/DatabaseSeeder.php
PHP
mit
272
class ProjectsRepository def all Project.where(archived_at: nil).order(:name) end def archived Project.where.not(archived_at: nil) end def add(params) Project.create(params) end def find(project_id) Project.find_by(id: project_id) end def with_archived Project.all.order(:name) ...
netguru/reminders
app/repositories/projects_repository.rb
Ruby
mit
794
require 'fog/glesys/core' module Fog module Compute class Glesys < Fog::Service requires :glesys_username, :glesys_api_key API_URL = "https://api.glesys.com" model_path 'fog/glesys/models/compute' collection :servers model :server collection :templates model ...
zephyrean/fog
lib/fog/glesys/compute.rb
Ruby
mit
3,400
/** * @author Amazzing * @copyright Amazzing * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* */ var ajax_action_path; var blockAjax = false; $(document).ready(function(){ ajax_action_path = window.location.href.replace('#', '')+'&ajax=1'; activateSortable(); $(docu...
amicavi/grupo-ochoa
prestashop/modules/easycarousels/views/js/back.js
JavaScript
mit
14,501
#include <Source/Headers.h> #include <Source/TextDoc.h> #include <Source/TokenizedFile.h> void parseTextDoc(const TextDoc& doc); // ============================================================================ int main(int argc, char* argv[]) { if (argc != 2) { return -1; } TextDoc doc = loadTextDoc(argv...
steschu77/Coder
Source/Parser.cpp
C++
mit
363
/** * Created by Pencroff on 04-Sep-16. */ var gulp = require('gulp'); var plumber = require('gulp-plumber'); var concat = require('gulp-concat'); var rename = require('gulp-rename'); var uglify = require('gulp-uglify'); var dotify = require('gulp-dotify'); var watch = require('gulp-watch'); var transform = require(...
Pencroff/PerfJS
origin/gulpfile.js
JavaScript
mit
3,057
import pyactiveresource.connection from pyactiveresource.activeresource import ActiveResource, ResourceMeta, formats import shopify.yamlobjects import shopify.mixins as mixins import shopify import threading import sys from six.moves import urllib import six from shopify.collection import PaginatedCollection from pyac...
Shopify/shopify_python_api
shopify/base.py
Python
mit
7,625
'use strict' ; var Emitter = require('events').EventEmitter ; var util = require('util') ; var outboundCallProcessor = require('./outbound-call-processor') ; var inboundCallProcessor = require('./inbound-call-processor') ; var spawn = require('child_process').spawn; var iptables = require('iptables') ; var parseUri = ...
davehorton/ws-proxy
lib/call-processor.js
JavaScript
mit
6,015
using System; using System.Text; using System.IO; /// <summary> /// C# implementation of ASCII85 encoding. /// Based on C code from http://www.stillhq.com/cgi-bin/cvsweb/ascii85/ /// </summary> /// <remarks> /// Jeff Atwood /// http://www.codinghorror.com/blog/archives/000410.html /// </remarks> namespace Graphs { ...
landon/WebGraphs
GraphsCore/Ascii85.cs
C#
mit
7,813
from django.conf import settings from images.models import S3Connection from shutil import copyfileobj import tinys3 import os import urllib class LocalStorage(object): def __init__(self, filename): self.filename = filename def get_file_data(self): """ Returns the raw data for the spec...
sokanu/frame
images/storage.py
Python
mit
3,547
<!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_29) on Thu Jan 03 13:25:28 EST 2013 --> <TITLE> BufferedOutputStream (2013 FRC Java API) </TITLE> <META NAME="date" CONTENT="2013-01-03"> ...
arithehun/frc
java/2013/java/io/BufferedOutputStream.html
HTML
mit
19,450
[Source](http://dotnetcodr.com/2013/02/04/web-security-in-net4-5-cookie-stealing/ "Permalink to Web security in .NET4.5: cookie stealing") # Web security in .NET4.5: cookie stealing
forcewake/articles-for-translation
en/Security and cryptography/Web_security_in_.NET4.5_MVC4_with_C#/Cookie_stealing.md
Markdown
mit
184
SublimeLinter-contrib-xsvlog ================================ Work/test in progress 4-Jun-2015 -- Leon Woestenberg Simple modification from the original xvhdl to xvlog, then just added the -sv flag to xvlog. [![Build Status](https://travis-ci.org/BrunoJJE/SublimeLinter-contrib-xvhdl.svg?branch=master)](https://travi...
likewise/SublimeLinter-contrib-xsvlog
README.md
Markdown
mit
3,997
<?php namespace Oro\Bundle\CalendarBundle\Handler; use Doctrine\Common\Persistence\ObjectManager; use Doctrine\ORM\EntityNotFoundException; use Symfony\Component\HttpFoundation\RequestStack; use Oro\Bundle\CalendarBundle\Entity\CalendarEvent; use Oro\Bundle\SecurityBundle\Exception\ForbiddenException; use Oro\Bundl...
trustify/oroplatform
src/Oro/Bundle/CalendarBundle/Handler/CalendarEventDeleteHandler.php
PHP
mit
5,276
# Console Cowboy > [Can You Jam With The Console Cowboys in Cyberspace?](https://www.youtube.com/watch?v=bLlj_GeKniA) My carefully curated Vim and Tmux config files. Made for Mac OS X. ## What's in it? * [iTerm 2](http://www.iterm2.com/) * [tmux](http://tmux.sourceforge.net/) * [MacVim](https://code.google.com/p/ma...
lokimeyburg/console-cowboy
README.md
Markdown
mit
3,875
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class CuotasCredito extends CI_Controller { //public function costruct public function __construct() { parent:: __construct(); $this->load->helper(array('url', 'form', 'array', 'html')); $this->load->model(array('CuotasCreditoModel...
AL3X09/gestionpedidos
application/controllers/CuotasCredito.php
PHP
mit
1,406
// RUN: %clang_pgogen -O2 -o %t.0 %s // RUN: %clang_pgogen=%t.d1 -O2 -o %t.1 %s // RUN: %clang_pgogen=%t.d1/%t.d2 -O2 -o %t.2 %s // // RUN: %run %t.0 "" // RUN: env LLVM_PROFILE_FILE=%t.d1/default.profraw %run %t.0 %t.d1/ // RUN: env LLVM_PROFILE_FILE=%t.d1/%t.d2/default.profraw %run %t.0 %t.d1/%t.d2/ // RUN: %run %t...
ensemblr/llvm-project-boilerplate
include/llvm/projects/compiler-rt/test/profile/instrprof-path.c
C
mit
1,000
Close button: <ButtonClose callback={()=>{alert("hello")}}/>
leonidax/styleguidist-ts-less-example
src/components/commons/buttons/buttonClose.md
Markdown
mit
65
# Sound: Disable Startup Sound Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" "DisableStartupSound" 1 Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\BootAnimation" "DisableStartupSound" 1 ### Explorer, Taskbar, and System Tray ### ----------...
khornberg/dotfiles
os/windows/tweaks.ps1
PowerShell
mit
3,321
using Avalonia.Platform; namespace Avalonia.Media { /// <summary> /// Describes a geometry using drawing commands. /// </summary> /// <remarks> /// This class is used to define the geometry of a <see cref="StreamGeometry"/>. An instance /// of <see cref="StreamGeometryContext"/> is obtained by ...
AvaloniaUI/Avalonia
src/Avalonia.Visuals/Media/StreamGeometryContext.cs
C#
mit
5,597
class Language < ActiveRecord::Base has_many :user_languages has_many :users, through: :user_languages has_many :messages validates_presence_of :name end
andarcabrera/NoFences
app/models/language.rb
Ruby
mit
163
# Minimal makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build SPHINXPROJ = python-simple-rest-client SOURCEDIR = . BUILDDIR = _build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) ...
allisson/python-simple-rest-client
docs/Makefile
Makefile
mit
623
/*using Discord; using Discord.Commands; using Discord.Commands.Permissions.Levels; using Discord.Modules; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.Scripting; using Microsoft.Dnx.Compilation; using Microsoft.Dnx.Compilation.CSharp; using Microsoft.Extens...
Techbot121/DiscordBot
src/DiscordBot/Modules/Execute/ExecuteModule.cs
C#
mit
4,304
// Regular expression that matches all symbols in the `Deseret` script as per Unicode v5.0.0: /\uD801[\uDC00-\uDC4F]/;
mathiasbynens/unicode-data
5.0.0/scripts/Deseret-regex.js
JavaScript
mit
118
--- layout: post title: "idea plugin folder" description: "" category: idea tags: [idea] --- {% include JB/setup %} ###IDEA中插件安装位置### 用IDEA [安装jrebel插件][install jrebel plugin]后,找不到安装位置 on Mac OS X 目录为: ####~/Library/Application Support/IntelliJIdea13#### 通过Activity Monitor -> open files and ports 发现 [install jrebe...
kennedy-han/blog
_posts/2014-07-07-idea-plugin-folder.md
Markdown
mit
473
class User < ApplicationRecord devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :omniauthable, :omniauth_providers => [:google] has_many :rabbis, through: :appointments has_many :appointments has_many :ChatMessages enum role: [:normal, :admin] ...
peacestone/chat-with-the-rabbi
app/models/user.rb
Ruby
mit
687
// // MGWatchdogPlatformIOS.h // Pods // // Created by Max Gordeev on 31/05/15. // // #include <TargetConditionals.h> #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR @import Foundation; #import "MGWatchdogPlatform.h" @interface MGWatchdogPlatformIOS : NSObject <MGWatchdogPlatform> @end #endif
RyanTech/MGWatchdog
MGWatchdog/MGWatchdog/Sources/MGWatchdogPlatformIOS.h
C
mit
302
define([ 'jquery', 'underscore', 'backbone', 'scripts/main/models/forum', ], function($, _, Backbone, ForumModel){ var ForumCollection = Backbone.Collection.extend({ model : ForumModel, url : ForumModel.prototype.urlRoot, }); return ForumCollection; });
houssemFat/MeeM-Dev
teacher/static/js/main/collections/forum.js
JavaScript
mit
296
import { ACTIONS, TYPE } from './constants'; import { CalendarViewEvent } from '../../../containers/calendar/interface'; export interface EventDownAction { action: ACTIONS.EVENT_DOWN; payload: { type: TYPE; idx: number; event: CalendarViewEvent; }; } export interface CreateDownActi...
ProtonMail/WebClient
applications/calendar/src/app/components/calendar/interactions/interface.ts
TypeScript
mit
2,057
# -*- coding: utf-8 -*- # # powerschool_apps documentation build configuration file, created by # sphinx-quickstart. # # 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 configuration valu...
IronCountySchoolDistrict/powerschool_apps
docs/conf.py
Python
mit
8,001