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>aiwonipalema99/rpc<file_sep>/rpc-server/src/main/java/com/chenxj/server/RpcServer.java
/**
* Zentech-Inc
* Copyright (C) 2017 All Rights Reserved.
*/
package com.chenxj.server;
import com.chenxj.common.RpcDecoder;
import com.chenxj.common.RpcEncoder;
import com.chenxj.common.RpcRequest;
import com.chenx... | 3eabffd510a9e87fc16130ed36c3a26dc06bf571 | [
"Java",
"Maven POM",
"INI"
] | 9 | Java | aiwonipalema99/rpc | 9a5a4bc64aa464a802788c8e5d852e84b450a2a0 | f1c4f24e787470a96ab831c0fcfddd54a6a6e73b |
refs/heads/master | <repo_name>AsamQi/httpd3<file_sep>/src/util/wsx_string.c
//
// Created by root on 4/3/16.
//
#include "wsx_string.h"
#include "../memop/manage.h"
#include <assert.h>
#include <limits.h>
#define WSX_STR_CAP_DEFAULT 32
static inline boolen expand_size(String * self);
static inline boolen Str_isempty_(Strin... | b40f284f9d71562cb807fda18a8f7edf3e5e8981 | [
"C",
"CMake"
] | 5 | C | AsamQi/httpd3 | 37576e6434b26a2ea25a0ff7e8e1e80275bbbda9 | cdfd73241062c9a73859d1f6155aec5c1b124a6f |
refs/heads/master | <file_sep>include ':app', ':hyyxshapesourcelibrary'
<file_sep>
hyyxShapeView for Android
============================
依赖
--------------------
## Android Studio/Gradle
* JitPack.io, add jitpack.io repositiory and dependency to your build.gradle:
repositories {
maven { url "https://jitpack.io"}
... | 48ec50932f9e42dfc9067f76398417c3db64b159 | [
"Markdown",
"Java",
"Gradle"
] | 3 | Gradle | hyyx13579/hyyxShapeView | b93b0941b04450a8043b00f387e155661f2355e5 | c74da6be3d6a7e6b671e8a582e240153449dcbfd |
refs/heads/master | <repo_name>timorantasuo/travelcounter<file_sep>/user_password.php
<?php
include('session.php');
/*** first check that both the username, password and form token have been sent ***/
if(!isset( $_POST['counter_password'], $_POST['counter_password_new'], $_POST['counter_password_confirm']))
{
$mes... | 349f82b1b8c514d672ed5bd8e1755d7dcfff303a | [
"JavaScript",
"SQL",
"PHP"
] | 8 | PHP | timorantasuo/travelcounter | 8645ca06fd24a2d91e5196b9352534469610a5c4 | cd5112ab3f0f84c9193c785fa78ea807c959812f |
refs/heads/main | <repo_name>GiltinJr42/AoA-Arquitetura<file_sep>/AoA/portfolio.html
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/main.css" media="screen" />
</head>
<body>
<ul>
<li><a class="active" href=login.html>Login/Join</a></li>
<li><a href=contact.html>Contact</a></li>
<li... | b88aec8d14128cb1bdf6c4eb0f6e203c95dd42c1 | [
"HTML"
] | 1 | HTML | GiltinJr42/AoA-Arquitetura | 6b888035600b05f0e2f74ea52d5ec19882a41833 | 5eb5523c21f6c99b0326d5f7711a143ddb567c4d |
refs/heads/master | <file_sep>#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack LLC.
# 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
#
... | fb67d30b7ad6533f711987ffb8164f3bb34a5ce9 | [
"SQL",
"reStructuredText",
"Makefile",
"INI",
"Python",
"Shell"
] | 46 | Python | rcbops/glance-buildpackage | 13e52178fb25d6062db6c7fad9df122d279320ab | e8fc9a0ec69235c8b1af3fdc42a6c49b67ff6976 |
refs/heads/master | <repo_name>Paulo-Ade/ML-tutorial<file_sep>/README.md
# ML-tutorial
This repository is used to keep every of my machine learning tutorial projects..
<file_sep>/datacleaning.py
# lEARNING TO CLEAN DATA AND PREPARE IT
# importing the dataset
import numpy as np
import pandas as pd
#Importing the dataset
df = pd.re... | 419d3b54c7518d7db9fa5b534c694b6938f5b18a | [
"Markdown",
"Python"
] | 2 | Markdown | Paulo-Ade/ML-tutorial | 633848e0a2f33248512f098b1d3c2434bfaaf484 | e89425fa31df53efb61fb94140ee370964ba5b01 |
refs/heads/master | <repo_name>tychota/green-thread<file_sep>/README.md
Reading of https://cfsamson.gitbook.io/green-threads-explained-in-200-lines-of-rust/
<file_sep>/src/main.rs
#![feature(asm)]
#![feature(naked_functions)]
use std::ptr;
const DEFAULT_STACK_SIZE: usize = 1024 * 1024 * 2;
const MAX_THREADS: usize = 4;
static mut RUNTIME... | 99ddc5fe2c6a2aa760811087d40cd32a97a07344 | [
"Markdown",
"Rust"
] | 2 | Markdown | tychota/green-thread | b73ad7f0045e2e40250adaa22411d27a4af06bf7 | 503765fe4c1abcac3168b7fb25958d643d6a7881 |
refs/heads/master | <file_sep>FROM alpine:3.2
MAINTAINER <NAME> <<EMAIL>>
ENV BUILD_PACKAGES bash curl-dev ruby-dev build-base
ENV RUBY_PACKAGES ruby ruby-io-console ruby-bundler
RUN apk update && \
apk upgrade && \
apk add $BUILD_PACKAGES && \
apk add $RUBY_PACKAGES && \
rm -rf /var/cache/apk/*
RUN mkdir /usr/app
WORKD... | 1b8031032322799029ab12fb8821d89b9ef9095f | [
"Markdown",
"Ruby",
"Dockerfile"
] | 5 | Dockerfile | delisher/wheely-test | ad2c2076e2f7dd9b50ceea53eeaad1cc2a605228 | 28a9e998fc9b7b4366492ccbe7b7bd4779901c76 |
refs/heads/master | <file_sep>package com.splashid.genericLib;
public interface Constants {
String browser = "Firefox";
String url = "https://beta.splashid.com/login";
String UserName = "<EMAIL>";
String Password = "<PASSWORD>";
}
| 38e80bf2471d5e5721e7e025dd07003be554974b | [
"Java"
] | 1 | Java | testsplashid/SplashIDAutomationWeb | 85cc5c3b3d309bc7fd14266b97948ce5d1ee35bb | 25bf07b08170202eb346a00b70715ecab7f1d565 |
refs/heads/master | <file_sep>package com.thinkive.download.market;
import com.thinkive.download.util.HQBaseConfig;
import java.util.ArrayList;
import java.util.List;
/**
* 描述 : 地址管理类
* 版权 : Copyright-(c) 2017
* 公司 : Thinkive
*
* @author 王嵊俊
* @version 2017-01-20 16:55
*/
public class AddressManager {
private List<String> a... | f71a4a7fe58487597c695e7038a9b1655a39885a | [
"Java"
] | 4 | Java | DongyeBaima/HQBase | 17d62798c694f705fd2a8e479ee05a1ac2c66c00 | c84bb9c2f7ffae030a1c1ab2aeb93f68659e6482 |
refs/heads/master | <file_sep>from tkinter import * #for main menu interface
from PIL import Image, ImageTk #for main menu background
import pygame
import random
bg=pygame.image.load('bg.png')
food_image=pygame.image.load('hm.png')
game_over_img=pygame.image.load('end.bmp')
wallImage = pygame.image.load('wood.png')
#---... | b0be85e5928d7e052d4f1087d70e09ac80242442 | [
"Python"
] | 1 | Python | dinara04122001/pp2_snake_game | bdb136d33c4e2ee7b3852dfe61a3ecd9504019d7 | 94ae85ef49308365289538d5491abb150f2cfb6c |
refs/heads/master | <repo_name>pjefika/BaixaAngular<file_sep>/src/app/services/alertservice/alert.service.ts
import { Injectable } from '@angular/core';
import { ToastyComponent } from '../../utilcomponents/alertas/toasty/toasty.component';
@Injectable()
export class AlertService {
constructor(public toastyComponent: ToastyComponent... | 6f21b9f31d63ea18d78cc8f83728742b4d7e6523 | [
"TypeScript"
] | 16 | TypeScript | pjefika/BaixaAngular | e7b6ff15a7804689e75941b3dabea19e1e846484 | 492b9369783a1956c32ad498eafb96e98dd9a859 |
refs/heads/master | <repo_name>SatoshiPortal/launchbtcpay<file_sep>/run.sh
#!/bin/bash
: "${BTCPAY_HOST:=[HOSTNAME]}"
: "${NBITCOIN_NETWORK:=[NETWORK]}"
: "${LETSENCRYPT_EMAIL:=[EMAIL]}"
: "${BTCPAY_DOCKER_REPO:=[REPOSITORY]}"
: "${BTCPAY_DOCKER_REPO_BRANCH:=[BRANCH]}"
: "${BTCPAYGEN_CRYPTO1:=[CRYPTO1]}"
: "${BTCPAYGEN_CRYPTO2:=[CRYPTO2]... | 9ff3798cba85d494d53035f1aa5fbe8f791784f1 | [
"Shell"
] | 1 | Shell | SatoshiPortal/launchbtcpay | 003c95ca8fb6b275fc498d1c7b0aa6c08598d146 | fbfa71b8dee6dffb188b3bdd2bd4509f552ef820 |
refs/heads/master | <file_sep>// daily activiy 1.5 please for the love of god 1.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <string>
using namespace std;
int main()
{
string name;
string verb;
string location;
string code1 = "3";
string code2 ... | 66168194d83092000cfc1ef752f10c3b93d96ff4 | [
"C++"
] | 1 | C++ | calcbrae195/daily-activiy-1.5-please-for-the-love-of-god-1 | 47b9de86443d7e77a0ec568a0c939e10bf96b167 | ab8433ac89d0336e08c336a41610a62c1f2d5ba1 |
refs/heads/master | <repo_name>BioBoost/databases<file_sep>/index.html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<ul>
<li>
<a href="Chapter_00_Databases.html">Chapter 0 - The Databases Course</a> -
<a href="Chapter_00_Databases.html?print-pdf">PRINT VERSION</a>
... | 0b0ef47cdaf3f7764513fc774500c93469081c44 | [
"SQL",
"HTML"
] | 3 | HTML | BioBoost/databases | 7fcd132d991ea113e190eb40dde0942e9f46d639 | af0b31bf90f98bf83619c7f8389083930740d8bb |
refs/heads/master | <repo_name>kakadiadarpan/customer-management<file_sep>/client/public/src/routes.js
/*import react libs*/
import React from 'react';
import { Route, IndexRoute } from 'react-router';
/*import all the pages for routes*/
import HomePage from './pages/HomePage';
import AppRootPage from './pages/AppRootPage';
import AddCust... | cc092ee44130e7ce2cd6e2b41358ef5741c7e31d | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | kakadiadarpan/customer-management | 379c09345a38ef030e7da11d0a7e0f6675d89b32 | 5c95396ada91b315ecebaa8e8373ba1136e538e6 |
refs/heads/master | <file_sep>package br.com.platcorp.uol.domain;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.validation.constraints.NotN... | 7f747ed0f66ad13788aafb2029596ea1712e34c8 | [
"Java"
] | 7 | Java | rogeriobalestra/platcorp_uol | 1edebc4f45366ead1aa4c640559c62d3700c31fc | cc9828f5b394097ba78d57e074ed0ed0ac67800b |
refs/heads/master | <file_sep>import { Component, OnInit, OnDestroy } from '@angular/core';
import { WeatherService } from './weather.service';
import { Country } from 'src/app/models/country';
import { Region } from 'src/app/models/region';
import { FormBuilder, FormGroup, FormControl, Validators } from '@angular/forms';
import { instant... | da2f9e8264ae61c93de45bbcb0fbea38ac2f0ec0 | [
"TypeScript"
] | 5 | TypeScript | jmusku/weather-finder | 404b9e77affaf11d97e7d2c91eb238d45eb48002 | 70f6ff2b5e776f4d423d04415866f7fa2b615acf |
refs/heads/master | <file_sep>package Service;
import Controller.Controller;
import Module.Module;
public class Service {
public static void main(String[] args) {
// TODO Auto-generated method stub
Module s=new Controller();
s.Mod();
Controller s1 = new Controller();
s1.Stor();
// Controller.Controller();
}
}
| d7f165433a7c35d0252bce72cfcdd52d0de5e56d | [
"Java"
] | 1 | Java | jlg123/wuliangye | aea0edee92f731f0b6ffee393ae9b6e9485e4a2f | d8d6264385c23a9068863cf3799edb0286714929 |
refs/heads/master | <file_sep># imooc-node-js-basic<file_sep>/**
* Created by CoderDream on 2017/6/4.
*/
function pet(words) {
this.words = words;
console.log(this.words);
console.log(this === global);
// console.log(this);
}
pet('...');<file_sep>/**
* Created by CoderDream on 2017/6/4.
*/
var pet = {
words:'...'... | eee6685cffc76fbe1029438b9bf7b2ebf85e6b1d | [
"Markdown",
"JavaScript"
] | 3 | Markdown | CoderDream/imooc-node-js-basic | 7e5bc196abdb1c33fb80e305fd63e5bf441228d3 | 2abf5321c975412f7edc804f9fcb1469e5f3f581 |
refs/heads/master | <repo_name>DanielRafa0204/ct<file_sep>/Seminar 2/src/cts/Vehicul.java
package cts;
public abstract class Vehicul {
private final int MAX_INT = 9999999;
private int viteza;
private String denumire;
public Vehicul(String denumire, int viteza) {
this.denumire = denumire;
this.viteza = vit... | 8189b30b14215809e109ea811ea34b6295a7e7e8 | [
"Java"
] | 1 | Java | DanielRafa0204/ct | de620efc732eebdbc58feefe40b671cced08bfd3 | 1d56f7029e884ec20bb833e8763cf5ca89ab4445 |
refs/heads/master | <file_sep><?php
namespace Admin\Extend\AdminPuller\Extension;
use Admin\Core\ConfigExtensionProvider;
/**
* Class Config
* @package Admin\Extend\AdminPuller\Extension
*/
class Config extends ConfigExtensionProvider {
protected $scripts = [
'vendor/puller/puller.js'
];
}
| d74f318ee33f0d8eb01aec9a01992feb8b0443df | [
"PHP"
] | 1 | PHP | bfg-s/admin-puller | c3fae14e6f70d6013a9a85da46f90685f3b08c26 | b38a396f897af5a1891de2e8afc401c41c706318 |
refs/heads/master | <file_sep>var mongoose = require('mongoose');
var config = require('../../Config.js');
var Schema = mongoose.Schema;
mongoose.Promise = global.Promise;
mongoose.connect(config.dbUrl, {
useNewUrlParser: true
}, (err) => {
if (err) console.log("Error: Cannot connect to mlab")
});
var dogDescription... | 8ee267303db75751d6ef312124a727f6da2228e2 | [
"JavaScript"
] | 3 | JavaScript | RaeanneVillanueva/DogChatbot | 8af985ee97c568cb50d6f63aceef5dc4cac902aa | ed280a25bfa4a450a8a919f239457135cd764911 |
refs/heads/master | <repo_name>kominthanhtut/hawk.android<file_sep>/app/src/main/java/hawk_catcher/HawkExceptionCatcher.java
package hawk_catcher;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import org.json.JSONException;
import org.json.JSONO... | 754ca8e9621148d60a808ccc9b8cd0d6e1726f76 | [
"Markdown",
"Java"
] | 3 | Java | kominthanhtut/hawk.android | a7940fa7ec4dd7d757e302c0522b75a5d7b6b72f | 10de94efceed393f76472b95a0e735568c735698 |
refs/heads/master | <file_sep>import { observable, action } from 'mobx';
import LeftTableModel from 'app/models/LeftTableModel';
import RightTableModel from 'app/models/RightTableModel';
import _ from 'lodash';
export default class TablesStore {
constructor(left: LeftTableModel, right: RightTableModel) {
this.left = left;
this.... | 44168bfa5071b19c0bcd1023190e0e403df5f1cc | [
"TypeScript"
] | 8 | TypeScript | Greg-Bush/react-mobx-typescript-test-playing | 8842e2aa1ddf91bc95ae81b6eec1bd209f7d349c | b80f58c740d3e583acd4a2e31c2940d77c51ac52 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Tue Mar 26 14:59:14 2019
@author: ander906
"""
import base64
import io
import os
import json
import re
import dash
import dash_table
import numpy as np
import matplotlib.pyplot as plt
import skrf as rf
import plotly.graph_objs as go
import dash_core_components as dcc
i... | 404f04f0652c183e9f4b1ca9716801614ad354df | [
"Markdown",
"Python",
"Text",
"Shell"
] | 9 | Python | JAnderson419/SNaP | bb4b60814c879b93e39bdda85ca3bbd795aab15d | 3c432ed88c7237723d66009fa7095a5a6ffd6fc9 |
refs/heads/master | <file_sep>
#include "routemanger.h"
RouteManger::RouteManger()
{
inits_variables();
}
RouteManger::~RouteManger()
{
fclose(log);
}
int RouteManger::setLevel(int level)
{
current_level=level;
}
int RouteManger::inits_variables()
{
for(int l=0;l<MAX_LEVEL;l++)
{
diff... | 511aaaeef28b023f26e02fae80432fae7bf8ded2 | [
"Markdown",
"C++"
] | 4 | C++ | tpwow/FastRTD | 0c48be8b3b67aec06cac1568da24c13cca8b8756 | 306883996c6e088f4a60e7ab469d67b68e7ff3cd |
refs/heads/master | <file_sep>import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import Button from "./component/Button"
ReactDOM.render(<Button />, document.getElementById("root"));<file_sep>package com.java.test;
public class CongTy extends Building {
}
<file_sep>import React from "react";
import PropT... | 93a7e398a1ed2e8eff0190fdbb8d7fea63f41a6d | [
"JavaScript",
"Java",
"Maven POM",
"HTML"
] | 21 | JavaScript | qrv123/work | 0be520181d609ee513e7a5b28488039cfc703cf9 | 4704064dfd13e9b395387d53d59a90270ec6bdcb |
refs/heads/main | <file_sep><?php
if(isset($_GET['com'])){
$name = $_GET['com'];
$add = $_GET['add'];
$tel = $_GET['tel'];
//会社IDを取得
require "conn.php";
$mysql_qry = "select * from companies_information_1 where companies_name = '$name' AND street_address = '$add' AND tel = '$tel';";
$result = mysqli_query($conn, $mysql_qry... | 12c5f12a90d268ff07840e24c63d3712b954462f | [
"Java",
"PHP"
] | 23 | PHP | tgtaku/1029 | 79b3cbae3f80350674109a3c5443d4646cea43e6 | b60cacf069d638f025faea372c4a25d50668a0c0 |
refs/heads/master | <repo_name>yongkangchen/luvit<file_sep>/tests/test-pipe.lua
--[[
Copyright 2012 The Luvit Authors. 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/li... | 07c1eb124707f12143f75ad8bf532459bfcf8109 | [
"Lua"
] | 1 | Lua | yongkangchen/luvit | c213f5e3e43fe891b4393983828dae2758b01eac | 4fa98c4cf5532903288d251ec95703072da5df83 |
refs/heads/master | <file_sep># Nextion_Arduino_Boton
Ejemplo simple para una pantalla Nextion 400 x 240 pixeles.
El ejemplo solo pretende encender/apagar un led conectado a una placa Arduino Nano y también recibir la lectura del valor de voltaje de un potenciómetro conectado en A0.
La pantalla bajo prueba es una NX4024K032.
(Material del... | 62b1464eb948047d855d486f5a6a887c35714477 | [
"Markdown",
"C++"
] | 2 | Markdown | firtec/Nextion_Arduino_Boton | 742916e05061ddf6d1b28ae7c2af16a7d5815310 | 83374803a5919d8b6ac8d0f5fe7d331cf226fbdc |
refs/heads/master | <repo_name>aprilgom/javaps<file_sep>/baekjoon/1931/Main.java
import java.util.*;
import java.io.*;
class Conf{
public int s,e;
public Conf(int s,int e){
this.s = s;
this.e = e;
}
}
public class Main{
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStre... | f5235318ab6f472d42653d0e51f10080a0bfbbbc | [
"Java"
] | 67 | Java | aprilgom/javaps | 5c58aa534725042975d6cbfc2869f1d274d1e38a | caf8f224f36969cf2aa31c427d73789109d6390b |
refs/heads/master | <repo_name>mailup/rest-samples-csharp<file_sep>/MailUpExample/Default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Script.Serialization;
using System.Web.UI;
using System.Web.UI.WebControls;
using MailUpExample.Entity;
namespace MailUp... | 0e1459fccf15cba42a5430ac0357d2806e02e609 | [
"JavaScript",
"C#"
] | 7 | C# | mailup/rest-samples-csharp | d6815df3486856197919033e2cc045f846fd750a | 4169b9e3d32389dfaceda09341743e989710480f |
refs/heads/master | <file_sep># callme
React-Native call application.
This is Homework Practice
This app can add users in queue and author can call , message , edit and delete exist users
clone and do install npm by:
npm install && run project.
react-native run-android || run-ios
<file_sep>import React, { Component } from 'react'
im... | 9175e54d51ee77948dae30dc4da2f7e659902cca | [
"Markdown",
"JavaScript"
] | 7 | Markdown | rmsparajuli/callme | 39a348f26450aa0e2322fdd8b58b0806dffeda7a | e9b73fce8cf8a75cb57cfd232f4ede53c736d2e6 |
refs/heads/main | <repo_name>Mineversal/First-Website<file_sep>/index.php
<?php
if(!isset($_SESSION)) {
session_start();
}
require_once("admin/config.php");
if(isset($_SESSION["user"])) {
header('Location: '.$uri.'/user/');
}
if(isset($_POST['register'])){
$name = filter_input(INPUT_POST, 'name', FILTER_SANITIZE_STRING... | e49f6a2e9c4c28dc0f014480c6e58c2deb666662 | [
"PHP"
] | 14 | PHP | Mineversal/First-Website | 1850f1d2175bb80e047c1b229cf9de48604af8bc | 1c761c3fb5d39641b24090970f2fa53d808b5544 |
refs/heads/master | <repo_name>relken/i244_eksam<file_sep>/function.js
$(function() {
$(".like").click(function() {
var item_id = $(this).attr("id");
var dataString = 'item_id='+item_id;
$.ajax({
type: "POST",
url: "func.php",
data: dataString,
cache: false,
success: function(data){
$('a#'+item_id).html(data);
}
});
}... | cf17dec9140c97c11c0ae66b5349cbf050937432 | [
"JavaScript",
"PHP"
] | 3 | JavaScript | relken/i244_eksam | dd9fdc96acfd316a032a14c6a387f50f06c1bf47 | 60be60185eb11b2152d2602b0d946363c93be8b4 |
refs/heads/master | <repo_name>SBado/Tradfri<file_sep>/modules/Tradfri/components/Light.js
(function () {
'use strict';
angular.module('tradfri')
.component('smartLight', {
templateUrl: 'modules/Tradfri/components/templates/Light.html',
bindings: {
lightIndex: '<',
... | f5dbabadb28022cf4ab8eb0ec89568fd1f007b17 | [
"JavaScript",
"HTML"
] | 4 | JavaScript | SBado/Tradfri | 4062032b7f1caf7966f5abc840dac73e717fdb6d | a4e171722e277991eb0c05ab18f725f9a93da07f |
refs/heads/master | <file_sep>#!/usr/bin/env dash
g++ -lncurses -o wizardcpp wizard.cpp
<file_sep>#!/bin/dash
rdmd -w -g -gc -property -debug -unittest wizard.d
<file_sep>#include <ncurses.h>
//had trouble, blatantly copied from nanenj
int main()
{
initscr();
noecho();
raw();
nodelay(stdscr, true);
keypad(stdscr... | 856106d7dcfb6f47be03d0643d6730a7ea80c692 | [
"C++",
"Shell"
] | 3 | Shell | TeamCoding/Wizard | cdbc61001e4450ea321b8657181c52e4ffa6e6b9 | 2647cf2e4cb3c18309863fb1454fe414af092433 |
refs/heads/master | <file_sep>INSERT INTO "Usuario" VALUES (1, 8000, '<EMAIL>', 'Rodrigo');
INSERT INTO "Usuario" VALUES (2, 5500, '<EMAIL>', 'Fernando');
INSERT INTO "Usuario" VALUES (3, 4751, '<EMAIL>', 'Aninha');
INSERT INTO "Pergunta" VALUES (1, 'Como dobra um papel 12 vezes?', 'Blablabla',25,1);
INSERT INTO "Pergunta" VALUES (2, 'C... | a5f45b0ab1cdeb6768584d91d9b166f76a4b2cdc | [
"Markdown",
"SQL"
] | 3 | SQL | Marcelo5215/Minerva | 3679fa4639f8d649898cb28f9bf1c1b1d4b26721 | 2c5555e1aecd64917f55d55e5d000770e9d0bd7e |
refs/heads/master | <file_sep>import Color from 'color';
function privSetColor(key: string, val: string) {
if (window.document) {
window.document.documentElement.style.setProperty(key, val);
}
}
export function getThemeColorLight(themeColor: string, lighten: number = 0.8) {
const c = new Color(themeColor);
const themeColorLi... | 0d19b982e89fd2a038efdf421a8128009188b1ed | [
"TypeScript"
] | 1 | TypeScript | G-ChenHui/vite-concent-pro | 0d2e7dc9c283e52e6fc777ef11b135aad17ce928 | d5cdab2bdd6ee067dc583d5f97cc360bfd267e5b |
refs/heads/master | <file_sep>#!/bin/sh
export RSP_SERVICES_CSPARQL_HOME="${RSP_SERVICES_CSPARQL_HOME:-$PWD}"
if [ ! -e "$RSP_SERVICES_CSPARQL_HOME" ]
then
echo "$RSP_SERVICES_CSPARQL_HOME does not exist" 1>&2
exit 1
fi
JAR="$RSP_SERVICES_CSPARQL_HOME/rsp-services-csparql.jar"
if [ ! -e "$JAR" ]
then
echo "Can't find ja... | 5013351efd865f72e08fec3e8f8bfc51d2a0dba3 | [
"Markdown",
"Shell"
] | 2 | Shell | deib-polimi/rsp-services-csparql | 6a789be2542e0cfd0a7c79a1f78dfc5384e548d6 | 8960266b45c0b3598a08146aef28c7bc1649014f |
refs/heads/master | <file_sep>public class Car extends Vehicle{
private String type;
@Override
public String getDestination() {
return type;
}
@Override
public void setDestination(String destination) {
this.type = destination;
}
@Override
String run(){
return "The car is runni... | 9ef6c1149ef7d6b33927008a50b21454a6e13d76 | [
"Java"
] | 1 | Java | jihyunle/Vehicle | 1afa2484e7ceb094976c5531a0bba08a67c2674e | 5220d2a27f530f03fdae155bfce821559aa7ea80 |
refs/heads/master | <repo_name>rameshsyn/fcc<file_sep>/front-end/simon-game/js/index.js
'use strict';
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new Reference... | 53c638ea923331c071ef6f4f1e2f84fe4d86251f | [
"JavaScript",
"Markdown"
] | 19 | JavaScript | rameshsyn/fcc | f5c72b344e7465ccad7d1ffcaadc3434c121c171 | c5992e5d3bae7ef5af2b5dd16bdba5387e4e0b70 |
refs/heads/master | <repo_name>mikeagamcolum/cafe2<file_sep>/src/funcs.h
#ifndef FUNCS
#define FUNCS
#include <iostream>
#include <unordered_map>
class Cafe {
public:
std::string name;
std::unordered_map<std::string, double> items;
Cafe(std::string p_name) : name {p_name} {
}
void addItem(std::string p_name, doub... | 6bc1fb38d2ffc1d79159405263ceaf845ed6e38b | [
"CMake",
"C++"
] | 5 | C++ | mikeagamcolum/cafe2 | a119baf4c8fd96166023df4ba91b5316e4711485 | 5cf44cfbe01fc7ae8165dcab3b333a2f7f7506fb |
refs/heads/master | <file_sep>from scapy.all import *
import time
import argparse
# Remember to enable IP forwarding on your attacking machine.
# sudo sysctl -w net.ipv4.ip_forward=1
def get_mac(ip):
ans, _ = arping(ip)
for snt, recv in ans:
mac = recv[Ether].src
return mac
def apr_spoof(ip_to_spoof, pretend_ip... | 571ebcf06cc01309231a97a963f531f8dd90963d | [
"Markdown",
"Python",
"PHP",
"Shell"
] | 142 | Python | SV-ZeroOne/Python-Projects | 8820c346e0dde3b4023ce400cb722d08c1b4c52e | 3da0ec813e2764d5a3cd8f1d9825e698e368a84e |
refs/heads/master | <file_sep><?php
class Car
{
private $make_model;
private $price;
private $miles;
private $photo;
function __construct($make_model, $price, $miles, $photo)
{
$this->make_model = $make_model;
$this->price = $price;
$this->miles = $miles;
$this->photo = $photo;
}
fu... | c2efe3f846dce965751c4b8adb70ea69d1c4eba7 | [
"Markdown",
"PHP"
] | 2 | PHP | sammartinez/epicodus_car | ab9618768c9e775e26ad25025ce66a0abbbb83e0 | 7c0acc8628997c7346e8ed8841738527a737b26e |
refs/heads/main | <file_sep>"# 02_BOM_compare_with_TXT"
<file_sep>import pandas as pd
import numpy as np
import os, glob
from datetime import datetime
import win32com.client as win32
now = datetime.now()
current_time = now.strftime('%Y-%m-%d')
pd.set_option('display.width', 320)
pd.set_option('display.max_columns',10)
C... | e395f01a10604673a72b8f22b9f29ba22fb2fe02 | [
"Markdown",
"Python"
] | 3 | Markdown | qhdwktm363554/02_BOM_compare_with_TXT | f1690d825539949ebce29cdc8aff7b58cb7425dc | 99306193a1e8f1835b788c0e578ac9f7f7962c4f |
refs/heads/master | <file_sep># EasyCMD
[](https://poggit.pmmp.io/ci/BoxOfDevs/Functions/Functions)
<file_sep><?php
namespace EasyCMD;
use pocketmine\command\{Command, CommandSender, ConsoleCommandSender};
use pocketmine\Player;
use pocketmine\event\Listener;
us... | 20460b4fcbdd560bf23a962ef98e193b53b72c2a | [
"Markdown",
"PHP"
] | 2 | Markdown | remotevase/EasyCMD | e9c0ff8bcfc505c9f3193f5b89e136b39a0c93e1 | 6ac29c390bd013367de081f3294dfb137b04494f |
refs/heads/master | <repo_name>ftunholm/Injector-for-tibia-api-project<file_sep>/tibia_injector_project/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TibiaA... | 99060e010b3a997fa92d885800bf6dae894e989e | [
"C#"
] | 1 | C# | ftunholm/Injector-for-tibia-api-project | c8722ca0af602994b331f8661be6072ab05d49ed | 22f664858617c98066219bb54b6369a6b9d8b495 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Menu.Buttons;
using Menu.Extensions;
namespace Menu.Controllers
{
class Controller
{
ButtonControler buttonController;
public Controller()
{
buttonController = new ButtonC... | df9d7118dc10177683f88807719140895e65cc52 | [
"Markdown",
"C#"
] | 53 | C# | zaq007/TowerDefence | db532e527736e046aeaf4b20b8158877e5aae08b | 5cbf2ca56bcc913e0f196c197dfc8d6f007bdaa5 |
refs/heads/master | <file_sep>import logging
import urlparse
from google.appengine.ext import db
from google.appengine.api import users
from oauth2client.appengine import CredentialsProperty
import main
GEOLINK_BASE_URL = "http://nearbylink.appspot.com/"
GEOLINK_CODES = ["{postal_code}", "{continent}", "{latitude}", "{longitude}", "{co... | 83075e7957193d78883a413758e6adc2c6228a4a | [
"Python"
] | 7 | Python | nanek/nearbylink | 9555d66bba6cf6704bc130744bd1c1b0b32fdc8f | b31770a23dfb5099f3f007b430fa5efa66d82385 |
refs/heads/master | <file_sep>local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
vRP = Proxy.getInterface("vRP")
emP = {}
Tunnel.bindInterface("emp_lixeiro",emP)
-----------------------------------------------------------------------------------------------------------------------------------------
-- ... | 7e139e10b0194a86540c4febb18ef73cd61f3a5d | [
"Lua"
] | 1 | Lua | MariaFranca3/vrp | 7f0289536f84539c4481ac076bcbff4b5ae40704 | 768a3a1ab084da3689d17d15e722fe6065388770 |
refs/heads/main | <file_sep>from .settings import SenderSettings
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
s = SenderSettings
class SendMail:
def connect(self):
server = smtplib.SMTP_SSL(s.host, 465)
server.login(s.mail,s.password)
return server
... | c0e8fa30c2cd4452bbbcab2a317dce680072d6a6 | [
"Markdown",
"Python"
] | 4 | Python | Yasinymous/Python_MailScript | c7db0b4746e5eaa2cdacef6979d754e56aa77634 | 2bc9afa1789f6838d8d7f2cdd087d8674db4196d |
refs/heads/master | <file_sep>APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=<PASSWORD>
SEOSHOP_ENV=live
SEOSHOP_KEY=your app key goes here
SEOSHOP_SECRET=your app secret goes here
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
MAIL_DRIVER=smtp
M... | 28455d91ca22737676b746dfcef89f6fbf9f40cc | [
"Shell"
] | 1 | Shell | TimBloembergen/External-Services | 9155c999946948d815a10f44db0f6184c405e707 | 18bf9d73ba58d2d626992f85ec51f88b485ea3f2 |
refs/heads/master | <file_sep>package com.arrayutils;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class ArrayMethodsTest {
@Test
void forEach() {
ArrayMethods.<String >forEach(new String[]{"hello"}, (s) -> {
assertTrue(s == "hello");
});
}
@Test
... | 3014a2dcc4ce068854caa1a796c889b9f0eb5623 | [
"Java"
] | 2 | Java | abhilashkasula/arrayutils-java | 95349b6120fe10386a9c6a83d339eb218440a271 | 56d487218579728e569f6765b3cd8a3ed4f8123a |
refs/heads/master | <repo_name>nikhilroy2/Front_End_2020_Practice<file_sep>/README.md
## This is 2020 Front End Development Daily Practice Repository
<b> In this repository I will work: </b>
<ul>
<li> HTML </li>
<li> CSS </li>
<li> BOOTSTRAP </li>
<li> JAVASCRIPT </li>
<li> SCSS </li>
<li> JS LIBRARY </li>
</ul>
<i>
This repository re... | 1200a08bf81d5f917ff7a5765da9cd1111da2027 | [
"Markdown",
"JavaScript"
] | 11 | Markdown | nikhilroy2/Front_End_2020_Practice | 0f6344787b758ca01366931996c5ebfa7c8b37b1 | f6ee555aa139cba41a009436ab7205783b8cefd4 |
refs/heads/master | <file_sep>-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1
-- Время создания: Май 26 2020 г., 12:54
-- Версия сервера: 10.4.11-MariaDB
-- Версия PHP: 7.3.16
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET... | d4e90cbd17002ccfc14fb3eb7b0d87bd9a301404 | [
"SQL",
"PHP"
] | 25 | SQL | Bolt-Master/webdev | fef3bd7554271a3daf94bb60c44add1aa72bbe01 | 2418ae6cc448466ed4fb6163380801ba4eb7af72 |
refs/heads/master | <file_sep>/* TP #3 - Juego - Juego de preguntas y respuestas con distintas temáticas
Biondi, <NAME>
29/04/2015
*/
#include <iostream>
using namespace std;
int main()
{
cout<<"\t\t\tBIENVENIDO AL JUEGO!\n\n\n";
int op;
int puntaje=0;
string respuesta;
string eleccion;
do{
cout<... | db89249a62cbfd7557f8c5132e5d476e55ac1f85 | [
"C++"
] | 1 | C++ | rolandobiondi/AED-TP3-Juego | 6e0d0b0854f7cf04eeb6607fddb268d3cd6afb42 | d8318ab2b4657556413b42eed78811bda1bd3300 |
refs/heads/master | <file_sep># ejemplos_python
#This project is just an example for starting working with git and github
<file_sep>num1=int(input("Podrias proporcionar el primer numero: "))
num2=int(input("Podrias proporcionar el Segundo numero: "))
num3=int(input("Podrias proporcionar el tercer numero: "))
def promedio(n1, n2, n3):
pr... | 793745b2f8423879daa3aaa5d897067b272cba5e | [
"Markdown",
"Python"
] | 9 | Markdown | pedrillogdl/ejemplos_python | 08546e73812bef770a713dc032a5897726522700 | e9ce1cc62f709d3b153c0daf4b1df6dd0e438b80 |
refs/heads/master | <repo_name>juanduran2421/BasesDatos<file_sep>/index.js
let i =0;
| 4b75292f5573dc3f64320e5af6eded13afa99960 | [
"JavaScript"
] | 1 | JavaScript | juanduran2421/BasesDatos | 8738cf624745335f61b0955223e44173069c2707 | 21087944e30d97477703308c49a790f9964af6ee |
refs/heads/master | <file_sep>import request from '@/utils/request'
export function getPage(data) {
return request({
url: '/api/person/getPage',
method: 'post',
data
})
}
export function save(data) {
return request({
url: '/api/person/save',
method: 'post',
data
})
}
export function del(data) {
return ... | 709ea0fb612ad87efef64e287dd6c910ac98d40c | [
"JavaScript"
] | 3 | JavaScript | fengqilove520/familytreefont | 4b8452fce5695a467b57f277ccad30ca33929d14 | fae2823c17c794cea79714ef003f44a6bce8f90e |
refs/heads/master | <file_sep># chrome-shrug
Chrome extension that creates a context menu item to insert a shrug ascii emoticon ¯\\\_(ツ)\_/¯
# installation
Download the files, open the extension manager and add it as an unpacked extension. Easy!
# known issues
- Currently working only on inputs, textareas and tags with the "contentedita... | ba64146f768e742f1495bb73bbd83e2e505aaf21 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | koopaconan/chrome-shrug | 5c32b2eb814654b8ba5029c7077d37d5c51df520 | 2e1676a0752ad052ff15b8b45068d9cc5e06e11b |
refs/heads/master | <file_sep>//variable naming rules
//must start with $, _,, or a letter
//can use any letter, number, $ or _ after first letter
// no whitespace
//cannot be a reserved keyword
//*******EXAMPLES!!!!***** */
//declaration - creating a variable
var data;... | 42b55d5a0d520030ce051267017cc95df447a77f | [
"JavaScript",
"SQL",
"Markdown"
] | 11 | JavaScript | thoover1/shelfie | 4379b02149104d3a4268dff17a8828a85fbf79d8 | 44f5d2e967bcd2ed9a0d9cf115d817599a2c5070 |
refs/heads/main | <repo_name>Josh-Edward-Johnson/LovingSnivelingComputergame<file_sep>/README.md
# LovingSnivelingComputergame
a stupid c# code
<file_sep>/main.cs
using System;
class Program {
public static void Main (string[] args) {
//This program will divide, subtract, multiply and add to numbers and more!
int a = 10;
... | 6dee5e4177bf9812cf9d2a7eccbb061c599a587b | [
"Markdown",
"C#"
] | 2 | Markdown | Josh-Edward-Johnson/LovingSnivelingComputergame | a733ea8f95783d59207b9d64b102ec179874abe9 | 0ffbbcb7d93c8ca436ed50792a34c6d22e93a297 |
refs/heads/master | <repo_name>RichardPitts1/ruby-objects-has-many-lab-houston-web-080519<file_sep>/lib/artist.rb
require_relative('../lib/song.rb')
class Artist
attr_accessor :name
@@song_count = 0
def initialize(name)
@name = name
# @@song_count += 1
end
def add_song(song)
self.songs << s... | b716cb9a68e5697feb664e7bf59c458153c424d7 | [
"Ruby"
] | 1 | Ruby | RichardPitts1/ruby-objects-has-many-lab-houston-web-080519 | 5bd1ad37a229eb25bc0f894491ccc94e9bb966fd | 29097052f8e1e0bce834e2c5901c54d71d303cf5 |
refs/heads/master | <file_sep>#!c:\users\admin\google drive\learning and study\programming\django\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| f99b379a757eadf4195466e42ae16d0b2220b8a0 | [
"Python"
] | 1 | Python | frechdi/my-first-blog | 05a8930b5155699d1a90b0b15eee8c8714524786 | 7621d745f4143587731bae411c05b099f4943209 |
refs/heads/main | <file_sep>package com.gnt.service.riot;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.gnt.Constants;
import com.gnt.domain.summoner.League;
import com.gnt.domain.match.Match;
import com.gnt... | df1f6092aac2f8ed967140c47a7140924ec19568 | [
"Markdown",
"Java",
"JavaScript"
] | 15 | Java | kyh119/gnt | 44fc591b16f951cc0f5297aaf06d50f5ca5f0af6 | 6e2f42b672d80c9fcc11250f9312bcfddd999ef6 |
refs/heads/master | <repo_name>john-ko/BeerB<file_sep>/Beerb/Beer.swift
//
// Beer.swift
// Beerb
//
// Created by <NAME> on 4/24/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import Foundation
class Beer {
var id: Int!
var name: String!
var beer_score: Float!
var description: String!
var image: String!... | 636860d6d6f027e62b0842c844ea3216584d6625 | [
"Swift"
] | 3 | Swift | john-ko/BeerB | b80a8f98457be449a5f6451d2f1e45c628e9065d | 3a50208c2d63554b2024491c4d63d7c2bad49341 |
refs/heads/master | <repo_name>Banandana/vita-headers<file_sep>/include/psp2/systemgesture.h
/**
* \file systemgesture.h
* \brief Header file which defines gesture related variables and functions
*
* Copyright (C) 2016 VITASDK Project
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. ... | 639e9dbc787d9cfe193965dc81eae5b6b943e3f0 | [
"C"
] | 1 | C | Banandana/vita-headers | 1932bcf061b91780e85c5cb906121f0559e1251b | de88c7eda43015b43ad49e5496031b21647d31c0 |
refs/heads/master | <repo_name>Gaurav-Zaiswal/programmergaurav.github.io<file_sep>/js/script.js
var frm = $('#contact');
frm.submit(function (e) {
e.preventDefault();
let name = document.getElementById("name").value;
let messege = document.getElementById("messege").value;
var win = window.open(`https://wa.me/+918450996596?... | 7cb7da3089ee64b5a87982cdea54b05d264a734e | [
"JavaScript"
] | 1 | JavaScript | Gaurav-Zaiswal/programmergaurav.github.io | a8f0ebfc3cd0b54887b48b9688879bf53739094f | a2919d3ea16dbc600dae5778119145ffa7219945 |
refs/heads/master | <repo_name>OceStasse/Reseaux<file_sep>/part_3/Application_Bagages/src/Airport/Voyage.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 Airport;
/**
*
* @author jona1993
... | 97e169f89aacdfc34c1f3bce2e9588f4fd277cfe | [
"SQL",
"CMake",
"Makefile",
"INI",
"Java",
"Python",
"C",
"C++"
] | 175 | Java | OceStasse/Reseaux | 437c03361193c24881bc13fdb5ddb9886235bdf4 | 59d6949926263b517b1c4c53ace9883b8d0eb285 |
refs/heads/master | <repo_name>jjfly10086/xiaoice-robot<file_sep>/wx_auto_replay.py
import itchat
from itchat.content import *
from queue import Queue
# 微信微软小冰公众号
XIAO_ICE_USER_NAME = ''
# 消息发送者队列
my_queue = Queue()
# 最后一个队列用户,默认我自己
last_to_user_name = ''
# 监听个人文字消息
@itchat.msg_register([TEXT, MAP, CARD, NOTE, SHARING])
def text_repla... | 81d51aa90900ec1a98b2189e8d2112b8926b0aaf | [
"Markdown",
"Python"
] | 2 | Python | jjfly10086/xiaoice-robot | 4d1bb45e64e5ee97d2b011a30d3b5521bfab9d37 | 9d707a6c9d358c6d0364e4fd777183ac8b84b8dd |
refs/heads/master | <repo_name>chef-base-plans/chef-client<file_sep>/controls/chef-client_exists.rb
chef_path = input('chef_path', value: '/bin/chef-client')
describe file(chef_path) do
it { should exist }
end
<file_sep>/plan.sh
pkg_name=chef
pkg_origin=chef
pkg_version=16.2.32
pkg_maintainer="The Chef Maintainers <<EMAIL>>"
pkg_descri... | 223303bc6e48a6e91df17b824f81adc80e6293fc | [
"Markdown",
"Ruby",
"Shell"
] | 3 | Ruby | chef-base-plans/chef-client | 1aedb4fbbf5e4a39d73ca7111bcee5424115a414 | 2199b25e97c9b4c5a1912706aa248b00df2baa3d |
refs/heads/master | <repo_name>Sumapraja/project-javascript-date-methods<file_sep>/index.js
let now = new Date()
console.log(now)
let selectedDate = new Date('2017-01-26')
console.log(selectedDate)
let date = new Date(2011, 0, 1, 2, 3, 4, 567)
console.log(date)
let selectTime = new Date();
let hour = "";
let minute = "";
let seconds =... | 8fbcfa4d887b3558e2cbf290765e05a2ceb979ec | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Sumapraja/project-javascript-date-methods | d8a21858d4f2bef1dc57ac34247509fa7061ec9d | 0257fa47b96087904e6b97eebafefb083fa11eec |
refs/heads/master | <repo_name>pngwen/TYGAME21<file_sep>/day_18/simpizza.c
// I N C L U D E S ///////////////////////////////////////////////////////////
#include <io.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <dos.h>
#include <bios.h>
#include <fcntl.h>
#include <memory.h>
#include <malloc.h>
#inc... | e8bc68ebc8c69a9d9b6ce1c18b2d1a996e2a8dcf | [
"Markdown",
"C"
] | 66 | C | pngwen/TYGAME21 | e9e10e682410db4a16200b5284483681b9201eb2 | 651e58de5547ead06253adf44afa039203db245a |
refs/heads/master | <repo_name>FuzzyNickels/CityBuildingGame<file_sep>/TestBuilder/Assets/Scripts/Camera/ZoomScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ZoomScript : MonoBehaviour {
public float zoomSpeed = 1;
public float targetOrtho;
public float smoothSpeed = 2.0f;... | 6807de63405e61e6157d43c85c29cd0e6107edea | [
"C#"
] | 5 | C# | FuzzyNickels/CityBuildingGame | 1db192b2e29f17323c65f43eedee4c1865deaf7f | 64a7d7f398ded9602ada3a7dff21643c2db31c3b |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
namespace lb_6
{
class Program
{
static void BFSD(int v, int[,] matrix, int[] DIST, int size)
{
Queue<int> queue = new Queue<int>(); //Создаем новую очередь
queue.Enqueue(v); //Помещаем v в очередь
... | ae4c1eaaa0c8f263a849f0e96458487122817e83 | [
"C#"
] | 1 | C# | LizaM19/Lab_6 | 65a4abf39f173770d47601c495b1296205f5f9a7 | f64169ab456ef9ef63f01f0c8a56cfbe78da0f92 |
refs/heads/master | <repo_name>zsmithssf/ConstructionReports<file_sep>/ConstructionReports/www/js/controller.js
angular.module('starter.controllers', [])
.controller('LoginCtrl',['$scope', '$state', 'UserService', '$ionicHistory', function($scope, $state, UserService, $ionicHistory) {
$scope.user = {};
$scope.loginSubmitForm... | c858810fff9e01d38f639136a62421842dbde480 | [
"JavaScript"
] | 1 | JavaScript | zsmithssf/ConstructionReports | 1c2c97f67a16a29391a6dfe41225649e9a31385b | 732f86f6f772551502c5455aeef12f4a130bf950 |
refs/heads/master | <repo_name>victorh18/tarea7<file_sep>/application/views/inicio.php
<html>
<head>
<title>Semaforo</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></s... | 448f7816462bd3584a15bcc1d0b9e1a73dc3db47 | [
"JavaScript",
"PHP"
] | 6 | PHP | victorh18/tarea7 | 98cda009c3eec4940dd8098211e4eeadb7184390 | f5018824b06468a4b41e02799f1a6dbe446f0012 |
refs/heads/master | <file_sep># uncomment the next line if running in a notebook
# %matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
# mass, spring constant, initial position and velocity
m = 1
k = 1
x = 0
v = 2
m_verlet = 1
k_verlet = 1
x_verlet = 0
v_verlet = 1
# simulation time, timestep and time
t_max = 1000
dt ... | 89b8032b8b9554c7cd9922528991ff218570cc25 | [
"Markdown",
"Python"
] | 3 | Python | sehajchawla/Mars_Lander | 878fc8b92d15fac5c3361ab5e95902408132aafd | c17d3fa6b1a18a9694447cf0d117ad9d780cd606 |
refs/heads/master | <repo_name>forelise25/guest_board<file_sep>/app.js
var fs = require('fs');
var ejs = require('ejs');
var mysql = require('mysql');
var express = require('express');
var bodyParser = require('body-parser');
var slashes = require('slashes');
var client = mysql.createConnection({
user:'forelise25',
password:'<PASSWOR... | 3e2d8077b83ac8ba722ac491efbb516b72fbf45d | [
"JavaScript"
] | 1 | JavaScript | forelise25/guest_board | 3f28b8f500817a518b9936dee39fcae1ba99f07c | 3c650bf66f01e9cee784a1fedac363f2f03103ea |
refs/heads/master | <repo_name>sekenned/tdd_with_django<file_sep>/README.md
# tdd_with_django
I go through TDD with Django second edition.
Mine is not to wonder why. Mine is but to [Obey the Testing Goat](http://www.obeythetestinggoat.com/)
(I gave it a go with pipenv)
## Nota Bene
- Comments: should not need to explain *what* you're... | 688650c18cc5a9dfc60d325e1473fe168d7f42a9 | [
"Markdown",
"Python"
] | 2 | Markdown | sekenned/tdd_with_django | 4d7b7960e3f680663a7420bc5bbefa745a736680 | b6c152fd2d38857ca725a68fcca0441e93ac0e5e |
refs/heads/master | <file_sep>import { ActionTypes } from '../actions/index'
const {
NEW_ERROR,
CLEAR_ERRORS,
CHANGE_ACTIVE_PAGE,
} = ActionTypes
const initialState = {
errorMessages: [],
activePage: 'home',
}
export function errors(state = initialState, action) {
switch (action.type) {
case NEW_ERROR:
return {
... | 78c67f21ce1b1ff154da8df6a268a31b97a6f299 | [
"JavaScript",
"YAML",
"Markdown"
] | 22 | JavaScript | adriana-balatici/soa | 2ce549993246b2843a92745a74624a00255fa421 | 47bca74486c474ee5f04ce6a6580b7260c47d687 |
refs/heads/master | <repo_name>thesoul214/ballBounce_Unity<file_sep>/README.md
# ballBounce_Unity
for studying unity, make very simple app that ball bounces against wall.
<file_sep>/Scripts/SphereSc.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SphereSc : MonoBehaviour {
public GameObjec... | 8a143d1df88eac1f8e375a296d5600fe6055b622 | [
"Markdown",
"C#"
] | 2 | Markdown | thesoul214/ballBounce_Unity | 9dd7f9f7c4fd1820691a96530ac108eabece2c0d | a4605739c4bc26be93e83a8c6b6b788e422ff17d |
refs/heads/master | <file_sep>/* --COPYRIGHT--,BSD
* Copyright (c) 2012, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must ret... | 60cde5c5855d4310d6feafeb049a37d3a9b9069b | [
"C++"
] | 1 | C++ | robocoder19/greenvolt | d7cae687f93d91614636ba61984049da4ae12cff | 797d79362c051c3ad1b7ff5037ba8cd0442e1a2c |
refs/heads/master | <repo_name>michischatz/vaadindev<file_sep>/src/java/com/example/vaadin/ui/NavigationTree.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.example.vaadin.ui;
/**
*
* @author Michael
*/
import com.example.vaadin.MyApplication;
import com... | b3167127cea9af12fa1c2152ef57137a0b11b20d | [
"Markdown",
"Java"
] | 3 | Java | michischatz/vaadindev | 404cc54bcab29adb781020fc5275e3df371b4e72 | b1a9e01323f0804e22186d56b83da1da608e282c |
refs/heads/master | <file_sep>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define faux 0
#define vrai 1
typedef struct date{
char jour[4];
char mois[4];
char annee[4];
} date;
/**les_tableau_utilisé**/
char Groupe_Sanguin[8][5]={"O+","A+","B+","O-","A-","AB+","B-","AB-"}... | abcfa04f655f8e068b7c6076eb03c876dba6a045 | [
"C"
] | 1 | C | MahiBegoug/TraitementFichier | 7931233278b73209b1e8c43c446340ee45b6f990 | 99fb65e338b05cfc91139b4e60138e508a18115d |
refs/heads/master | <file_sep>package com.QAAutomation.Base;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import org.apache.log4j.Logger;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firef... | e603ffc51c8dc1ac0e9460b45aaad3d87742ae87 | [
"Java",
"INI"
] | 7 | Java | ojas30kulkarni/Selenium_Projects | 056e0934b14d71abb1f5750a92fa04254e9bcd0c | b4dc0926c56e70f669a67c1af845a35d8b09ef41 |
refs/heads/master | <repo_name>ikutarian/sakamichi<file_sep>/src/main/java/com/okada/sakamichi/config/Constants.java
package com.okada.sakamichi.config;
public class Constants {
public static final class InitParameter {
public static final String BOOTSTRAP = "bootstrap";
}
public static final String DEFAULT_CHAR_SET... | 03a7c75c4cf9120dd4957f6e34fa4144c6505e4b | [
"Markdown",
"Java"
] | 6 | Java | ikutarian/sakamichi | 7f07f61b194c6a5e08085d55d6e36058d38b325e | 8cc64c408f531938fa0ce557ea8f38657aea5033 |
refs/heads/master | <repo_name>markzhang90/OneStoryKmq<file_sep>/HttpProxy/HttpProxy.py
import urllib.parse, urllib.request
import json
class HttpProxy:
def __new__(cls, *args, **kwargs):
if not hasattr(cls, '_instance'):
cls._instance = super(HttpProxy, cls).__new__(cls)
return cls._instance
def __... | d69b5cec3caddd15a88d1b204053b53061a1466e | [
"Python"
] | 4 | Python | markzhang90/OneStoryKmq | ef73b507537ed0b42055c42cb490189ba07b0aad | 9b78f24934aacb57d94303bf0a450dde97cfae50 |
refs/heads/master | <repo_name>Kyniek119/AK21-Fireflies<file_sep>/Funkcje.h
void init1(int dimension, double* sol);
double funkcja1(int dimension, double* sol);
void init2(int dimension, double* sol);
double funkcja2(int dimension, double* sol);
void init3(int dimension, double* sol);
double funkcja3(int dimension, double* sol);
doubl... | c8e27dd7c1bf3327375ae69d1371777e9dc600a1 | [
"C",
"Makefile"
] | 4 | C | Kyniek119/AK21-Fireflies | c69059e2da4800ae744c5585b6a7e2ec7c7a3acd | cd5f9659309d55faf274de7b7c0b284d7a11e262 |
refs/heads/master | <repo_name>greatriver007/BLE-Weather-Station-Cloud-Gateway<file_sep>/platformio.ini
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra ... | f84dfb1addbfdf95b0fef0f6751c3f1d037ac3e6 | [
"Markdown",
"C++",
"INI"
] | 3 | INI | greatriver007/BLE-Weather-Station-Cloud-Gateway | a9be731568a9b8b3f83bde9bfb3140264acd041b | a000fee4a46489a6e478838dc733cfe0b8c85c27 |
refs/heads/master | <file_sep>print "hello from a py file"
<file_sep>
watchList = ['MSFT','AAPL','QCOM']
openPos = [('AAPL',100.00,100),('F',8.35,100),('DIS',87.35,100)] #(sym,buy,sh)
closedPos = [('MSFT',25.50,32.65,100),('INTC',35.35,27.89,100)] #(sym,buy,sell,sh)
myStocks = set()
for x in watchList:
myStocks.add(x)
for x in openP... | 61ab401fc98e8f231a44a875f3b1539f749018fc | [
"Python"
] | 11 | Python | ronmorg/stockmarket_code | 0d1de1cc7a16ad5f2d7ffb60f6d6b036f96e62a1 | 3794029b4afff8f7b75d7d80bda44fc9adeb1b7b |
refs/heads/master | <file_sep>// !/ <reference path="../../../../../../typings/es6-promise/es6-promise.d.ts" />
import Command from './../../../interfaces/Command'
export default class APICommand extends Command<Promise<string>> {
internalExecute() {
return new Promise<string>(resolve => setTimeout(() => resolve('qwe'), 1000))
... | 229548b21b7804b08e9a2d91781040b0aeb9e55e | [
"JavaScript",
"TypeScript",
"Markdown"
] | 11 | TypeScript | artem1/typescript_babel_react_express | ebb10f2164fe67f428a13e0ae4319d2ab6f1d6fd | a00de5d38c61b2eee96fc2c08928e80cd5c11a9e |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<?php include("../../inc/meta.php") ?>
<link rel="stylesheet" href="style.css">
<title>JSON Carousel</title>
<?php include("../../inc/header.php") ?>
<h1><span>JSON Carousel</span></h1>
</div>
<div id="canvas" c... | 394a80bdab74e60e509ab4e3aa68916cdc986fae | [
"Markdown",
"JavaScript",
"PHP"
] | 3 | PHP | femkreations/build-carousel-from-json | 5891307924a209b08f1a3229d7332b84765a71bc | 55d7f1697904dfc84a4a2b7450361f410e378e0f |
refs/heads/main | <file_sep>from fastapi import FastAPI
from server.routes.sensor import router as CalibrationRouter
from server.routes.forecasting import router as ForecastingRouter
from fastapi.middleware.cors import CORSMiddleware
app = FastAPI()
origins = ["*"]
app.add_middleware(
CORSMiddleware,
allow_origins=origins,
... | dfcb276c7eb30ba15d219379587d1ae3ca901044 | [
"Markdown",
"Python"
] | 15 | Python | ngminhhieu/fimi-AI | 89669a14d3cd9b3b5d87eb9fcfc9c7fd88c83938 | ae5b194b6594192dce818e111d7ce5278ce967c9 |
refs/heads/master | <repo_name>chltjdrhd777/udemy--typescript-static-abstract-singleton-private-constructor<file_sep>/README.md
# udemy--typescript-static-abstract-singleton-private-constructor
ok
<file_sep>/src/project8.ts
//static method = allows me to call this method located inside a class without making class instance from inside and... | a3ff1c5ff4bb8a92bcc22892b65ab9edfc927218 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | chltjdrhd777/udemy--typescript-static-abstract-singleton-private-constructor | a255020458bddb9b1d5af6fd5fb99b047cedb200 | 20870cda99fabcfadc5b7496170b74f224712b59 |
refs/heads/master | <file_sep>package kr.study;
/**
* Created by soyoon on 2015. 12. 8..
*/
public interface AttackStrategy {
public void attack();
}
<file_sep>package com.pattern.command.ver3;
public class Client {
public static void main(String[] args) {
Alarm alarm = new Alarm() ;
Lamp lamp = new Lamp();
Button a... | 67faf55e539fe06b56d292b78325a6341a3926fa | [
"Java"
] | 30 | Java | soyoon/DesignPattern | 199e92477a3ee2d36c6727589bc89be9afd6aa34 | abbccdbe2ed507c2e325b3de8aa88d80aa92dadc |
refs/heads/main | <file_sep>import React, { useState, useEffect } from "react";
import { BrowserRouter as Router, Switch, Route, Link } from "react-router-dom";
import axios from "axios";
function Functions() {
return (
<div classNme="container-fluid">
<buttton type="button" class="btn btn-primary">
<Link to="/" sty... | 467d2553b764e0dbea127583e5b21c2e142a96e1 | [
"JavaScript"
] | 3 | JavaScript | YadharthGC/mongodb1 | 985643c448486fd1c9536b87480544140f19413d | e358cfc109d8ab75f1cddf662987b2881162d1a6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.