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>khanvuthy88/canadia<file_sep>/app/Observers/CreateAccountObserver.php <?php namespace App\Observers; use App\Customer; use Mail; use App\Mail\Confirmcode; class CreateAccountObserver { /** * Handle the customer "created" event. * * @param \App\Customer $customer * @return void ...
a6418f81417622ed3af0852ea92daa3fd8f5ff06
[ "PHP" ]
15
PHP
khanvuthy88/canadia
36a85c6922a0c2a74e210168b890cc67c8939626
fa9fb12ee7abcf683d37d3712fc55555c72bfc87
refs/heads/master
<file_sep>#!/usr/bin/env python2.7 from __future__ import print_function import multiprocessing import sys import time import threading from grpc.beta import implementations import numpy import tensorflow as tf import predict_pb2 import prediction_service_pb2 import mnist_input_data tf.app.flags.DEFINE_integer('c...
8d7be6158a0f98e33bc97c99006ef56979b67f63
[ "Python" ]
2
Python
yejw5/script_benchmark
f254b0a9425b8ab9e6426d8f8135b68788da5447
a530154775ef67c3717599c4c2573f77561f68db
refs/heads/master
<repo_name>jbsmith731/chrome-col<file_sep>/readme.md ##Install from github - [Download](https://github.com/jbsmith731/chrome-col/archive/master.zip) - Chrome: Settings > Extensions - Turn on developer mode - Load unpacked extension - When the extension is first added to Chrome, Chrome will not load the extension on pa...
2da966c636962ca952dbda8533183302677f1c1e
[ "Markdown", "JavaScript" ]
3
Markdown
jbsmith731/chrome-col
7e64b02541deb3edfd26fbaa36b6842b74b474b7
32711cd2b2e30607bc8cb2d87e4a3c104f41db99
refs/heads/master
<file_sep>#include "Hand.h" #include <algorithm> void runSimulation(int &numOfTurns, int &successCount, int &failCount, int &gameCount, vector <int> &successArray){ Deck deck; bool player1Win = false; bool player1Lose = false; bool player1Push = false; double player1Bet = 0; double player1Pot = 20...
940d4aaaf2cd1e7967414ac4a690b9d2ef2d9e2c
[ "C++" ]
13
C++
Konnie789/BlackjackBot
57468288f8b6011c82ec92b3af9abe90eb73914c
6f9acd0bdd1d5a6daf0e6a5d0220f584fc193696
refs/heads/main
<repo_name>fractivore/groupGenerator<file_sep>/groupGenerator.py import sys, random, os, io, json import jsonIO #custom library #Distinguish between OS to generate fullpath of groupstest.json, a database file to be created if sys.platform == 'win32' or sys.platform == 'win64': localDataBasePath = os.path.di...
a597d73cbe52a898ab8b3dc305fe06eb213ebf69
[ "Python" ]
1
Python
fractivore/groupGenerator
bbdaee727b7518b8012f0540f8e7a65c3374e5d0
0f0e791f3467bfecb39a7c96e500e44ce858df48
refs/heads/master
<repo_name>AvraSaslow/3308project<file_sep>/run.sh #!/bin/bash COMMAND="FALSE" DOC="FALSE" INSTALL="FALSE" DOCS="FALSE" TEST="FALSE" POSITIONAL=() while [[ $# -gt 0 ]] do key="$1" case $key in -e|--execute) COMMAND="TRUE" shift # past argument ;; -dox|--doxyg...
94eb0a5124bc079afd61daf65d8492243a096abe
[ "Markdown", "Python", "Shell" ]
3
Shell
AvraSaslow/3308project
e0b35e266b96c076d0d11e84c5bb6658cfb8e371
33040d89dc12d7977e9321d8c1b7802f0ca6c266
refs/heads/master
<repo_name>omiinaya/custom-npc-scripts<file_sep>/job-adv.py if sm.getChr().getLevel() < 10: sm.sendSayOkay("You need to be level 10 to job advance.") sm.dispose() if sm.getChr().getLevel() >= 10 and sm.getChr().getJob() == 0: explorer = sm.sendSayOkay("What would you like to become?: \r\n#L0#Magician \r\n#L...
cc82d4804a2da1c00e5e5954a8b1a6f241ae4584
[ "Python" ]
2
Python
omiinaya/custom-npc-scripts
13cf5593038da42535b69b757b5490eecc2c9e95
765e3b49044c5c67b79dbbb298e8cf4e0753efb0
refs/heads/master
<repo_name>zetasq/SwiftOperation<file_sep>/SwiftOperation/OrderedSet.swift // // OrderedSet.swift // SwiftOperation // // Created by <NAME> on 04/03/2018. // Copyright © 2018 <NAME>. All rights reserved. // import Foundation public struct OrderedSet<Element: Hashable> { // MARK: - Properties private var _stor...
d87ed71563ce2faf578c93f2c7abb919bf482d15
[ "Swift", "Markdown" ]
8
Swift
zetasq/SwiftOperation
c8db4f922cd9260161650a49be5c58862f42dbb9
5c06b88dc69898f0a046f48d4f20dede1fcf276e
refs/heads/master
<repo_name>ch4n3-yoon/Compress-Tool<file_sep>/zip.c #include <stdio.h> #include <unistd.h> #include <zlib.h> #define FILE_READ_FAILED -1 int main(int argc, char * argv[]) { char * filename = argv[1]; if (argc < 2) { printf("[*] Usage : %s [filename]\n", argv[0]); return -1; } if ...
243dcfd940653a2b34a6f57f9b9855cedc1a1a6e
[ "C" ]
1
C
ch4n3-yoon/Compress-Tool
3af4e029173b826c61ed89018bc983bf249f63fd
9c02ea6ab7453e3d85ea368248061270ec6e7b79
refs/heads/master
<file_sep>package Data; import android.app.Activity; import android.content.SharedPreferences; import java.security.PublicKey; public class CityPreferences { SharedPreferences preferences; public CityPreferences(Activity activity) { preferences=activity.getPreferences(Activity.MODE_PRIVAT...
b1636a8c5aea955567916b5cd73ef5ec9a29df03
[ "Java" ]
2
Java
buuzuu/WeatherApp-HttpCLient
f42b06ab4b599e6847161e52003b8271a41bca5d
c8ecad9c4140efe297e80be33b17a29a3f5f5d99
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; namespace ProjetoAtleta { public partial class pessoa : Form { public pessoa()...
7cb75c519bef2070bae78c2f7c07ce9cbb8d363b
[ "C#" ]
2
C#
MarcoTulioFonsecaAlves/ProjetoAtleta
1dfdb4873726690f4f92089b7637d1310b4dccfe
e4b9f7006f45c591de1431413e0613e0c598ffc8
refs/heads/master
<repo_name>angelicavsj17/frontend_sistemGestion<file_sep>/src/App.js import React from 'react' import '../src/app.css' import Home from '../src/components/pages/home/Home' function App() { return ( <div className="App"> <Home /> </div> ); } export default App;
1b26e22dd72f277838e4b0aaf068fbd4e6a8489f
[ "JavaScript" ]
1
JavaScript
angelicavsj17/frontend_sistemGestion
90dc7bcf5d56377e0365d0ece8ce5da5586bc121
80b45039bceeacd7a1077e228116701722d8df99
refs/heads/master
<repo_name>menglijinghua/community<file_sep>/src/main/java/cn/blabla/community/controller/CommentController.java package cn.blabla.community.controller; import cn.blabla.community.dto.CommentDto; import cn.blabla.community.dto.ResultDto; import cn.blabla.community.exception.CustomizeErrorCode; import cn.blabla.communi...
e34e5053ef06058b256d789cd72d04296be19164
[ "Java" ]
4
Java
menglijinghua/community
0cacd8b38cb05943d6aea13442c3d83737ca90df
56ab18fb3f3f45b53276db427400a81a8463caf6
refs/heads/master
<repo_name>launderex619/evolutionary_optimization_algorithms<file_sep>/algoritmo genetico continuo/quartic/quartic.py # -*- coding: utf-8 -*- class Quartic: MIN_VALUE = -1.28 MAX_VALUE = 1.28 def __init__(self): pass def fitness(self, cromosoma): z = 0 i = 1 fo...
3a6e35d8f1059b45c78d89d5125e806d28b7ed7f
[ "Python" ]
18
Python
launderex619/evolutionary_optimization_algorithms
914b9804f14653b7b1537e056eb19bc15c9dbed0
79e5438fde89ab919d5233cc1f121b59d2574013
refs/heads/master
<file_sep>package ai_8puzzle; import java.util.ArrayList; import java.util.Arrays; public class SteepestAscent { private final Integer[] goal = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; public StateNode runSteepestAscent(StateNode initialState) { System.out .println("--------------- STARTING TO SOLVE PUZZLE USING Hill...
36378c877effb30667d6052d0ebbc2062a870cc5
[ "Java" ]
4
Java
megik/cosc4600
4c2661bb6192f83cf970261cdb41168f24ff9657
5f9f8ac2d0323472c717153709f0e895dbe676df
refs/heads/master
<repo_name>Phub71/BookMe<file_sep>/BookMeFiles/MenuBar.java package BookMeFiles; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.event.MenuListener; p...
8ef445952b232f2925b80a13fd7540cff0d2e53c
[ "Java" ]
7
Java
Phub71/BookMe
9463c680aff891d98ef465d0281ea781c9a62572
cbca3b26bcf03c7f4655d919b552181486d4d124
refs/heads/main
<file_sep>import time import datetime import numpy as np import json import os from flask import Flask, request from pymongo import MongoClient # the host name is defined in the docker-compose.yaml file mclient = MongoClient('mongodb://mongo:27017') mdb = mclient['ratemykey'] app = Flask(__name__) # keep track of ...
5c4ab209e782eb5a9868ba1b4a4867741fac431b
[ "Markdown", "Python", "Text", "Dockerfile" ]
7
Python
markovchainsmoker/looking-normal
4b221b22fa9671884225d4f9ecbdfd39b0cd5079
fcf6fa6bc8a519a37c503607053165408f3a7df9
refs/heads/master
<repo_name>JThorumP/Kea_DAT_Node_2020_Spring<file_sep>/1_intro/Intro_Exercises/Basics.js var firstName = "Joakim"; var lastName = "Poulsen"; console.log("My first name is", firstName, "and my last name is", lastName) var year = "2017"; var number = 1; var newYear = (parseInt(year) + number); console.log(newYear)
eb392483de8176baa1c46b53117abea635b2885e
[ "JavaScript" ]
1
JavaScript
JThorumP/Kea_DAT_Node_2020_Spring
dc406edbba60eb7569591890eee7008881b97771
e0c17af928fdf287a6aaabb94e6e7e8bd9fb858e
refs/heads/master
<repo_name>PavelShatuho/sample_university_app<file_sep>/app/models/attendance.rb class Attendance < ActiveRecord::Base belongs_to :lesson belongs_to :student validates :lesson_id, :uniqueness => {:scope=>:student_id} end <file_sep>/spec/models/student_spec.rb require 'rails_helper' RSpec.describe Student, type:...
33dd20bc5bf8ae64118db0c4f9085e6479d1d302
[ "Ruby" ]
10
Ruby
PavelShatuho/sample_university_app
a6f7296fcf99c7e73e1a5a2a68794c0bd2748c2a
22deef77661528262303bc9668f02a6b91675d46
refs/heads/master
<repo_name>tradegecko/honeybadger-ruby<file_sep>/lib/honeybadger/version.rb module Honeybadger # Public: The current String Honeybadger version. VERSION = '3.1.2'.freeze end <file_sep>/lib/honeybadger/backend/null.rb require 'honeybadger/backend/base' module Honeybadger module Backend class Null < Base ...
9ce42515fa1a9e0c811b720c0b15a5921f7b0ab2
[ "Ruby" ]
2
Ruby
tradegecko/honeybadger-ruby
53d8a5c507c955993bbd891ec9eafabde978fd35
52a7caf1557eadc99fe94f3adb26f796b3da44bf
refs/heads/master
<file_sep>using Discord; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DiscordBot.Commands { public interface ICommand { void initialise(); void invoke(MessageEventArgs e, bool pub, bool fromPhrase = false); ...
ec20bdfae5f8cd61d4fce01ccc99ed415b377128
[ "Markdown", "C#" ]
46
C#
JoeMShanahan/DiscordBot
aa40b3e06db55612cbf200b596f4e42d86dd8b97
35213058a5a7ffa3e035c3205e29c94ed926c343
refs/heads/master
<repo_name>jay1905/BulletinBoard<file_sep>/app.js const express = require('express') const app = express() const port = 3000 const pg = require('pg'); const bodyParser = require('body-parser') const { Pool, Client } = require('pg') const connectionString = 'postgresql://' + process.env.POSTGRES_USER + ':' + process.env...
e38450cfd5f2e025a85c84d3e6bd7f4ea5180e2d
[ "JavaScript" ]
1
JavaScript
jay1905/BulletinBoard
f1d68eb1270c4eb32f3eb0326cf659aff41de9c4
9a8f7eb77e91fa0981b4cd3714d4dfc4d3029245
refs/heads/main
<file_sep>export { ZipLoader, ZipEntry } from './zip-loader' export { ISeekableBuffer, FileSeekableBuffer } from './seekable-buffer' <file_sep>import { ISeekableBuffer } from './seekable-buffer' export type EndOfCentralDirectoryRecord = { // (4 bytes) // endOfCentralDirSignature: 0x06054b50 // (2 bytes) numberOfT...
10b4c68cba19733d482b88de5e71046be9c521a8
[ "Markdown", "TypeScript" ]
9
TypeScript
oriaca372m/seekable-unzipper
e21eebc0394570505109e4bb42bbc1aa8ed5f9a6
566e3e64029c939f4a128d2eaa6f510cae603ef6
refs/heads/master
<file_sep>import React, {Component, PropTypes} from "react" const noop = () => {} class ResizeProvider extends Component { static childContextTypes = { stile: PropTypes.object, } static propTypes = { getViewport: PropTypes.func.isRequired, initialViewport: PropTypes.object, } state = { vi...
407f9e05b9567ddc954822f3ef7ef38e5f9cdb71
[ "JavaScript", "Markdown" ]
3
JavaScript
nfroidure/stile
0bf9ca340159bdc6601a09b7950bad90551502b6
5ee97a5fcbfec375d046cf81d13b021f611e4f5f
refs/heads/master
<repo_name>paytm/Paytm_nopCommerce_Plugin<file_sep>/4.3/Nop.Plugin.Payments.Paytm/RouteProvider.cs using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using Nop.Web.Framework.Mvc.Routing; namespace Nop.Plugin.Payments.Paytm ...
ee98ae736dbf7864988b66a1a7a01e15106f20b7
[ "Markdown", "C#" ]
17
C#
paytm/Paytm_nopCommerce_Plugin
dcac141f4ecc0b95e2d09e22735959c600c48520
06ebfd82ca6535a3c10aa42758c7aa4bc8bbce7c
refs/heads/master
<repo_name>puddingleos/HelloWorld<file_sep>/cloud_test1/kfft.cpp #include <iostream> #include <math.h> #include <vector> #include <complex> #include "matplotlibcpp.h" #include "matprocess.h" #include "parameter.h" #define DEBUG using namespace std; namespace plt = matplotlibcpp; void sigGeneration(long double R0, ...
ba72e0c4e584896318d28a64ae74a7f4dfef8c7e
[ "Markdown", "C", "C++" ]
14
C++
puddingleos/HelloWorld
2f254fb1bcd659f5dc597ea9db33a7873720bf74
23bfce4cd184140b71bad31e2b849a4aa43dfb11
refs/heads/main
<file_sep>import { Container, makeStyles } from "@material-ui/core"; import { useRouter } from "next/router"; import React from "react"; const useStyles = makeStyles(() => ({ container: { display: "flex", justifyContent: "center", }, })); function index({ cookies, allCookies }) { const classes = useStyl...
caa3505f7b5814517eabff7eb60f0f6ea947760a
[ "JavaScript" ]
1
JavaScript
bharath-krishna/nextjs_redux_mui_framework
a38614f024c78c24868b2b40dadc994ca9644659
4415cf0e83791998c0343143f54719422cbdea4f
refs/heads/master
<repo_name>xuwenchao66/webpack-plugin-practice<file_sep>/example/index.js console.log('Hello webpack plugin.') <file_sep>/src/index.js const fs = require('fs-extra') const path = require('path') const { validate } = require('schema-utils') const schema = require('./schema.json') // 插件名 const pluginName = 'AssetsReportP...
0498dc6b2d8d2593f9b24540544f0e5519fe56b0
[ "JavaScript", "Markdown" ]
4
JavaScript
xuwenchao66/webpack-plugin-practice
87601d48c747d18e449308b6e6140788124efa2e
dc16f5abb2e1532bbded3d9bf61688d3537f1449
refs/heads/master
<repo_name>IamKeck/gas-calculator<file_sep>/dist/sw.js importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js'); console.log(workbox.routing) workbox.routing.registerRoute( ({request}) => request.destination === 'script', new workbox.strategies.StaleWhileRevalidate() ); workbox...
10b80b827476969bdb24ac99e50276ded8589242
[ "JavaScript" ]
1
JavaScript
IamKeck/gas-calculator
3d343aa7fca4d0f99a7903c2d220e9d32848884a
01def9ec664aa41543160468bebde1f381f87297
refs/heads/main
<file_sep>import logging import os from dotenv import load_dotenv from telegram.ext import MessageHandler, Filters from telegram.ext import Updater, CommandHandler from crypto import create_watchpair, generate_watchpair_msg, generate_tradeposition_msg, create_watchtrade from data import start_user_db, make_ad...
2eb673e4d5d9aac3695b8955e75841edde2cb0c0
[ "Markdown", "Python", "Makefile", "Dockerfile" ]
9
Python
danfmihai/binance-alerts-telegram-bot
d4764b5bc7973038a071262dd588ef59cba9506d
68cb61612c647b7c33b3c2d7a593a0fde0bbb344
refs/heads/master
<repo_name>chrisbeach/discourse-paid-pinning<file_sep>/plugin.rb # name: discourse-paid-pinning # about: Allows payment for pinned topics # version: 0.9 # authors: <NAME> # url: https://github.com/chrisbeach/discourse-paid-pinning.git gem 'stripe', '5.29.0' load File.expand_path('../lib/discourse_paid_pinning/engine....
8625cb0edbde01d85f257ade9315c91c5a1908a8
[ "JavaScript", "Ruby", "Markdown" ]
20
Ruby
chrisbeach/discourse-paid-pinning
7443c590341824fdbbad3372aa2362486dbaea22
16a5d45d174abdbe7969d282aaaeeaae23bcc4b4
refs/heads/master
<file_sep>#include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <vector> #include <iostream> using namespace cv; using namespace std; void help() { cout << "\nThis program demonstrates line finding with the Hough transform.\n" "Usage:\n" "./houghlines <image_name>,...
f2b62427d907f561f499d534bbcef563a833b1ee
[ "Markdown", "Python", "C++" ]
3
C++
AvijitGhosh82/PDF_Plot
5c1b8d450990a7074370da113bb7abd65ee2a0d4
06366ac10712d916e9a102c301390d0721104007
refs/heads/master
<file_sep>class Mws::Apis::Orders def initialize(connection, overrides={}) @connection = connection @param_defaults = { market: 'ATVPDKIKX0DER' }.merge overrides @option_defaults = { version: '2013-09-01', list_pattern: '%{key}.%{ext}.%<index>d' } end def list(params={}) ...
ba7c893d050e51d57ca2462289a9d682aed897b0
[ "Ruby" ]
2
Ruby
lareb/mws
89bb69594bcafabd03a01f007ab67e7658410f67
6a9de7c5bcae022618a8b0b87fb3fc21d2691f0b
refs/heads/main
<repo_name>SaiKumarm238/Bank_POC<file_sep>/delete_user_details.py from tkinter import * import pymysql import tkinter.messagebox as MessageBox def deleting_user_data(user_adhar): b = pymysql.connect(host='localhost',user='root',password='<PASSWORD>') mycursor = b.cursor() mycursor.execute("U...
520d9216a099f3a42492b7b1ee2de50ecf0f5d8f
[ "Python" ]
11
Python
SaiKumarm238/Bank_POC
f6fe95dfe7c54df4900d7323d44704a0ae6f9bdb
428324596972be336807f557dce83966a8376fe9
refs/heads/master
<repo_name>chenkjia/shark<file_sep>/app/service/ok.js 'use strict'; const Service = require('./common'); // moment().utcOffset(); class OkService extends Service { async trade() { const callback = await this.request({ url: `/api/general/v3/time` }) console.log(callback.data.iso) return callback....
80fd5f416c4b48f7c2266ce36b159c99deceef21
[ "JavaScript" ]
2
JavaScript
chenkjia/shark
5909a4564c7c79d79a546bd073adcc60532ad177
5a362eedae760d5b855ddabc3ceb571e026542ee
refs/heads/master
<file_sep>const fs = require('fs') //CLASE PARA CONTROLAR LOS TICKETS class Ticket{ constructor(numero, escritorio){ this.numero = numero; this.escritorio = escritorio; } } class TicketControl { constructor() { this.ultimo = 0; this.hoy = new Date().getD...
89018d3331921abb87a55a61b42ba191a3ff73d3
[ "JavaScript" ]
3
JavaScript
MiguelRamGal/filasTickets
0e7b05d138ab2dd2f47b577a7e2438b39a410fe5
af509788e6cc76b77d71ef1f902a7543fa1c8dc3
refs/heads/master
<repo_name>ueman/material-about-library<file_sep>/library/src/main/java/com/danielstone/materialaboutlibrary/NiceAboutActivity.java package com.danielstone.materialaboutlibrary; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import andro...
f5a7f94ec25a032a19faa4316784ed76df5cdcf8
[ "Java" ]
2
Java
ueman/material-about-library
d77ddadbbc8487e8671d7ae36d9db7b6e30d0a67
5b34d1914d56183af953ac4747c3845abb6f3f0b
refs/heads/master
<repo_name>kevinlimhk/Getting_Cleaning_Data-Course_Project1<file_sep>/CodeBook.md # CodeBook.md ## Purpose: To describe the variables in final.txt (For information on scripts please view README.txt) ## [1] subject_id Description: subject's id who performed the activity for each window sample. Data Type:...
e4ca3788e9c3bafeec3d0194442df9ed4c9a2297
[ "Markdown", "R" ]
3
Markdown
kevinlimhk/Getting_Cleaning_Data-Course_Project1
4c98bfdbf91c32f4d79b6b6c0d95ba1ae045c849
144bb873ecf9bc804f735f724b05a45748005834
refs/heads/master
<repo_name>dnguyenlearning/helperLib<file_sep>/jquery-ui/color/jquery-color.js (function ($) { $.fn.colorWheel = function (options) { var that = this; // This is the easiest way to have default options. var settings = $.extend({ // These are the defaults. id: null, opacity: 0, width: 200, color: ...
b5ff0aa0a800ff5cb17a03400185ecabdc9b3c2b
[ "JavaScript" ]
3
JavaScript
dnguyenlearning/helperLib
71dda9d63d9b30a3a46a818c5cb6c4db603e06a6
8c9488894274c18b89882a95fd9e1380e3c7e1b5
refs/heads/master
<repo_name>joe-vanleeuwen/learn-ruby<file_sep>/ticket.rb require 'date' require 'pp' BALLS = [:wb1, :wb2, :wb3, :wb4, :wb5, :pb] WB_LIMIT = 59 PB_LIMIT = 35 Ticket = Struct.new(*BALLS, :date) TicketCollection = Class.new do def initialize(tickets=[]) @tickets = tickets end def hottest hottest = @ticke...
a2b6410258141a8330b2e13cd955db625f62da1e
[ "Ruby" ]
1
Ruby
joe-vanleeuwen/learn-ruby
4f4a59d48d940aefc95c2f70d2d9a3bbce581a44
0fa3ab847c1b21ebce6e2208292a2a01d8cc2af4
refs/heads/master
<file_sep># Image-Management-Tool This project allows the user to change the specific formats of the Image. Eg: jpg, png, gif etc... Also, based on requirement, we can resize the images. # How to Run the above code 1. Load the code to IntelliJ. 2. Import the Image Magick Jar file "im4java-1.2.0.jar" to the project and...
5059cdfa70fac74e5e903f956baadbe086f372d7
[ "Markdown", "Java" ]
2
Markdown
shankar-telaprolu/Image-Management-Tool
c568e01849c3f31ab465250ae814067cd0adbaff
8ba23b38883d4ab27d34df26ebf7c455b21e9f0f
refs/heads/master
<file_sep>class Item < ActiveRecord::Base belongs_to :types end <file_sep># railsform Rails Form Example <file_sep># This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # #...
6e609a99eb8c0322d47dc6253ebb02e8873a228c
[ "Markdown", "Ruby" ]
3
Ruby
Theonidis/railsform
caaa678460a5850194247e6cd224ea39bf8afc79
c8e6c92073c5e19b120adffaa74d2a6c765a7eeb
refs/heads/master
<file_sep>[package] name = "nsfun" version = "0.1.0" authors = ["sara <<EMAIL>>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] libc = "0.2.62" whoami = "0.1.1" <file_sep>use std::path::Path; use std::fs::File; use std::io::prelude::*;...
91346c83b802b7ce4ed1c3115ad712950896f7d2
[ "TOML", "Rust" ]
2
TOML
snowkat/nsfun
157c38e9a36a9baa2007582cff8da53ad0fc7dcc
683aa00b710a268405b64e0d17fa55ea12a77c31
refs/heads/master
<repo_name>Pucilowski/commandeer<file_sep>/src/main/java/com/pucilowski/commandeer/exception/CommandInputException.java package com.pucilowski.commandeer.exception; import com.pucilowski.commandeer.structure.Command; /** * Created by martin on 16/05/14. */ public class CommandInputException extends Exception { ...
c66a0975e263735a6b0883e437650fd153d84543
[ "Markdown", "Java" ]
13
Java
Pucilowski/commandeer
22be6ae0ea09f644ce958f5b3e5fb58984ad1b6e
8c1aa7fc0999abb8f01e1cc951b03a6bb2ca1dd8
refs/heads/main
<file_sep>// Create a component <CountBy step={ 5 }> that takes a step prop. It should display a number (starting at 0) inside a <p>. Every time it is clicked the number should go up by step. import { Component } from "react"; import { Button } from "react-bootstrap"; class CountBy extends Component { constructo...
8656404c22b5867fcb107988d8d36bfaee108595
[ "JavaScript" ]
4
JavaScript
naranjita11/React-wk1-Quiz
0cce9cd3a302fbabb7068a05426ff74015f0fe31
1bf73c53e691c33bf9306c4662dcfa65f397cbbc
refs/heads/master
<repo_name>colemoreno/M1<file_sep>/M1/main.c /* * M1.c * * Created: 10/28/2019 7:01:40 PM * Author : <NAME> */ #define F_CPU 16000000UL #define BAUD_RATE 9600 #include <avr/io.h> #include <util/delay.h> void usart_init(); void usart_send(unsigned char ch); void UART_sendString(volatile unsigned char A...
99f06a88adf7ab4bcedf0fcffbc2a42ecfe5ab70
[ "Markdown", "C" ]
2
C
colemoreno/M1
2e66d21bb91597b4220d7c174971f231d9d224d1
1ca99d26a7e44e7269795214ad6895625a2e7bee
refs/heads/master
<repo_name>BGCX261/zinud-base-svn-to-git<file_sep>/trunk/usr/local/bin/compiz-addons #!/bin/bash # compiz-plugins-experimental-0.8.x # A script to install additional compiz plugins not included in the official plugin sets # by <NAME> <EMAIL> # Dependencies: # These are the dependencies necessary to install all plugin...
19ef9f681bf0e82f82af1f3d05831f3fb0f19cd8
[ "INI", "Shell" ]
23
Shell
BGCX261/zinud-base-svn-to-git
3fa85925c563c32687426baabe0f8578d9e90007
4033e4109a08f75a125339e67ccbc0543dbbc4a5
refs/heads/master
<file_sep># coding: utf-8 """ Fitmarket <NAME> - donori - dijele dnevna mjerenja svoje težine. Iz dnevne težine jednog donora određujemo vrijednosti dviju dionica: - dionica X ima vrijednost koja odgovara težini donora na taj dan. - inverzna dionica ~X ima vrijednost (150 kg - X). Primjetimo da: - kako X ...
1ce14bcb40dccce00ca30cd283d78f5edc96f021
[ "Markdown", "Python" ]
7
Python
brahle/fitmarket-python-api
7085e51b1014fcb0aa44084e23e8cf93c97a445e
f8ee3ca23751398e6c78d106a1b60fa0ff4f8869
refs/heads/master
<file_sep>Rails.application.routes.draw do root to: 'apps#index' #route home/root to index of apps get'/signup', to: 'users#new' get '/login', to: 'sessions#new' post '/login', to: 'sessions#create' get '/logout', to: 'sessions#destroy' resources :users, except: [:index, :destroy] #create CRUD routes fo...
6eae48ab2d8f6644c4a5cf159888b7578e0a0dfa
[ "Ruby" ]
7
Ruby
rtkc/appsibuilt
9a34ea9a495c8fd5e77311f3c4226c8357fe525b
ab54ec7c85fd16703704d5efd7b63bce98c81908
refs/heads/main
<repo_name>rahmatfanshuri/ESP32-CAM<file_sep>/Program.ino #include "esp_camera.h" #include "fd_forward.h" #include "fr_forward.h" #include "fr_flash.h" #define led 4 #define led_green 14 #define led_red 15 unsigned long currentMillis = 0; unsigned long openedMillis = 0; long interval = 5000; unsigned int Status; sta...
3a6db767de8cb82c207c763c88a6a4b93bffdc27
[ "Markdown", "C++" ]
2
C++
rahmatfanshuri/ESP32-CAM
4550222dc62c53fa7d26b7ff0e4d28437ef4946f
22d67081faa0f25847810947611ee2fc06b5e766
refs/heads/master
<repo_name>KruizerChick/django-blog<file_sep>/mysite/blog/models.py from django.db import models from django.utils import timezone from django.core.urlresolvers import reverse # Create your models here. class Post(models.Model): """ Blog posts configuration """ author = models.ForeignKey('auth.User') title...
e843726a81132bdd0a34c6de09eea5a85a1b7e5d
[ "Python" ]
2
Python
KruizerChick/django-blog
6bed01a3d63fdeb631b336870ac6867820590130
2760f9fc1a58ff1c60803029da07d0470f473e28
refs/heads/master
<file_sep>from .crystaldispersion import CrystalDispersion from .oposetup import Sign class PPLNgayer2008(CrystalDispersion): """5% MgO-doped congruent LiNbO3 (CLN) DOI: 10.1007/s00340-008-2998-2 """ _SELLMEIER_COEFF = {"xcoeff": [5.653, 0.1185, 0.2091, 89.61, 10.85, 0.0197], "...
a60b55a8e9cb964da47f5aaccc69f152fbf4a189
[ "Markdown", "Python" ]
7
Python
AndrzejGajos/SPDC-OPO
31db508bfea684210e4c519684258907260e3cc7
c5ebbc5e14a456884215d774987bec818d60cd6e
refs/heads/master
<repo_name>adup-tech/MFRC522-python<file_sep>/setup.py #!/usr/bin/env python import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='MFRC522-python', version='0.0.1', description='A small class to interface with the ...
eb5aa6f7028118d11f8b4e1b647be5d63c038599
[ "Python", "Text" ]
2
Python
adup-tech/MFRC522-python
843b250a4977c570e0c6305c2e8fc2d99a7f8205
082473f38c1c65b4506a135fe4d5706046056997
refs/heads/master
<file_sep><?php class Security extends CI_controller { function __construct() { parent::__construct(); $this->load->model('security_model','',TRUE); } function index() { redirect('', 'refresh'); } function bismillah() { $username = $password = "";...
facf0bd578b7ce2d52c319c9e07eeb0e6b7caae5
[ "PHP" ]
25
PHP
mithrizal/kehati
c85d0a6f310deceec133255650e68e5334d82553
4ac14f8d34c723e06b376b83167e0a18108b2fe9
refs/heads/master
<file_sep> #include <iostream> #include <string> #include <pcl/common/common_headers.h> #include <pcl/io/pcd_io.h> #include <pcl/visualization/pcl_visualizer.h> #include <boost/thread/thread.hpp> #include "opencv2/calib3d/calib3d.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #includ...
bbbd68bade4a7883d999bad73b2627e5fb5d626f
[ "C++" ]
1
C++
kovand11/Stereo3D
bdedc5b458a4cb4543827c4066f2cb74d9e77456
75237bc7e4ab4c79947ef3268c239948f4f88eeb
refs/heads/master
<repo_name>mmilleruva/fanduel-react<file_sep>/components/gameStatsList.jsx // main.js var React = require('react') var PlayerListItem = require('./playerListItem.jsx'); module.exports = React.createClass({ displayName: 'GameStatsList', render: function(){ var gameIndex = 1; var gameNodes = this.pro...
59504d11ca4e73ed83f4541ee488870b72841d16
[ "JavaScript", "Markdown" ]
9
JavaScript
mmilleruva/fanduel-react
d53b4ca3cef5bd58917517045a4d98df52019d80
aeff7beb6d619ff5cce57d5c8a8ef4f369242f9a
refs/heads/master
<file_sep><?php namespace App\Repositories\API; use App\Models\Travel; use Illuminate\Support\Facades\DB; use App\Exceptions\GeneralException; use App\Repositories\BaseRepository; /** * Class TravelRepository. */ class TravelRepository extends BaseRepository { /** * @return string */ public funct...
62d00314495e84f7c97741b9362ed8fbc4aabb45
[ "PHP" ]
72
PHP
byyeong/test_l_s
d83896a8d8a2b42edc37a7c14861784dc94d9e13
7ffccc8e6be2b529cdc4d15f74d665811899e8e4
refs/heads/master
<repo_name>iampondie/geotweet.me<file_sep>/get_geo_tweets.py #!/usr/bin/env python2 import datetime import time from email.utils import parsedate import json, sys import tweepy from tweepy.streaming import StreamListener from mongokit import * import models import pymongo import settings from tweepy import TweepError ...
4d0e6c74581308eb204023ecf37f03585c70a1aa
[ "JavaScript", "Python", "Markdown" ]
9
Python
iampondie/geotweet.me
07b91a74d57958063b66ec0504ea16351900210c
d996931fe9d0df8ca5102c21f55d649a5515d0f2
refs/heads/master
<repo_name>seokwoo-jung/SSD_INFERENCE_EXAMPLE<file_sep>/main.cpp #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include "c_detector.h" using namespace std; int main() { // Load img cv::Mat ori_img = cv::imread("../SSD_INFERE...
57e356bdcd3d705b0889f19e9027a70f295603c6
[ "C++" ]
1
C++
seokwoo-jung/SSD_INFERENCE_EXAMPLE
8e63f98d2563ab00053c72dfca5f44c7bc7b26b6
44963a25cf3df9bf0b1e1609a0cb568484c81449
refs/heads/master
<repo_name>anuprakash/Ogre3D-Game<file_sep>/BKFold.cpp #include "BKFold.h" #include "BallkeeperApplication.h" BKFold::BKFold() { } void BKFold::Update(const Ogre::FrameEvent& evt) { CatchSheep(); BKGameEntity::Update(evt); } void BKFold::InitFold(sFoldInit a_sFoldInit, uint a_uiIndex) { m_...
361d32153d2650ed5565d6a0b51d578d2b4cc87d
[ "Markdown", "C", "C++" ]
22
C++
anuprakash/Ogre3D-Game
bcd76c004accc72efc752a30adbcc8e19af5b06b
a4b943bcc1a18e830c5b020cb930c90788192d3e
refs/heads/master
<file_sep>import React, { PureComponent } from "react"; import { StyleSheet, Modal, View } from "react-native"; export default class GameMap extends PureComponent { constructor(props) { super(props); this.state = { running: false, gameOver: false, princessRescued: false }; } render() { return (...
9e0d5c7f301a5efe1f8f42f8e6c05b7f53cb1212
[ "JavaScript", "Markdown" ]
18
JavaScript
yuriusV/PolytecoScienceCityGame
ccaf3d1558ffc19c380d8770e9e852ed7904bfe4
ba2365e859535ebca6f3334929e962c703193cc0
refs/heads/master
<file_sep>import React from 'react'; import { StyleSheet, Text, View, Image } from 'react-native'; export default class Detail extends React.Component { static navigationOptions = { title: 'Detail', } constructor(props) { super(props); this.state = { items: [], config: "192.168.42.89:30...
375ade3a2bb2b778331de1c46e20bee818fa8c30
[ "JavaScript" ]
3
JavaScript
Tuna0612/AssignmentNodeJSApp
d024462ecac6bbc3e4913607e1a6fcb7bfa875ce
14e91dbb92b956af13f5ac7c2c603275c8b699ba
refs/heads/master
<file_sep>#!/usr/bin/python # -*- coding: utf-8 -*- import glob import pickle import numpy as np from datetime import datetime from functools import partial from wordcloud import WordCloud from PIL import Image, ImageFont, ImageDraw from os import path def image_from_np(matrix): w = matrix.shape[0] h = matri...
4b075ef6df18a6c5e876d5bae1e0f096d71145db
[ "Markdown", "Python" ]
8
Python
cipri-tom/chronocloud
280f7c98f20c9623fc3b68f20ce47aacbb7c3948
d64c89f3db2f64ea7027cd0be59bce1df3a27a32
refs/heads/master
<repo_name>rasmus4/hchess-lib<file_sep>/src/cli-example.c #include <stdio.h> #include <hchess.h> #define CLI_CONNECT "connect " #define CLI_CONNECT_LEN 8 #define CLI_JOIN "join " #define CLI_JOIN_LEN 5 #define CLI_CREATE "create room" #define CLI_CREATE_LEN 1 #define CLI_QUIT "quit" #define CLI_QUIT_LEN 4 #define CLI_...
c30ffa2fb83708a9a3c878aa01725dfcc94b030e
[ "Markdown", "C", "Makefile" ]
5
C
rasmus4/hchess-lib
e6ed0b6ceacfa81d6d72b7a8cb3ef2a26c061f44
1b1308ebfb407a0a7fd46b060712b1702582a282
refs/heads/master
<file_sep># JavaScriptMake JavaScriptMake <file_sep>/** @format */ const body = document.querySelector("body"); const IMG_NUMBER = 3; function paintImage(imgNumber) { //paintImage함수 안에 새로운 object를 만들거임 const image = new Image(); image.src = `image/${imgNumber + 1}.jpg`; //+1하는 이유는 Math.random()에서 0이 나올수도 있기...
d875075e8c7fec14cf9ec8318e3bce70e660b31c
[ "Markdown", "JavaScript" ]
2
Markdown
wngus6429/JavaScriptMake
677115cd57bc2198b7a3b17220e1df77aa51cae8
2a580567b5b4e8a8e8c0be2dce62647604b198c1
refs/heads/master
<file_sep>/* eslint-disable no-unused-vars */ /* eslint-disable class-methods-use-this */ const Request = require('request-promise'); const AssistantService = require('./AssistantService'); const delay = 1200; class MessengerService { async handleMessage(senderPsid, receivedMessage) { let response; const u...
7b0c4a96070eb58b616535e8daa1a1471fa8f43f
[ "JavaScript" ]
1
JavaScript
xMr110/messengerBot
40edaa2d55f64cc7548368da906201f74b3694ac
bbba945fa084a0a6d13ea7fa36953cda1531c2eb
refs/heads/master
<file_sep>package com.jakewharton.rxbinding.widget import android.widget.SeekBar import rx.Observable /** * Create an observable of progress value changes on {@code view}. * * *Warning:* The created observable keeps a strong reference to {@code view}. Unsubscribe * to free this reference. */ public inline fun S...
88cc2fd64d4adcdc3e58301c6cc8d2e1a370e6f6
[ "Kotlin" ]
2
Kotlin
Radther/RxBinding
48ea90d7f30367df0a4fa159810b39ecc6c28b10
c1aa1d5fabf1dc60d40127554a8bcb631705df22
refs/heads/master
<file_sep>require 'spec_helper' describe WordsToImage::Flickr do describe ".fetch" do context "image found" do before do photo_info = {id: 123, server: 456, title: "Pure beauty"} allow(flickr.photos).to receive("search").and_return([photo_info]) allow(FlickRaw).to receive("url_q")....
68a2aa708661bb818efd586e569705ecc52199f6
[ "Markdown", "Ruby" ]
16
Ruby
alony/collage
8eee9f7fd2eb401dda8d9de4ed532fb996557d86
1fc9134b96783dbc71c9f751f23204bb2239033f
refs/heads/master
<repo_name>ujjobbagya/ncore-torrent-processor<file_sep>/exceptions/exceptions.py class TorrentProcessorException(Exception): pass class DownloaderConfigurationException(TorrentProcessorException): pass class DownloaderNotFoundException(TorrentProcessorException): pass class ConfigurationException(Torrent...
d5b875bb2b5e7f5f5b8e2095eab278f95eb52da1
[ "Markdown", "Python" ]
5
Python
ujjobbagya/ncore-torrent-processor
90899d2320ad33c506443327e97a40c0ed278e91
c3b8b6553c3ebfca5dcdc91bd12ac2f8bc31d7ed
refs/heads/master
<file_sep><?php namespace App\Tests\Controller; use Symfony\Bundle\FrameworkBundle\KernelBrowser; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { /** * @var KernelBrowser */ private $client; /** * Method is called before every test. ...
f1cb5fcee5be68acaa3cbf2562dcabc6a39d4d19
[ "PHP" ]
10
PHP
AndreyLuka/lektorium-php
55657c9e18620775d007a0a4923c1a9dd75f3478
eb90c1b40732a9624f4eb0dda43b997131fac2bb
refs/heads/main
<file_sep>import numpy as np import mmap from sklearn.neighbors import KDTree from tqdm import tqdm class EmbeddingManager: def __init__(self, path): def get_num_lines(file_path): fp = open(file_path, "r+") buf = mmap.mmap(fp.fileno(), 0) lines = 0 while buf...
e18f1abc077cca9c71a68a1b6a84eef09f400b55
[ "Markdown", "Python" ]
3
Python
MrDVolk/text-generation
ae294b6bf02298af317fa3eaeee355e65e391455
c8fbe575a3435444f5ee89bef1ce95392f742d68
refs/heads/master
<file_sep>class Logger { constructor(shellPrompt = '|> ') { this.shellPrompt = shellPrompt; } log(msg) { let shellMessage = `${this.shellPrompt} ${msg}`; console.log(msg); } } export default Logger;
3cb574b0bb0f9a690751a864d8e90626840e3be3
[ "JavaScript" ]
1
JavaScript
clovisdasilvaneto/Liferay-AMD-Module-Example
130b54bfd0a51ad87270a2fe24f240a30c6850aa
1a334ebf1c5e05a1a9cbebda6517f87607b9825f
refs/heads/master
<file_sep><?php require 'setup.php'; ?> <div id="top_tab" class="trigger"> <?php if ($session): ?><p>Log-Out</p> <?php else: ?><p>Log-In</p><?php endif; ?> <span id="top_button"></span> </div> <div id="header" class="group"> <div class="wrap"> <div id="logo"> <h1>Volumology</h1> ...
2eeceeb2f9759d10eb1bc485e70eac8a01b8a961
[ "JavaScript", "PHP" ]
13
PHP
brnanders/volumology
76ae0523d19014d09f4ed4047021ae5ef9af29e5
562a76585e9b6fec0e508d636ce6321308339c81
refs/heads/master
<repo_name>RichardBekoe/URL-Shortener<file_sep>/index.ts import express from 'express' import bodyParser from 'body-parser' import mongoDBConnect from "./app/database" import routes from "./app/routes" import cors from "cors" const app: express.Application = express() mongoDBConnect() app.use(bodyParser.json()...
0979dc847d6bc739db8d7f58c93f03d88249a513
[ "Markdown", "TypeScript", "JavaScript", "YAML" ]
8
TypeScript
RichardBekoe/URL-Shortener
4d95cc9af6d8d0b3b33998e244fd4a4e6446c24e
88c5e0462cafd1a7f2a2dd4d2445ec0e4f81ec5d
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using BaiSo2.Models; namespace BaiSo2.Controllers { public class DemoController : Controller { GiaiPT gpt = new GiaiPT(); // GET: Demo public ActionResult Index() ...
d62cec99aab1e9a5df87f11388387773a4c5cc50
[ "C#" ]
1
C#
VuThuyTrang2011/BaiSo2
bfad182e1e643e4a99282d1fef7546f4d48353c7
e44a2bbcdea9b3a8604fa092e2ede9de522940c3
refs/heads/master
<file_sep># demo 测试学习的代码 请小心使用 <file_sep>/** * FileName: CustomizeEventListener * Author: 大橙子 * Date: 2019/3/7 18:45 * Description: * History: * <author> <time> <version> <desc> * 作者姓名 修改时间 版本号 描述 */ package com.dudu.common.boot.event.listen; i...
4dc4ecee86c8c048e59dc0a9357106630c0dc49d
[ "Markdown", "Java" ]
26
Markdown
1582871549/demo
163a23c1edf0fe47d74403eb22e6a19edc78c7bd
c167bff3611d899c0dc71665353555772bdf8d47
refs/heads/master
<repo_name>changzeng/miaomiao<file_sep>/main.py # encoding: utf-8 from trie import Trie from markov import Markov import jieba trie = Trie() markov = Markov() #result,unkow_words = trie.all_cut("") with open("data/test.txt",encoding="utf8") as fd: text = fd.read() punctuation = (",","。","!","?","、",";",":") space ...
9e69f5c8d97a6199800c4de4a4672161a275b048
[ "Markdown", "Python" ]
4
Python
changzeng/miaomiao
a4a173ea3217eaaeea4f5d55df871cf99d7d944a
58f8f81924044096e30e3ead0f93769707c99061
refs/heads/master
<repo_name>HTMLGhozt/Mongo-II-Mini<file_sep>/server.js const express = require('express'); const bodyParser = require('body-parser'); const mongoose = require('mongoose'); const Person = require('./models.js'); const port = process.env.PORT || 3000; const server = express(); // error status code constants const STAT...
95db6bd8d960aea873c718f394790acddb1bb600
[ "JavaScript" ]
1
JavaScript
HTMLGhozt/Mongo-II-Mini
c0b1e4edeba1a0c01fb23211a6bdfdef16f13b95
8f0fe6dc4b544001c2f765a752a74f5e31c44696
refs/heads/master
<file_sep>function greeting(something){ console.log("Hello " + something); } function farewell(something){ console.log("Goodbye " + something); } function takeInput(callback){ var name = prompt("What is your name?"); callback(name); } takeInput(greeting); takeInput(farewell);
c2e069bd7c0d9676ea11b777f8b0849ca7f8eb23
[ "JavaScript" ]
1
JavaScript
DarilliGames/callBackDemo
7ec76eef47fa3353af56ebafb04db5a035a4fa2c
b198cf520c360ec486d66f8b16b7f6f4e3b5eb07
refs/heads/master
<repo_name>kevinloeffler/PCLP<file_sep>/pokemon.py # Welcome to Python command line pokemon. # This is a small "game" I created as an excercise to learn more about classes in Python. # Built for Python 3.7.7 import random from time import sleep # Game variables damage = 20 # Pokemon base damage. Higher damage result...
c1654b842e15473319be763cbfd9fd4955becad5
[ "Markdown", "Python" ]
2
Python
kevinloeffler/PCLP
dbefaf882d635211d71a6fdd3edcacd9cb520f5a
2596d961b5a975e9e8a83d1ad1cfe876d809ff06
refs/heads/master
<file_sep># crawling-cambridge-dictionary <h2>cambridge.urls.py</h2> 1. cmd: python cambridge.urls.py 2. goal: used to capture all urls in https://dictionary.cambridge.org/browse/english-chinese-traditional/ 3. implementation: 1. got guideurls by appending https://dictionary.cambridge.org/browse/english-...
dc538e318495a6037dfa75c65c2e1a55cbb73454
[ "Markdown", "Python" ]
4
Markdown
Yeema/crawling-cambridge-dictionary
8af09f0b1460caff447297c6b0256a5010d93efe
e29478fa54b892c1ee3179c54a0cbff123925a80
refs/heads/master
<file_sep>'use strict' var gImgs = [ { id: 1, url: 'img/MEMES/1.jpg', keywords: ['trump', 'president', 'leader'], }, { id: 2, url: 'img/MEMES/2.jpg', keywords: ['dog', 'dogs', 'lick', 'love'], }, { id: 3, url: 'img/MEMES/3.jpg', keywords: ['baby', 'dog', 'bed', 'sleep'], }, { id: 4, url: '...
359f206fdd4994075126858298811ab244f5bd3b
[ "JavaScript" ]
3
JavaScript
dandan-drori/meme-generator
a3a0a515bd2d031e1157f53065a356747cfc4bfa
f2c659e6c7ca998fd8b5af60f04ce4cee8e417be
refs/heads/master
<repo_name>oleksiirudeshko/feonline<file_sep>/js/module6/js/task3.js import users from '../js/users.js'; // eslint-disable-line // eslint-disable-next-line no-shadow const getUsersWithGender = (users, gender) => { return users.filter(user => user.gender === gender).map(user => user.name); }; console.log(getUsersWith...
b88f9e8cc25ae75baf27819c36a3df9140859a2f
[ "JavaScript" ]
25
JavaScript
oleksiirudeshko/feonline
9d2cbb56585bbc4172fd8dea9f7b258f05d44f4e
89f28a42388028cbd2a940fb5d95f9de6d739cc5
refs/heads/master
<repo_name>Creativotech/outdated<file_sep>/SportsFDJ/TeamDetails/TeamDetailsViewController.swift // // TeamDetailsViewController.swift // SportsFDJ // // Created by <NAME> on 30/09/2020. // import Foundation import UIKit class TeamDetailsViewController: UIViewController { @IBOutlet private weak var imageViewTea...
7cb80e8cccc8b317195b331fae0fa8b275cdce70
[ "Swift", "Ruby", "Markdown" ]
19
Swift
Creativotech/outdated
80eee3cf1ec033eb3460bea35f5e038f90aa435a
f9cccb11bde02e15dacc8766681d5827008ebb42
refs/heads/master
<repo_name>oldhunter-code/guli_eduOnline<file_sep>/eduOnline/guli_parent/service/service_eduManager/src/main/java/com/midea/eduManager/service/EduTeacherService.java package com.midea.eduManager.service; import com.midea.eduManager.entity.EduTeacher; import com.baomidou.mybatisplus.extension.service.IService; /** * ...
be5a699be736810fd567464594ebf58bde7fc03c
[ "Java" ]
2
Java
oldhunter-code/guli_eduOnline
832ce73496100e13ac855b1d8720c325087ec7e7
f036576a06fb49d0f875a42dccab3bea94efe6ed
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Text; namespace TP1 { public class Carre : Forme { public int Longueur { get; set; } public override double Aire => Longueur * Longueur; public override double Perimetre => Longueur * 4; public override st...
978f3142b02b7997054405ba5a715e40f2391b18
[ "C#" ]
1
C#
kheldar4959/TP1
fdd0a333ac633db07546e0b06326433bfbe5f129
01ac000f95fb46a88a448c23e0a6bdfa94513ef8
refs/heads/master
<repo_name>greearb/ath10k-ct<file_sep>/ath10k-6.2/htt.c // SPDX-License-Identifier: ISC /* * Copyright (c) 2005-2011 Atheros Communications Inc. * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. */ #include <linux/slab.h> #include <linux/if_ether.h> #include "htt.h" #include "core.h" #include "debug.h" #include "hi...
28cc04f78feb7e4cd7ee21ec29ff5f5a3cab6a77
[ "Markdown", "C", "Text", "Shell" ]
8
C
greearb/ath10k-ct
fadd0768cbd22248a60efbb219ccefc9d86cd78c
f30ceff9583e234acad165720e2aa82d06b021f4
refs/heads/master
<file_sep>// CPower.cpp // // CPower class #include "PreComp.h" #define INVOKE_TAG CONSTLIT("Invoke") #define ON_SHOW_TAG CONSTLIT("OnShow") #define ON_INVOKED_BY_PLAYER_TAG CONSTLIT("OnInvokedByPlayer") #define ON_INVOKED_BY_NON_PLAYER_TAG CONSTLIT("OnInvokedByNonPlayer") #define ON_DESTROY_CHECK_...
8bed063ecb795be78a76df0d381092b9d2a08f7b
[ "C", "C++" ]
16
C++
Arkheias/Mammoth
7ff27aad68f3c106de893724489b7592b259c7f2
fe5cae7036ef3235a9211d09e8288890cdc8fe58
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AddEditDelete.Models { public class Student { public int Id { get; set; } public string Name { get; set; } public string Address { get; set; } public long Phone...
a39599ec989857abd1e21d8cf70db749517d73b2
[ "C#" ]
1
C#
maitiger/T1708E
013b3e2358749d73c66e0f5de9d9d11c6a050e8c
f3cee7e6578b71776829c8151b12cc3694c5c95d
refs/heads/master
<file_sep>export const FETCH_COURSES = 'FETCH COURSES'; export const TOOGLE_ENROLLED = 'TOOGLE_ENROLLED';
0e5e1956ee7bccd9ac19427c73895a4451ad28e6
[ "JavaScript" ]
1
JavaScript
SergReyes/Schedule
076a74910954be26d16c48fa02e76b50eac98d52
1f0a911d52346d678aa0c5dcf0a8c0fc7478dc2f
refs/heads/master
<file_sep>#ifndef _MFRC522_H_ #define _MFRC522_H_ class MFRC522 { public: enum MFRC522_CMD_STS_REG { CommandReg = 0x01;// starts and stops command execution ComlEnReg = 0x02; // enable and disable interrupt request control bits DivlEnReg = 0x03; // enable and disable interrupt request control bits Com...
edf869bdfeb190248db5a9f6968009aabf5e7621
[ "C++" ]
1
C++
quyetluu/RFID_RC522_Raspberry
96db374b2d8a64a9cf583f08faa7d6c11ad80fba
8adc099a5870a2af82ab8744075df59f12ff13ef
refs/heads/main
<file_sep>package com.burg.recipe.entity; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.p...
451ed7ee383d521a54ebcbf1c73de1e4d4820780
[ "Markdown", "Java", "SQL", "INI" ]
10
Java
SantoshKumarCS/recipeAPI
962deaf7ace9c83900b9bcbe3b35fa1f1394249d
2384d433f6423b60f291a6353ecf08c8bd589884
refs/heads/master
<file_sep>def main(): # Load symbols to memory. symbols = loadSymbols() if symbols == None: print('Could not load symbols to memory') return -1 print('Symbols loaded to memory') # Rotate all symbols into the 4 directions to obtain # all the letters of the alphabet. alphabet = [] for symbol in symbols: al...
4f5c88013bb88154b789cbacf858a4d4fd71f681
[ "Python" ]
1
Python
aitorperezzz/fez-decipher
a3e1421d0cf1b5621f725fbf5a9775b1f195c04d
96f7abd258647a8a37c99e72c2843313c850c201
refs/heads/master
<file_sep>package Homeworks; import javax.swing.*; import javax.swing.border.*; import java.awt.*; import java.awt.event.*; public class ComputerGUI extends JFrame { private Computer computer; private JTextField errorMessage = new JTextField(50); private JTextArea cpuCommandsLoaded; private JTextArea c...
1b660445440548b75248a55676f67347a6bd4933
[ "Java" ]
2
Java
skyria10/epl_133_HW1
894df0f160c59b59ebfad3277d793d3ab23aa95e
aa9c18da775946caebe15aaeb415400f4ff458a5
refs/heads/master
<file_sep>package com.encore.model; public class BookDTO { private String title; private String author; private String publisher; public BookDTO() { System.out.println("BookDTO 기본 생성자"); } public BookDTO(String title, String author, String publisher) { super(); this.title = title; this.author = author;...
285f6f1db6295d2e531e215999d4c578ca6e14dd
[ "Java" ]
2
Java
yimichael/encore
47ee17892362541293b612eb70feb5c14e416e9e
5c4d328231a89b1455cf3f6d1fe462be8f4cf73c
refs/heads/master
<repo_name>patrickmartins1995/prjUniverso<file_sep>/src/control/Programa.java package control; import java.util.ArrayList; import java.util.Calendar; import java.util.Scanner; import model.Asteroide; import model.Cometa; import model.Constelacao; import model.CorpoCeleste; import model.Estrela; import model.Galaxia; ...
a8eb35841798cf26747620afd263dd1fd4f5218e
[ "Java" ]
7
Java
patrickmartins1995/prjUniverso
d0fbde8f804ad94e034c65978552b10955c8b366
dacf006f63c79f22cfc783eb7938e9c6d663568b
refs/heads/master
<file_sep><?php keke_lang_class::load_lang_class('pay_return_fac_class'); class pay_return_fac_class { public $_model_id; public $_uid; public $_username; public $_charge_type; public $_order_id; public $_total_fee; public $_obj_id; public $_userinfo; public $_pay_type; public $_out_trade_no; function __cons...
e94e38ad30a83d0eb6012fcfce39297ffbf7d6ee
[ "JavaScript", "HTML", "PHP" ]
32
PHP
pengfeiaaa/web
c3ae22a7ac1c14ea6dab82c6fa75b37418e26f8d
a23d1302602e6c69dac1580572a457fb6d5749e6
refs/heads/master
<file_sep>Cython==0.29.2 kivy <file_sep>''' Main for Full Stack Embedded Basura App see documentation for whole project: https://goo.gl/AqpBBp documentation for Basura App: https://goo.gl/TZijCa ''' from kivy.app import App from kivy.uix.boxlayout import BoxLayout import subprocess import os """ Call the reporter ...
ef567623233b31f81f0a97d1fc00af71a24d0324
[ "Markdown", "Python", "Text", "Shell" ]
4
Text
FullStackEmbedded/basura-app
1ca41f355b30bb78a5bfa48bc005e5c14f4d978a
1cb4acd4e55a89c1c32cb07949d6f2e0e7572771
refs/heads/master
<repo_name>yaydreamer/yaydreamer.github.io<file_sep>/tumblr-parser.js /* https://github.com/jeremymouton/tumblr-feed-parser/blob/master/tumblr-parser.js */ $( function() { getPosts(); }); function getPosts() { // Post parser for Tumblr blogs. // Change "blog_url" to pull in a new feed. var blog_name = 'yaydre...
c384f1717940b0a726e6fac845c91d4fb23d0275
[ "JavaScript" ]
1
JavaScript
yaydreamer/yaydreamer.github.io
1e41700bf2f0e59a26abecf5b3290bda864909bf
d0c57a83fa11711076fcc3d945889a84342926eb
refs/heads/master
<file_sep>package com.zexh.gamethree.adapter; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.squareup.okhttp.OkHttpClient.*; import com.squareup.picasso.Picasso; imp...
9ce5302937c781ad560743cae0b1dc25ff88fc61
[ "Java" ]
4
Java
androidjia/GameThree
b45a957cdc9fb0d79e287503a3bf8a6a7ec76154
2576bac1320687ce17b851da8ce35285fa2d3891