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>FriXeee/CSGO-Legit-Hack<file_sep>/README.md
# CSGO-Legit-Hack
This is a very old source, might still be Undetected
If you need anything from it , you can simply use it you have my approval.
Most of the offsets are updated, so the source need to be updated.
The cheat was coded using VS 2013, you can still u... | 9c02f04f2c716de361277a62d36f299e9feb2f9d | [
"Markdown",
"C",
"C++"
] | 8 | Markdown | FriXeee/CSGO-Legit-Hack | 67529d34a1ec3e982bd1fddd74f7466bee35eba2 | 8df3e0a92956eaa6953bf1e8dbd084b04b476645 |
refs/heads/master | <file_sep>http://dreamthink.github.io/starwarsmadlibs
A Star Wars Mad Libs game using AngularJS.
May the Force be with you...<file_sep>var app = angular.module("myApp", ['ngAnimate']);
app.controller("MyController", function() {
// set initial input values as blank
this.pluralnoun1 = "";
this.verb1 = "";
t... | 007edc345a6c35f86387b4be31a06365c4432dbd | [
"Markdown",
"JavaScript"
] | 2 | Markdown | dreamthink/StarWarsMadLibs | 1cfd3596721a99e8ac2ad8a89b43d51f143c4500 | c781e93da0ae281cd2c00001b977a018a40b2d15 |
refs/heads/master | <file_sep>import tensorflow as tf
from params import Params
class DDQNet():
def __init__(self, action_space):
self.IMG_X = Params['IMG_X']
self.IMG_Y = Params['IMG_Y']
self.IMG_Z = Params['IMG_Z']
self.action_space = action_space
self.learning_rate = Params['LEARNING_RATE']... | f296970c47ec0234e43a8a7417b019bb938c6b5c | [
"Markdown",
"Python",
"Shell"
] | 24 | Python | grumpySloth357/DeepLearningProject | cad6162ef1c072e7ddf2286597cde64739af581f | 2b2dc4cadfbb1ea2f1cef4cccbf1126c67d93ae6 |
refs/heads/master | <file_sep>console.log('toot')<file_sep># Skald
#### A pen and paper game assistant
This is a UI demo to begin testing Kunsido integration | e0603b03eba24e407414d5df4aa561b16a0fafad | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Sleepy-Fish/skald-ui | 617bf0bd06e527b36cd5bc1edeb8b021efa2106c | 0a252b0827bb1cd2ed3bb42bfe04c0bf3c97b855 |
refs/heads/master | <repo_name>jebreimo/Xyz<file_sep>/tests/XyzTest/test_Projections.cpp
//****************************************************************************
// Copyright © 2016 <NAME>. All rights reserved.
// Created by <NAME> on 2016-01-02.
//
// This file is distributed under the BSD License.
// License text is included with ... | b21b07fc237a764474eb9995783c1b714356bf5f | [
"CMake",
"C++",
"Shell"
] | 56 | C++ | jebreimo/Xyz | 2f3a6773345c28ad2925e24e89cab296561b42c5 | a26b7d93fbb112ebf6c13369c16313db82b68550 |
refs/heads/master | <file_sep>// Write a CommonJS module, based on the example from Chapter 7,
// which contains the array of roads and exports the graph data structure
// representing them as roadGraph. It should depend on a module ./graph, which
// exports a function buildGraph that is used to build the graph. This function
// expects ... | 121c5fe4b7748417674f1f0d674a5ac13e70bdb0 | [
"JavaScript"
] | 17 | JavaScript | Scubamama/HoursWExperts | 430165e0382ef715d600505f9655dc6c323433bf | bd8d895a1b5b6ba65f1bc4f657fb84e10e20e0d6 |
refs/heads/main | <repo_name>LilWingXYZ/Cryptography-Experiment<file_sep>/实验题目/实验6 - 数字签名/Sign/sign.cpp
#include <string.h>
#include <stdlib.h>
#include "R_STDLIB.C"
#include "R_RANDOM.C"
#include "NN.C"
#include "RSA.C"
#include "DIGIT.C"
#include "MD5C.C"
#include "PRIME.C"
#include "R_KEYGEN.C"
#include "DESC.C"
#include "MD2C.C"
#in... | f01548b2864e1aac7759de5a1b6d5e0ff0039444 | [
"Markdown",
"C",
"C++"
] | 10 | C++ | LilWingXYZ/Cryptography-Experiment | e5abc7ec69251dc1e8e09989cf704d4a27c6130c | 1d0cfb04a9c45fffd51cba115773b7b322a38fa7 |
refs/heads/main | <file_sep>import React, { Component } from "react";
import ReactApexChart from "react-apexcharts";
// const formCard = () => {
class chart extends Component {
constructor(props) {
super(props);
this.state = {
series: [
{
name: "DAI",
// data: series.monthDataSeries1.p... | a2c188784e3f5f6960a5cf44fc7e6c3b930b5dc0 | [
"JavaScript"
] | 9 | JavaScript | NasushapAC/Liberty-project | 19eb5aea8a07a0977b3986680ef3c1940861c81e | f99a90986a47a1451e0d1bad45b44c2f56b61645 |
refs/heads/master | <repo_name>luis572/Proyecto1AREP<file_sep>/src/main/java/edu/escuelaing/arem/sockets/Socketcliente.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 edu.escuelaing.are... | ebfce4211b891495606ef4ff78bb3b5311deb14a | [
"Markdown",
"Java"
] | 4 | Java | luis572/Proyecto1AREP | cccc2103921937f2c0534adf5abc7603c9bd2f9d | f95dba3e775ed6c4979c3d7723ac82822012b348 |
refs/heads/main | <file_sep>#include <stdio.h>
#include <math.h>
int main(){
int n;
printf("\nNhap n = ");
scanf("%d", &n);
if(n < 2){
printf("\n%d khong phai so nguyen to", n);
return 0;
}
int count = 0;
for(int i = 2; i <= sqrt(n); i++){
if(n % i == 0){
co... | 0e1cb56ab1e7b4ff22bc75f994ec1a7e7f2cf8b4 | [
"C++"
] | 7 | C++ | vnhng100120/VanHung | 89e210481e0da8f8edf3afd46ea5269d76e177c5 | f4b2ecff36b481a05b18add83b0daacb0b575713 |
refs/heads/master | <file_sep>//
// ViewController.swift
// Prime Planner
//
// Created by <NAME> on 9/6/18.
// Copyright © 2018 Poods. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
// create and declare our tableview and dateLabel objects
private let tableView = UITableView(frame: .zero, style:... | 33e36a57c2d66c233303f23cb077505adc33eb24 | [
"Swift",
"Markdown"
] | 35 | Swift | jacobcaraballo/prime-planner | 66bfbbf68e4aedc6c59b7b45dd565806cdb125a7 | 56f7c9933eaac05fdf13d4918ad029f5fa0080f4 |
refs/heads/master | <repo_name>naassi/TaxiLog<file_sep>/README.md
# TaxiLog
I am currently working as a taxi driver while learning to code, I have built this very basic command line program using nodejs to keep track of my jobs. I am going to build more functions to work with the data, also I think I need to use a date object on every lo... | befabdabff0243b3ad66a555402c23778e066a87 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | naassi/TaxiLog | 10812b9db6e2bc7a8aab79eca10618d43b2bb693 | 0a8603ae7425c3ea7a57649d4f29d7c5a02b770c |
refs/heads/master | <file_sep>FROM node:10
WORKDIR /usr/src/app
ENV PORT 8080
ENV HOST 0.0.0.0
COPY package*.json ./
RUN npm install
COPY . .
CMD npm start<file_sep>const controllers = require('./controllers')
module.exports = (server) => {
// about//
server.route('/')
.get(controllers.about)
//mailchimp newsl... | fc766425ca46d07ee4bb15c0f16f3d525ef03652 | [
"JavaScript",
"Dockerfile"
] | 3 | Dockerfile | DeFipedia/defipedia-mailing-service | 7417f4bab9e9a7c2a2043e8472e34860a8b5e64e | e4058e4586d8630ecc6dcb1290604b45d8178526 |
refs/heads/master | <repo_name>lussierc/africancountryinfocenter.netlify.app<file_sep>/_data/blog/niger.md
---
template: BlogPost
path: /niger
date: 2020-11-23T07:08:53.137Z
title: Niger
thumbnail: 'https://cdn.britannica.com/54/144054-050-70F4BA48/Abuja-Nigeria.jpg'
metaDescription: Country Page Post
---
# General Information about Nige... | 9fe76b05c7965024df35da73469ecdd37ac984a7 | [
"Markdown",
"JavaScript"
] | 52 | Markdown | lussierc/africancountryinfocenter.netlify.app | 68cd5f7b172647ee311cdb165418bb199845dcb8 | 90f590f87d5dfc0003ea703fcb53033db1b581ba |
refs/heads/main | <repo_name>hmzsumon/simple-react-assignment-7<file_sep>/README.md
## **React Sports**
_It's a players' website. Here is information about different players. Users will be able to select players from this website. It is made for learning purposes._
<br>
- #### _**Live Demo:**_ https://simple-raect-assignment-7.netlif... | 50662a52bdff5e76a02e98900b758771667db0e8 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | hmzsumon/simple-react-assignment-7 | 6caba827c4b8bfc624a2542c5c4a69db9d767962 | 9e1609a5959ed052219f0c66838912f83c54fa36 |
refs/heads/master | <repo_name>Theng/react-native-stellar-sdk<file_sep>/src/eventsource.js
import EventSource from 'eventsource';
global.EventSource = window.EventSource = EventSource;
global.location = window.location = {protocol: 'https:'};
| 1b34dc897667a92e150758394f3e5529c9e66776 | [
"JavaScript"
] | 1 | JavaScript | Theng/react-native-stellar-sdk | 24b2a5deb503046df7ae6e5cad1a8594cd92096b | 7165e9c0fa90483ec1aaba5374cdd0759619a2c5 |
refs/heads/master | <file_sep>using System;
public class DelegateTarget<T> : Reference<T>
where T : class
{
new public T Target => (T)base.Target;
public DelegateTarget(T target, bool trackResurrection = false)
: base(target, trackResurrection)
{ }
public Action GetAction(Action<T> proto)
{
if (... | cae54f1e602ccf7f7d4316b48e6035503a5fd234 | [
"C#"
] | 4 | C# | OmniKits/Weak | e8fcdb6950228a314cb0ddcd7f65c54e89b2e5d0 | c74e5b031edb4be5743c73d8f29c735137b32443 |
refs/heads/master | <file_sep>#---
# Excerpted from "Seven Languages in Seven Weeks",
# published by The Pragmatic Bookshelf.
# Copyrights apply to this code. It may not be used to create training material,
# courses, books, articles, and the like. Contact us if you are in doubt.
# We make no guarantees that this code is fit for any purp... | 7c9b4ea875e9cc46c63b4034cf9339fe9e9dc7b3 | [
"Markdown",
"Ruby"
] | 5 | Ruby | lionas32/7-languages | eaa026d2193ea6e6fa5adc749c87456c0b531b8a | f06c09985b1fe132a10a9bc6cee8f6765d9f516b |
refs/heads/master | <repo_name>ImmoweltGroup/eslint-config-immowelt-es6<file_sep>/src/index.spec.js
const { linter } = require('eslint');
const config = require('./index.js');
const runEslint = str => linter.verify(str, config, { filename: 'foo.js' });
describe('eslint-config-immowelt-es6', () => {
it('should export a valid eslint con... | dafd7af271f69aff93b17abbf35c95e9c5867dfb | [
"JavaScript"
] | 1 | JavaScript | ImmoweltGroup/eslint-config-immowelt-es6 | 8a0fe83bd8957c65af49f0d1d8d5f8ff3749789f | 7d9f582e8a6965b88f7a7d87a61c0e0e80354580 |
refs/heads/master | <repo_name>Hlbecerra/Cajero<file_sep>/Cajero/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cajero
{
class Program
{
static void Main(string[] args)
{
string[] nombre;
int[] numero... | 8f6e5c2184c00dca625c6d16c7f524f84cdbc52a | [
"C#"
] | 1 | C# | Hlbecerra/Cajero | 573e895baa1d1b78068f5455edf96cdfd8deac7c | df8e910df0376723167abac5a5dde7cfd9dbf86c |
refs/heads/master | <file_sep>0- install node
1- docker build -t federicobottoni/node-web-app
2- docker-compose build
3- docker-compose up
https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
https://docs.docker.com/docker-for-windows/kubernetes/
https://node-postgres.com/features/connecting
https://prometheus.io/docs/visualization/gr... | dcd89e98ddbd5f6d5f95e4bc66408db3a7c68270 | [
"SQL",
"YAML",
"Markdown",
"JavaScript",
"Dockerfile"
] | 8 | Markdown | nhabbash/search-form-devops | 4ff92fa8196735bc101e2d175609137d31938d21 | 95728149b0e69dd005fa080074e39dafcb5cdb8a |
refs/heads/master | <file_sep>import PersonDetails from "./item-details";
export default PersonDetails;
| 67801cf8fa11f10dd89fc9060446e91af5f19608 | [
"JavaScript"
] | 1 | JavaScript | Alexdft/ReactStarWars | 7d550f8b7f55e9f659dddde60d4d416d4d59cf69 | f2b833595e34280404291a3775c6e6ca2db5a495 |
refs/heads/master | <repo_name>GrinGraz/corredora_sql<file_sep>/Stored Procedures/sp_infoPropiedad.sql
CREATE PROCEDURE sp_InfoPropiedad
@idpropiedad AS INT
AS
BEGIN
SELECT p.DIRECCION, p.COMUNA,p.CUIDAD,p.VALORARRIENDO,d.NOMBRE AS DUEÑO,d.APATERNO AS APELLIDO, p.PIEZAS,p.BANOS,p.ARRENDADO,
a.NOMBRE AS ARRENDATARIO,a.APATERNO AS APELL... | 7c0dcbe8b73804b3cd55a4dddd84494e0a0e3807 | [
"Markdown",
"SQL"
] | 3 | SQL | GrinGraz/corredora_sql | 8b13d24dad9c20653ea2de3c83adf0a5df5ee1a4 | 4f7d06c998789e0073eba762a4df89bb02725bde |
refs/heads/master | <repo_name>przemwo/react-graphql-nodejs-starter<file_sep>/README.md
# react-graphql-nodejs-starter
Starting point for creating React - GraphQL - NodeJS apps.
Based on [graphql-playlist](https://github.com/iamshaunjp/graphql-playlist "graphql-playlist") great tutorial.<file_sep>/client/src/queries/index.js
import {
... | 08a8388833452384509476f38b8723b5e3c4399b | [
"Markdown",
"JavaScript"
] | 6 | Markdown | przemwo/react-graphql-nodejs-starter | 31d6ea5b17807795ee16ab3ccd0747db8b81cafc | 11c96a804590f6176ace19510a52f6f0d292a4e7 |
refs/heads/master | <repo_name>zhoneyboo/project_management<file_sep>/app/EnrollmentInGovernmentAndPrivateSchool.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class EnrollmentInGovernmentAndPrivateSchool extends Model
{
protected $fillable = [
'educational_level',
'province_public',
'province_private',
... | d530bd34d4bdb92566694359422ece5fdfddedaa | [
"JavaScript",
"PHP"
] | 97 | PHP | zhoneyboo/project_management | 1fde40d75d89f22119d69737161f96a922d9560e | a4c241245ef05c7ebbf1f14d6ae78d286cc7a273 |
refs/heads/main | <file_sep># Time Complexity : O(N)
# Space Complexity : O(N)
# Did this code successfully run on Leetcode : YES
# Any problem you faced while coding this : NO
"""
# Definition for Employee.
class Employee:
def __init__(self, id: int, importance: int, subordinates: List[int]):
self.id = id
self.... | cd16b7090724970a7f3d81499976b5beafa015c3 | [
"Python"
] | 2 | Python | Onurene/BFS-2.1 | 8268584ce3dbb2bd384294e2207989e5db436018 | 2ec30cf7ef04e6e77014265ad5ee9a10b0c66b6c |
refs/heads/master | <file_sep>#include <SoftwareSerial.h>
#include <SPI.h>
#include <Ethernet.h>
#include <PubSubClient.h>
#include "BluetoothLE.h"
#define BEACONTOPIC "BEACON01"
#define SALATOPIC "UFC/QUIXADA/BLOCO01/SALA01"
int lampada = 8;
// Atualize estes com valores adequados para sua rede.
byte mac[] = {
0xDE, 0xED, 0xBA,... | bd79cbab95adfbd046ebe4b5c2ec7e6094cb6466 | [
"C++"
] | 1 | C++ | fhugoduarte/QBeaconArduino | ba4b64b1c8b4f9215747f9d268779372cc1b3620 | fbe44f840f7c229ffe2824ce4b0cc0eb1952143c |
refs/heads/master | <file_sep><?php
class Weekday
{
// function addDayAndMonth($day, $month)
// {
// $day_and_month = $day + $month;
// if ($day_and_month > 6) {
// $for_step_3 = $day_and_month % 7;
// } else {
// $for_step_3 = $day_and_month;
// }
// return $for_ste... | 2d4f77317dd0febd6c08c1b8de4b9b50a7721534 | [
"PHP"
] | 2 | PHP | mollieboots/php-weekday-finder | d0edfbd3a09a34289d4a87276ecde7273bcb9621 | b94dd176ea0ea2a77c504f04cd6794e4c93bd234 |
refs/heads/main | <repo_name>stevenyuan49/anki-player.github.io-<file_sep>/extension/src/services/ControlsContainer.js
export default class ControlsContainer {
constructor(video) {
this.video = video;
this.elements = [];
}
show() {
for (const e of this.elements) {
e.classList.re... | 85a03f08a2508c5ef645efbca240f05a655c660e | [
"JavaScript"
] | 4 | JavaScript | stevenyuan49/anki-player.github.io- | 8b41aa0910cd78825d34ea81cfb9b0b95a21a82b | 3122e6ebea49a3d1cd07071429ad05b1476ed34a |
refs/heads/master | <repo_name>nvgeele/slipy<file_sep>/slipy/json.py
from rpython.rlib.parsing.pypackrat import PackratParser
from rpython.rlib.parsing.makepackrat import BacktrackException, Status
def unquote(s):
str_lst = []
pos = 1
last = len(s)-1
while pos < last:
ch = s[pos]
if ch == '\\':
... | c47016e1bc2567218aeee58d1f8764ec8acc182d | [
"Markdown",
"Python",
"Makefile",
"Shell"
] | 15 | Python | nvgeele/slipy | d7a66b2c29b57a4b2298d8a0123055e8168e043b | 551508769f962ba1ecfcb0e122aec30b12a03891 |
refs/heads/master | <repo_name>zaenalmusthofa86/Praktikum_5<file_sep>/README.md
# Praktikum_5
# Latihan 1 (Mencari nilai terbesar dari sejumlah bilangan yang diinputkan dengan fungsi loop Do While)
```
-Mendeklarasikan variable int a,max=0; sebagai variable input
-Memasukkan bilangannya dengan perintah perulangan do
-Menentukan bilangan... | d06ac6eaa91d5b6ad735c7db59069975a56d0097 | [
"Markdown",
"C++"
] | 3 | Markdown | zaenalmusthofa86/Praktikum_5 | 0004accf94377ecc36936ba19dbff67867896acb | c97b9d63cccef81a60508c1cf1b9eb125e7a4a09 |
refs/heads/master | <repo_name>mfikria/sirclo-test<file_sep>/cart/solution-cart.js
class Cart {
constructor() {
this.products = new Map();
}
addProduct(productCode, quantity) {
if(this.products.has(productCode)) {
this.products.set(productCode, quantity + this.products.get(productCode));
} else {
this.products.set(product... | d96a617822d9385ca104161fddfa87314815dddf | [
"JavaScript"
] | 3 | JavaScript | mfikria/sirclo-test | bddc25d95641ff085905110f7730ad5890ab8d41 | 415846b008927e1a6683bdb065fbdbbee36b78bc |
refs/heads/master | <file_sep>/*
1:
x=5-3
x=2
Trenger: Slå sammen ax^n og bx^n i sum, også n=0
Kan lages generell (slår sammen alt som kan slås sammen)
"🠞🠜 merge terms"
Drag-and-drop: på hverandre
2:
x+3=5
x+3-3=5-3
x=2
Trenger: Trekke fra ledd på begge sider.
Enten velge ledd, eller skrive inn hva som skal trekkes fra.
"|− subtract... | c6336aeb69c02f1b17c23e47e42a03c2a029ee4b | [
"JavaScript"
] | 11 | JavaScript | terjekol/FunkyTerje | 3b272cc2be3dbe965031f8e3a1f807fba75db0d3 | 05f9a336ea6bb4fae5a9b060697bd2191849f1aa |
refs/heads/master | <file_sep>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 System.Data.SqlClient;
using QuanLiKhachSan.DTO;
using QuanLiKhachSan.DAO;
namespace Qua... | 221c0f5a79715c10a22d235fd703302f22aee31e | [
"C#"
] | 43 | C# | NguyenVanBay101097/QuanLiKhachSan_proc_19_6 | 07e8bd47069d5c27f9fd596b122a8e47d4128c8d | b0e5e6557cde4466605c8e222729654727826863 |
refs/heads/master | <file_sep>const { server } = require("../src/server");
const chai = require("chai");
const chaiHttp = require("chai-http");
chai.use(chaiHttp);
chai.should();
const app = server();
describe("API Server", () => {
let request;
beforeEach(() => {
request = chai.request(app);
});
describe("Restfull", () => {
... | edf70f93357d93d3e5635d52ea7d5a7d8374e013 | [
"JavaScript"
] | 4 | JavaScript | Mavroian/Api-Project | bf0e795affd16a1b6fd79675d5e9151749b46aaa | 115a2bd0f41ab5643c6497ad10afbefce3212f60 |
refs/heads/master | <file_sep>#include <iostream>
#include <windows.h>
#include "pointer.h"
HANDLE hProcess = NULL;
bool keyDownF1 = false;
bool keyDownF2 = false;
bool keyDownF3 = false;
bool keyDownF4 = false;
bool moduleOne = false;
bool moduleTwo = false;
bool moduleThree = false;
bool moduleFour = false;
BOOL IsEl... | 7604aa3bf9deecefe67756104dc680f63a16eaef | [
"Markdown",
"C",
"C++"
] | 3 | C++ | Polyfish0/AssaultCubeCheat | 0217e1f9f68159b79d4e4088921691bc8d8b4093 | aab7f92be6282d4ee21bea5259b1fc0dff675eef |
refs/heads/master | <repo_name>sundropgold/TheAlexander<file_sep>/assets/js/main.js
$(document).ready(function(){
/* =============== HOME PAGE =============== */
// INCREMENTING NUMBERS --------------------------
var satisfaction = $('#satisfaction');
// var customers = $('#customers');
// var donations = $('#donations');
// func... | 72979f64e9644d2dcb15814bed2638c1629f64cb | [
"JavaScript"
] | 1 | JavaScript | sundropgold/TheAlexander | f6f089fa9e694084a5458d06b61fdf9d89b2ea9a | 7a44b827fc55e858c9a3621c05bfa1c844f98604 |
refs/heads/master | <file_sep>RSpec.describe UserSession, type: :controller do
controller(Web::ApplicationController) do
include UserSession
end
describe '#create_user_session! and #destroy_user_session!' do
it 'creates and destroys user session' do
user = create :user
controller.create_user_session!(user)
... | 295b57a9eb4b64c6867d03f350e83afe076593cc | [
"Markdown",
"Ruby"
] | 24 | Ruby | digaev/task_manager | 4483e43c7aa5361b1582b9c9d9f63192fe19e5b8 | abadd563e58bdcef578fd790fba852bdd889055c |
refs/heads/master | <repo_name>smart-solution/ovizio<file_sep>/8.0/ovizio_custom_mig/ovizio_custom.py
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
##############################################################################
#
##############################################################################
from openerp import models, f... | e9050548a147bac2efaa83148f9c1c42bcb83423 | [
"Markdown",
"Python"
] | 9 | Python | smart-solution/ovizio | df56b51336dbeafa9eb131f3931fa895d7e61bd3 | b87d089c8a0460cdd4203510d655ec86d3e1c8ee |
refs/heads/master | <repo_name>KeitaMoromizato/tf-idf-test<file_sep>/src/app.js
"use strict";
import mysql from 'mysql';
import _, {find, sortBy} from 'lodash';
import getTfFromArticle from './getTfFromArticle';
const connection = mysql.createConnection({
host: process.env.DB_HOST,
user: process.env.DB_USER,
password: <PASSWORD>.D... | a9e944360e388fc8b18e29779a16d001180fdc55 | [
"JavaScript"
] | 1 | JavaScript | KeitaMoromizato/tf-idf-test | 7b1dba093c73ff1c70ee8d9abf8c001024f0c1ec | e8eb4d87e3c93ea7e62f6c6df63240de7675db66 |
refs/heads/master | <repo_name>VeriVD/qgis_VeriVD<file_sep>/verivd/core/plugin_info.py
from qgis.core import Qgis, QgsMessageLog
DEBUG = True
DEBUG_KEEP_LAYER = False
def info(msg, level=Qgis.Info):
QgsMessageLog.logMessage(str(msg), "VeriVD", level)
def dbg_info(msg: str):
if DEBUG:
info(msg)
<file_sep>/verivd/core/m... | 1d084aab49e9e5aa028b5accbbfb82ac463c8408 | [
"Markdown",
"SQL",
"Python"
] | 19 | Python | VeriVD/qgis_VeriVD | 2cec5a5aca5c11b56fe5f50f3126b0be52843941 | 7b62fe6afcce18fae178832791dcb676bb5987ed |
refs/heads/master | <repo_name>CalvinMogodi/OUTsuranceAssessment<file_sep>/OUTsuranceAssessment/FileManager.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OUTsuranceAssessment
{
public class FileManager
{
#region Members
... | f32f3db8cf57ad308962e36b2833520d11107a78 | [
"Markdown",
"C#"
] | 3 | C# | CalvinMogodi/OUTsuranceAssessment | 8ce710ac9798d22e49e24192db97f5bae36c035b | e991b1108786316f270e6054aad853cc96fbd29a |
refs/heads/master | <file_sep>heywire-laravel
===============
Send message with HeyWire from your Laravel App.
-----------------------
Add to app/config/app.php
* Providers:
<pre><code>'Ielijose\HeywireLaravel\HeywireLaravelServiceProvider',</code></pre>
* Aliases:
<pre><code>'Heywire' => 'Ielijose\HeywireLaravel\Heywire'... | 8b8d4dccf3c8adc40027a6332663f1ec13f4a9bb | [
"Markdown",
"PHP"
] | 2 | Markdown | gerswin/heywire-laravel | e411ba9a3c0e82f9b9be010fdf3f5d4c76f33a8f | 48e4ab258f6311ccc66bd78f88527e5850789777 |
refs/heads/master | <file_sep>const currentUser = {
userId: '00000000-0000-0000-0000-000000000000',
isMachine: true,
scopes: []
}
const UserTCConnCopilot = {
userId: '4709473d-f060-4102-87f8-4d51ff0b34c1',
handle: 'TCConnCopilot'
}
const userWithManagePermission = {
hasManagePermission: true
}
const regularUser = {
userId: '... | 6d79e60155a3e0d4d73611c37f087c292d021379 | [
"JavaScript",
"YAML",
"Markdown"
] | 89 | JavaScript | deblasis/taas-apis | 27eede9438952cc9ef8e386c79d4bd5922a6bdfa | 8d9d76355a24247a8cf6cd15bcc359716f026b69 |
refs/heads/master | <file_sep>package deqo.mteu.MySimpleStack;
import java.lang.String;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.sameInstance;
import static org.junit.Assert.*;
public class SimpleStackImplTest {
Simp... | 8888a0631d931f5f7fb834ec81fa4474e3e94008 | [
"Java"
] | 1 | Java | malaikateuhi/my-simple-stack | 0c6a36414302c1fb35cba4ecee769adf6b0a2ea9 | 7c3dcd9fcde27d984e381d8dce9b0922cce789d5 |
refs/heads/master | <repo_name>ppooiiuuyh/ARCNN-FAST<file_sep>/utils.py
"""
Scipy version > 0.18 is needed, due to 'mode' option from scipy.misc.imread function
"""
import matplotlib.pyplot as plt
import scipy.misc
import scipy.ndimage
import scipy.io
import math
import numpy as np
import sys
from imresize import *
import glob, os, re
im... | 1db9e9e868f11cb9439d8038d23cf7a607295809 | [
"Markdown",
"Python"
] | 5 | Python | ppooiiuuyh/ARCNN-FAST | 1631c40bb2d6d700dd915a9dcb41cdc207cf52b9 | 062e8b644247ddf5bc3d21d98269c0d3aacec558 |
refs/heads/master | <file_sep>NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
baltimoreNEI <- subset(NEI,NEI$fips == "24510")
baltimoreyearsum <- tapply(baltimoreNEI$Emissions,baltimoreNEI$year,sum)
baltimoreemissionsbytime <- data.frame(years = names(baltimoreyearsum),emissions = baltimoreyearsum)... | 09775838466d0a3979d04039306c734ee2e45b82 | [
"R"
] | 7 | R | willheitman/ExData-Final-Project | 7d57ddbf82f05cab56a62d063489c88a92d1d219 | b28e5c656633a3e8008974ecd4a9223eba0b65a2 |
refs/heads/master | <repo_name>justin9503/Justin<file_sep>/ConsoleApp1/Program.cs
using System;
class GFG
{
class Point
{
public int x, y;
}
static bool doOverlap(Point l1, Point r1,
Point l2, Point r2)
{
if (l1.x > r2.x || l2.x > r1.x)
{
... | 7e3d55d5863a51a81bba44c94cdf1b2b2e113360 | [
"C#"
] | 1 | C# | justin9503/Justin | 74eb9cce0eb7b2836342e62dd9c976a936e1e588 | 66682616fb44f53b5f107af84f6dea5eeb6f90e5 |
refs/heads/master | <file_sep>package hm.moe.lws2d.chargefoodmod;
import java.util.HashMap;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.EnumAction;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.stats.StatList;
import net... | c20d740cf39a6c13f51f2805edc7173e1e889c2f | [
"Markdown",
"Java"
] | 4 | Java | Lways/ChargeFoodMod | c95d7123d4ab601211bc22b495bdd651f8a2f9a2 | a4d4a5d28596fcf311bc26c17fd9017d0f7895be |
refs/heads/master | <file_sep>def division(num1, num2)
num1 / num2
end
def argue(thing)
thing
end
def greeting(greet, name)
end
def return_a_value
return "Nice"
end
def pizza_party(arg = "cheese")
return arg
end
def whisper(what)
return what.downcase
end | 48a2df3130d08786a0bb6f634b85f6cbf7405574 | [
"Ruby"
] | 1 | Ruby | dive0/01-ruby-basics-lab | 1f7cdcff664e7b000d7716f898542c68d2e02abf | 4e91e450534268c6e4e674cba66fe6aa4b8a83cc |
refs/heads/master | <repo_name>brianlens/taste-of-code-rss-reader<file_sep>/README.md
## Outline the Project
Today we will be building a RSS feed reader, using HTML, CSS and jQuery.
Before we start, it's always helpful to first outline what you want your project to do/achieve.
* Display a list of some of your favorites news sites, alon... | 123a38f8b1a2cf15d65316a7014d38332d8a2c5c | [
"Markdown",
"JavaScript",
"HTML"
] | 3 | Markdown | brianlens/taste-of-code-rss-reader | 3f544d14466fd6c1a65818a6f7d923be04d2b086 | a6bc9b0eb648c3b9d8b860bed0369bd0a449dd46 |
refs/heads/master | <file_sep>INSERT INTO user(userid, username, password, role, firstname, middlename, lastname, phonenumber, email, street, city, zip, state, country, unit_number)
VALUES (1, 'thumpthump', 'password', 'USER', 'Randy', null, 'Calderon', '901-333-2014', '<EMAIL>', '6333 Brick Avenue', 'Burbank', 91606, 'CA', 'USA', null)... | 48c235d7751966ecf8616865884def8ced67036c | [
"Java",
"SQL"
] | 3 | SQL | RandyCalderon/java-shoppingcart | b27034072edc92aedd82f30e6ca8ef956863f83e | a326e1b57ec5a7539f21c1ed6642a871ad0f02d3 |
refs/heads/master | <repo_name>Nikitae57/Memby<file_sep>/app/src/main/java/ru/nikitae57/englisher/layout/dictionary/DictionaryViewHolder.kt
package ru.nikitae57.englisher.layout.dictionary
import android.support.v7.widget.RecyclerView
import android.view.View
import android.widget.TextView
import kotlinx.android.synthetic.main.dictionary... | 16b0ede0ab71093c57206355fdef6ca63a08556d | [
"Kotlin"
] | 6 | Kotlin | Nikitae57/Memby | 4ba95c4b995e7a5d48cba912e61e83d1ac629938 | 1e633966d70dc061ce93bfa5e72fae2439e8da1a |
refs/heads/master | <file_sep># coding:utf-8
from flask import Flask
from flask import request
import requests
import json
import re
import logging
from apscheduler.schedulers.blocking import BlockingScheduler
from datetime import datetime
import configparser
# create logger
#logger = logging.getLogger('simple_example')
#logger.setLeve... | e0cf93d61f4d4e9a41aeacba3e717f7a5cf22e1e | [
"Markdown",
"Python",
"Text"
] | 6 | Python | titanium99/my_linebot_app | 213dedc490543722c86d355b44465e66dd516757 | ac6d06b7ddc92f120347f456d81203144ef89e9e |
refs/heads/master | <repo_name>lndkhoa011195/eProject_OnlineAptitudeTest<file_sep>/OnlineAptitudeTest/OnlineAptitudeTest/Controllers/LoginController.cs
using OnlineAptitudeTest.Common;
using OnlineAptitudeTest.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Onl... | 32a2a1c72b395a87b0258814c9a12186433a5ae1 | [
"C#"
] | 3 | C# | lndkhoa011195/eProject_OnlineAptitudeTest | 65ed0d2acc15c3744b02d7563fbdf9d187120a5b | 1d6e2de34ffd2232769f3cd8c1c617bb56bb4a2a |
refs/heads/master | <file_sep>//
// Created by gerardo on 28/03/17.
//
#ifndef AIRWAR_NAVE_H
#define AIRWAR_NAVE_H
#include <allegro5/allegro.h>
#include <allegro5/allegro_image.h>
class Nave{
private:
int X;
int Y;
int Puntaje = 0;
int Level;
int Vidas = 3;
int Velocidad = 4;
public:
Nave(int _X,int _Y);
... | f8cf5758ef1dc7dbe50aceec2df8a43ac5234197 | [
"Java",
"CMake",
"C",
"C++"
] | 18 | C++ | DatosIIGNJ/AirWar | e990075c282ae012ef0ca66a783efe539904f65e | 1102c45736de48c5aed0aa83076aff56aebeb62a |
refs/heads/main | <repo_name>musaogural/CleanCode<file_sep>/java/src/ch04/proxy/basbakan2/Vatandas.java
package org.javaturk.cc.ch04.proxy.basbakan2;
public class Vatandas {
private Vekil vekil = new Vekil();
public String derdiniAnlat() {
vekil.dinle("Bir derdim var...");
return "Yasasiiinnn!!!";
}
public String isIste() {
... | e0997b55ad699a9eca6dcec12715088f9990ef5c | [
"Java"
] | 57 | Java | musaogural/CleanCode | 9ffb1ab4501928029eaad80d264e33ac080f0a4c | 579450a0bac50b507a660dd3c54cc99127079aa3 |
refs/heads/master | <repo_name>Wisnia144/Ch15_TVRemote<file_sep>/Friends/Friends/ClassTV.h
#ifndef _TV_H
#define _TV_H
class Tv
{
public:
friend class RemoteX;
Tv():state(Off),volume(10),maxChannel(50),channel(1){}
enum {Off,On};
enum {MinVal,MaxVal = 20};
enum {TV,DVD};
bool onoff(void) ;
void volUp(void) {volume++;}
void volDow... | 61c1b56f814f9cbdd7f8427cfdd10639017ad167 | [
"C++"
] | 6 | C++ | Wisnia144/Ch15_TVRemote | b8bddf3f796afb7990826bfbe7f86c745b427fc1 | f12e23da510d1a6b8ef71c5da6481dfffb8e49f2 |
refs/heads/master | <file_sep>from graphics import*
from button import*
from Computing_Value import*
from Judge_Winner import*
import random
def main():
board = [] # Define a chessboard without any piece.
row = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] # Use 0, 1, 2 indict 'no piece', 'black piece' and 'white pie... | 01a467cc69fbcf8dac77b3955a984b10b7b185c8 | [
"Markdown",
"Python"
] | 4 | Python | noahcao/Chess-in-Five | 0cb416132060b0f84e949826babf76261341e0e4 | 482da62a719f1542a3fc09c940394e6fab2f6d42 |
refs/heads/master | <repo_name>dbgroup-uestc/JiangHuaqi<file_sep>/code/NeuralMemory_Adversarial_CODE/MN_GAN.py
import model_GAN
import torch
from torch.autograd import Variable
import torch.optim as optim
from sampler import WARPSampler
from dataloader import movielens
import numpy as np
from tqdm import tqdm
import pandas as pd
import p... | 8a23784d1988b61bf5a62cc95ed36832dd5620c8 | [
"Markdown",
"Python",
"Text"
] | 22 | Python | dbgroup-uestc/JiangHuaqi | cac9cb3d75a502dce883e8b156de5f33bebcc2ab | df26125daa13a8301bd9829b6905608567ff76e8 |
refs/heads/master | <repo_name>vhs/isvhsopen<file_sep>/test/testState.js
'use strict'
const stateController = require('../controller/state.js')
const sinon = require('sinon')
const should = require('chai').should()
describe('isvhsopen state test', function () {
this.timeout(5000)
let state = null
before(function () {
this.cl... | d32ea3654fd24f27690b3e509cdcdca855ddf520 | [
"JavaScript",
"Makefile",
"Dockerfile",
"Markdown"
] | 9 | JavaScript | vhs/isvhsopen | 012436439ef6f190589a0620b25818bcf15d74ee | f82eecf046cf58b7cf0cac2478883c488f79ed19 |
refs/heads/master | <file_sep>import fnmatch
from functools import partial
import os
import re
import sys
__author__ = 's.taran'
def files(path):
for path, subdirs, files in os.walk(path):
for name in files:
file_path = os.path.join(path, name)
if os.path.isfile(file_path):
yield (nam... | 0ee5ccf50524643c1b87f32a1ca76f1fc8778bc3 | [
"Python"
] | 1 | Python | s-tar/pygrep | 9984675609e79097d0f3417c2a5688909acab780 | e762cad7f3063492f681d1ea60fb7d5d9391c873 |
refs/heads/master | <repo_name>fwu96/Basic-THREE<file_sep>/8-Snowman.js
/*jshint esversion: 6 */
// @ts-check
/**
* Code for page 8
*/
import {onWindowOnload} from "./Libs/helpers.js";
// these four lines fake out TypeScript into thinking that THREE
// has the same type as the T.js module, so things work for type checking
// type inf... | 4c0e09eab85abc9d6aa34b4a038dd0ffcd9990a7 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | fwu96/Basic-THREE | 9c77d92a3c7fb928b56da7a0a8751a7e00d4dd89 | a68cbd35da9140d105a4f5d9460f810bfeb18cd0 |
refs/heads/master | <repo_name>aloeb/fitness_buddy<file_sep>/models/user.js
var mongoose = require('mongoose');
var SALT_WORK_FACTOR = 10;
var UserSchema = new mongoose.Schema({
fb_id: String,
name: String,
calendar: { type: mongoose.Schema.Types.ObjectId, ref: 'Calendar' },
workouts: [ { type: mongoose.Schema.Types.Objec... | 355d8e02e1d739b5b92a95e32ba1f611ea99d238 | [
"JavaScript"
] | 9 | JavaScript | aloeb/fitness_buddy | a21ad85eea8028a316a0c5ebdcaa38f2581a4e11 | f6d43e28deb3e1bfa37bac4c64bc683521b2dfe6 |
refs/heads/master | <repo_name>oclaudio/cubic-oscillator<file_sep>/README.md
# cubic-oscillator
Deep and classical learning of a damped cubic oscillator.
Deep learning TensorFlow heavily relies on the code provided by <NAME>, <NAME> and <NAME> in "Deep learning of dynamics and signal-noise decomposition with time-stepping constraints", ... | b11da32b2d7c2eaa25e42c40911508a82c9ddfbc | [
"Markdown",
"Python"
] | 3 | Markdown | oclaudio/cubic-oscillator | eb0509700030764345731f5f5b7ed4528c4be014 | 58aa7ea8688527fccac750a9aa19214cd83dbb37 |
refs/heads/master | <repo_name>frontBOI/Transversal<file_sep>/README.md
<img src="https://picsum.photos/id/1040/4496/3000"
alt="Super image de qualité"
style="width: 200px;" />
# Projet transversal
Projet transversal à la super école CPE Lyon
## L'équipe, hommes d'envergure
| Nom | Puissance |
|---------------|:----... | 83cae82e8ba6cefe585bf8c1bc05b4b842b92f05 | [
"Markdown",
"Python"
] | 2 | Markdown | frontBOI/Transversal | acf9ac442d159c8bbcc75d6a87adf0e403c1f268 | 435793353da764e57b9319cac45df3b355a5316c |
refs/heads/master | <file_sep>#-*- coding: utf-8 -*-
import wx
import sys
import wx.grid
cantVar = 0
cantRes = 0
opcion = ""
Filas = 0
Columnas = 0
resultado = []
class enConstruccion(wx.Frame):
def __init__ (self, *args, **kwargs):
super(enConstruccion, self).__init__(*args, **kwargs)
self.InitUI()
de... | 18166f2093e71123960dffa15a4d17744170ed2f | [
"Python"
] | 1 | Python | JjVera96/ProyectoIO | 01d5d8d7005dcbd1c59b161cf0a380166aaa5843 | 6e74cf8ae28cbc9eec8b638be71ebb56ca42b6ad |
refs/heads/master | <file_sep>import React, { useState, useEffect } from "react";
import {
StyleSheet,
Text,
View,
Picker,
TextInput,
AsyncStorage,
TouchableOpacity,
ImageBackground
} from "react-native";
import DebounceTouchbleOpacity from './helpers/DebounceTouchbleOpacity'
import { useDispatch, useSelector }... | 8288f6febe067010ab6c39cd35efcf3bceb4966f | [
"JavaScript"
] | 13 | JavaScript | DenisLebedinsky/Logistic-mobile-app | 2f94747931dcc7649e26069537d7753fcff2c89b | c61adde167adce84c1aac0a91523b6d1061e09b7 |
refs/heads/main | <file_sep># OrderAutomation
This project is about an order otomation system for a supermarket. The project has written with C# language and MSSQL.
Written by <NAME> and <NAME>.
<file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using S... | 8ee3333fe1359df13acba8b94f6391869147f020 | [
"Markdown",
"C#"
] | 9 | Markdown | omerbilge35/OrderAutomation | 081aa585e5a55b77186b26bcf98444ca9c82828e | 99d4b5c12208fb92a0d752b00d21bb64bc772437 |
refs/heads/master | <file_sep>import React from 'react';
import { confirmAlert } from 'react-confirm-alert';
import { Link } from 'react-router-dom';
import memoriesData from '../../../helpers/data/memoriesData';
import './SingleMemory.scss';
import 'react-confirm-alert/src/react-confirm-alert.css';
class SingleMemory extends React.Comp... | 982acb22dd4790ae8a0811242d604405807c4e12 | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | spookycutie08/re-visit | af890f6998331ddc36b8a99b45043b480f96c9e0 | e077774db515d5e93527777e6065110810fc6b17 |
refs/heads/master | <file_sep># Simulink-DSP-Viewer
This is a basic Matlab Simulink Model and C template for practicing with DSP.
# How-to
Simply open the .slx file using Matlab Simulink and run everything from there.
The workflow goes as follows:
1- Add your DSP code into the C file;
2- Execute the Simulink simulation;
3- Analyse... | ef6b508d6102ffb9b5e50fd3688490c2c67d9fe0 | [
"Markdown",
"C"
] | 3 | Markdown | miguelangelo78/Simulink-DSP-Viewer | 98f7cc3a15a432f0f2ef21cc9f7df4804862663a | 3a12c6d699cdfb920ec3134515b9b9affb82d5e5 |
refs/heads/master | <file_sep>using System;
using Microsoft.AspNetCore.Mvc;
using VersionamentoHeaderEspecifico.Api.DTO;
namespace VersionamentoHeaderEspecifico.Api.Controllers
{
[ApiController]
[Route("api/[controller]")]
[ApiVersion("1.0")]
[ApiVersion("2.0")]
public class MotosController : ControllerBase
{
[HttpGet("{id}")]
... | 0dfc6f73b9a987e6e30466a6f5db8d37f3155e8a | [
"Markdown",
"C#"
] | 13 | C# | hugo-cesar/versionamento-api | 906d314820bc05bda969aadf5f27c58200c2a8bc | 6eb3c24a69478de61311a45ca1813bd0e764ba99 |
refs/heads/master | <repo_name>DhanushM12/HospitalApiWithUnitTesting<file_sep>/controllers/patients_controller.js
const Doctor = require("../models/doctor");
const Patient = require("../models/patient");
const Report = require("../models/report");
const enums = require("../config/status");
//register patient
module.exports.register = asy... | 50581389392c80146866e3331653295adee4b7ad | [
"JavaScript"
] | 8 | JavaScript | DhanushM12/HospitalApiWithUnitTesting | 542fec0bf84d1de5252609f32d1a8edf17c2d28d | c22b339737c5c13d60cc0ae2c65719f40941f3cd |
refs/heads/master | <file_sep>import { combineReducers } from 'redux'
import { drinks, drinksHasErrored, drinksIsLoading } from './drinks';
export default combineReducers({
drinks,
drinksHasErrored,
drinksIsLoading
})
<file_sep>export default {
button: {
width: 100,
height: 30,
padding: 10,
backgroundColor: 'lightg... | ee90656071c49c7b137982e0746d4638f7a667b8 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | will-sklenars/react-native-redux-express | 3bf5a1001f8d573bfdf943d1245e90e6964af280 | 83e49b560a4acc5bffd2cabb70f5d085ca2c7a36 |
refs/heads/master | <file_sep>//var r =require('../sendNotificationModule.js');
var express = require('express'); // call express
var app = express(); // define our app using express
var bodyParser = require('body-parser');
// configure app to use bodyParser()
// this will let us get the data from a POST
... | 4252df043398a6467cca46c4d5d1e5c79b3554ae | [
"JavaScript"
] | 2 | JavaScript | ASHISH961996/FirebaseNotificationNodejs | d2e2ba4587c506e5d9cd7feaaee196b3a497cf9e | 9625cf6304580d0e250844e5e3e787039961f779 |
refs/heads/master | <file_sep># guessTheNumber
A guess a Number Project.
<file_sep>// Steps to build the game
// Set a random number
// check the number to see if it is above, below, or the same as the number
// display score when checking the button
// reset the game with button
// document.getElementById('message').textContent = 'Cor... | 7036fc5132c8bd709b6dbb22a3d54fdca9120e4d | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Etang131/guessTheNumber | 66fb84d3be49b5862a96e30a5d07a4db724cc0e0 | d3f5aaa35dc365ec62cfc826f0e10fc27e79689f |
refs/heads/master | <repo_name>aiyuai1987/quill<file_sep>/formats/header.js
import Block from '../blots/block';
class Header extends Block {
static formats(domNode) {
return this.tagName.indexOf(domNode.tagName) + 1;
}
optimize() {
super.optimize();
let text = this.domNode.textContent.toLowerCase();
let id = text.... | c784874931cdd8ca369a278195a9b16cb8e2fcda | [
"JavaScript"
] | 1 | JavaScript | aiyuai1987/quill | 3d948a7477954e37375fcd3d832f8ccaf2b0a4a0 | e709fd7ac163e04db4c8156b0fc60a199d108449 |
refs/heads/master | <file_sep>#ifndef _RING_BUFFER_H_
#define _RING_BUFFER_H_
#include <pthread.h>
typedef struct
{
long size; // current size of data in ringbuffer
long cap; // capacity of ringbuffer
void *buf;
long roffset;
long woffset;
pthread_mutex_t mutex_io;
pthread_cond_t cont_r... | afe743d8b759076d022305ce3808d92176a68a72 | [
"C",
"Makefile"
] | 4 | C | ydb1358396458/ringbuffer | 997c1d8ccf2292237143f89dfded58ce89abce0f | 28605133a5067a4ca6a32ca915bba3b47d8cf42e |
refs/heads/master | <repo_name>NaphNinja/Mood-Analyzer<file_sep>/README.md
# Mood-Analyzer
This application aims to perform Sentimental Analysis on pre recorded audio files (.wav format) to obtain results based on emotive modulation on the voice.
# mood-class
<i>mood-class</i> is a classification tool that accepts inputs in the form of ... | 7718bc73eb62d5cd6d33284d1bc128aea9c253b3 | [
"Markdown",
"Python"
] | 3 | Markdown | NaphNinja/Mood-Analyzer | fe93df50098e207ce91005fe6f63f66a2d6f7999 | 475d030f3ce3c6ff8493d757b506122bbfebd6f5 |
refs/heads/master | <file_sep># When recurring on a number, ask 1) 0? and 2) else
# Always change at least one argument while recurring.
# It must be changed to be closer to termination.
# The changing argument must be tested in the termination condition.
class Wrapper
def wrap str, max
final_str = ""
foo = get_first_split(st... | e60751d0f7f3c75dc47399156329028984d4d419 | [
"Ruby"
] | 2 | Ruby | markhaskamp/word-wrap-kata | 7c7ca52a23d2675f8e1a0e0c80d428f243745dde | f47c3871749fd78503482f633504fe55997d901d |
refs/heads/main | <file_sep># diar
Soft de control inmobiliario
| 7a90a43256f9860bedd0eaad03fb6c266412c7c1 | [
"Markdown"
] | 1 | Markdown | hipogea/diar | 8aa07671aafc33286277043a1db8537cbb762bd8 | 978675bba5e78d56012330f14cdebb8232ba4e65 |
refs/heads/master | <repo_name>Epromee/chengyu-dictionary<file_sep>/data/chengyu_frequency.py
import json
idioms = list()
with open("chinese-idioms.txt", "r") as f:
for line in f:
parts = line.strip().split(",")
# idiom = parts[1]
idioms.append(parts)
print("All chinese idioms: ", len(idioms))
print("loading file...")
file = ... | 558888d099435774f27d80f02597897e2bd7b577 | [
"Markdown",
"SQL",
"Python",
"Java"
] | 9 | Python | Epromee/chengyu-dictionary | 12b6b19f7280754562b120443aea8c1d2d6600fa | 4bbcc1892401162d2b7728b44077ba4538f4827c |
refs/heads/master | <repo_name>jeanklann/GravityTestsSimulation<file_sep>/SpaceSimulation/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.IO;
using System.Drawing;
namespace SpaceSimulation {
public class Program {
... | cc1f478ab49d5ad13762bd2827103d661193caa0 | [
"C#"
] | 3 | C# | jeanklann/GravityTestsSimulation | c4bcfb7b7151988365a8f83030b1c14a8ce10b15 | bbd724b3e5afafc6659ebc6c5ecadd74df2aae88 |
refs/heads/master | <file_sep>#!/bin/sh
# Note:
# Requires git-subtree
# https://github.com/apenwarr/git-subtree
cd ..
git remote add xboot <EMAIL>:alexforencich/xboot.git
git fetch xboot
git subtree merge -P firmware/xboot --squash -m "merged changes in xboot" xboot/master
| c6099dd50a008c0b9261e0caf47c2463daff7bf7 | [
"Shell"
] | 1 | Shell | chazmatazz/xgrid | 78cae41ae7bdcf06271329ebb2e2e44c24b3f420 | 894046466f0484f6198f58e152e339db6fc00e26 |
refs/heads/master | <file_sep># Reading Material
## Convenience
### Python
- [Setup multiple Python environments for Jupyter](https://medium.com/towards-data-science/environment-management-with-conda-python-2-3-b9961a8a5097)
- [Special method names](http://www.diveintopython3.net/special-method-names.html)
- [Design patterns](https://g... | 08db30b57a5d8145eb7757d30d127f4d3515105b | [
"Markdown",
"R"
] | 2 | Markdown | dkuostat/Reading-Material | 7394c75ab2860bcd95376bdd7b97287d35923275 | 80daa4034a7dfd879ea3d4ddd5ba5e2cc0b64a85 |
refs/heads/master | <repo_name>dctrud/clair-singularity<file_sep>/tests/test_image.py
import multiprocessing
import os
import subprocess
import time
import pytest
import requests
from clair_singularity.image import image_to_tgz, check_image, http_server, ImageException
from clair_singularity.util import sha256, err_and_exit, wait_net_se... | d9ea5ae58f76d45763852a9942b21a822e201168 | [
"Markdown",
"Python",
"Dockerfile",
"Shell"
] | 15 | Python | dctrud/clair-singularity | 8a35125aaa9ef60418c7b708dd4cd7318402e6f5 | 3aeed7cb84cfafddd057556acccddedf35fa25fe |
refs/heads/master | <repo_name>kkathuria93/js-deli-counter-bootcamp-prep-000<file_sep>/index.js
var katzDeli = [];
function takeANumber(katzDeli, name){
katzDeli.push(name)
var positionLine = (katzDeli.length)
return ("Welcome, " + name + ". You are number " + positionLine + " in line.")
}
function nowServing(katzDeli){
if (ka... | 686d641680281d5d475e5071353f828714fca5d3 | [
"JavaScript"
] | 1 | JavaScript | kkathuria93/js-deli-counter-bootcamp-prep-000 | a9dbaed30a15c75a012666272bb7058884868e51 | 7617e6b8aeb707ceb840871b5554b9d03c4871c4 |
refs/heads/master | <file_sep>hunalign=/mnt/home/boxiang/software/hunalign-1.1/src/hunalign/hunalign
ladder2text=/mnt/home/boxiang/software/hunalign-1.1/scripts/ladder2text.py
dictionary=/mnt/home/boxiang/software/hunalign-1.1/data/null.dic
in_dir=../processed_data/evaluation/nejm/align/hunalign/input/
out_dir=../processed_data/evaluation... | 2edfa18568b02e63757da73254c09e195b9f4efa | [
"Markdown",
"Python",
"Text",
"Shell"
] | 54 | Shell | boxiangliu/ParaMed | 08484488f4829bf144303a2e348c79e4e2ae5f71 | 65e67977c88c1ce2166d08d6d40a33f6961a3486 |
refs/heads/master | <file_sep>import sys
import matplotlib.pyplot as plt
import numpy as np
import skvideo
def printProgressBar (iteration, total, prefix ='', suffix='', decimals=1, length=100, fill='*'):
"""
Call in a loop to create terminal progress bar
@params:
iteration - Required : current iteration (Int)
... | 7dfdc8a545eb0bb73c3509428d0e9596a5b74aec | [
"Markdown",
"Python"
] | 3 | Python | m0ro/moroUtils | f52f4699afc2efd0e1ec6ffcd1b2660f06df0b93 | a89a2b115733c0a2e3fbf78cec74b49932d03757 |
refs/heads/master | <repo_name>amirabbas-ranjbar/AngularSample<file_sep>/Amir/Content/script/app/app.js
var app = angular.module('myApp', [
'ngMaterial',
'ngMessages',
'ngSanitize',
//'ADM-dateTimePicker',
// 'ui.bootstrap',
'blockUI',
'ngResource'
]);
angular.module('myApp').config(function (blockUIConfig) {
... | 6cd6e5f90f8585c3493cbbc99ed9b3a7ba8aba39 | [
"JavaScript",
"C#"
] | 3 | JavaScript | amirabbas-ranjbar/AngularSample | 6022d1079118edb4230cc40107b5a8cdc7181f9b | b2bd6670a67237b8215f885b651f3bbacc2d6ff4 |
refs/heads/master | <file_sep>from mne.channels import read_custom_montage
from mne import set_eeg_reference, events_from_annotations
from mne.epochs import Epochs
from autoreject import AutoReject, Ransac
import numpy as np
from mne.preprocessing.ica import ICA, corrmap, read_ica
import os
from pathlib import Path
from matplotlib import ... | b88a389f1b2d854fcc0eef3da24cd2d2c8e5bb82 | [
"Python"
] | 1 | Python | alebrrr/mne_addon | 1b394e8ae021313db7a6bf76da48aa995f8af4ae | 2299547c47805fe97a82ad8fd60b56ff3fde4f8d |
refs/heads/master | <repo_name>RunningCalf/DDAScripts<file_sep>/Emma2DDA_Lnx.py
#!/usr/bin/python
# In stability tests, they need to treat EMMA cube as DDA mode. To do this, we need add following lines in function CDSSReportDefinition::Read(…)
# in file /COM/SourceCode/DSSReport/CDSSReportDefinition.cpp
# void CDSSReportDefinition::Read(... | 7fda204a6af5dfeac933f437c090cf41db07c3e8 | [
"Markdown",
"Python",
"Shell"
] | 5 | Python | RunningCalf/DDAScripts | a10b6072e4d50c0606abe9ed395c7ddf34842945 | e433f10c21c80c6335d877aa79ed63eb7a2b3d6c |
refs/heads/master | <repo_name>Egledze/AutomatinioTestavimoKursai201130<file_sep>/ManoBaigiamasisProjektas/ManoTestai/ManoTestai02.cs
using AutoPaskaitos.ManoBaigiamasisProjektas.ManoPuslapiai;
using NUnit.Framework;
namespace AutoPaskaitos.ManoBaigiamasisProjektas.ManoTestai
{
class ManoTestai02 : BazineManoTestu
{
pri... | b46123f8e9b3b61f7e090d25dc32b6d964f20902 | [
"C#"
] | 8 | C# | Egledze/AutomatinioTestavimoKursai201130 | 7d6ebbfbe643cc79a81f496fb14579d12d788ae6 | 1d4e86798bf412f7df437e541604f7fe483a586b |
refs/heads/master | <file_sep>#!/bin/bash
die () {
echo "$@"
exit 1
}
if [ "$#" -ne 2 ]
then
die "Usage: build-osrm-config profile.lua port"
fi
if [ ! -d /opt/Project-OSRM ]
then
cd /opt || die cant cd to /opt
git clone https://github.com/DennisOSRM/Project-OSRM.git
git checkout -b v0.3.5 v0.3.5
fi
filename=${1##*... | d7c77524bbb8df665b9e48a8d780ea078f27ed67 | [
"Markdown",
"Shell"
] | 2 | Shell | IOdump/noway.io | a8e7d591d61951f9882232a912d6b205f93ae59c | 1a877e3432f19a82b85cf50426fa7224ecd30653 |
refs/heads/master | <repo_name>thiwwy/lotto_service_system<file_sep>/src/main/java/lottoApi/service/LottoService.java
package lottoApi.service;
import lottoApi.model.LottoExtraction;
import lottoApi.model.LottoWinner;
import java.util.List;
public interface LottoService {
List<LottoExtraction> getLottos();
List<LottoWinner> ge... | 54b1a0a4a6d3491202c92d8d7720fb4dc152e3e1 | [
"Markdown",
"Java"
] | 4 | Java | thiwwy/lotto_service_system | 23284a53c456cf27a9928d7634758003adfd12ba | 309d93845f291cc6e9e51902c00440617d6a403f |
refs/heads/master | <file_sep>#
# Compact 26-char URL-safe representation of UUIDs
#
import uuid
import base64
from base32_crockford import encode, decode
import sys
def uuid_to_str26( _uuid: uuid ) -> str:
'''
In: uuid
Returns: 26-char representation of uuid
'''
res = encode( _uuid.int )
l = len( res )
if l <... | 242a607e4c801c891f8cc00598a9258e16179345 | [
"Markdown",
"Python"
] | 3 | Python | asokolsky/compact-uuids-py | 6585d09d897f156b718994c26984aaea0710aa0e | b3788e58235bc0e8d50565e7fa47dc98e3663c18 |
refs/heads/master | <file_sep>FROM duluca/minimal-node-web-server
WORKDIR /usr/src/app
COPY . public<file_sep>const app = new PIXI.Application(800, 600, {backgroundColor : 0x1099bb});
document.body.appendChild(app.view);
PIXI.loader.add('tank', 'tank.svg').load((loader, resources) => {
const tank = new PIXI.Sprite(resourc... | 48b8a2bc00df99c546f04eb7b48c7545404fd231 | [
"JavaScript",
"Dockerfile"
] | 2 | Dockerfile | ewoutkleinsmann/battletank_viewer | 7f9f56587de2f76494a3ac74c641723643e54cda | 7d7f02d2cb8227ff9e55501d48fa9eb1cbe45500 |
refs/heads/master | <file_sep>-- phpMyAdmin SQL Dump
-- version 4.6.5.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:8889
-- Generation Time: Dec 12, 2018 at 01:22 AM
-- Server version: 5.6.35
-- PHP Version: 7.0.15
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARAC... | a048ea1cce4f4dee8f790450b0499af747008338 | [
"C#",
"SQL"
] | 6 | SQL | manasavesala/UniversityRegistrar.Solution | 03d5ecbd3d36bb328a00f791b0415deae68602f3 | 8e06f055fe0dea6adf8f6d47b7d1c70848411fce |
refs/heads/master | <repo_name>ErrEoE/phpactor<file_sep>/lib/Application/FileInfoAtOffset.php
<?php
namespace Phpactor\Application;
use DTL\TypeInference\TypeInference;
use DTL\TypeInference\Domain\Offset;
use DTL\TypeInference\Domain\SourceCode;
use DTL\Filesystem\Domain\Filesystem;
use DTL\ClassFileConverter\Domain\FilePath;
use DTL\C... | 49403e7fd22cfb51e0f7ead17d612fc758425704 | [
"Markdown",
"PHP"
] | 8 | PHP | ErrEoE/phpactor | c8ae5d61b71ac67b7ce1f4d7424e326da81f88bd | 644a03930ba9438281d7c24b30b72cc839194bd8 |
refs/heads/master | <repo_name>Bearded-Baguette/Tetris<file_sep>/Tetris/Board.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Tetris
{
public class Board
{
Panel[,] boardArray = n... | 584696640fd64e46f887411a497cf29c22459d65 | [
"Markdown",
"C#"
] | 4 | C# | Bearded-Baguette/Tetris | 00bafa0a6a829597a4892d33afb008d785ba8361 | 39502e1e5489c1b5534a53c58e485a60d303d239 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.