branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep><?php
add_action( 'widgets_init', 'dmc_register_sidebars' );
function dmc_register_sidebars() {
register_sidebar(array(
'name'=> 'Homepage widgets',
'id' => 'sidebar-home',
'description' => 'Widgets placed here will appear on the homepage',
'before_widget' => '<div id=... | 71dcf5e99fc6e53a5d586ee7e9f96fe495e43e56 | [
"PHP"
] | 15 | PHP | accessibilityoz/epicnationalpartners | d914b58d27cdb62ff1aae20c3a10c47ffa0beb15 | 75799b5cc5801a5a92c8aed45f076b2a31831d53 |
refs/heads/master | <repo_name>domecq/h1-movies-ws<file_sep>/db/migrate/20120211025431_create_horarios.rb
class CreateHorarios < ActiveRecord::Migration
def change
create_table :horarios do |t|
t.integer :cine_id
t.integer :pelicula_id
t.string :horarios
end
end
end
<file_sep>/README.md
h1-movies-ws
=========... | a8074eb09c18a4024ee0e86329de771af80e5ec6 | [
"Markdown",
"SQL",
"Ruby"
] | 28 | Ruby | domecq/h1-movies-ws | bf6392eb141c2014f3c1afcb827fcbbcaa7d46e7 | 08fca7f45226318642581be9c5806d2f9ddd3cd4 |
refs/heads/master | <repo_name>FanaHOVA/custom-ruby-cops<file_sep>/README.md
# custom-ruby-cops
How to install custom Cops:
- Create a folder to store them in (In Rails I prefer `lib/rubocop/cop`)
- Save cop in that folder
- Require it in your `.rubocop.yml`:
```
require:
- ./lib/rubocop/cop/style/env_fetch.rb
```
<file_sep>/fetch_en... | f2397d3d42679142e8fd00fc0c657ca4e1c61bc2 | [
"Markdown",
"Ruby"
] | 2 | Markdown | FanaHOVA/custom-ruby-cops | 57c0fd988e1383d8409ad5fee0259db434ab2c01 | 085f1334b72ee2160ef9d62df655782f117fa009 |
refs/heads/master | <repo_name>sswati/WeatherApp<file_sep>/WeatherApp/Models/Forecast.cs
using Newtonsoft.Json;
namespace WeatherApp.Models
{
public class Forecast
{
[JsonProperty(PropertyName = "currently")]
public DayForecast Currently { get; set; }
[JsonProperty(PropertyName = "daily... | 0ac4d87e0e3c007c73700ad00b1df039b7ac11b7 | [
"C#"
] | 4 | C# | sswati/WeatherApp | 59797c3f0611f036d25953b1a306f1a4fbcd0642 | 70dcf85111ceacbc4ac21af0ac86de27043be99e |
refs/heads/master | <repo_name>mangooLi/node-tms-trans<file_sep>/TRANS/parseCtr/demo.ts
{
id: string;
clientId: string;
operationType: AddOrderOperationType = AddOrderOperationType.Add;
// viaListData: { province: string, city: string, county: string, index: number }[] = [];
childOrderIndex: n... | 09eb47fcddf7e45ca47f1e23200f8a2e93cdb329 | [
"JavaScript",
"TypeScript"
] | 7 | TypeScript | mangooLi/node-tms-trans | a46930969b87e79a3035b2d1c93d2203fd6d4539 | 00e902f752b3c18e2142d470a0cddbfc687721ba |
refs/heads/master | <repo_name>Jamesrbrtsn/Angular-Webstore-Application--Project<file_sep>/malcolm-co/src/app/app-routing.module.ts
// ng g module app-routing --flat --module=app
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
// Router Functionality
import {RouterModule, Routes} from '@angular/... | 88531a42bc89518e342c0b9745a6c396e1db497c | [
"JavaScript",
"TypeScript"
] | 8 | TypeScript | Jamesrbrtsn/Angular-Webstore-Application--Project | f3b098d4d498d1161251f4974a6891c3525f4466 | c4020e330acb52540bf9718775d67f2d815ef7ab |
refs/heads/master | <file_sep>#!/bin/sh
/bin/bash -c "$STORM_PATH/bin/storm nimbus"
<file_sep>FROM phusion/baseimage
MAINTAINER <NAME> "<EMAIL>"
ENV STORM_VER="1.1.1"
ENV REFRESHED_AT="2017-12-09" \
STORM_PATH="/opt/apache-storm-${STORM_VER}"
LABEL storm_version=${STORM_VER} \
description="Apache Storm: zookeeper, nimbus, ui, sup... | 7fb03c9760afbe0c2e52a731594bf2748c7ea966 | [
"Dockerfile",
"Shell"
] | 2 | Shell | menhswu/apache-storm-dockerfile | 3681ac83f16c70f49f136f5c77cbc056091eef40 | 4ade29b3e6561fc6371f4d8cc6a55af029e2031b |
refs/heads/main | <file_sep>class Person {
//data
constructor (){
this.firstname
this.lastname
this.firstname
this.lastname
}
// operators
//overiding demostration
talk(){
console.log("I talk as a person")
}
// eat()
// walk()
};
// 21,22& 23 represent principle... | 5a369ade26bb1ec64016073d6f0c923e7218b0b2 | [
"JavaScript"
] | 1 | JavaScript | Kiwumulo-Nickson/DP_SECTION2 | c8306b21bbabf1e237a2979c3618fec5fbeb3f3a | 40fdf9ab7373ade6f6b5b97f44e05bdfc6cc74e9 |
refs/heads/master | <repo_name>memorammstein/mexicoder.apish.BE2<file_sep>/test/test.js
'use strict';
var assert = require('assert');
var mexicoderapishbe2 = require('../server.js');
describe('mexicoderapishbe2 node module', function () {
it('must have at least one test', function () {
assert(true, 'basic stuff');
});
});
<file_s... | d1b0af4a9e13d7d5fec03f158ce79dae2514cb40 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | memorammstein/mexicoder.apish.BE2 | aabf3a677873939e69f3592abf3cc93a07ef5595 | 721eebda241f9266663baaf6f201715db8d13b15 |
refs/heads/main | <repo_name>DanielsRT/Social-Network<file_sep>/AccountHolderClient.java
import java.util.*;
import java.io.*;
public class AccountHolderClient {
static Scanner keyb = new Scanner(System.in);
static String FILE_NAME = "friendsData.txt";
public static void main(String[] args) {
System.out.println("Wel... | 92bb368ac627e2433e167475f41cc2a5e37d835d | [
"Java"
] | 1 | Java | DanielsRT/Social-Network | 4bcb5a3d4fc7ea17f0aa841e2a399343a9fbf6b5 | f78006904124358b41008854d3c21fcacf6a651d |
refs/heads/master | <repo_name>mbodak/starShip<file_sep>/README.md
# starShip
Little JS project to launch a shuttle to space for the students
<file_sep>/js/main.js
/**
* @returns <div class="image"><img src="img/starship.png" alt="starShip"></div>
*/
function createStarShipImageDiv() {
// create <img src="img/starship.png" alt="star... | 44f4a3b906521e1c246f86c223865166d2bc3333 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mbodak/starShip | b763598041dc1650b66c0e121217708855321467 | 9046c531fcb60c723d364a1ab0211415dd6c6c69 |
refs/heads/master | <file_sep>package com.example.json_parsing_offline;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.widget.EditText;
import android.widget.TextView;
import org.json.JSONObject;
public class MainActivity extends AppCompatAc... | d3e4fdf7823ef46c17f0db80d42b2a7bab2d4e22 | [
"Java"
] | 1 | Java | batteashishkumar/JSON_parsing_offline | e6b7d2909d9334914658bb8fbc209e1f85577c98 | ec4b0bd3793e3e655d287623ad2ecdd0bf974441 |
refs/heads/master | <file_sep>using Configuration.FileIO;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
namespace Configuration
{
public class ConfigFileDefaults
{
public CultureInfo Culture { get; set; }
public IConfigFileWriter Writer ... | cedc00970bfd01166df6d6edbca4495170538780 | [
"Markdown",
"C#"
] | 17 | C# | ConfigIO/ConfigIO_Net | 9f4eaaa835f9b765c56cb3e6567fb73d3efed98f | 8daf7e16f10f7a10bbd2cd9a6090c2058a5fcb89 |
refs/heads/master | <file_sep><?php
/**
* 上传处理类
*/
class uploader
{
/**
* 单例
*
* @var object
*/
public static $__instance = null;
/**
* 上传过程信息集
*
* @var array
*/
public $message = array();
/**
* 单例
*/
static function instance()
{
if (!self::$__instance) {
self::$__instance ... | bf4f242cc28d66c1bcb60713c03546ec89abb1a0 | [
"JavaScript",
"SQL",
"HTML",
"PHP"
] | 66 | PHP | linsir123/lxs-cms | 25439b97c7f95d3bd7738408b050b94667cccbc3 | 131f9fde2bde9325ef5bedbb42cf1a0c438d11c3 |
refs/heads/master | <repo_name>mtin79/codesandbox__react--popover-resizable<file_sep>/src/container/List/SearchInput.js
import styled from "styled-components";
const SearchInput = styled.input.attrs(props => ({
type: "search"
}))``;
export default SearchInput;
<file_sep>/src/App.js
import React from "react";
import Div100vh from "reac... | fa6fac9be48f7b10712ecaa155576a3c7faf1789 | [
"JavaScript"
] | 5 | JavaScript | mtin79/codesandbox__react--popover-resizable | 724db6e056e3b703c787f2e6698090f2baff0974 | bc1c4eac63bb77e74b0c276eed5c76c357d26f85 |
refs/heads/master | <file_sep>create table todo(
`id` int primary key auto_increment,
`value` varchar(255),
`is_complete` boolean default false,
`date` timestamp default now(),
`user_id` int,
`deleted` int default 0
);
<file_sep>create table task(
`id` int primary key auto_increment,
content varchar(255),
todo_id int ,
`... | 0c36b468a3b29101c206973b7655beae39922d37 | [
"Java",
"SQL"
] | 8 | SQL | zhangtiantian10/spring-boot-todo | de51320573e83a8de035bb61068ba5f7ef71b9e5 | e6918dbd9a8340a6e579878f0903454d666c9ff2 |
refs/heads/master | <file_sep>import cv2
import matplotlib.pyplot as plt
import numpy as np
from scipy.stats import gaussian_kde
from skimage import exposure
ideal_img = cv2.imread('ideal.tif', 0)
crop_img = cv2.imread('crop.tif',0)
crop_eq = exposure.equalize_hist(crop_img)
crop_eq2 = exposure.equalize_hist(crop_eq)
crop_adapt... | d3bb67174a5b4d1deb089e2d9490f116520bf73c | [
"Python",
"Shell"
] | 74 | Python | hemengf/my_python_lib | 08176ca44c4d016e4c88e6d3f4fd482ab62aeafd | d9eb32dd6de209afb9f0d45709e7fb156d34da99 |
refs/heads/master | <file_sep>//Priority queues
#include <stdio.h>
#include <stdlib.h>
struct node
{
int data;
int prio;
struct node *link;
};
void enqueue(struct node **front,struct node **rear,int data,int prio)
{
struct node *newnode;
newnode = (struct node*)malloc(sizeof(struct node));
newnode->data = data;
newnode->prio = pri... | 635d96814a58cd57ffe22326c96b384af3dcf19f | [
"Markdown",
"C"
] | 10 | C | Abhilashb1289/dslab-cycle2 | f8a9948ed2e3d0f734944ac3bdb069f01692add5 | b49da6154a25f9e3ea30a0f76e721dbd9dbf8924 |
refs/heads/master | <file_sep># alien_invasion
`pygame` 外星人小游戏,学习 `python` 的项目
> 需要 python3 的环境
### 安装依赖
`pip install pygame`
### 运行
`python alien_invasion.py`
### 运行界面

<file_sep>import sys
import pygame
from pygame.sprite import Group
from settings import Settings
from ship import Ship
# from... | d0c076751a6dbfab70dfe4f99bce5f87b4cf8281 | [
"Markdown",
"Python"
] | 2 | Markdown | jjeejj/alien_invasion | 446bb46f67cefd02660a44bdeff6e78ee697e828 | 1338bb7fdabd295495bd4d03efc99f374c968dca |
refs/heads/master | <repo_name>lorrdfarquad/TikTacToeNX<file_sep>/source/main.c
#include <string.h>
#include <stdio.h>
#include <switch.h>
u32 sq1,sq2,sq3,sq4,sq5,sq6,sq7,sq8,sq9;// Squares
int turn = 1;
int winner = 0;
int main(int argc, char *argv[])
{
consoleInit(NULL);
//board
printf("\x1b[19;31H | | ")... | 9ef677f081facfd754b3ffa65dc39b78419b13bd | [
"C"
] | 1 | C | lorrdfarquad/TikTacToeNX | dd52a4c282b13724a32634adb58cd7506f61bf56 | c3ab512c1f85da5df0f9c2f008bcb6e1423e8d63 |
refs/heads/master | <file_sep><?php
/**
* 一键安装
* @author 刘健 <<EMAIL>>
*/
//$url = 'https://github.com/mixstart/mixphp/archive/master.zip';
$url = 'https://github.com/mixstart/mixphp/archive/RC1.zip';
echo "download {$url} ... ";
copy($url, 'mixphp.zip');
echo 'ok' . PHP_EOL;
echo 'unzip ... ';
$zip = new ZipArchive;
$zip->open('mixp... | 8c934a73ee23f45da698578895711e73cd080198 | [
"PHP"
] | 1 | PHP | smxrencf/mixphp | 0b0353fb6a6d4db356cb081d6859643fd209f732 | 623019c3d56251470751db8242c41997b15a14e4 |
refs/heads/master | <repo_name>jlsync/scout-plugins<file_sep>/mysql_slow_queries/mysql_slow_queries.rb
require "time"
require "digest/md5"
# MySQL Slow Queries Monitoring plug in for scout.
# Created by Robin "<NAME>" Ward for Forumwarz, based heavily on the Rails Request
# Monitoring Plugin.
#
# See: http://blog.forumwarz.com/2008/5/27/... | a9769770915361e304dc88859eb8aa30154eefc1 | [
"Ruby"
] | 1 | Ruby | jlsync/scout-plugins | 4fe24648d14ad865eeb6c3190a32b4983ac9d3c0 | 4283196cf3c208f9a93d01a63d267381280e6ce0 |
refs/heads/master | <file_sep># Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.1.11] - 2021-03-01
### Changed
- Fixed #45 Grammar ... | 634afd4cff5d0fd68f5780762e81243f6fae67ec | [
"Markdown",
"TypeScript",
"JavaScript",
"Shell"
] | 7 | Markdown | ethan-ou/GIFT-grammar-PEG.js | e2c3927ccce703f791eaf804bb264ef7580cee41 | aa29b15f613af7bf5a3881705bdaf39167adc315 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
namespace _2019_06_01.Anagrams
{
public interface IAnagramsFinder
{
string[] GetAnagrams();
}
}
<file_sep>using System.Collections.Generic;
namespace _2019_06_16
{
public interface IFlags
{
Dictionary<st... | 6ba56626b15f3a02a2941f0852cfd5efa83124d7 | [
"C#"
] | 29 | C# | jordymateo/Katas | 1799e78d8150c63be1070a34cebf9ec6b566b316 | 882910ce950643ce79ec2156a1d525395ac57ac9 |
refs/heads/master | <repo_name>MPogoda/afc-coursework<file_sep>/convex_hull/CMakeLists.txt
project( convex_hull )
cmake_minimum_required( VERSION 2.8.6 )
if ( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" )
add_definitions( -std=c++11 )
elseif ( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" )
add_definitions( -std=c++0x )
endif()
set( CH... | 7b4506aa581bf7ca5c7baf40644084eabf40567f | [
"CMake",
"C++"
] | 7 | CMake | MPogoda/afc-coursework | c613464b43119e498b0344cdc59f403bbd10da37 | 411bc01041381fb774a95a479355c2410b96c47e |
refs/heads/master | <file_sep>.. image:: https://readthedocs.org/projects/pyloraserver/badge/?version=latest
:target: https://pyloraserver.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
PyLoRaServer
============
The LoRaServer.io Python Library
This python library makes interaction with the loraserver.io projec... | e6b7f1c79b0ddd59b116eb1dcd696011cf91a636 | [
"Python",
"reStructuredText"
] | 10 | reStructuredText | dtony/pychirp | c942b84cf834e0cec3e7f60b3c7b781581478a7b | e4cd86b2477cab0b7c54fe304023e284ec1ccefb |
refs/heads/master | <repo_name>cudworth/top-testing-basics<file_sep>/caesarCipher.test.js
const caesarCipher = require('./caesarCipher');
test('basic caesar shift', () => {
expect(caesarCipher(1, 'a')).toBe('b');
});
test('wrap test', () => {
expect(caesarCipher(1, 'z')).toBe('a');
});
test('cap test', () => {
expect(caesarCipher... | 7f755ed5f5281c8780bc0b8b456e547ede9f536b | [
"JavaScript"
] | 3 | JavaScript | cudworth/top-testing-basics | 8f5346ea6fff71a5b3acfad17369439d05dc7eb1 | 48180ffb4ff083093b2cf1ea40d72c398effa793 |
refs/heads/master | <repo_name>moroale93/personal-site<file_sep>/packages/app/src/containers/ScrollingTitle/index.js
import React, { createRef, useEffect } from 'react';
import gsap from 'gsap';
// eslint-disable-next-line react/prop-types
export default function ScrollingTitle({ children, className }) {
const titleRef = createRef();
... | efa57d1818eceecd816f1444ec2575ce51f8b3dc | [
"JavaScript",
"JSON",
"YAML",
"Markdown"
] | 23 | JavaScript | moroale93/personal-site | ab6adcfa04ef67dfd79bdea57c85dbdbbdbb75c2 | 2b2ab072af13bb9b812a7a9ba64529c6cd842537 |
refs/heads/master | <file_sep>import React from 'react';
import ReactDOM from 'react-dom';
import AuthorQuiz from './AuthorQuiz';
describe('When the AuthorQuiz composed is used', () => {
it('should render successfully', () => {
const div = document.createElement('div');
ReactDOM.render(<AuthorQuiz />, div);
});
... | 83d3c44db05c2e7093cef015f4e98c91947df914 | [
"JavaScript"
] | 1 | JavaScript | usmanbuilds/author-quiz | d8a8d5e5e5f4567d68d13350f3c8fa2b1eef5756 | bd5c0bcf37c6b98070dbfd9370e798fad2a2fd0c |
refs/heads/master | <file_sep>import firebase from 'firebase/app';
import "firebase/auth";
import 'firebase/database';
import 'firebase/storage';
let firebaseConfig = {
apiKey: '<KEY>',
authDomain: 'admin-panel-5baec.firebaseapp.com',
databaseURL: 'https://admin-panel-5baec-default-rtdb.firebaseio.com',
projectId: 'admin-panel-5b... | d8f3d58e856820522329330dfde5273bcb16923f | [
"JavaScript"
] | 4 | JavaScript | tkach-gr/admin-panel | 7c73f2678941df492defba30a0d88fdf7d873fde | 7b7f814ac541b566a97ade21813b76da3e2446d5 |
refs/heads/master | <repo_name>andrewjbaumann/confluencespacekeychange<file_sep>/readme.md
# Confluence Space Key Renamer
## Purpose
Atlassian does not provide an out of the box way (or easy way) for you to rename space trees. More information can be found at the link below. Basically, the only reliable way to change a space's key is t... | a4ec7799a1595a56563eb6cb9a90ff6d55af6b5a | [
"Markdown",
"Shell"
] | 2 | Markdown | andrewjbaumann/confluencespacekeychange | 2f51309447722ad64ce86a32563e50054befb1ec | b2125ce915c02c7da3e3912b9155dd2fb9ee8ae3 |
refs/heads/main | <repo_name>nuelscode/nuels_portfolio<file_sep>/src/NoMatch.js
import React from 'react'
export const NoMatch= () => (
<div>
<h2>Home Page</h2>
<h1>404 error!</h1>
</div>
)<file_sep>/src/Contact.js
/* eslint-disable jsx-a11y/anchor-is-valid */
import React from 'react'
import { FontAwesomeIcon }... | 3b17b8ff8120ce5d20a7489d3428133f00fb7546 | [
"JavaScript"
] | 5 | JavaScript | nuelscode/nuels_portfolio | b5cad7047976167a0ab26c3bdc9ab6bddc7d995e | 27283ef0c15304596b42b07dadb1e28f876f0872 |
refs/heads/master | <file_sep>local L = LibStub("AceLocale-3.0"):NewLocale("fbngBuffFrame","ruRU")
if not L then return end
-- // @localization(locale="ruRU", format="lua_additive_table", same-key-is-true=true, handle-subnamespaces="concat")@
L = L or {}
L["Buffs"] = "Баффы"
L["Debuffs"] = "Дебаффы"
L["Display parameters"] = "Показывать... | 7055f6870330568b0bbe25df0698f29a96e6b044 | [
"Lua"
] | 5 | Lua | ithinuel/fbngbuffframe | ae4003b7c86087a5fee612e0365544ecebf9649d | 3312e260ddbf950a02adba4f4b7ac5c4735659e3 |
refs/heads/master | <repo_name>nikitagorshkov2011/FontApp<file_sep>/FontsNikitaGorshkov/FontCollectionViewController.swift
//
// ViewController.swift
// FontsNikitaGorshkov
//
// Created by Admin on 14/07/2018.
// Copyright © 2018 nikitagorshkov. All rights reserved.
//
import UIKit
class FontCollectionViewController: UIViewControll... | d5f54f5cb3eced74e9a00b5867ef695e08521744 | [
"Swift"
] | 2 | Swift | nikitagorshkov2011/FontApp | 0c1d29d93e3bba1c1a7918b61831e457b545c312 | 851cc2764d9efb9f81c8d7a629974b53cb7bd5c0 |
refs/heads/day1 | <file_sep>// import React, { Component, Fragment } from 'react';
import React, { useState, Fragment } from 'react';
const PhoneInfo = (props) => {
const style = {
border: '1px solid black',
padding: '8px',
margin: '8px',
};
const [editing, setEditing] = useState(false);
const [n... | df7d28a47c11ef9c7e15580e8bfe2f8957caf592 | [
"JavaScript"
] | 1 | JavaScript | blowhite/react_prac | 401cf99d541c26085f6b2449b9c313ca81fac02a | f0a9abf081a7ef1c323788e22f9c522615a33c7d |
refs/heads/master | <repo_name>karthik-h-raju/Fabrikam-Web<file_sep>/Fabrikam.Module1.Uc1.Command.v1/Fabrikam.Module1.Uc1.Services.WebApi.v1/Areas/HelpPage/ModelDescriptions/SimpleTypeModelDescription.cs
namespace Fabrikam.Module1.Uc1.Services.WebApi.v1.Areas.HelpPage.ModelDescriptions
{
public class SimpleTypeModelDescription : Model... | 400940510a4986adeacd64bdb78e62189178b43a | [
"Markdown",
"C#"
] | 4 | C# | karthik-h-raju/Fabrikam-Web | 8be3433ff2e0e0b34129566be7192c6d4d54dfb1 | b6be0a066caead2047a3c3366ecb902cd55f34d9 |
refs/heads/master | <file_sep>import { Component, EventEmitter, Input, Output } from '@angular/core';
@Component({
selector: 'app-usd',
templateUrl: './usd.component.html'
})
export class USDComponent {
@Input() yen:number;
@Output() usd = new EventEmitter<number>();
yenDisplayText: number;
constructor() { }
... | c6b6bafc511c127202585d46583958d97bccaab9 | [
"TypeScript"
] | 3 | TypeScript | lodela/currency-converter | ef6ab6815bf5eab7d0ef126f1088853b653f7132 | 387852ed2c12b53317cdcad15ee2a5d4a3a3deb8 |
refs/heads/master | <repo_name>nosnhojttam/2DGameEngine<file_sep>/includes/level.h
#ifndef LEVEL
#define LEVEL
#include "gObject.h"
class level
{
public:
level();
level(string name);
void draw();
vector<gObject> objects;
void addObject(gObject object);
private:
string name;
};
#endif
<file_sep>/src/source.cpp
//---------... | 9484f79c8bad57354b4847bcb14264741f3f5067 | [
"Markdown",
"C",
"C++"
] | 19 | C++ | nosnhojttam/2DGameEngine | 9fd487cc50c1d171291dd4fb09509cab7c629d08 | 01994c9a0ceae480ba11476db90e11a6dabbdf57 |
refs/heads/master | <file_sep>package com.mygdx.game.screens
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.Screen
import com.badlogic.gdx.audio.Music
import com.badlogic.gdx.graphics.GL20
import com.badlogic.gdx.graphics.Texture
import com.mygdx.game.HackermanGame
import com.mygdx.game.Paths
import com.mygdx.game.ScreenController
... | 1d9d139dc24b7c8fff2a9c337894390d2f84c81b | [
"Kotlin"
] | 9 | Kotlin | zanway578/hackerman | 15716c3aa3928d83b2c640fbba9f739b17f3565c | 4826391afabe6021cd7dc2ffa2c860173c67e8df |
refs/heads/master | <file_sep>package com.cebul.jez.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.hibernate.classic.Session;
import org.hibernate.transform.RootEntityRe... | 853b6293319b4251a6d1ebc8273229898751d7d0 | [
"JavaScript",
"Java"
] | 25 | Java | cebul4/com.cebul.jez | 8158897a5d1aeeee9f2e438ccf39876391f5f7e6 | 1d64379495044818a17d89d637509b976662aa1b |
refs/heads/master | <file_sep># Applivery cordova sample
## Android config
### Step 1
Add applivery dependency in `app/build.gradle`
```groovy
dependencies {
implementation fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
implementation(project(path: ":CordovaLib"))
// SUB-PROJECT DEPENDENCIES ... | 15699973d0e3091efe86eadf260198ac4a5acc5b | [
"Markdown",
"Java"
] | 2 | Markdown | applivery/applivery-cordova-sample | 5f953ce592eca2ec38691fbd0761a0a7e492ddc1 | 08377e8d71235766d2355359e6e650ea5dead9aa |
refs/heads/master | <file_sep># Place for differential expression code
<file_sep>import os
import synapseclient
import synapseutils
import glob
import re
import time
from synapseclient import Folder, File
#for synapse
syn = synapseclient.login()
BAMNAMELIST = config["inFileName"]
print ('file list:',BAMNAMELIST)
print ('lst:', BAMNAMELI... | ed6910c3af46546e649d8086d1b4552bdbcbdbb1 | [
"Markdown",
"Python",
"R",
"Shell"
] | 13 | Markdown | Sage-Bionetworks/BaylorSage | 5f290e0aa4910c0fa1c3d7abc2231f79dd0f74ab | 1ba1a3c9b045e041499aff6ad2d89b55d77094c8 |
refs/heads/main | <repo_name>phendji/angular-using-express-as-mock-server<file_sep>/server/server.js
'use strict';
const express = require('express');
const bodyParser = require('body-parser');
const fs = require('fs');
const app = express();
const config = {
port: process.env.PORT || 9090
};
const latencies = {
... | db41e9c9624365a0834e5f559a887c93ca43fa80 | [
"JavaScript"
] | 4 | JavaScript | phendji/angular-using-express-as-mock-server | f19902068b874b99ba4806f81f49936db6b2427b | 7050aa52f0f4d7d906a5ba2e608d0c2f30d178ef |
refs/heads/master | <file_sep># Temperature Sensing Device
---
__This is a prototype of temperature sensing device with a custom__
__temperature sensor. Files attached to this project:__
* TempSensorCode.c - source code for PIC18F45K22
* tempSensingDevice.dch - Shcematic
* tempSensingDevicePCBLayout.dip - PCB layout file
* tcp_socket_co... | 7a20f417eb58ea3f52cd67ff8c488830060f9597 | [
"Markdown",
"C",
"Python"
] | 3 | Markdown | SmashKPI/Temperature-Sensing-Device | 919f6e2f15937463ddf4c1671f217c6a8c01fb48 | 65382b322a13c623ab9822077a1070c846d7671a |
refs/heads/master | <repo_name>anugrahjo/surf<file_sep>/my_optimizer/grad_simple.py
import numpy as np
def grad(x):
grad = np.zeros((x.size, 1))
for i in range(x.size):
grad[i] = 4 * x[i]**3
return grad<file_sep>/my_optimizer/func_simple.py
def func(x):
f = 0
for i in range(x.size):
f += x[i]**4
r... | cfd84964b4717ce7aa50c0ca1d6fdc78317dc7e4 | [
"Python"
] | 14 | Python | anugrahjo/surf | 8f5f79d6c8c8f2fc5e84f70ac248f9c69106780a | 06dc087ef3b6b09fe15634bdf4db70fb1be7c079 |
refs/heads/master | <repo_name>jerrytnutt/CV-React-Project<file_sep>/src/components/workExperienceForm.js
import React, {Component} from 'react'
import WorkExperienceDisplay from '../components/workExperienceDisplay'
class Work extends Component{
constructor(props){
super(props)
this.state = {
appendingWor... | a290b17512c8b1ac352a47121cc9375edf368c40 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | jerrytnutt/CV-React-Project | bae03b4060098666d6b7f83b391542d213cc4aad | 287788d37eead424d73dfcd501e0d2250a8000cf |
refs/heads/main | <file_sep>#include<iostream>
#include<algorithm>
using namespace std;
int main(){
// //Reverse an array
// int n;
// cout<<"array length: ";
// cin>>n;
// int a[n];
// cout<<"enter the element of array : ";
// for(int i=0; i<n; i++){
// cin>>a[i];
// }
// cout<<"Reverse array... | e75fc27159fd8342dbff743f52c03b0f8de7adce | [
"C++"
] | 2 | C++ | Piyush692/cpp__ | aaa692dcf97780728503ccac154b84f010cda9f3 | 7772439157e2481b4c523ee0534c9554ede9ec42 |
refs/heads/master | <file_sep>// this is our master ruder file it doesnt manage any paticular peice of state. simply contains all other states
import { combineReducers } from 'redux';
import StudentReducer from './StudentReducer';
const rootReducer = combineReducers({
students: StudentReducer
})
export default rootReducer;<file_sep>i... | 276029b0bbac9fcd2882c63e54135fe7afb28520 | [
"JavaScript"
] | 3 | JavaScript | downs-jamie/redux101 | 4ee4dd814d11f3205eeb02cb8917a3d28cda75e3 | 96ca33c560273f8f5f705b5ef960b127305cb798 |
refs/heads/master | <file_sep>package com.example.tic.player
import com.example.tic.Board
class Computer(computerSign: Char) : Player {
override val sign = computerSign
override fun play(board: Board, players: ArrayList<Player>) {
println("Computer playing with sign : $sign ")
var rowSelected = -1
var ... | 535ef13f500ddf25fe9f29c37b82ab96f0741602 | [
"Kotlin",
"INI",
"Gradle"
] | 13 | Kotlin | warlord-x/tic-kotlin | 0b948b61e9e1de74d0cd2276a2d70fd3bddc427d | f1e946fe436558ff3a3ab7fc5cf6f7280e1aa33e |
refs/heads/main | <file_sep># ProjectThreads
small project to play a little bit with threads in C++ 20
<file_sep>#pragma once
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <fstream>
#include <thread>
#include <mutex>
#include <atomic>
namespace Threads
{
#define NUM_THREADS 10
class FileManager
{
... | a8a0e8016654b90657b6fc3157dfc81c6c8dda3c | [
"Markdown",
"CMake",
"C++"
] | 5 | Markdown | andersonfr/ProjectThreads | c38cb744e1d7611d080dbd299f09b5d9b5bfa6ca | 3e0a2b0090f0a8ac6c2e85f101ec1dcb25698e72 |
refs/heads/master | <repo_name>aaltamirano1/empty<file_sep>/index.js
'use strict';
function getLyrics(artist, title) {
}
function displayResults(responseJson) {
}
function watchForm() {
}
$(watchForm);
| 33381f5af7c948d2079d37c84539767deb504a0f | [
"JavaScript"
] | 1 | JavaScript | aaltamirano1/empty | 2891bc94d7834cf23a9eb898ca4343410a7ef245 | 4c4c8aba45f7b1854e2cbbf05fa99f4a84e81d09 |
refs/heads/master | <repo_name>stefan1968/flickr<file_sep>/src/imageBox.js
import React from 'react';
// our main image box, it uses dangerouslySetInnerHTML to process the description part of the flickr metadata.
export class ImageBox extends React.Component {
constructor(props) {
super(props);
this.state = { visible... | 4f02a490ec1d28d4a523f9a729fbf5467522c670 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | stefan1968/flickr | 643a3cc5fc441de36d3d7b8aaab011918f0a2d37 | 991b76045cbe9352127912b553f2ff376ae3dd9c |
refs/heads/master | <repo_name>NobiNobita/BoL_Studio<file_sep>/Scripts/Common/SourceLib.lua
-- Change autoUpdate to false if you wish to not receive auto updates.
-- Change silentUpdate to true if you wish not to receive any message regarding updates
local autoUpdate = true
local silentUpdate = false
local version = 1.020
--[[
La... | 4b1b6ea8a0b602bb596242fd480097d25cbf960b | [
"Lua"
] | 2 | Lua | NobiNobita/BoL_Studio | f861ba69f230112ac3b2924a8afec820e35e5cd3 | 7cbbae967299adde7edfb0647ed2fb9cfd6fea08 |
refs/heads/master | <repo_name>linsbrasil/fatec-java<file_sep>/src/fatec/Fatec.java
/*
* 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 fatec;
/**
*
* @author a10ceeteps
*/
public clas... | 934d6e95eaf528f97f1e541c519194538f27b6e8 | [
"Java"
] | 1 | Java | linsbrasil/fatec-java | 12ae7156ff0bcee860550ce9fd53e1ee09745b48 | 07f679cce5021f608e7d7b12b0a3830c13193574 |
refs/heads/master | <repo_name>akitsu-sanae/markright<file_sep>/src/ast.cpp
#include "utility.hpp"
#include "ast.hpp"
<file_sep>/Readme.md
# MarkRight
`MarkRight` is a markdown-like markup language for me.
# Build
run `make`
# How to use
`markright [input filename] -o [output filename]`
# Sample
See `examples/simple.mr` or `test... | 93d3485a51a0554a64943a414b70849fffa63a6c | [
"Markdown",
"Makefile",
"C++"
] | 9 | C++ | akitsu-sanae/markright | 3eb8d9f282d14ed796fcb6e93b206835598ef595 | cabffe519a1dd468e020c31b973f01b7ee63f7fe |
refs/heads/master | <file_sep>//
// Meme.swift
// MemeMe-V1
//
// Created by <NAME> on 20/05/2017.
// Copyright © 2017 <NAME>. All rights reserved.
//
import Foundation
import UIKit
struct Meme {//structure of meme to save its info
var topText: String
var bottomText: String
var originalImage: UIImage
var memedImage: ... | a74d9d14415ffcdbe5c4169ec34feadd95919cc6 | [
"Swift"
] | 2 | Swift | florenti/MemeMe-V1 | 7aa6fbe1232ea9cddabfefcad41fda92d0e087ef | b4b2bc77c1020305098be0681f081a5dc67c6054 |
refs/heads/master | <file_sep>from flask import Flask, render_template
causes = [
{
"name" : "Women's Health",
"emoji" : "peach",
"why-care" : "People have short attention spans, so this bit shouldn't be much longer than a tweet. 170-ish characters works on every screen I tried. Not too short either - t... | 4a0225c878b42dbb4e0e9d7ea3f85446a05b5da6 | [
"Markdown",
"Python"
] | 2 | Python | chloewood/charithing | 7476d20289981de2e6e5a863032b0eef4ade808e | e26e0d74683916265030b46e491a36292b96c06b |
refs/heads/master | <repo_name>oswinner/newproject<file_sep>/index.php
<?php
$errors = "";
$host="localhost";
$kullaniciadi="root";
$sifre="";
$veritabaniadi="todolist";
$baglanti = @mysql_connect($host, $kullaniciadi, $sifre);
$veritabani = @mysql_select_db($veritabaniadi);
if($baglanti && $veritabani) {
} else {
ech... | ae041fb88ec6302fdafb76a7d78c439427ab4a8a | [
"Markdown",
"PHP"
] | 2 | PHP | oswinner/newproject | 478a43b5d2e96de8890cf5f5a4323b6910cbd3bc | 4bfcad316679ccb689815e145591195419dd160a |
refs/heads/master | <repo_name>JihoYoo/Comp-123-Assignment4-2<file_sep>/Assignment4_2_300813612_JihoYoo_COMP123/flight.cs
/*
* Author's name:<NAME>
* Date : 3/20/2015
* Program description : Array Practice 2 : Airline Reservations System
* Revision History :
* 3/17/2015 set up the values
* ... | cc74ec37383d442b0247e4d33c5cab07e0aa5e24 | [
"C#"
] | 2 | C# | JihoYoo/Comp-123-Assignment4-2 | 1ca72b6156f9807e307fe7f5dfd687660de067ef | 2dff8251f2f57e43e545b22164f1ab5564a98fa8 |
refs/heads/master | <file_sep>import HTMLTestRunner
import time
from selenium import webdriver
import unittest
class McTest(unittest.TestCase):
def setUp(self):
self.driver = webdriver.Chrome()
self.driver.get('http://127.0.0.1:8000/')
def testBody(self):
'''测试主体'''
self.driver.find_element_by_lin... | 17b0fe92c9fe7d0ac9f59412af7752c2ea63cd92 | [
"Python"
] | 1 | Python | treeytang/selenium | 37657e67a9a8a287507e962dd8a7ed3cde1fdc61 | 8f2951a9cf0b3710ec80a6efe89aab3a580e5029 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name=... | e0c951f81976e79925630116ceda3e447f0d8eb6 | [
"Markdown",
"JavaScript",
"PHP"
] | 47 | PHP | samisosa20/Fiona | 303a049c669537d4813936c4d0f491a2939b484d | c4d1c20f08122b7469d1f59ca451f370f0180600 |
refs/heads/master | <file_sep>// xlCANcontrol.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "xlCANcontrol.h"
#include "xlCANcontrolDlg.h"
HINSTANCE m_hLangDLL;
int language;
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////... | cfe5ba1208810af9bed53ce139d7d529f1b7d405 | [
"C",
"Text",
"C++",
"INI"
] | 9 | C++ | SepCat/iCAN_4_Customer | 45ed3c7ad523b2963db50b97cd3ac4253048b44a | f7aae751283df3a91245dc35b496bdb4a9e236ce |
refs/heads/main | <file_sep>const { crearArchivo } = require('./helpers/multiplicar');
const argv = require('yargs')
.option('b', {
alias: 'base',
type: 'number',
demandOption: true
})
.option('l', {
alias: 'listar',
type: 'boolean',
default: false,
demandOption: true
... | bf08559545d15bb15dc51581e66622aa62a33a37 | [
"JavaScript"
] | 3 | JavaScript | DanButronOtero/node_practice | 432dc493b4d46fc0e911daf064d01d795427c8bc | b09bdfc86f8cfc0744c5dc02b12e598a66bc24a3 |
refs/heads/master | <file_sep>#ifndef TODO_CPP
#define TODO_CPP
#include <iostream>
#include <string>
using namespace std;
class Todo{
private:
string list[100];
int length=0;
int next =0;
public:
Todo(){
length = 0;
next = 0;
}
void add(string action){
list[next] = action;
next++;
length++;
}
... | 73249d57fbd8660f39374d4f36c6d0a35511899f | [
"C++"
] | 2 | C++ | hamza-zoumhani/CIS2013_Week15_Quiz | 0b9c3dfd235431ef9392c6ad4037b86fb8575055 | 6687ed90abcf861f2ce5d46525e6740f2128d664 |
refs/heads/master | <file_sep>title=iBase - Image Database
heading=Welcome to your personal ImageDatabase
photoHeading=Your Photos
login=Login/Register
valid.file= Please select an image!<file_sep>package com.iBase.service;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.logging.L... | 95c53234aeb1bb639129252bf79a7d64b7dfc055 | [
"Markdown",
"Java",
"INI"
] | 10 | INI | karth707/iBase | bba8ce8503fd40db811200de3977f5d5a49ba0f8 | 90116a79cc0d0d653d13c37246aa11de4301be6c |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'gui/species_prompt.ui'
#
# Created by: PyQt5 UI code generator 5.5.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_SpeciesPrompt(object):
def setupUi(self, Specie... | beccbcc14f9e570390508e82ddb2d5c3f2549e0c | [
"Markdown",
"Python",
"Text"
] | 63 | Python | DanielWinklehner/py_particle_processor | 80bbd98d11291bc34609a4abb6c1927203459731 | e9e10817dfac9a7540c330c4a5580d658d5bdee9 |
refs/heads/main | <repo_name>Abednego97/mysite<file_sep>/README.md
# mysite
Tutorial website
| b7517a51ba56840cfe25b96ed9e630666b75f307 | [
"Markdown"
] | 1 | Markdown | Abednego97/mysite | 9b2883ded5f67b3d9280997e5e34be35a25143db | 74a1a3e234867776bd721b3b3081f7a284888359 |
refs/heads/master | <repo_name>jamesbloomer/flashfreeze<file_sep>/README.md
# flashfreeze
Easy background backup and version control for your files.
Designed for anyone working on files and wanting incremental background backups eg. writers. Hopefully (eventually) usable by non-technical users.
Flashfreeze adds, commits and pushes th... | a19a6bd6e1469b2d82f8f4670575e33bd693385e | [
"Markdown",
"JavaScript"
] | 4 | Markdown | jamesbloomer/flashfreeze | 1f24732625239bad22240570809ec663e7ab24cf | 637f800c2a71ceef62878926f7a80b4c07f8b9a2 |
refs/heads/master | <repo_name>DougHigashi/sosmob<file_sep>/pilha.cpp
#include <stdio.h>
#include <stdlib.h>
void inicPilha(struct pilha *pPilha);
void empilha(struct pilha *pPilha, int num);
void desempilha(struct pilha *pPilha);
void exibirPilha(struct pilha *pPilha);
struct pilha{
int topo;
int nums[];
};
struct pilha minhaPilha;
... | d1d378936546f7a8e116bc830dd0f8060cc88df1 | [
"Markdown",
"C++"
] | 2 | C++ | DougHigashi/sosmob | 8da4ac00cae5066e7eda0c3de28dd789aebdd3cd | d72a0d0445822d987d159ba6062c1e2b50f49347 |
refs/heads/master | <repo_name>Sinabro-DSM/Yally-front-end<file_sep>/yally/webpack.config.ts
const HtmlWebPackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const path = require("path");
module.exports = {
entry: ["@babel/polyfill", __dirname + "/src/index.tsx"],
output: {
... | 3bb7e83cbbc72cd5df16afdcd771da442621f4d9 | [
"TypeScript"
] | 4 | TypeScript | Sinabro-DSM/Yally-front-end | 0384d8c2cb6d29e87919b3effe8814e1c40c035f | 00e99dc12831194de3a556fde156aa9de585487f |
refs/heads/master | <file_sep>/*
* Copyright (c) AITECSA S.r.l.
* See the file LICENSE for copying permission.
* */
#ifndef __ITX_ITNTWRAP_CPP__
#define __ITX_ITNTWRAP_CPP__
#endif
#include "tntsql.h"
#include <sql.h>
#include "itannitc.h"
#include "itannit.h"
#include "iregtp.h"
ITannit itannit;
itxTP itxtp;
itxSQLConnection isqlco... | ec7341df6f50ef5fdb82ba32cac25dbd6edadd80 | [
"HTML",
"Markdown",
"JavaScript",
"Makefile",
"Java",
"C",
"C++"
] | 123 | C++ | gambineri/Attic | deef78a0283b05b3786bf63a25555c1b9701ed5f | 41bba501adab33521238012d6c2941585f5150c4 |
refs/heads/master | <repo_name>anjarupnik/codaisseurup<file_sep>/README.md
# Codaisseurup
Down-sized version of Meetup
Built with: Ruby on Rails

## Getting Started
```bash
git clone <EMAIL>:anjarupnik/codaisse... | de19cccd7b97810989b0678a363c00ce7e08c2e1 | [
"Markdown",
"Ruby"
] | 13 | Markdown | anjarupnik/codaisseurup | c630ff8e979607bb770e1ad5ca045f9d450b6bf1 | fa3077c5f9bfca75a50c7c6e2585ddc7c720f102 |
refs/heads/master | <repo_name>edward65/tada-server<file_sep>/app/views/orders/index.json.jbuilder
json.array!(@orders) do |order|
json.extract! order, :id, :store_id, :store_name, :user_id, :status, :reject_reason, :content, :accepted_at, :finished_at, :order_fee, :delivery_fee, :items_fee, :tip
json.url order_url(order, format: :jso... | a119fe9500341bf0ffe71db06e99060878845570 | [
"Ruby"
] | 8 | Ruby | edward65/tada-server | 9b5ec68d93422c9d99d734bed0ea5e689cb71ae8 | 90a14e4dd8eeeab2538779e682bc1b28a50d3bb1 |
refs/heads/master | <repo_name>Muslik/wix-style-react<file_sep>/src/common/EllipsisHOC/EllipsedTooltip.js
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import shallowEqual from 'shallowequal';
import debounce from 'lodash/debounce';
import Tooltip from '../../Tooltip';
import { getDisplayName } from '../hocUtils';... | 753b1a9bbeebd004086d9baa34ec5cdbfe5ccbf1 | [
"JavaScript"
] | 2 | JavaScript | Muslik/wix-style-react | 6725c8d23ac1974ec572c6d781dab42a9e273050 | c0f176a1409148a65d6a2c6485ccee6470597f94 |
refs/heads/master | <repo_name>IlRomanenko/Deque<file_sep>/Deque/test_main.cpp
#include <vld.h>
#include <gtest/gtest.h>
#include <random>
#include <chrono>
#include "base.h"
#include "deque.h"
class DequeTest : public ::testing::Test
{
protected:
virtual void SetUp()
{
}
virtual void TearDown()
{
deque_int.... | 6c7a63adc6459423db9bd072432d0f85a84cba4c | [
"C++"
] | 4 | C++ | IlRomanenko/Deque | 65b66e9e538d196db26c606d36b5308cbf91772d | cc13ae2c54a12e6120726ce5c1acf5746e93c658 |
refs/heads/main | <repo_name>mohammadeslim22/jshw<file_sep>/index.js
const hw = [
{
"id": "0001",
"type": "donut",
"name": "Cake",
"ppu": 0.78,
"batters":
{
"batter":
[
{ "id": "1001", "type": "Regular" },
{... | c71b5386d04df338a895c2276821a1ff3dbb5265 | [
"JavaScript"
] | 1 | JavaScript | mohammadeslim22/jshw | 07213bd3e1ebd14995663b54d9784eb5319d0d6e | 8c5be90a6ababd0f3cd34e34402c0bdd1f01883f |
refs/heads/master | <repo_name>tacticalDevC/YubiKey-Guide<file_sep>/scripts/keygen.py
#!/usr/bin/env python3
import os
import sys
import argparse
from subprocess import Popen, PIPE, getoutput
from apt.cache import Cache
from getpass import getpass
from gpg import Context
from pycurl import Curl
import certifi
_PACKAGES_LIST = {
"wge... | ae9fc853aa7dfa6b149ad8eac442ed94545004c1 | [
"Python"
] | 1 | Python | tacticalDevC/YubiKey-Guide | 93975ea5081d860ec69668c1256eef57661c3a44 | 5e6b89b59ebd1ddb6965307c5283b48f4cd2deeb |
refs/heads/master | <file_sep>Pod::Spec.new do |s|
s.name = "DXYTCWeiboSDK"
s.version = "2.0"
s.summary = "腾讯微博 SDK,支持 arm64."
s.requires_arc = true
s.homepage = "http://dev.t.qq.com"
s.license = { :type => 'LGPL', :text => <<-LICENSE
... | 17ba008c0df5efd960fcefd2f01389c0a0fe13fd | [
"Markdown",
"Ruby"
] | 2 | Ruby | dxy-developer/DXYTCWeiboSDK | af2515fa59e1eb1383e8720dd593ae6133a809da | 9fca0f8a9975637927cd8a6c73bdc2590bf2d918 |
refs/heads/master | <file_sep>#ifndef __VIDEO_H__
#define __VIDEO_H__
#ifdef __cplusplus
extern "C" {
#endif
enum video_format_t {
VIDEO_FORMAT_ARGB = 0,
VIDEO_FORMAT_YUYV = 1,
VIDEO_FORMAT_NV12 = 2,
VIDEO_FORMAT_NV21 = 3,
VIDEO_FORMAT_YU12 = 4,
VIDEO_FORMAT_YV12 = 5,
VIDEO_FORMAT_MJPG = 6,
};
struct video_frame_t {
enum video_... | de80da445501daedd473fda0cd8d08d598b13c68 | [
"C"
] | 1 | C | lichee-pi-nano/xboot | ed5bdeae123fd721c83dc6c8204fc2507dea3da3 | e895e87c98f9faf0d8afcec86e8870799c5806d9 |
refs/heads/main | <file_sep>-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Mar 21, 2021 at 03:33 AM
-- Server version: 5.7.24
-- PHP Version: 7.2.19
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SE... | 8eee66a6a614271d8b1fc501606c3f3d6051a74a | [
"Markdown",
"SQL",
"PHP"
] | 7 | SQL | aslamcsebd/localization | fa3f6e7edd5e0ded9af3c1c599c6ab513234a5aa | 0b9974887eb889f694127d18d6d6eff16acb8a67 |
refs/heads/master | <file_sep>package wangyijieholding.agendaapplication.calendar;
import java.io.Serializable;
import java.util.Calendar;
import java.util.TimeZone;
import java.util.ArrayList;
import wangyijieholding.agendaapplication.events.EData;
import wangyijieholding.agendaapplication.events.EDataWithTime;
public class CalendarD... | f860bc68dbd858f68468413c65eda04fadeda60a | [
"Java"
] | 5 | Java | PieRate/HiCalendar | 45dd8a1a0671b787f3ece30d3264abfdbff87246 | fde9f596debf51a1ba9676d26ebb81ed2552bd13 |
refs/heads/master | <repo_name>chamook/SuccincT<file_sep>/SuccincT/PartialApplications/TailActionApplications.cs
using System;
namespace SuccincT.PartialApplications
{
/// <summary>
/// Action{T1, T2} equivalant delegate for when T2 is an optional parameter
/// </summary>
[Obsolete("The ActionWithOptionalParameter delega... | c66e480315931ecada24ac36716f6b7dc9d3311e | [
"Markdown",
"C#"
] | 8 | C# | chamook/SuccincT | b06dfb409805afa6bd6a2d5073a8189fae5a0d11 | fb8223cfb19b2122cf85fa77b886590a388139b9 |
refs/heads/master | <file_sep>UPDATE playlists
SET description = $1
WHERE playlist_id = $2;<file_sep>import axios from 'axios';
/****** INITIAL STATE ******/
const initialState = {
songs: [],
playlists: [],
editedPlaylist: {},
isLoading: false,
error: '',
accessToken: '',
refreshToken: '',
country: '',
email: '',
user... | cd49298459a5fa6b5d170683dce0b1168564e573 | [
"JavaScript",
"SQL",
"Markdown"
] | 21 | SQL | gv4383/project-playlist | aa4fdbb556f2c0417f88e5dfee6c379f80d403b8 | 67cd47663a806a3831b91a17acf41761aea918ea |
refs/heads/master | <repo_name>trose618/cm_backend<file_sep>/db/migrate/20190205202318_change_level_column_in_lessons.rb
class ChangeLevelColumnInLessons < ActiveRecord::Migration[5.2]
def change
change_column :lessons, :client_level, :float
end
end
<file_sep>/developer-notes.md
# Developer Notes for Coach Me API
### Goal:
To sup... | 6fb32b52da1a3a7c46a94c6faa91a0bda872b74b | [
"Markdown",
"Ruby"
] | 28 | Ruby | trose618/cm_backend | 099ff38506596389f3bccb77db24ed0d006592d1 | b4832c8a3298371ecec4046d9e269507356d40d9 |
refs/heads/master | <file_sep>package com.example.agrihelper;
import android.location.Location;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.http.GET;
import retrofit2.http.Query;
... | 7e3747939c505ac707d936fe11aef2c798d850e8 | [
"Java",
"Python"
] | 8 | Java | scientifictemper/NS275_itempirer_agrihelper | 00c7248e70605301380129e870fe55cd0ff18a7f | c141c9db7fd2e554bb26b58f01d2365a5b375021 |
refs/heads/master | <repo_name>xiaozhizhong/ZhiHuDaily<file_sep>/README.md
# ZhiHuDaily
知乎日报测试App,仅供学习使用.可从官方服务器获取文章、评论数据.
注:使用izzyleung获取的知乎Api.
# Feature
获取首页日报及其他主题日报、查看文章内容及评论、本地收藏、文章分享
# Special
Banner自动轮播、夜间主题切换、消息推送、非wifi网络不加载图片
#screenShots
.all
@q = Ticket.ransack(params[:q])
@tickets = @q.result.includes(:client, :user, :comments).page(params[:page])
... | 014a535002f9ec84eb5de2e96d6732247b84933c | [
"Ruby"
] | 14 | Ruby | richardmaycode/Bifrost | 7844e9a58b4b56bcfc7bc68db0bd54e133482920 | 4909858c7b53d0b58985d5b58eadd6f16ff844ea |
refs/heads/main | <file_sep>// EmailServer.cpp : This file contains the 'main' function. Program execution begins and ends there.
// Create an EmailServer
/*
Should handle multiple emails per username
Ability to handle multiple user requests at the same time (i.e. 10 users request their emails on a certain date)
Just store ... | 66e306ea4cc60f2e81502dc15560a03dc708d6b3 | [
"Markdown",
"C++"
] | 4 | C++ | mpro34/Concurrency | 95c5d9c185738b4066f8f0d92fc6b59dd2ac8539 | 028d2b039d6666413840a2d361b49739d70af84b |
refs/heads/master | <repo_name>Dimildizio/inventory_pyg_old<file_sep>/README.md
# inventory_pyg_old
Requires pygame
old inventory menu for an rpg-like game in python.
<file_sep>/inventory_containers.py
#'hi'
import pygame as pg
import sys
from random import randint, choice
WIDTH = 840
HEIGHT = 480
WHITE = (255,255,255)
INV_TILE ... | 183542812b1ce58d2c8be2a681dfe2f927afe040 | [
"Markdown",
"Python"
] | 2 | Markdown | Dimildizio/inventory_pyg_old | dfdf3c98ad31a78788e20364780084794888a1af | b43c3d765d0c51fd4a3003bfe00ee378f7b36db4 |
refs/heads/master | <file_sep>import pandas as pd
import geopandas as gpd
import numpy as np
import matplotlib.pyplot as plt
import shapely
from libpysal.weights import Queen
import pointpats
import pointpats.centrography
from cartoframes.auth import set_default_credentials
from cartoframes.data import Dataset
set_default_credentials('e... | 40444e212f80427876b8e3db168249d0b201a0e7 | [
"Python"
] | 2 | Python | Juliopdata/data-science-book | 9459273de3bb7b440b137c4add29a9ff2d5c57ee | d290ec187b758bcc8b80f692da3f4c3592e29352 |
refs/heads/main | <file_sep>'use strict';
//notes constructor function
// 1.New {} is created
// 2.function is called , this = {}
// 3.{} is linked to a prototype - ( creates .__proto__ property and sets its value to the prototype property of the constructor function that is being called )
// 4. function automatically returns the {}
c... | ba89182361fea8f39f0bb81e9f9cf9af3da9e57b | [
"JavaScript"
] | 1 | JavaScript | life-code-joy/oop-js-practice-jonus | 9a8bc17cbd7909d1af6ec4f992b5f7b4da3c5cae | b1e5a1f64d3ee1843cfed067257308abf9923a7f |
refs/heads/master | <file_sep>var regent = {
util: require('./util'),
generator: require('./generator'),
regexp: require('./regexp')
};
module.exports = regent;<file_sep>var regent = require('../');
var $ = regent.generator;
// equal ^[a-zA-Z]{5}$
var wordGen = $.times($.one($.range('a', 'z'), $.range('A', 'Z')), 4);
var words = ... | 710945db6dc1129bde0004bbd6abe7f7e1face1e | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | KOBA789/regent | e6725ab6385d31a3de62a090f231c2f2555524d3 | f80da7628ce0ec6ec8e9d3e1618bd95d224491de |
refs/heads/master | <file_sep>/*
* This code encrypts input data using the Rijndael (AES) cipher. The
* key length is hard-coded to 128 key bits; this number may be changed
* by redefining a constant near the start of the file.
*
* This program uses CTR mode encryption.
*
* Usage: encrypt <key1> <key2> <file name>
*
* Author: <N... | dd99ab5fafae278d447ee44a4f45aca8872a1ad7 | [
"C",
"Makefile"
] | 4 | C | omargaber/Crypto-File-System | e3aff64a82c4b5b5f1ed7608297e026d558f6644 | c561c2971f821068c75d0d16f4e5b8b4cc9cf919 |
refs/heads/master | <file_sep>package com.varun.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.ser... | c13e7bdae260c9714cebe6f7a2b7c4303bda667a | [
"Java"
] | 2 | Java | varunbelekar/SpringMvcMaven | 493728e8cf344de8d4ce5fb20d2d7711d2f3ba55 | e057f5e818952ff2d4cbf3ba94b9424736ac06df |
refs/heads/main | <repo_name>aj686/Raspberry-Pi-4-with-servo-motor<file_sep>/servo.py
#import libs
import RPi.GPIO as GPIO
import time
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)
GPIO.setup(40,GPIO.OUT)
#Initiakize PWM
servo = GPIO.PWM(40,50)
servo.start(0)
while True:
print("0")
servo.ChangeDutyCycle(2.5)
tim... | 55568498778716cd2d2d9481745d2fadcee0802d | [
"Markdown",
"Python"
] | 2 | Python | aj686/Raspberry-Pi-4-with-servo-motor | b5aae0660b4aa9f6d9588ac28c786a191a0cd37b | ce195c015df3117a4c79a2ca0c9859b9b094a1d8 |
refs/heads/master | <repo_name>plus2dot/signoxemedia<file_sep>/notification_manager/apps.py
# -*- coding: utf-8 -*-
from django.apps import AppConfig
class NotificationManagerConfig(AppConfig):
name = 'notification_manager'
<file_sep>/client_manager/migrations/0005_client_app_build_channel.py
# -*- coding: utf-8 -*-
# Generated by D... | 32a80583a9cc6104f3d55a8b817ee9caad973bc6 | [
"Python",
"Dockerfile",
"reStructuredText",
"INI"
] | 68 | Python | plus2dot/signoxemedia | 7821a680f3d81898f3e1751359c18e826c132fe5 | c5f5b14b8035192b7095f8f11b36c3cfb2c591cc |
refs/heads/master | <file_sep>#!/usr/bin/python3
# coding: utf-8
import websocket
import threading
import traceback
from time import sleep
import json
import logging
class BitflyerJSON_RPC:
MAX_LIMIT_LEN = 1000
'''
#
# symbolに購読する通貨セットを指定してください
# 'BTC_JPY','FX_BTC_JPY','ETH_BTC', or futures
# recconect: エラー... | 1de789c1cef7aa8a1780f56483feb185b6e79ae2 | [
"Python",
"reStructuredText"
] | 3 | Python | satogiwa/py_bitflyer_jsonrpc | c1dfe36a887c97cc9c5779e81a7039d9b723a53c | cdcaecba19f5a03aff16fb12aef040583a621643 |
refs/heads/master | <repo_name>adin234/kumusta<file_sep>/sa.sh
#!/usr/bin/env bash
php -f send_alerts.php
| a47c7a0f363498df2d87be1079ed8a1f285547c6 | [
"Shell"
] | 1 | Shell | adin234/kumusta | 703f9e93a9899a6a274b723b35019cdb0ccf438d | 7297c72d7141203bc719e0644b9ad6c72ceb3fa7 |
refs/heads/main | <file_sep>import React from 'react';
import {useFormik} from "formik";
import classes from './FormMessage.module.scss'
import classNames from 'classnames'
import FormInput from "./FormInput/FormInput";
import {stringCutter} from "../../../utils/stringCutter";
import UploadComponent from "./UploadComponent/UploadCompone... | 37cc8f239b0378155d43cea2debc304436a023f7 | [
"JavaScript"
] | 9 | JavaScript | Algoritm211/message-sender | 0a6c9fd669211eb133f819ae21cf9f9462e2cdff | 2ed1e215f846555260ee10713dfecfba6004ddb6 |
refs/heads/master | <repo_name>ppaushya/Suman-Rav-159819<file_sep>/Day5/AnotherClass.java
package org.balance;
import balance.Account;
public class AnotherClass {
public static void main(String[] args) {
Account a= new Account();
a.displayBalance();
}
}
<file_sep>/Day4/CaptalizeString.java
import java.util.... | db9ac43154173025aa84237a137d8b716b531f4e | [
"Markdown",
"Java"
] | 11 | Java | ppaushya/Suman-Rav-159819 | 3ea78bbe885097499d107fdc5ad4c3b901324ea3 | 26819b0fb2ddc8ab56eabadda5161b066088ca07 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.