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 | <repo_name>rachelober/PSYU612<file_sep>/app/controllers/page_controller.rb
class PageController < ApplicationController
layout 'standard'
def index
if request.get?
if logged_in?
flash.now[:notice] = 'You have successfully logged off.'
end
logout
elsif request.post?
userid = ... | b35c93e1d20878ca250d3f224ccc6c9a5973505f | [
"Ruby"
] | 7 | Ruby | rachelober/PSYU612 | a99f189ac91246995b9bb2716f86c653f7a58860 | 8ef7a6bccebf934de1a240dbc56e32447525e3b7 |
refs/heads/master | <file_sep>'''
Created on Mar 18, 2015
@author: Wschive
'''
import MySQLdb
import ast
from data.App import App
from _ast import TryExcept
import json
def connect():
connect.db = MySQLdb.connect(host="", # your host, usually localhost
user="", # your username
passwd="", # ... | 586a300cace0cb97b2c963a27a8c17f299d61007 | [
"Markdown",
"Python"
] | 8 | Python | SHood55/Rec | 265f48a48228e1f0a43b1ece48833e5395263b0b | ff4cf598cffa44b0b96fdb0b9b60755eb7a9b716 |
refs/heads/master | <repo_name>SteveUXC/XUTransition<file_sep>/README.md
# XUTransition
转场动画收集,文章底部附有参考的博客
<file_sep>/XUTrasition/XUTrasition/MainTableViewController.swift
//
// MainTableViewController.swift
// XUTrasition
//
// Created by CNCOMMDATA on 2017/5/19.
// Copyright © 2017年 轩慧闯. All rights reserved.
//
import UIKit
class ... | b75180985fe3e8d2153c4549992aa6134fba963c | [
"Markdown",
"Swift"
] | 2 | Markdown | SteveUXC/XUTransition | 54120a7456480e01f9dd910836226ef974e57443 | b1b3be106fc91b9c1180d13dc8713b041b329803 |
refs/heads/master | <file_sep># ScreenShotView
Android实现屏幕截图的空间,可以对图片进行涂鸦、画圈,可将修改图片保存到本地
对涂鸦可以进行撤销操作
1. 项目添加依赖:
project/build.gradle中添加:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
project/app/build.gradle中添加:
... | c2f439c9413726d0d2c2d850c1b067a9e5f8e0e3 | [
"Markdown",
"Java"
] | 2 | Markdown | dcn01/ScreenShotView | df60ccea4a0deeeb8aacae3f44c3ef7bafa45855 | 7dca053a1b813a9cbd2745e4e4023504f84c983d |
refs/heads/master | <repo_name>CMorooney/SpyTag2<file_sep>/SpyTag2.0/MainActivity.cs
using System;
using Android.App;
using Android.Support.V4.App;
using Android.Content.PM;
using Android.Widget;
using Android.OS;
using Color = Android.Graphics.Color;
using Int = Java.Lang.Integer;
namespace SpyTag2
{
[Activity (Label = "SpyTag", MainL... | 801edc624fb8cd77365a5700449666100bf63c7b | [
"C#"
] | 3 | C# | CMorooney/SpyTag2 | fe4249711fda2ef6fb88b65d92d6e2d339c520d3 | d5a2ab828fc7af40d44d9f3018a43d16fdc27759 |
refs/heads/main | <file_sep>let travelers = [
{
"id": 15,
"name": "<NAME>",
"travelerType": "relaxer"
},
{
"id": 26,
"name": "<NAME>",
"travelerType": "thrill-seeker"
},
{
"id": 13,
"name": "<NAME>",
"travelerType": "shopper"
},
{
"id": 43,
"name": "<NAME>",
"travelerType": "... | 1426d967a192749e13fc887a112c36e813dd5a8f | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | sarahlane8/Travel-Tracker | c5f577a10af4a9742cca88cbbdac69619f42ebd2 | 8c464fa73db1fa03fdf02fed766d749daf063b6a |
refs/heads/master | <file_sep>#ifndef MASHINE_H
#define MASHINE_H
class mashine
{
public:
mashine();
~mashine();
};
#endif // MASHINE_H
<file_sep>#include "mashine.h"
mashine::mashine()
{
}
mashine::~mashine()
{
}
<file_sep>#include "mainwindow.h"
#include <QApplication>
#include <QtCore>
#includ... | 36e198a9690db732a26da9e994e81fbfcd08252b | [
"C++"
] | 3 | C++ | lexgolubev/MashineLearining1 | 5e2a8b96149c957c1ed4ff35636eb686da03da14 | 9a8492e97f52b9d9a3df98a395d85a169c0f4392 |
refs/heads/master | <file_sep>const fn get_flatc_name() -> &'static str {
#[cfg(target_os = "windows")]
return "flatc.exe";
#[cfg(target_os = "macos")]
return "flatc_osx";
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
return "flatc_linux";
}
fn main() {
let mut path = std::env::current_dir().unw... | 3d135869a53a1b68614ffd3e127b19711d225528 | [
"TOML",
"Rust"
] | 8 | Rust | Perlmint/flatbuffers-build | 87409744fbd89c4142be92cc270dbd2c0948f60a | 3c647f3e08c6020a2cfb38d9d462be21508d0fd3 |
refs/heads/master | <repo_name>gnlin/faceRecFW<file_sep>/Sources/fisherldautils.cpp
/* Modified version of Fisher LDA Alogrithm, <NAME> */
#include "fisherldautils.h"
#include "pcautils.h"
void fisher_lda_utils::flda_transfer(std::vector<cv::Mat> &pca_feature_list,
std::vector<cv::Mat> &flda_feature_l... | ae5f7fe223592e97e7f12551d75a465a23b12528 | [
"Markdown",
"C++"
] | 3 | C++ | gnlin/faceRecFW | bc1c1ce7e75f2f987b8f3d5b137256b896a87135 | 2d94a18acf7d803a40d23fdc779a1c52137ac7ba |
refs/heads/master | <repo_name>Kanakku/Sistemas-Operativos-I<file_sep>/nbproject/private/private.properties
compile.on.save=true
user.properties.file=/home/byron/.netbeans/8.2/build.properties
<file_sep>/src/cliente/servidor/Server.java
package cliente.servidor;
import UI_CliSer.*;
import java.net.*;
import java.io.*;
... | 5997fbaf2eb37dc0c94a1212d21a74edb25e3a52 | [
"Java",
"INI"
] | 3 | INI | Kanakku/Sistemas-Operativos-I | ceabaf758fda62034af262b19f56d59ddbc50923 | 21263a6353ed250f06e8a1ba72fc04a39b0e4701 |
refs/heads/main | <repo_name>MinhPhu1999/tlcn_mern<file_sep>/api/routers/cart.router.js
const cart_controller = require('../controllers/cart.controller');
const auth = require('../utils/auth');
module.exports = app => {
app.route('/cart/:id_user').get(auth.authLogin, cart_controller.getCart);
app.route('/cart/get/all').get(cart... | 3f4ee74e906ba4c0c368ea50e32cd5185ca9628f | [
"JavaScript"
] | 34 | JavaScript | MinhPhu1999/tlcn_mern | d8759debfc9604dc49bd95c160dc877411c384a4 | df1d318b4b4185f32c214f13fc45fe6f64cab3df |
refs/heads/master | <repo_name>osu361/OSU_Calculator<file_sep>/setup.py
from setuptools import setup, find_packages
setup(
name='OSU_Calculator',
version='1.0',
packages=find_packages(),
url='https://github.com/osu361/OSU_Calculator',
license='',
author='team32',
author_email='',
description='Computer Scie... | 9168dd29e5a5f78efe7d00001e0491e2aa4e7b28 | [
"Markdown",
"Python"
] | 3 | Python | osu361/OSU_Calculator | ead927a4558bc85014e39d6aa51854800bc50061 | ba7cfc9bbcb356d1850f3b6e66d36e6e9c78dcd3 |
refs/heads/master | <repo_name>khizaear/payapp<file_sep>/README.md
SandGlass
=========
<file_sep>/routes/index.js
var express = require('express');
var router = express.Router();
var httpreq = require('httpreq');
var services=require('./services');
var MongoClient = require('mongodb').MongoClient;
var process=require('process')
/* GET hom... | d72f3d24ef2e69412e6ee304cdc62630e0dd9beb | [
"Markdown",
"JavaScript"
] | 3 | Markdown | khizaear/payapp | 9103b03be18d41978e84073acafe64c4367519fd | 1912f5e9f755f58cece4e5ecdee450a89357f1b7 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
int main(int argc, char *argv[]) {
int status;
pid_t pid = fork();
/* Ignore signals from keyboard */
signal(SIGINT, SIG_IGN);
signal(SIGTSTP, SIG_IGN);
signal(SIGQUIT, SI... | e6c0f88fbc58d5e0322a2d26000135e9de291c1e | [
"CMake",
"JavaScript",
"Markdown",
"C",
"Shell"
] | 8 | C | alien-sh/alien | 6e7cc4d7e169677b7cd43fe6f8f7bb3bb888c5eb | 6209b833775998cdfd92bf7a0ab2af2af1948130 |
refs/heads/master | <file_sep>package com.yunjian.activity;
import java.util.List;
import com.umeng.analytics.MobclickAgent;
import com.yunjian.connection.HttpUtils.EHttpError;
import com.yunjian.fragment.SearchResultFragment;
import com.yunjian.service.BookService;
import com.yunjian.service.OnQueryCompleteListener;
import com.yunjian.... | b71c3e3737ed21f5f6edbbc2b0ea82fe7808e348 | [
"Markdown",
"Java",
"INI"
] | 10 | Java | Trisaa/OldBookMarket | ce37044380b18feebba9a405ad0bb010154b85a3 | 28749bde7c53c2e18352bfbad077891a60df0c24 |
refs/heads/main | <repo_name>pinjanos/str-frontend-kepesito-vizsga<file_sep>/JS-task/task02-dom/dom.js
function changeOuterLinks() {
const navLinks = document.querySelectorAll('nav#link-list a');
navLinks.forEach( element => {
if (element.innerHTML.includes('outer-link')) {
element.setAttribute('target', '_bl... | 2ed54bcc71809517efbe9300b44ef2c0a8914608 | [
"JavaScript"
] | 1 | JavaScript | pinjanos/str-frontend-kepesito-vizsga | 6db9169edff5996938b7fd4c6d825c42dcf79fed | 93d40803ac7edfd3316dca694f76ab01becf1e7d |
refs/heads/master | <repo_name>Antoineboulou/ECS<file_sep>/Assets/Testing.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Entities;
using Unity.Transforms;
using Unity.Collections;
using Unity.Rendering;
public class Testing : MonoBehaviour
{
[SerializeField] private Mesh mesh;
[Ser... | a587422a95d911187d7404eca83dc5b453b1159c | [
"C#"
] | 2 | C# | Antoineboulou/ECS | 9bb08ced1ab3cb77b54d701db1785f6e26ec059c | ba6c8ed89de2e9d2c36fa702144e68e26592837c |
refs/heads/master | <repo_name>dpkg9510/UnloadDaemons<file_sep>/unloadapd/DEBIAN/prerm
#!/bin/bash
echo removing the script.
rm -r /etc/rc.d/unloadApd
echo Removing the script
echo REMOVED SUCCESSFULLY
exit 0<file_sep>/unloadvsd/DEBIAN/postinst
#!/bin/bash
echo Installing the script.
mkdir -p /etc/rc.d && echo "launchctl unload /... | 6d701c99cab3b303bac8618a4aff84d67a4fd325 | [
"Shell"
] | 7 | Shell | dpkg9510/UnloadDaemons | a37c7551d78a35dda0223476719cd360584f25c5 | 8ee7100ec4653fc6b5a0aa6ab585d398fabd5659 |
refs/heads/master | <file_sep>def bloques(A):
A_bloques = []
inicio = -1
def_inicio=False
for i in range(0, len(A)):
if A[i] == 1 and def_inicio==False:
inicio = i
def_inicio=True
if A[i] == 0 and inicio != -1:
fin = i - 1
A_bloques.append((inicio, fin))
... | 822d1e77bb18fdc9a0e0601ac6b1e0252e65795b | [
"Python"
] | 1 | Python | AloWarrior2000/ADA-Proyecto1 | a65477a6298dd4e4d6d9d2b4687d980257a1c9c2 | 505b24bbc63450646db76cf5c22ccdd86c649bc9 |
refs/heads/main | <repo_name>nehal19/SeleniumPractice<file_sep>/src/main/java/com/selenium/Scenario6.java
package com.selenium;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
public class Scenario6 {
@Test(dataProvider = "credentials")
public void checkCredentials(String username, String password)... | 97a898b07fa26464fde598a216a08e8e1f11c35b | [
"Java",
"INI"
] | 4 | Java | nehal19/SeleniumPractice | dcb66892377d122ac47d7979f915904bc193dd60 | 6d7e9e7f471df8c4c23eaba8c8e414b8badf8ab7 |
refs/heads/master | <repo_name>kadireker/customerList<file_sep>/src/main/webapp/resources/js/scripts.js
$(document)
.ready(
function() {
$("#btnAddCustomer").click(function() {
var Person = {
name : $('#first_name').val(),
surname : $('#last_name').val(),
phone : $('#phone').val(),
capt... | 241747bc15ddb261f770153dbd99fa2e2306c06d | [
"JavaScript",
"Java",
"Markdown"
] | 4 | JavaScript | kadireker/customerList | d8665d3aab0b2269de899989352dbb6114b317d2 | c5246c185a50466e0ca8c9131e8515eb7e81f296 |
refs/heads/master | <repo_name>abdo2017/php-quiz-app<file_sep>/inc/toasts.php
<?php
$correctToasts=[
"That was correct, great job!",
"Awesome work, that was right!",
"Nice, you got that correct!"
];
$wrongToasts=[
"Oh no! That was incorrect",
"Rats! That wasn't quite right",
"Oops! Wrong answer"
];
function getCorrectToast(... | 974419e0fcb147a88cb4c8f19585884935d7b6f6 | [
"PHP"
] | 4 | PHP | abdo2017/php-quiz-app | e149d34ce575406ad8939cbd81fb614259a9c5a1 | 8d5eacad5738d6d8e9e1e22ba4f455460b5bc563 |
refs/heads/master | <file_sep>package com.example.maneerat002
import android.graphics.drawable.Drawable
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Toast
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
overri... | e8d56e6f053bbd5359b7f0a16539c1cd01e631d0 | [
"Kotlin",
"Gradle"
] | 2 | Kotlin | maneerat002/Maneerat2 | e9369a89f1393f2257fafc2fb9e92fcbc1db3776 | c18efa520443cc8b27f170955a5f9190fc10fced |
refs/heads/master | <file_sep>package com.company;
public class Do {
public static void main(String[] args) {
int i = 0;
do {
System.out.println(i);
i++;
} while (i < 10);
// this is a little different
// a do-while loop always executes at least one time
// i = 4... | fb71e00c05334c879df5700d5e23e0074f3860ac | [
"Java"
] | 1 | Java | pdmxdd/loops | f16a53d9daa5c4e3413e046e625c33b060c434ba | 74c6a72a2b8cb8f18e0b1dc05a31b90d2f28ec9e |
refs/heads/master | <file_sep>package com.techpro.javapractice;
//Program to print numbers from 1 to 10 in a single row with one tab space
public class NumbersInSingleRow {
public static void main(String args[]){
for(int i=1; i<=10; i++){
System.out.print( i + "\t");
}
}
}
<file_sep>package com.techpr... | bca8c558c6d8aa6d07f70cb2c4cc27a17d61ca77 | [
"Java"
] | 12 | Java | svrm1014/JavaProgrammingSession | 4ad3c6aa6f48ab428dce20c905a35ce28ae1dda6 | d8c9a1bcd45aae7c682ab0e3a2f6fd3428c14b76 |
refs/heads/master | <repo_name>Eirik-Nicolai/thread_testimg<file_sep>/src/main.rs
use std::sync::mpsc;
use std::thread;
use std::time::Duration;
fn main() {
let (tx, rx) = mpsc::channel();
let tx2 = tx.clone();
thread::spawn( move || {
let vals = [
String::from("hi"),
String::from("from"... | edabfbf6cc898bd5470cfe73229bae7a8c2e0c02 | [
"Rust"
] | 1 | Rust | Eirik-Nicolai/thread_testimg | 5afab3a5a09fd90f01138513cdc02083b15339d4 | 2f5ea0b5f6ce10db4f4480d1cdb6035383199836 |
refs/heads/master | <repo_name>HunterCharlesHewitt/Crouts-Algorithm<file_sep>/machine5.py
import matplotlib.pyplot as plt
import numpy as np
import math
def crouts_alg(mid_diag,top_diag,bottom_diag,solution,n):
x = []
for i in range(0,n):
x.append(0)
lower = []
upper = []
lower_i1 = [0]
z = []
... | 26d75a1facf8c301c4177ef53c6277712b45e77c | [
"Python"
] | 1 | Python | HunterCharlesHewitt/Crouts-Algorithm | 39a094c3468d944c4bf97f1f6fd6aeb553d85164 | 72ec863388b581eccb9e000594eb255c46690228 |
refs/heads/master | <repo_name>wtachau/IOU<file_sep>/iou.py
class User:
# state represents the board, next piece to be played, and other relevant info
def __init__(self, user_id, friends, tickets):
self.user_id = user_id
self.friends = friends
self.tickets = tickets
def get_balance(self):
balance = 0
for ... | 4f54103ae7140626c522c0d7469af0e836fda893 | [
"Python"
] | 4 | Python | wtachau/IOU | fc0ac98f47e9f2680bb3158d341eaed2ab2ca4eb | 78162d1a7fa12d8d0b1a50a49cd366fe82ce7cc3 |
refs/heads/master | <file_sep>interface Edicion {
editorial: string;
fecha: number;
}
class LibroBasico implements Edicion {
public id: number | string;
public editorial;
public fecha;
public autor: string;
public titulo: string;
constructor(autor, titulo) {
this.autor = autor;
this.titulo ... | fff2e9cc7703196059ed8ae7381982e5fb2a8ffa | [
"JavaScript",
"TypeScript"
] | 3 | TypeScript | Alce-Angular-Courses/curso-kc | 2be778cbe17c30b1a20946956bedd800183805bd | 4cea48ec8c72592b3856f8ec821471c0a7c5f8b6 |
refs/heads/master | <file_sep>
$(function(){
//js 호출시 바로 시작될 영역
user.init();
});
//DB연동시 삭제
var users = [];
var currentTime = new Date();
users.push({
email : '1',
password : '1',
name : '1',
job : '1',
joinDate : currentTime,
updateDate : currentTime
});
users.push({
email : '2',
password : '2',
name : '2',
job :... | 3fe3dc9ed5dce16d826ff7851473ecfc2365e91e | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | tykim89/jquery-study | 63b544505347e48f86dcfa46003daa69fd24d172 | 5d139110da5d62d16f1f0023dae1ffd8f8b2cbaa |
refs/heads/master | <repo_name>softwaregravy/sns_endpoint<file_sep>/lib/sns_endpoint.rb
require "rubygems"
require 'bundler/setup'
require "sns_endpoint/version"
require 'sinatra'
require 'json'
require 'message'
module SnsEndpoint
class << self
attr_accessor :topics_list, :subscribe_proc, :message_proc
end
def self.setup... | c5ef34e1fbf1d1a8f93ad0064fb88c25eea59510 | [
"Markdown",
"Ruby"
] | 2 | Ruby | softwaregravy/sns_endpoint | e4795b71f5f32cff8decff3a3ae660f1523c204c | 8cb7c758b3833002c426e1655965bd4bd4988a9f |
refs/heads/master | <file_sep>---
title: "03-EJ-manipulacion"
output: html_document
---
En esta sección trabajaremos con el paquete dplyr para modificar datos. Usaremos los el dataset decisiones Perú.
Los cargamos en este bloque de código
```{r}
library(tidyverse)
decisiones <- read_csv("data/decisiones_asilo_peru.csv")
```
## Tu tur... | b50b9f34805090b7d8db81880490329b7d76a51e | [
"Markdown",
"R",
"RMarkdown"
] | 21 | RMarkdown | IM-Peru/Cursos_R | 2b5a0b765f3a98c80db406e7113cd8a32f24d211 | 86f738c6e15ee16b56973c04466b1795f0896913 |
refs/heads/master | <file_sep>var app= angular.module("myShoppingList",[]);
app.controller("myCtrl",function($scope){
$scope.products=["Milk","Bread","Cheese"];
$scope.addItem=function(){
$scope.errortext="";
if(!$scope.addMe){return;}
if($scope.products.indexOf($scope.addMe)== -1){
$scope.prod... | 0910cd096f81463e59811f69007046246fa3aa02 | [
"JavaScript"
] | 1 | JavaScript | alexwillchill/info3180-lab6 | d4c93fca98bf4c6d9551b614c0284ce8c6b83aa7 | 579b72f8ad3ebcd49f746ee63992c5474ac23398 |
refs/heads/master | <file_sep>{
"allowCache": true,
"mediaSequence": 0,
"segments": [
{
"duration": 10,
"uri": "00001.ts"
},
{
"duration": 10,
"uri": "00002.ts"
}
],
"targetDuration": 10
}
<file_sep>{
"allowCache": true,
"mediaSequence": 0,
"segments": [
{
"duration": 10,
... | 637b8d66457319d870f57a09cee55b9fb6466cb3 | [
"JavaScript",
"Markdown"
] | 15 | JavaScript | tedconf/videojs-contrib-hls | dc135fdf3241118c75e47a3096101f6cb735500e | d88a6678138529f1bcf73a680e570227d4002332 |
refs/heads/master | <file_sep>from __future__ import print_function
try:
import json
except ImportError:
from django.utils import simplejson as json
from django.core.management.base import BaseCommand
try:
from django.db.models import loading
except ImportError:
from django.apps import apps as loading
from django.core.se... | 63ee370aa8d1db4728a0ac0daa2a509c51bd32a6 | [
"Python"
] | 2 | Python | pmaccamp/django-fixture-magic | 8bccfdd6d9cd2d741739d21de9a7d59dbf12a82a | bfc07aaf44535f7318e0dcaee793608a726a61ec |
refs/heads/main | <file_sep>import React from 'react';
import { shallow } from 'enzyme';
import GiftCard from "./GiftCard";
import Button from '@material-ui/core/Button';
import { Link } from 'react-router-dom';
describe("Landing Page Test", () => {
it("should load GiftCard Component", () => {
let wrapper = shallow(<GiftCa... | 97dcc0b93431671879f1a04745bd9ab483651939 | [
"JavaScript",
"Markdown"
] | 23 | JavaScript | prajcharde/React-training-Project-2021 | 77ebc5ad4557c2399adf54e1bce83248207b3e6b | 17178f730db23328184fc1ec9f747fb11424160f |
refs/heads/master | <repo_name>Aklil/PlayingField<file_sep>/PlayingField-ejb/src/main/java/com/distributedapplication/OrderFacadeLocal.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 com.di... | 7959d650ea36a1bb48ded9495d7d7b193b8e433d | [
"JavaScript",
"Java"
] | 3 | Java | Aklil/PlayingField | 38b459eaff7298747d0ded9a71fa447606afb772 | 337dfede3d074fe1c45d7d4d51914b998accec7f |
refs/heads/master | <file_sep>06026111 PRACTICAL NoSQL DATABASE (1/2019) Project
ใช้ PHP ในการควบคุมฐานข้อมูล MongoDB
<file_sep><html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https:/... | 1859a16e2f96853880aced777cd8a8c57783a5a1 | [
"Markdown",
"PHP"
] | 2 | Markdown | SophonWongyai/PND_Project | bfdeb5d677d835154f57241b8e48390ba7fdd608 | 9bcf9bd9369a870e48149db1d325c3d3ea7a4b8d |
refs/heads/master | <repo_name>gbzan/sim-xrf<file_sep>/python/snr/__init__.py
__author__ = "Yue"
__all__ = ["snr"]<file_sep>/Include/global.hpp
/* global.hpp */
#ifndef GLOABAL_HPP
#define GLOABAL_HPP
extern vector<double> ev_xrf, y_xrf;
#endif<file_sep>/python/__init__.py
__author__ = 'Yue'
__all__ = ["pyapi"]
path = __path__[0]
libpat... | 8d7badb0e1570af621026096eb6f328ac9ca5eff | [
"Markdown",
"Python",
"Makefile",
"C++"
] | 42 | Python | gbzan/sim-xrf | e0009b969551e5a03c3b14e4d02153be234b7ca5 | 7e817de8092166866930e0ade71f3f3136392e8d |
refs/heads/master | <repo_name>GameTechDev/D3D12VariableRateShading<file_sep>/src/SimpleCamera.h
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPR... | 928ee5d07a79fc30e3fa24a5f8f6a798ab55d722 | [
"Markdown",
"C++",
"INI"
] | 9 | C++ | GameTechDev/D3D12VariableRateShading | c8d498b3c0eefa29274de278571021b6abefca33 | e11f3483542b43751de22c000338558a720ab488 |
refs/heads/master | <repo_name>HyoukSunKwon/WEB<file_sep>/MovieSearch/script.js
// ajax
var xhr = new XMLHttpRequest();
window.addEventListener("load", function(){
var movieurl = "https://api.themoviedb.org/3/movie/now_playing?api_key=<KEY>&language=en-US&page=1";
xhr.open("GET", movieurl);
xhr.send();
xhr.addEventListener("r... | 8eb4ff6c4f717a202aedc444ded5f04144f24051 | [
"JavaScript"
] | 2 | JavaScript | HyoukSunKwon/WEB | 1b079eaad7a674e5521757bcd3c7fd3950ee02a3 | 5362dc69d008709cda120c8300714c5f43308289 |
refs/heads/main | <file_sep>import './App.css';
import Header from "./components/Header";
import Main from "./components/Main";
import {BrowserRouter as Router, Route, Switch} from "react-router-dom";
import { Helmet } from "react-helmet";
function App() {
return (
<div className="App">
<Router>
<Switch>
<... | 61c16ef88e309824386f0f4cb3abf440df14b40b | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | daanworks/sx-homework | 3a53465131f8f44e4f3786b1510f05d55587040b | fa291f2433f987e4934f34a59d958ad8bd7c6ef5 |
refs/heads/master | <repo_name>VickyMutai/chat-app<file_sep>/README.md
# Chat App api
### Prerequisites
###### Requirements
Python 3.6.3
### Installing
Create virtual
- python3.6 -m venv virtual
Activate virtual
- source/bin/activate
#### Install all the requirements
- pip install -r requirements.txt
#### Databases
for postgresql u... | 88de8d292508fb8db0097a9aba8f9222d4de884b | [
"Markdown",
"Python"
] | 4 | Markdown | VickyMutai/chat-app | e30201e93e42e334f20708463447c5cc8df51fb8 | 07e8b0b460a74f2a4163824737532f117892def4 |
refs/heads/master | <repo_name>Granitosaurus/matchtick.com<file_sep>/ggmtgg/__init__.py
from flask import Flask
from flask_redis import FlaskRedis
from flask_limiter import Limiter
from flask_limiter.util import get_remote_address
app = Flask(__name__)
app.config.from_pyfile('config.py')
redis = FlaskRedis(app, decode_responses=True)
lim... | c500f0de300edcf87ac79f7c097802328510a68f | [
"Python"
] | 5 | Python | Granitosaurus/matchtick.com | e29a9668406d80115b611d189c6a0a0bbd6002a6 | 4e3684df19b0ef61e1f2f9a946b0d22c0da9f5c0 |
refs/heads/master | <file_sep>using System;
using System.ComponentModel.Design;
using System.Runtime.InteropServices;
namespace Deliverable_2
{
class Program
{
static void Main(string[] args)
{
string name = "";
int activityChoice = 0;
string youShouldGo = "";
int ... | 872f8fd59afdbfc4245e0facc38f55fd974c8597 | [
"C#"
] | 1 | C# | Lamarcross22/GrandCircus | 7a7a014906ed86ffb3a07ee2c53c8ac7d0302722 | 181332617b19f3fdba6e013ea12bb78a06b5970f |
refs/heads/master | <file_sep># RandomView
仿网易星球悬浮效果,随机位置不重叠

<file_sep>package com.yuyan.randomview;
public interface OnRemoveListener {
void remove(RandomView randomView);
}
<file_sep>package com.yuyan.randomview;
import android... | 4ae7561fe1acf5eb2cece0ead8da4a8c33cbe80b | [
"Markdown",
"Java"
] | 3 | Markdown | 2038920059/RandomView | d6011a0aed883ae5344d4ffe26f70e05b1ff0a84 | a6b41b56faf93dbfc52ced15647eb6c47703f2fd |
refs/heads/main | <file_sep># programming-task-plg
ProgrammingTask plugin generates a nice popup with some informative text to Joomla 4 users.
<file_sep><?php
/**
* @author <NAME>
* @version 1.0.0
*/
defined('_JEXEC') or die;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\CMS\Language\Text;
/**
* ProgrammingTask Plugin.
*/
class... | 113d3e755297f3f620dff60dccdb0de4668fd8f0 | [
"Markdown",
"PHP"
] | 2 | Markdown | mahmoudahmedd/programming-task-plg | 35b987a5b1da651a76cb3a5d829f28759686e72d | cea05a1529c0e0ddfe98943887786862be20a0bf |
refs/heads/master | <file_sep># Copyright 2019 DeepMind Technologies Ltd. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | 2535ae0f25f391ff73f34eba4651b2ddcfcd2202 | [
"Python"
] | 9 | Python | xujing1994/open_spiel | 7663a2717f16ff84c0d6a6bfdf19a9c21b37b765 | cb6ebec107fb5a10d3ffd769f96e0da82c3dc561 |
refs/heads/master | <file_sep>import gql from "graphql-tag";
const GET_ORGANIZATION_INFO = gql`
query organization($login: String!)
{
organization(login: $login) {
id
name
location
login
avatarUrl
url,
description
}
}
`;
expo... | 3e0f7e43160bc37d03922bebbafa859ff0487ca6 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | NiyazUrazaev/GithubClient | 9f34b16a264c0413d3cecda32175056bc1eb3ff1 | e2ebc6b16d6a946c13c5d1adb1fe9f1ba8276c28 |
refs/heads/master | <repo_name>vthiery/vscode-prettify-selected-json<file_sep>/src/JsonPrettifier.ts
'use strict';
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';
// Prettify function
function prettify(textEditor... | 3556076e9069dd9a3715d55fb1aa1edd8d1e248d | [
"Markdown",
"TypeScript"
] | 4 | TypeScript | vthiery/vscode-prettify-selected-json | 1aadcfc31dcb7f5dfaa198260987b015d93efb44 | 474abf76d201f9fce934846879db1746237a8303 |
refs/heads/master | <file_sep>let _ = {};
_.clamp = (number, lower, upper) => {
let clamped = Math.max(number, lower)
clamped = Math.min(clamped, upper)
return clamped;
}
_.inRange = (number, start, end) => {
if(end == null){
end = start;
start = 0;
}
if (start > end) {
let temp = start;
start = end;
... | fbf24055dc70f9bc00e13853d88cdf12879c4a8d | [
"JavaScript"
] | 1 | JavaScript | hobbitronics/lodash | 3d4e5e4b8a121d7fb7cb89520898b180bbe4ab36 | ffdb4b0666f03f3b84bd861deaa1ec743cfa6698 |
refs/heads/master | <file_sep>import tornado.ioloop
import tornado.web
import tornado.log
import os
import boto3
client = boto3.client(
'ses',
region_name="us-east-1",
aws_access_key_id=os.environ.get('AWS_ACCESS_KEY'),
aws_secret_access_key=os.environ.get('AWS_SECRET_KEY')
)
from jinja2 import \
Environment, PackageLoader, s... | 0d18ae7b46fc12c2948990b43f0eaff8c4a1b9d8 | [
"Python"
] | 1 | Python | scm2nycotx/tornado-exercise | b5296ba1d63cb7c1d71ea67e856ec4f30db5bc6c | 57e741ea7472ade242bbc5e6dc0c23f34cea6a35 |
refs/heads/master | <repo_name>tranthaibinh111/MySqlToSqlServer<file_sep>/controllers/__init__.py
from .excel_controller import ExcelController
from .category_controller import CategoryController
from .in_out_product_variable_controller import InOutProductVariableController
from .product_controller import ProductController
from .product_i... | 92d87e118f7dd341955095669ea019f972d9d769 | [
"Python"
] | 20 | Python | tranthaibinh111/MySqlToSqlServer | e7185891ac01c340f15b13e4ec064da0cce1b71d | 9d068daf29e301b99c33d40a7c2b8d7f26288243 |
refs/heads/master | <repo_name>gotoeveryone/timoney<file_sep>/app/controllers/app.go
package controllers
import (
"timoney/app/forms"
"timoney/app/models"
"github.com/revel/revel"
)
// App 共通コントローラ
type App struct {
*revel.Controller
models.Transactional
}
// Index 初期表示
func (c App) Index() revel.Result {
form := forms.LoginForm... | f26c6463fadcc27899331f50f92c3dc9c8704aa9 | [
"Markdown",
"Go",
"HTML"
] | 8 | Go | gotoeveryone/timoney | 520073052169dda4e0eb08d0aa622814316f1cb6 | bb1ff1720249700d6f088cda411a6558320fbac9 |
refs/heads/master | <file_sep># yuekao
4月份月考
<file_sep>require(['main'],function(){
require(['mui'],function(mui){
click();
function click(){
var button=document.querySelector('button');
mui('section').on('tap','button',function(){
//获取数据
var fen=document.querySelector('.fen');
var lis=[...fen.querySelectorAll('inp... | e11a38f1ffc40cac42dffdab87e7286292e364b4 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | wyx2351881773/yuekao | e6e9d494610f3a466b83daa13d5db5a8363eea52 | 007b9000ec32d5933c3fce9900cd9bf8741ff6de |
refs/heads/master | <repo_name>foonpcf/django-nextpage<file_sep>/README.rst
===============
Django NextPage
===============
django-nextpage is modified from django-pagination, but only previous and next page is provided.
Installation
============
Add `nextpage` to `INSTALLED_APPS`, like:
INSTALLED_APPS = (
# ...
'ne... | 47102e79120d2a0d3e5e8824053d572990cb23cf | [
"Python",
"reStructuredText"
] | 2 | reStructuredText | foonpcf/django-nextpage | 62d70ca03d57d7e1b07ae524f82149154ae53fa3 | a1540ef8cca7725e98bd7e3b962a7f63bcd50776 |
refs/heads/master | <repo_name>chankei613/ajsai_official_blog_theme<file_sep>/page.php
<?php
// ヘッダーを取得
get_header();
// コンテンツを取得
if(have_posts()): while(have_posts()): the_post();
the_content();
endwhile; endif; wp_reset_postdata();
// フッターを取得
get_footer();
?><file_sep>/sidebar.php
<aside class="l-sidebar">
<?php dynamic_sidebar( 's... | de9729808ee38b11fdc8e0dfe2674f6a569fd04c | [
"Markdown",
"PHP"
] | 9 | PHP | chankei613/ajsai_official_blog_theme | cd117140189f2cbbf8ec1387919a3f797859a0e7 | af8e945e0794a634a75b54f1c3cac28bcc37e99b |
refs/heads/master | <repo_name>TomasHansson/MediaIntegrator<file_sep>/Laboration4/Form1.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Linq;
namespace Laboration4
{
public partial class MainForm : Form
{
public MainForm... | 6037620ab9a04f24c65a3016cbc9d1bef90c7988 | [
"Markdown",
"C#"
] | 2 | C# | TomasHansson/MediaIntegrator | cfa963cd2656b1d586afc60e0359307f3eead2f2 | abdc6d7e538245a8fb8210bd65b4e453af6e07f2 |
refs/heads/master | <repo_name>TomKauffeld/NES-Emulator<file_sep>/Emulator.core/src/emulator/car/core/Cartridge.h
#ifndef __EMULATOR_CAR_CORE_CARTRIDGE_H__
#define __EMULATOR_CAR_CORE_CARTRIDGE_H__
#include "CartridgeHeader.h"
#include <emulator/car/core/cartridge.h>
#include <emulator/car/mappers/mapperProvider.h>
#include <emulator/car/... | 04b550ce452d85eb29fa42dbbf73037ecf507df8 | [
"C"
] | 43 | C | TomKauffeld/NES-Emulator | bc4a1b73d3177c391f24ff696318311e3e4af6f9 | 15f0de15274b9b64455426f0736934b235d3cc3c |
refs/heads/master | <file_sep>// LOG_LEVELS
// { error: 0, warn: 1, info: 2, verbose: 3, debug: 4, silly: 5 };
require('./lib/heartbeat');
module.exports = require('./lib/logger')();
<file_sep>const winston = require('winston');
const logger = require('./winston');
const graylog = require('winston-tcp-graylog');
if (!process.env.GRAYLOG_... | 62752d6a6243494124764c01c086e40c24cccf0f | [
"JavaScript"
] | 4 | JavaScript | webus/nodejs-boot | cd2cd8a8b2e5986663ec9d0694526f25a5cee0b9 | 45515ceae73c5d51983b28e7872a2a133492f10f |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/**
* @Author: <NAME>
* @StudentNumber: 300847239
* @DateCreated: June, 06,2016
* @DateReleased: June, 17,2016
* @Description: This program tests the GiantPlanet and TerrestrialPlanet clas... | 6505d7dd275c31f3e880e1f6b4438f6e6c9f9d58 | [
"C#"
] | 5 | C# | HKobe/Comp123-Assignment3 | 51fc8886227d12ab60ddb4275711b90d4abfa792 | a241b748c0da0d8f7efc0807af85a23a6da2bfea |
refs/heads/master | <file_sep>import React, { useState } from "react";
import ReactDOM from "react-dom";
import generate from "interjection-js";
import { AwesomeButton } from "react-awesome-button";
import "react-awesome-button/dist/styles.css";
import "./styles.css";
function App() {
const [interjection, setInterjection] = useState("... | 26953a5cbbd6471bea1e254642dcf96b646057cd | [
"JavaScript"
] | 1 | JavaScript | dimitrisraptis96/interjection-js-demo | df73261d979cbc8d90f3e59b483c361b0a1bf24c | 5176593a540c23a4493a095f96be45cc83f436a7 |
refs/heads/master | <repo_name>LaurieJS/WIA<file_sep>/FollowAlongFiles/jQuery/1-Starting/js/Fade.js
$(function() {
$("#fadeout").click(function(){
$("#theDiv").fadeOut("normal");
});//end of the fadeout click function
$("#fadein").click(function(){
$("#theDiv").fadeIn("normal");
});
$("#fadeto3").click(... | 0531b5011ecdc43e802147a4f45fb2ca9f02da85 | [
"JavaScript"
] | 14 | JavaScript | LaurieJS/WIA | 51aa000915d4d4d770ce1e3e488f080351f6a728 | f91cdf55244466f6e1fa5dbd27b16cc1c8026031 |
refs/heads/master | <file_sep>from django.shortcuts import render
from rest_framework import status
from rest_framework.decorators import api_view
from rest_framework.response import Response
from backend.models import Taskinfo
from backend.serializers import TaskinfoSerializer,UserSerializier
from rest_framework.renderers import JSONRend... | 147976b64e47b9e9d0f7e8e0e03895c5e73df229 | [
"Python"
] | 4 | Python | Absalom-Silwal/todo_backend | 88de70ed26da72003c8164884e006257d2a3a60f | d9a6b8037780c6b0b136e2a3891e41a714edbef5 |
refs/heads/master | <repo_name>LukasGlader/Calendar<file_sep>/date/julian.cpp
#include "julian.h"
#define IGREG (15+31L*(10+12L*1582))
namespace lab2{
Julian::Julian():Gregorian()
{
}
Julian::Julian(const Date& d)
{
julian_day_number = d.julian_day();
}
Julian::Julian(int jdn)
{
julian_day_number = jdn;
}
Julian::Julian(int year, ... | beb18573a713fb9c07e44ae5ff0993693f27179b | [
"Makefile",
"C++"
] | 22 | C++ | LukasGlader/Calendar | e2830399a79e331fde188716040cf716260ad174 | 8e881267644bb78ae650703166953aa25f34f9b0 |
refs/heads/master | <file_sep>package com.example.todo;
public class Tabla {
public static String TABLA_TODO="todo";
public static String CAMPO_NAME="nombre";
public static String CAMPO_DATE="fecha";
public static String CAMPO_COMPLETE="completado";
public static final String CREAR_TABLA_TODO = "CREATE TABLE "+TABL... | 4d0e6bb11062c04292c793a82850e8bfe6d6a59f | [
"Java"
] | 2 | Java | Nefarious94/Examen2 | ca0223e016f458cdf46fba49a9f95f2294a67088 | af81ebfb0147251b22b5669d339c6b4d20a8b5a9 |
refs/heads/master | <repo_name>DimuthuMadushan/EpiDataFuseUI<file_sep>/src/components/createPipeline.js
import React from 'react';
import { Checkbox } from '@material-ui/core';
import Radio from '@material-ui/core/Radio';
import RadioGroup from '@material-ui/core/RadioGroup';
import FormControlLabel from '@material-ui/core/FormControlLabe... | 0e410646a45e769e16a2f9a4b3c419d59d9a3126 | [
"JavaScript"
] | 4 | JavaScript | DimuthuMadushan/EpiDataFuseUI | 9fd8729f007cd772b39ab1432b8eb3f5172c4c32 | d7136312377339865d5c1d08d02e81fcd92e5490 |
refs/heads/main | <repo_name>junyao-d/jr-project-one-react<file_sep>/src/components/Header/components/Navbar/components/Item/Item.jsx
import React from "react";
import "./Item.css";
const Item = ({ href, name }) => (
<a className="item" href={href}>
{name}
</a>
);
export default Item;
<file_sep>/src/components/Header... | 6729c2fa4f7373bf7c268ce61d3e4b3023f6fa69 | [
"JavaScript"
] | 4 | JavaScript | junyao-d/jr-project-one-react | 1a233383a270671ca4fe94fafafab9a8f3dc85ef | 53205378f93cd424f617103193468f60d90eb4d5 |
refs/heads/master | <repo_name>popshia/PokemonBST<file_sep>/PokemonBST/main.cpp
// 10627130 林冠良 & 10627131 李峻瑋 // CodeBlocks 17.12
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <cstdlib>
#include <iomanip>
#include <algorith... | 1f5c65c704b6eec2895d92a837ae576cf287e778 | [
"C++"
] | 1 | C++ | popshia/PokemonBST | 48dbb53659828e68850e9fba15fd44130442f7be | 57876b310d455c985020326ea760b5a280a601ec |
refs/heads/master | <repo_name>jloriag/java-db<file_sep>/src/main/java/sql.sql
-- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Servidor: localhost
-- Tiempo de generación: 20-10-2017 a las 12:45:57
-- Versión del servidor: 10.1.25-MariaDB
-- Versión de PHP: 5.6.31
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET A... | 6d09bbb072f654cd9e2410a2dfd8912485934620 | [
"SQL"
] | 1 | SQL | jloriag/java-db | b644898c825843b154e9d5d6975ccad3fb0cb0bb | 853d28a86c059222327a8d66c796c13646f6a2cc |
refs/heads/main | <repo_name>yms60006/sixfours<file_sep>/README.md
# sixfours
* hello
* world<file_sep>/inwoox-trekker_youtubecrawler-c7e8169ccf93/YoutubeCrawler/YoutubeCrawler/Form1.cs
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnosti... | 4c2548c92186e7962107ea05c4c60dcd7cb091bc | [
"Markdown",
"C#"
] | 2 | Markdown | yms60006/sixfours | 949a582b39c3bc910582ac95f5acbc4d8d15408b | 1ad84f5f561f3bc981a76b43d4674453b6424b7b |
refs/heads/main | <repo_name>JaiberS/holbertonschool-interview<file_sep>/0x01-insert_in_sorted_linked_list/0-insert_number.c
#include "lists.h"
/**
* insert_node - adds a new node at a listint_t list.
* @n: new data
* @head: first node
*
* Return: the address of the new element, or NULL if it failed
*/
listint_t *insert_node(lis... | 19317a2fc1c94551c28c9f33b58324646f544cbf | [
"Markdown",
"C",
"Python"
] | 4 | C | JaiberS/holbertonschool-interview | faceabd6126fe7f3b617f48b4c5c8b15c29a8710 | 31f82ec17cd28590670c046ee0d2e14f1e53cda3 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
import requests
from bs4 import BeautifulSoup
import lxml
import os.path
import time
import re
from operator import itemgetter
import json
# main url
url = 'https://avito.ru/'
# some http params
user_agent = {'user_agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, l... | 60820600e579bb2951b66e0d2b7b38267bdd08b5 | [
"Python"
] | 2 | Python | m3xan1k/avito_parser | 6065004c80cbd99cd9593e20c85252fd476db37b | fd798c81b5f42c0ccaf4db8792ccd8c734efe1f8 |
refs/heads/main | <file_sep># orders
Generate the Order Number and fetch the order numbers
| 79a3c2fd51707e20816d661b77ad03e8d984e0ee | [
"Markdown"
] | 1 | Markdown | sunilkalyan08/orders | c35f03b465b4071b65586124b459d4ddec9613ff | 3dde41682d51db74e314b356d42732c8fd242fc1 |
refs/heads/master | <file_sep>using Microsoft.EntityFrameworkCore;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Training.Models
{
public class Product
... | b0c6efd18f64b7400b4de7a1476eb5d5ca636f0d | [
"SQL",
"Ruby",
"Markdown",
"C#",
"Shell"
] | 6 | C# | rozeroze/dotnet-core-mvc | 64acbc5176678cd6af54e7061af6d4807f478fa1 | 4118808b3c9f950a7e8771186559533237eabcc3 |
refs/heads/master | <repo_name>MoLu10086/aaa<file_sep>/aaa/src/main/java/A.java
/**
* @Author:MoLu.
* @Date:2019/6/8
* @Time:20:32
**/
public class A {
public static void main(String[] args) {
System.out.println("hello,world...");
System.out.println("hello,world....");
System.out.println("hello,world.....")... | b66156d1c4a896a695f51eb33d7f84e53bc8e205 | [
"Java"
] | 1 | Java | MoLu10086/aaa | 1c7e4705f2b494dba19d9b1629a074d7ffb85142 | 6e961435a73566b1a2fe2f5fd351d84beb3c1b8f |
refs/heads/master | <repo_name>MartinAronsen/storm<file_sep>/hooks/Db.php
//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) {
exit;
}
class storm_hook_Db extends _HOOK_CLASS_
{
protected $start = null;
protected $final = null;
protected $curre... | 85f2c1c97f66b57a5e10a5a844618c2ac77456a6 | [
"JavaScript",
"PHP"
] | 52 | PHP | MartinAronsen/storm | b820e56b1823e0ea7be900b206766db7700be4e0 | 021a35c729e07234f2e803d17b7bd94b9880f7a8 |
refs/heads/master | <file_sep>//引入events模块
var events = require("events");
//创建事件处理程序
var eventEmitter = new events.EventEmitter();
//创建事件处理程序
var connectHandler = function connected() {
console.log("链接成功");
//触发data_received 事件
eventEmitter.emit("data_receive")
}
//绑定connection事件
eventEmitter.on('connection',connectHandler);
//使用... | 67fca6164504547fedf04b8469d2def5de84a8b4 | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | hairichuhe/nodeguide | 67b3dbdd6a0acd4c9d8be4ff5e61a1e719fe1276 | cbe6982ae75e15208e2e9cdd60286f310f76eb53 |
refs/heads/master | <file_sep># mean-stack-reading-list
Proof of concept to create a personal Reading List using MEAN Stack, Gulp
<file_sep>readingItemsApp.controller('readingItemsCtrl', function($rootScope, $scope, readingItemsFactory) {
$scope.readingItems = [];
$scope.isEditable = [];
// get all readingItems on Load
reading... | 390fca026605f488f056ab7ec2441f461195bb12 | [
"Markdown",
"JSON",
"JavaScript"
] | 4 | Markdown | krishnavteja/mean-stack-reading-list | 2e7acbed7b4ee73aa9fce3c0875035476bbbdb5f | 8df56f9ac2b90e254d79c7cce5a7df38febfb3a3 |
refs/heads/master | <file_sep>package passphrase
//go:generate go run generate.go
import (
"bytes"
"crypto/rand"
"io"
"math/big"
"sync"
)
// MaxWorkerCount sets the concurrency limit for random number generation.
var MaxWorkerCount = 128
var wordsCount = int64(len(Words))
type result struct {
Number int64
Error error
}
func ... | dd1d33558a81e1023223ea851749a007313b496c | [
"Markdown",
"Makefile",
"Go",
"Go Module",
"Dockerfile",
"Shell"
] | 23 | Go | blueimp/passphrase | f4e42b62b824d5680100f6d360914bd948ee8657 | 8cbe3cb6186cad018047211d30574bac003d0f45 |
refs/heads/master | <file_sep>/*
* 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 personmanager.bll;
import java.util.ArrayList;
import java.util.List;
import personmanage... | 0ea23bc50f1cbe48a8cec299e914f9e488429574 | [
"Java"
] | 1 | Java | Spatzek/Personmanager | 810663c0fef15678628f39b4020a121d7e9cb4ff | 999f6b1323ab74e841c9dce2e284fc3f13dd3d6d |
refs/heads/master | <repo_name>herpiko/kelasglib-mean-stack-II-angularjs<file_sep>/src/exercise_3/app.js
var app = angular.module('App', ['ui.router'])
.config(function($stateProvider){
$stateProvider
.state('Main', {
url : '/main',
templateProvider : function($templateCache) {
return $templateCache.get('main.html');
... | 3451335570dec843e72f333424ed73adb96f6c91 | [
"JavaScript"
] | 3 | JavaScript | herpiko/kelasglib-mean-stack-II-angularjs | 6f0ad50af2434f4ffbdc26e9454bfe5d5fbe9270 | a4b5158fcc769671bae1cebb09486417b41e5e97 |
refs/heads/master | <file_sep>from django.urls import path
from . import views
app_name = "lib"
urlpatterns = [
path("", views.index, name="index"),
# path(
# 'books/',
# BooksListView.as_view(),
# name='books-list'
# ),
# path(
# 'books/<int:pk>/',
# BookDetailView.as_view(),
... | df21c4cc521b011378e98aaa348f3f4d5252a3e2 | [
"Python",
"Text"
] | 3 | Python | QueVege/library | 386371635498de4b5f3394d84e14e86e6d349786 | 7103a0c4d42baadbd415f42d6efd7dc9cff72312 |
refs/heads/master | <repo_name>kasia948/Zad-10.1-zadanie-java-38<file_sep>/src/ArrayTest.java
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;
public class ArrayTest {
public static void main(String[] args) throws IOException {
System.out... | 4f54946990dc6e3397128a6a604c40f3a995c50c | [
"Java"
] | 1 | Java | kasia948/Zad-10.1-zadanie-java-38 | c1be8e1f5abb9119dc86db0b282e03e0407b82c6 | e4c4621d23d7c9ca61dca5d4b446d061fe7df06c |
refs/heads/master | <file_sep>
This file, public/javascripts/asset.js, should be rendered
taking precedence over app/views/javascripts/asset.js.erb
<file_sep>require File.dirname(__FILE__) + '/../spec_helper'
describe ImagesController do
before do
add_fixture_views(ImagesController)
end
describe "when a matching file is found ... | c1ed5aa98bbf5543a8d1ad25486776ccb33b76a0 | [
"JavaScript",
"RDoc",
"Ruby"
] | 13 | JavaScript | pivotalexperimental/desert_assets | e35e21d807ab1a8f9bf396203244419ed6dbe19a | 9806855fa3479d402b3cb462de9af5121accf28b |
refs/heads/master | <repo_name>CheeryW/team-project-team24<file_sep>/app/src/test/java/com/cse110team24/walkwalkrevolution/StatsOnAnyRouteUnitTest.java
package com.cse110team24.walkwalkrevolution;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.view.View;
import androi... | 6f5c694a876c3728c809d7c47baf53cc58c2d75b | [
"Markdown",
"Java",
"JavaScript",
"HTML"
] | 54 | Java | CheeryW/team-project-team24 | eb6ed30c13c145c7c571aacaeea2978aadb19db5 | 05cc2323c61093cb5a551392e0f8252ed470247b |
refs/heads/master | <repo_name>MiSeWang/taotao-parent<file_sep>/taotao-manager/taotao-manager-web/src/main/java/com/mrlv/taotao/controller/IndexController.java
package com.mrlv.taotao.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.b... | 67ecbbf1e88597a39bd1d807d100a75067f898cb | [
"Java"
] | 18 | Java | MiSeWang/taotao-parent | 3b3b82286a104aacc0cfde53ec21ee3c6f867df7 | ef2ccda4eb49175bd82f7706f6ce45bfcc9b3c4f |
refs/heads/main | <repo_name>sophiemichaud/Array-Manipulation<file_sep>/README.md
# Array-Manipulation
Program that manipulates the rows and columns of an array
<file_sep>/array_manipulation.c
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "array_manipulation.h"
int main(int argc, char *argv[]){
//creates a double_... | 6a1649f249628f9512fc35659834826a313a6a18 | [
"Markdown",
"C",
"Makefile"
] | 3 | Markdown | sophiemichaud/Array-Manipulation | 072b0f480c03a60ef08cc831767408238004f3e3 | 0d60e1224bb76cb7d97e3a454ed9b588ab758b7c |
refs/heads/master | <file_sep>#! -*- coding: utf8 -*-
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from trytond.pool import *
from trytond.model import ModelView, ModelSQL, fields
from trytond.pyson import Eval
from trytond.pyson import Id
f... | f450b023fc95bf044ecbd5d9012126ab845d2d0b | [
"Python"
] | 3 | Python | fabyc/nodux_product_price_list_by_product | 27afbfc08c0f783d5316ce2d8fc784f738c07b86 | 8508a8e0c7cec025880c37e8acd0f7f603139ade |
refs/heads/main | <repo_name>onsissond/Stories<file_sep>/Stories/Core/Services/NotificationService/NotificationProvider.swift
//
// Created by onsissond.
//
import RxSwift
import UserNotifications
private let _storyIdentifierPrefix = "Story Notification"
struct NotificationProvider {
var setupNotification: ([Story]) -> Single<Se... | 03fb4f86fc8defa0194e0566dccc141da1097980 | [
"Swift",
"Markdown"
] | 44 | Swift | onsissond/Stories | 4d2e95495e02efe0f96ba60fcc4f93c0d8fbe5f4 | 71b35f87bd3d2e8bfd0071b60f3a9d86fd1032ae |
refs/heads/master | <file_sep>app.controller('MainPageController', ['$scope','PhotosService', function($scope, photosService) {
var vm = this;
vm.title = 'AngularJS Exercises';
vm.selectedAlbum = -1;
vm.albums = [];
vm.photos = [];
vm.number = 1234.567;
vm.albumClick = function(albumId) {
photosServi... | b7de44260ca61d37def4335b7f33206fe84d4925 | [
"JavaScript"
] | 5 | JavaScript | radoslawmarek/angular-exercises | 77fef8217fe5e07d90e7f77ff45fe9525fabc22c | b041667d5e5eed5f566c8b5b69533460cbdc2f78 |
refs/heads/master | <file_sep>// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MetricReader.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ---------------------------------------... | 88d225e547092a5069ef29c46204520d8991fb67 | [
"Markdown",
"C#"
] | 175 | C# | clovertrail/metrics-monitor | 8dc09779204a462492166c44c872d5759cf885e4 | d458ade29db17144f2edf9bcedb2b825fe944738 |
refs/heads/master | <repo_name>yijunjun/moduse<file_sep>/README.md
# moduse
go mod use
<file_sep>/go.mod
module mod
require github.com/yijunjun/modtest v1.0.0
<file_sep>/main.go
package main
import (
"fmt"
"github.com/yijunjun/modtest"
)
func main() {
fmt.Println(modtest.Hi("yijunjun"))
} | 0aeb662808682e114f695997a7c0e0d77c043ff6 | [
"Markdown",
"Go Module",
"Go"
] | 3 | Markdown | yijunjun/moduse | f3ec0783ae830afc62a55472dc93825507dcf035 | d7592d7093fb8feb1ea09b01f3dcc08fdbc933bb |
refs/heads/master | <repo_name>easter0731/Bioconductor<file_sep>/Bioconductor.R
# Function to check bioconductor packages
installpkg <- function(pkg){
if(!require(pkg,character.only=T)){
source("http://bioconductor.org/biocLite.R")
biocLite(pkg)
}
require(pkg,character.only=T)
}
ins... | 7ceb14f5e792e0947ff522520fbc84d90aac5f8a | [
"R"
] | 3 | R | easter0731/Bioconductor | b9f0085b2ba5d257d47cec4be436a1350acc7c56 | 7781c3aca2acf47b4fd4cbf903521b544c59769b |
refs/heads/master | <file_sep>package com.example.tinylove.Database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class MyDataBaseHelper extends SQLiteOpenHelper{
public MyDataBaseHelper(Context context, String name, int version) {
super(contex... | ac00bc7516be04773ea01f0ce29863abec3e7f89 | [
"Java"
] | 18 | Java | jid1311644/TinyLove | 6905c4dcb339d82a9902196fc3fa08edb15d6309 | 76e3631a52f843136f59d7268c9af2185ee81a4b |
refs/heads/master | <file_sep>import React from 'react';
import { Platform, StyleSheet, Text, View } from 'react-native';
import MapView from 'react-native-maps';
import { Marker } from 'react-native-maps';
import * as Location from 'expo-location';
import * as Permissions from 'expo-permissions';
export default class App extends React.C... | 6c38fbe0ad9f434fb2dee3ce63283e6725c1f13f | [
"JavaScript"
] | 1 | JavaScript | cdoussine/rn-finding-nemo | 242b204c6b837a31a3498acfcacc35528823a133 | 0b46ef5ee0e59b1f541a88217f7ad84aff7767a9 |
refs/heads/master | <file_sep>import { ClientEvents } from "discord.js";
export type DiscordEvent = keyof ClientEvents;
<file_sep>import {
MetadataStorage,
DiscordEvent
} from "..";
export function Once(event: DiscordEvent);
export function Once(event: string);
export function Once(event: DiscordEvent) {
return (target: Object, ke... | 4c54290734211f6798b5963b51c5a7fb7cc219a7 | [
"Markdown",
"TypeScript"
] | 33 | TypeScript | phen0menon/discord.ts | cbff07cae1e794851e55d07bb6cb7dca2bfac593 | 36596b8b2a8cc80b11297494c677e7366547a528 |
refs/heads/master | <file_sep>package andar.tower.defense.model;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Vector;
import andar.tower.defense.GameContext;
import andar.tower.defense.parser.Group;
import andar.tower.defense.parser.Material;
public class Model implements Serializable {
// positio... | e1aa320b766f118cd391f2180ee9668632e32d6b | [
"Java"
] | 4 | Java | AkshayPramoth/andar-tower-defense | 1353538aaa1c6b6fdffeb7d39cf295f88e69fa17 | 8402daf06daad8e4ce12129fd845479bd839d759 |
refs/heads/master | <file_sep>a = int(input("enter number1: "))
b = int(input("enter number2: "))
if a == b:
print("true")
else a + b <file_sep>#Write a program to convert binary number to Decimal number
num = int(input("Enter binary number: "))
a = 0
i = 0
#print("decimal representation of ",n,end=" is ")
while (n!=0):
rem =int(n... | 599be43741089a8d0470619e4d0081f50ee08355 | [
"Python"
] | 34 | Python | Ayesha116/official.assigment | a45bbc6fe5080b00d28748512517db1ca065be5e | 8bc0b1a5580b8835b545d90d0ac75ac8db5eb88e |
refs/heads/master | <file_sep>package edu.rosehulman.moviequotes
import android.content.Context
import android.content.DialogInterface
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.appcompat.app.AlertDialog
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.dialog_add... | f022334831a3b23fe779e327ce756d9e0b9051eb | [
"Markdown",
"Kotlin"
] | 3 | Kotlin | AndroidKotlinCourseMaterial/MovieQuotesDAOSolution | a1dc66ccc1aeb77c11aa4663ca8c1d114a686824 | 2a180a588175d45b5c6d16d785d98cf946bdb3a2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.