branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>#!/usr/bin/python
"""
Starter code for the evaluation mini-project.
Start by copying your trained/tested POI identifier from
that which you built in the validation mini-project.
This is the second step toward building your POI identifier!
Start by loading/formatting the data...
"""
im... | 93d35909f88b1e1d36af77b6bdb817295701b2b1 | [
"Markdown",
"Python"
] | 4 | Python | shubhamdawande/Enron-Fraud-Detection | cb388c60aff7aa9d8315460ce0700a5c731bb38b | 787328c0773ac09a62efcbf5c59009cfc25799d0 |
refs/heads/main | <file_sep># -*- coding: utf-8 -*-
"""
Created on Wed Nov 11 14:42:01 2020
@author: <NAME>
"""
import html5lib
from selenium import webdriver
import time
from selenium.webdriver.common.keys import Keys
from selenium.webdriver import ActionChains
from selenium.webdriver.common.by import By
from selen... | a42862dd273d8a5e82d01d1c6830cf972e4e0e62 | [
"Python"
] | 2 | Python | ThatoK3/selenium_test_taker_https-www.shl.com | 51335aff9320d3221de1bad203e2ef6b03008630 | d8daa96a96ac83c19c56a5e8657ee3fcec7e471c |
refs/heads/master | <repo_name>xSallus/Calc<file_sep>/README.md
# Calc
A simple app that takes --only-- integers to perform basic arithmetic operations.
<file_sep>/app/src/main/java/com/xsallus/calc/Conversor.java
package com.xsallus.calc;
import java.util.ArrayList;
import java.util.List;
@SuppressWarnings("SpellCheckingInspection")
pu... | 4592c662c400e263cece887d63b8f6d64d32c460 | [
"Markdown",
"Java"
] | 4 | Markdown | xSallus/Calc | f477dd572561a9a7f7c5a531a7372b72a4171aa5 | d8496c41a357c0c7a2871b3ef01a4e63a7afe80e |
refs/heads/master | <file_sep># 7.py
R=int(input())
for x in range(R):
print("Hello")
| b6d7ff3079754726b7e73d4b6f43f1f347b58b9f | [
"Python"
] | 1 | Python | priyatharshini23/7.py | a4970e2f435ec9cdf247f54ccfa9eca88e63a2ba | 7b359862c44b0cdd09ac2dabd689627dab0cceaa |
refs/heads/main | <file_sep>function Content() {
return (
<div>
It's a component for content
</div>
);
}
export default Form;<file_sep>function AddArticle(){
return (
<div>
Button to add an article
</div>
);
}
export default Addarticle;<file_sep>import Dropdow... | 32e37c26f5167b0ab877e75b9a237637736c3015 | [
"JavaScript"
] | 7 | JavaScript | marina-fl/mingleK | 3298e33c606766bee6e5bd9aab8077a57ac60f83 | 887d841b5f8b30886da26b3f2324d9ab6952c63f |
refs/heads/master | <file_sep>from rake.dsss.dsss import *
import rake.dsss.mls
import rake.dsss.walsh_hadamard
<file_sep>from rake.rake import *
<file_sep>from modulation import qam16
from modulation import qpsk
| 6127b321800442d8215fc0d3d53644afc85cc16b | [
"Python"
] | 3 | Python | lanluyug/rake_ber_sim_python | 81e24cc743db060352efd7aa2bf1558dfc4e1065 | 22da16cbedb477f860274f5eca9c34d6500c242d |
refs/heads/master | <file_sep>package com.example.fitnessdemo;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
supe... | 31ac1900a7d64e82d3897d150fb0f84b309858b4 | [
"Java"
] | 1 | Java | Touchhad/FitnessDemo | 045c5c4bcc16a7af22115df8ffb7bfd2d6a42393 | c8963caea7c292399447c223e534a2966b03ecc0 |
refs/heads/master | <file_sep>import React from 'react';
import { Surface, Curve } from 'recharts';
export default React.createClass({
render () {
let points = [
{ x: 10, y: 10 },
{ x: 25, y: 40 },
{ x: 40, y: 10 },
{ x: 55, y: 40 },
{ x: 70, y: 10 }
];
return (
<Surface width={400} heig... | 407e51c49acaf7259da045e7aa3c6b2dd8de82ae | [
"JavaScript"
] | 6 | JavaScript | lol666666/recharts | ba372c1158cf9ae8aea5e1a97e4bcea279d3e692 | 34fde62ebcebe69827cc66f9e1213a2bbfdecd86 |
refs/heads/master | <file_sep>#!/bin/bash
echo"Welcome of the Program
being solved in the Master
Branch"
#!/bin/bash
declare -A dictionary
read -p "Enter first input : " a
read -p "Enter second input : " b
read -p "Enter third input : " c
ans=a+b
ans1=ans*c
ans2=a*b
ans3=ans2+c
ans4=c+a
ans5=ans4/b
ans6=a%b
ans7-ans6+c
# Static inpu... | ee481943596b52094688dcf34531684bb03edc1c | [
"Shell"
] | 1 | Shell | umangsontakke/Sorting-Arithmetic-Computation-Problem | d1fbf2a8f7680deaa8f1981e90a00e6fb7477fcb | 2917c555162129490911d443671f2d675850017c |
refs/heads/master | <file_sep>#!/usr/bin/python
"""
Starter code for exploring the Enron dataset (emails + finances);
loads up the dataset (pickled dict of dicts).
The dataset has the form:
enron_data["LASTNAME FIRSTNAME MIDDLEINITIAL"] = { features_dict }
{features_dict} is a dictionary of features associated with... | a6f5795434e3129eefac60b081500f4e176e7732 | [
"Markdown",
"Python"
] | 9 | Python | emigre459/EnronFraudProject | c9ebb371e0a833a64fd56df2670ec157669918ed | 52eb06958aa00e0889f56822a5863d6a6df1dbc5 |
refs/heads/master | <repo_name>evanlinjin/gotestlisttags<file_sep>/not_ignored_test.go
// +build not_ignored
package gotestlisttags
import "testing"
func TestShouldNotBeIgnored(t *testing.T) {
t.Log("I should NOT be ignored!")
}<file_sep>/ignored_test.go
package gotestlisttags
import "testing"
func TestShouldBeIgnored(t *testing.T) ... | 37c41868800470cc9aa58a01accd32f1537642b4 | [
"Markdown",
"Go Module",
"Go"
] | 4 | Go | evanlinjin/gotestlisttags | 6a25c0a77990d5ae844556e766855aaba13e06b3 | 297309368f93fee5a03c82e14d27f020b438997b |
refs/heads/master | <file_sep># Enum Utilities
Generic Enum Utility for .NET Standard
- This library provides generic type safe enum operations - something that the Enum class lacks.
- Written because the .NET `HasFlag` function for an enumeration is very slow and does type checking AT RUNTIME.
- Supports all enumeration types from `Byte... | 6127db4af5c59d4c4a02b3d9e1f1060404e9a4c5 | [
"Markdown",
"C#"
] | 18 | Markdown | bubdm/EnumUtilities | ff5c6745b3b4faf8fea6134061c1a5233f9bdfb8 | 2389be7ebd10d00b1b552ec9c60cb360dcb11773 |
HEAD | <file_sep><?php
return [
'adminEmail' => '<EMAIL>',
'project_name'=>'Standard Project',
'image_path'=>'upload/img/product/',
];
| 6aa7386e9f158545a1141792a0dbe1f7f9126a79 | [
"PHP"
] | 1 | PHP | arshadanjum167/standardproject | 23f7f18fa4b08dfabc05a86616a5461f4c4e8efc | b21799c7d6617a8ee707302e5a5443e7942e32eb |
refs/heads/master | <repo_name>Ryanb58/microservice-prototype<file_sep>/services/restapi/main.py
from flask import Flask, jsonify, request
from flask_restful import Resource, Api
from flask_jwt_simple import (
JWTManager, jwt_required, create_jwt, get_jwt_identity
)
import grpc
# import your gRPC bindings here:
from protos.accounts i... | 3fc779e007289cdeceed55731891fbc3d2248f92 | [
"YAML",
"Markdown",
"Makefile",
"Python",
"Text",
"Dockerfile"
] | 15 | Python | Ryanb58/microservice-prototype | 8ab68580d5241e9e4c96f0e2891f364d2fe54abc | abe967ce332dac50d27e051073b5c052015e5f9c |
refs/heads/master | <repo_name>wricardo/esdump<file_sep>/README.md
# esdump
Tool to dump data from elasticsearch.
```
$ ./esdump dump --help
NAME:
dump - dump your elastic search data
USAGE:
command dump [command options] [arguments...]
OPTIONS:
--host "localhost" Elastic search host
--port, -p "9200" E... | 640b026ee3d17c544c652e03165f6488c470462a | [
"Markdown",
"Go"
] | 5 | Markdown | wricardo/esdump | 5218bdf734518352894cc5febd8d5d2477f62205 | ac0b8e65eae36378599b6d87a2456a0cb9b857d9 |
refs/heads/master | <repo_name>yoshietao/Popularity_Prediction_on_Twitter<file_sep>/part1.py
import func
from collections import OrderedDict
import numpy as np
import pandas as pd
from sklearn.linear_model import LinearRegression
from sklearn.utils import shuffle
from sklearn.metrics import mean_squared_error, mean_absolute_error
import s... | 41532878270396aa865a7f93c4b18903f23142ed | [
"Markdown",
"Python"
] | 6 | Python | yoshietao/Popularity_Prediction_on_Twitter | 94f400b2f117ed529ee30bd2a8400a65c198e908 | d178a3cc4dd205e7801dec06d2f60f0beca0dcde |
refs/heads/master | <file_sep><?php
@session_start();
if ($_SESSION['rol']=1){
?>
<!DOCTYPE html>
<html>
<head>
<title>Inicio</title>
<link rel="stylesheet" type="text/css" href="../css/index.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="<KEY>... | fbeb505c89ee6f0faa96e15d39f3aca50e9d2179 | [
"PHP"
] | 7 | PHP | MANUELh28/AMATS | 7b4c642b91f57b2b096b529dee09239701ae880e | e8a5c9f96dfca38a76dcd3804ce66f7c88b79035 |
refs/heads/master | <file_sep># coding: utf-8
# Copyright (c) 2018, GreyCube Technologies and contributors
# For license information, please see license.txt
from __future__ import unicode_literals, print_function
import frappe
import erpnext
from frappe.utils import add_to_date
from frappe.utils import flt, today, cint
from erpnext.utili... | 532daa06409bbe44b292f1a2669479219ffd1a2b | [
"JavaScript",
"Python",
"Markdown"
] | 4 | Python | hrgadeha/greycubetheme | 5ebe83a50107a36c5c86a26e3efa42e1104b3368 | ca91d805be2eb8c592f30cfaf91413328912509f |
refs/heads/master | <repo_name>syed-mudassir871/AppCenterProject1<file_sep>/README.md
# RNApp
基于React Navigation 3.x版本的通用(Tabbar+Navigation)代码示例。
# 安装
```
git clone <EMAIL>:Handby/RNApp.git
```
确保你在项目目录下执行
```
npm install
```
如果你有 bug 反馈或其他任何建议,欢迎提 issue 给我。
<file_sep>/project/pages/MinePage.js
import React from 'react';
import {
Vi... | 3e2a5fe93983eb5a711ce5917c36fed1e0dcba2d | [
"Markdown",
"JavaScript"
] | 3 | Markdown | syed-mudassir871/AppCenterProject1 | 31bdd9634ee2094ea23360a42ba86e91bb45a539 | 6e335bd70cf5ea8d07f5daca9eab011bd76c80f2 |
refs/heads/main | <repo_name>akilakj1991/mysecondobject<file_sep>/Person.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mysecondobject
{
public class Person
{
public string Name;
public string Address;
public int Age;
... | 9ab92a8e9caf9854c62f12a7fdf4a03a224f5e25 | [
"Markdown",
"C#"
] | 5 | C# | akilakj1991/mysecondobject | 9765813673bea47c4c60fcbceb544de5fb584935 | bd0ae95ecbc6c969a6883af2fb2ae50a687564ac |
refs/heads/main | <repo_name>legendario122/DBA<file_sep>/src/my_agent/Greedy.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 my_agent;
import IntegratedAgent.IntegratedAgent;
import M... | 555332bb82f185fc29a9de2a59172bb38977ed08 | [
"Java"
] | 3 | Java | legendario122/DBA | 713af68166ebfa045ca7545bd9f6e92a6ff95e53 | 0a65321371b8b138a18ccf8b50d16012c4b1d24d |
refs/heads/master | <repo_name>hannahwang12/classwatch-v2<file_sep>/server/db/db.js
const mongoose = require('mongoose');
const { mongoAuth } = require('./mongo_auth');
const mongoUri = `mongodb+srv://${mongoAuth.user}:${<EMAIL>}@<EMAIL>/test?retryWrites=true&w=majority`;
//const mongoUri = 'mongodb://localhost/uwclasswatch';
mongoose.co... | d595adb54a507a5d479d2ab716854a8c038e8693 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 4 | JavaScript | hannahwang12/classwatch-v2 | 8ab072fc857a017bac2de822816be9a4eb443a6f | b2cc4750cf4abc38a6736d397d82172094f1e49c |
refs/heads/master | <file_sep># IWEventos Api Client
PHP Library based on Guzzle to consume IWEventos API.
The biggest advantage in using Guzzle is that you can easely attach [Guzzle plugins](http://guzzle.readthedocs.org/en/latest/plugins/plugins-overview.html) to your client. [Here](#attach-guzzle-plugin), for example,you can see how... | 819c81a51b7c51eece4a5f083318c50945fc82b2 | [
"Markdown",
"PHP"
] | 2 | Markdown | dmandrade/iweventos-api-client | e23f3cf585f50f895ce41c509abe91c4ba7bcb1e | a58a5ace51d432441653bed37a1e95c27de1db8a |
refs/heads/main | <repo_name>Infernal15/Maket-3<file_sep>/js/slider.js
//Author @Abyss
// $( "li.lvl2" ).mouseenter(function() {
// $( this ).parent().parent().children("a").addClass( "active" );
// });
// $( "li.lvl2" ).mouseleave(function() {
// $( this ).parent().parent().children("a").removeClass( "active" );
// });
// Add f... | a9f7ca411ac149baa2c1526528236832806d16bb | [
"JavaScript"
] | 1 | JavaScript | Infernal15/Maket-3 | 9134b28c0b03fc70576040678a0f8a9d1d7e69f4 | 7a2a2abb7ec4b82ac0b24f3d9739cc6e8cb15136 |
refs/heads/master | <file_sep>package com.thoughtworks.Run;
public class Factors {
void generate (int n) {
for (int i = 2; i <= n; i++) {
while (n != i) {
if (n % i == 0) {
System.out.println(i);
n = n / i;
} else break;
}
}
System.out.println(n);
}
}
<file_sep>pac... | ff3290188a4993ccefd5c202e9a7130e7376fec2 | [
"Java"
] | 2 | Java | sialvsic/TWU-homework | 4efa8a313bfb031f974948c62ca8452eaa79fa26 | e052fd9e17808ac24c60c2fc3fe89c5be27de865 |
refs/heads/master | <repo_name>DoubleChok/relateurl<file_sep>/test/util/index.js
var expect = require("chai").expect;
var RelateUrl = require("../../lib");
var shallowMerge = require("../../lib/util/object").shallowMerge;
var outputTypes = [RelateUrl.ABSOLUTE, RelateUrl.PATH_RELATIVE, RelateUrl.ROOT_RELATIVE, RelateUrl.SHORTEST]... | 0e3f3b57d02d085d01f031ad7c0eca2c1d52e312 | [
"JavaScript"
] | 1 | JavaScript | DoubleChok/relateurl | 10849d3b0a65be88546215ea8ea0f312894eb195 | 2d932edbc18afa366cc04c919125af1d147c38c9 |
refs/heads/master | <file_sep># Yammer Case Study: Investigate A Drop in User
The data is acquired from Mode's online database for SQL Case Studies. The database can be found here:
[https://mode.com/sql-tutorial/a-drop-in-user-engagement/](https://mode.com/sql-tutorial/a-drop-in-user-engagement/)
# Main learning components
* Basic SQL ... | 928a81fa15a8703b53ed07b998966f663f4c2f0c | [
"Markdown",
"SQL"
] | 2 | Markdown | nhb-uyen/yammeruser_casestudy | 8d2013ee131a0213ffd62fa559c5f69d94781756 | 55a90900e20ada65e6cc39673eb4879780b17f61 |
refs/heads/master | <repo_name>hotmule/BeaconFinderService<file_sep>/src/main/java/ru/hotmule/beaconfinderservice/BeaconFinderServiceApp.java
package ru.hotmule.beaconfinderservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.a... | 63b8f92b422aa92e4df6c13581a207d824a30aa0 | [
"Java",
"INI"
] | 3 | Java | hotmule/BeaconFinderService | 9bf7398c163ee435b255e50a47310841338f5281 | 164db388b9143c78118e06a1985ad6ccb400162c |
refs/heads/master | <repo_name>kelvinchgli/kelvin-s-GameBox<file_sep>/cartoonifyImage/cartoonifyImage/Cartoon.cpp
#include "cartoon.h"
#include "ImageUtils.h" // 作者自己编写的一些,用于调试opencv的函数
#include <ctime>
#include <Windows.h>
void cartoonifyImage(Mat srcColor , Mat dst ,
bool sketchMode , bool alienMode ,
bool evilMode , bool d... | efa9be238d352cbeb49aaab4dda7a3026eb12f0b | [
"Markdown",
"C++"
] | 10 | C++ | kelvinchgli/kelvin-s-GameBox | 48258e5d551c901bc03613a637fde22a4815a113 | 078b8317f9a7c6b53407026e58ce9d5b5352aa2c |
refs/heads/master | <repo_name>jarekratajski/multiroomchat-spring-webflux-vue<file_sep>/README.md
# multiroomchat-spring-webflux-vue
<file_sep>/spring-backend/src/main/java/com/kojodev/blog/multiroomchat/webfluxmultiroomchat/team/TeamMessageWebSocketHandler.java
package com.kojodev.blog.multiroomchat.webfluxmultiroomchat.team;
import org... | 18eb0513cebe143ca7587c056b1d1f001a3227a9 | [
"Markdown",
"Java"
] | 6 | Markdown | jarekratajski/multiroomchat-spring-webflux-vue | f9d68712f3e9cf4d0105bdbf161224d793522355 | 64ff8cb0bb2b97badcae03abe580ec2a89fcc052 |
refs/heads/master | <file_sep>FROM couchdb:2.3.0
COPY local.ini /opt/couchdb/etc
<file_sep>
[admins]
admin = -<PASSWORD>,9ba0aecc1349d33be0591356b12635a1,10
[log]
writer = file
file = /opt/couchdb/log/couch.log
<file_sep>#!/usr/bin/env sh
#
# CouchDB Cluster Init Service
#
# Waits for CouchDB nodes to come online, then configures the n... | b214a9b6d47225116e5f11dbd5e3f25d835f1821 | [
"YAML",
"Markdown",
"INI",
"Dockerfile",
"Shell"
] | 6 | Dockerfile | enyachoke/couchdb-cluster-sandbox | 7d8f3f41cc2132e5985388c14a3e9868617d36e1 | 10c19f14e2f161453ca58bc8c42a0c7e977aeae9 |
refs/heads/master | <repo_name>eusan91/ManejoGastosMensuales<file_sep>/app/src/main/java/com/santamaria/manejogastosmensuales/Adapter/RecyclerViewAdapter.java
package com.santamaria.manejogastosmensuales.Adapter;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4... | dc144081a3a0a5e1f7b617ba46fd1d085e9201c3 | [
"Markdown",
"Java"
] | 6 | Java | eusan91/ManejoGastosMensuales | 9a01299d0b5109ca61527c0895a725aada0ad4cd | 96411aa4a5aa7d3b63649053b02e11782af115ff |
refs/heads/master | <repo_name>estarias/mi-iso<file_sep>/instalar.sh
#mis alias
echo "alias midiff='diff -u -r -N'" >> ~/.bash_aliases
#Impide que se actualice a la siguiente distribucion de ubuntu
sudo sed -i 's/Prompt=lts/Prompt=never/' /etc/update-manager/release-upgrades
#Desactiva actualizaciones automaticas
gsettings set com.ubun... | b3a2de6dcc45e7f5db878ef31121687dea448fe8 | [
"Markdown",
"Shell"
] | 2 | Shell | estarias/mi-iso | 00c1c84c9e7ebd9d163716b02a76095601445aba | 2871d82c22d5e43f93ad8e45f558dd272ba7bfb3 |
refs/heads/master | <file_sep>package com.cos.util;
import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;
// 메일로 접근(사용) 할 때 인증 : 구글 아이디, 구글 비밀번호
public class Gmail extends Authenticator {
@Override
protected PasswordAuthentication getPasswordAuthentication() {
//깃에 넣어 관리하기 위해서 비밀번호는 다른데 빼두고 사용한다.
return new Pa... | 6cd194d904f11169c0bd12f605d65d37efbe2dad | [
"Markdown",
"Java"
] | 2 | Java | suhun918/Jsp-Model2-MySQL-blog | 93ddbaecfa5a14e8374582feecbe65a8066abef8 | 30ac1f953c1646a3f9dac0267f2f9c8c97389ad4 |
refs/heads/master | <repo_name>yaoyuqi/yaoyuqi.github.io<file_sep>/config.toml
baseURL = 'http://yaoyuqi.github.io/'
languageCode = 'zh-cn'
title = '平平安安的狗窝'
<file_sep>/content/guide/algo-sort-mergesort/index.md
+++
title = "排序-合并排序"
description = ""
date = 2022-01-12T15:03:34+08:00
featured = false
comment = false
toc = false
reward = fa... | 3c4fab4f2dcbaa872723842601d510a86205508c | [
"TOML",
"JavaScript",
"Markdown"
] | 19 | TOML | yaoyuqi/yaoyuqi.github.io | 4c75e0c1902bd64b161c97674ba40e0931cd433f | 4650289088ab9c0f04dd56dbbcfea44a1bb1bd34 |
refs/heads/master | <repo_name>jbabiccc/Indecision-app<file_sep>/indecision-app/src/playground/es6-arrow-function.js
// const squar= function(x){
// return x * x;
// }
// // const squareArrow= (x) => {
// // return x*x;
// // };
// const squareArrow=(x) => x*x;
// console.log(squareArrow(4));
const getFirstName = (name) => ... | e4a8a6e1d3ac08608a5689ec1dd0a59781258b03 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | jbabiccc/Indecision-app | 2b579c726f8ea172109f85c63fb0d79b0f611e60 | 051da14d735e92ad86e51bdeb56bf5e3d833b674 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Drawing.Printing;
using System.Runtime.InteropServices;
namespace PrinterSetting.Util
{
public class OSDefaultPrinterProxy
{
private const long HWND_BROADCAST = 0xffffL;
private const long WM_WININICHANGE = 0x1a;
... | 157e15a49c18218420980f2094aa68adee8710e3 | [
"C#"
] | 2 | C# | EricNotAlone/PrinterSetting | dc5ff68f7374e168fe304dab4fbeab0b22627c51 | c5edea8891b37ed93cdcceaacb1e69c14a1a135a |
refs/heads/main | <repo_name>magicandcode/theme-toggler<file_sep>/settings.py
import pathlib
from callback import set_terminal_theme, set_vscode_theme
from theme import AppTheme, AppThemes
THEMES: AppThemes = [
AppTheme(
option='vscode',
keys='workbench.colorTheme',
light_name='Default Ligh... | 47224c48809e56d8c6d1a2d35ef3fa22c44aa587 | [
"Markdown",
"Python"
] | 6 | Python | magicandcode/theme-toggler | 5c6e253e05fc672c94ceb68c51743f02f839b68e | 9ff70639ff83792ef91cdc12f240dbfef699b1c7 |
refs/heads/master | <file_sep># Maintainer: flu
pkgname=mopidy-internetarchive
_pypiname=Mopidy-InternetArchive
pkgver=0.5.0
pkgrel=1
pkgdesc="Mopidy extension for playing music and audio from the Internet Archive"
arch=('any')
url="http://www.mopidy.com"
license=('APACHE')
depends=(
'mopidy>=0.18'
'python2-setuptools'
)
makedepends=('... | 4a05d147a46bc462b07470459d021364c746123c | [
"Shell"
] | 1 | Shell | aur-archive/mopidy-internetarchive | d1532c482560c54348bbae7f1f57371aa33c021f | b86470d68cfbdbde8772400321276b3b8abed888 |
refs/heads/master | <file_sep>const Blockchain = require('./js/blockchain.js');
const Block = require('./js/block.js');
let myJSCoin = new Blockchain();
myJSCoin.addBlock({amount: 10});
myJSCoin.addBlock({amount: 40});
myJSCoin.addBlock({amount: 40});
//console.log(JSON.stringify(myJSCoin, null, 4));
//console.log('\nIs blockchain vali... | 8fc46515a30b8de1d2e09e9df9bceaf0d6432833 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | ahurtado25/javascript-blockchain-part1 | e57d112e6e39b075a9d0e50e5b1d668d440d0ad4 | c06af8cc49e294dd6b4df8a34c7ceec411a89c95 |
refs/heads/master | <repo_name>dzvid/ignite-serverless-certificate<file_sep>/.env.example
# APP
IS_OFFLINE=false
| fa55a96069ca2afe22793149f3804f144cc7c265 | [
"Shell"
] | 1 | Shell | dzvid/ignite-serverless-certificate | 5c6ee7390f46a0cf3fec1962755459f30e0288cb | a0e5319b013d66ad2853f8fc70565f557075f50b |
refs/heads/master | <repo_name>iensu/adyen-credit-card-encrypter<file_sep>/README.md
# Adyen Credit Card Encrypter
The purpose of this project is to provide a way of getting encrypted credit card details for Adyen's test cards.
When creating backend integration tests to Adyen we could not find a way of generating encrypted credit card d... | 5f857e261fab74a61dd382f53fa21fc19a165cc8 | [
"Markdown",
"JavaScript"
] | 6 | Markdown | iensu/adyen-credit-card-encrypter | 3d3b7b392d396feacc515c60c8ae2d168638fc14 | 6fb48fecefc1dcfa3bc8c91cfb53b139f57ac96e |
refs/heads/master | <file_sep>beatmaker-instrument-maker
==========================<file_sep>package beatmaker.instrument.maker;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import net.iharder.dnd.FileDrop;
import java.awt.BorderLayout;
public class BeatmakerInstrum... | d128fa29b99100381f2dae2eaed18aad828e3604 | [
"Markdown",
"Java"
] | 2 | Markdown | beaunus/beatmaker-instrument-maker | 302e1339f307edf92a8f921e105a9b4c4466c70a | 799aec495f11304b1cb136b001304702778f9e45 |
refs/heads/main | <repo_name>takrim1999/automate_mail<file_sep>/README.md
# automate_mail
to automate mail,
main script is mailit.py
it'll send a single mail to a address,
and attach attachments,
other scripts can be use to automate this script and send several mails
<file_sep>/mail_several_time.py
#!/usr/bin/python3
import subprocess
... | 31c5822c2c8ffb84cfa98d8ac7fcec6081970323 | [
"Markdown",
"Python"
] | 3 | Markdown | takrim1999/automate_mail | 5c0d513b38dd0dd2d4af542a994a7aedb7c23233 | 8b0624cee704d26bd964f4f6c0f0e6505c486fd4 |
refs/heads/master | <file_sep><?php
namespace Irm\Common\Model;
/**
* Class AbstractModel
* @package Irm\Common\Model
*/
abstract class AbstractModel
{
/**
* Sets up the attributes used in the model
*
* @param array $params
* @param string $method
*/
private function setAttributes($params = array(), $... | 875138ed54f8a17ea2a648716d670d8ad289713a | [
"Markdown",
"PHP"
] | 10 | PHP | pinoyshaun1991/IRM | 5640e2041319de5f1ce576c4f99cfa2f9e56b360 | 464c229c09f87d1fe36e63ebb0936009d61730c1 |
refs/heads/master | <repo_name>UmarFarooq-MP/TCPWorkbench-QT<file_sep>/src/server/server.cpp
#include "server.h"
Server::Server () {
connect(&this->m_server,&QTcpServer::newConnection,this,&Server::hasNewConnection);
}
void Server::listen(const uint16_t port) {
m_server.listen(QHostAddress::Any,port);
if (!m_server.isList... | 4336c0e80c300116808bae2356767ac27405285e | [
"C++"
] | 5 | C++ | UmarFarooq-MP/TCPWorkbench-QT | 5d5b29a077b7d7b3f015ffedf08754a0ff0a8370 | 689b5b6fdb6b7de98b9c6119d930522adb678498 |
refs/heads/master | <repo_name>kavitap09/e-fx-clipse<file_sep>/at.bestsolution.efxclipse.tooling.model/src/at/bestsolution/efxclipse/tooling/model/IFXCtrlField.java
package at.bestsolution.efxclipse.tooling.model;
public interface IFXCtrlField {
}
| 593fa404adaa862d7e9194705a816104a4aa9d5f | [
"Java"
] | 1 | Java | kavitap09/e-fx-clipse | c5397221f8cd2cb80762d81d16e724b5893d6a11 | 600085a077c55960405b0f2175e491d36706285a |
refs/heads/master | <file_sep># __ __ ___
# ___ __ __/ /_/ / ___ ___ _______/ (_)______
# / _ \/ // / __/ _ \/ _ \/ _ \/___/ _ / / __/ -_)
# / .__/\_, /\__/_//_/\___/_//_/ \_,_/_/\__/\__/
# /_/ /___/ http://github.com/nmeurer/
impor... | 399e4afc4065013e4c0dcab929c5d0f7ef439343 | [
"Markdown",
"Python"
] | 2 | Python | nmeurer/python-dice | 824b275c1e98775e4452cf2c998dca4b4b8de5b0 | fa5e749626ab543e46dc65d7d415080ef2a2520e |
refs/heads/master | <repo_name>jnewland/pull<file_sep>/README.md
<a href="https://github.com/apps/pull"><img align="right" width="120" height="120" src="https://cdn.rawgit.com/wei/40d98877c6ac5f917d78ccfe72a0f928/raw/0f6ee2e8715412295998e68754027505f30d0f91/pull.svg" /></a>
# Pull
[
puts "Sending welcome email to #{email}..."
end
end
class User
attr_accessor :email, :subscription_expired_at
def initialize(email)
@email = email
@subscription_expired_at = DateTime.now
end
de... | 450a82944971a32a4dc4025fd4de2c9402d85bf0 | [
"Markdown",
"Ruby"
] | 2 | Markdown | DaniSacra/clean-ruby-codes | f7d751ea0b210549072528e597a271546f4f3229 | d08a17ce927ad577f8e8dcfc00af9d4b944cbc78 |
refs/heads/master | <file_sep>
package trabajo_figuras;
public class CuatroPuntos {
private double x;
private double y;
}
<file_sep>package trabajo_figuras;
import java.util.Scanner;
public class Trabajo_Figuras {
public static void main(String[] args) {
Scanner f = new Scanner(System.in);
... | aa0192440729de60e12702b0a5a970d4ade41b69 | [
"Markdown",
"Java"
] | 4 | Java | hermancani/proyectoFiguras | 73634f682c2663de44c7d64dfb165e1bee8452cb | ec1881f7dd4c46fbbdad60a4711c8a80a50a5738 |
refs/heads/master | <repo_name>seyi/jsword<file_sep>/src/test/java/org/crosswire/jsword/versification/AllTests.java
/**
* Distribution License:
* JSword is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License, version 2.1 or later
* as published by the Free Software Foundat... | d38f015e0028cd60e3b7be5d486efe4b377fa9b3 | [
"Java"
] | 2 | Java | seyi/jsword | 9aaeae8d51dae6bc4d68dd1f77dfae1fa68157f6 | 653ca5ae2a7b3db10f35a6e2b02f4ff0556010e6 |
refs/heads/master | <file_sep>package duke.task;
public class Deadline extends Task {
protected String by;
public Deadline(String task, String by) {
super(task);
this.by = by;
}
@Override
public String fileText() {
return "D" + super.fileText() + "by:" + this.by;
}
@Override
publ... | 5a465b0eae549f9a2d15cea23e2a8c346e3e1db0 | [
"Java"
] | 2 | Java | shyamgj1900/ip | cdbc1df3a6979915f9ea544739a7c374bc46d5e7 | 308de328f4d0d40430d77f39319b8de3003f83c9 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbstractFactory
{
class Program
{
static void Main(string[] args)
{
ConcreteFactory1 factory1 = new ConcreteFactory1();
Console.Write... | 36778de2a7582a9bf54ffe785d3463316d0174ef | [
"C#"
] | 21 | C# | erojo72/DesingPatterns | 056e30140c87ed3f07220b1acddaefe688637e78 | 85edb97484ed6719c026273435852fea4b5ec2b6 |
refs/heads/master | <file_sep>require "winal_kin/version"
module WinalKin
# Your code goes here...
end
| 13b165f17fb2b76511931ce2cdb4bc139970d151 | [
"Ruby"
] | 1 | Ruby | quirigua/winal_kin | 326cbcce6be88487a25cf617c9acc34abcdf96e9 | 9a97eba511df4da6a806cefd04b61effc6225bc3 |
refs/heads/main | <repo_name>rgkannan676/Fit-data-with-Increasing-trend-and-varying-seasonal-component<file_sep>/FitAndPredictDataWithIncreasingTrendVaryingSeasonalComponent.r
##Below are the code used. Check Readme for detailed analysis.
#R code for reading data and converting it to timeseries object.
#Read data file
drugSalesData... | 6de546e6a7157eff09a12f70254fa066eb3d90f1 | [
"Markdown",
"R"
] | 2 | R | rgkannan676/Fit-data-with-Increasing-trend-and-varying-seasonal-component | 624a087c1bd75fe013126bd01f3e048bca5f1772 | ebc63b5a21d595220877d89a457ccbddfbbbc511 |
refs/heads/master | <file_sep>class User {
constructor(firstName, lastName, password, skills, isSuperuser = false) {
this.firstName = firstName;
this.lastName = lastName;
this.password = <PASSWORD>;
this.isSuperuser = isSuperuser;
this.string = (list) => {
let string = new String('')... | d246d9590e0bd1a52f6bc42839c2233e39fd010b | [
"JavaScript"
] | 1 | JavaScript | Zhenya4002/test.js | 9d62e60be8a3b3677961d4515ee8a96792e023dc | 9aa37db3eafd5b89375cfa35c1ee80e203a0bd59 |
refs/heads/master | <file_sep>package algorithms;
import java.util.Arrays;
/**
* Created by Praveen on 10/13/2019.
*/
public class StableMatching {
/**
*
* @param preferences is a 2D Matrix of Size (2*N)*N , 0-N-1 Men preference, N - 2N-1 Women preference
* N is the number of Men/Women
* @pa... | 7e7d1f5fb96b0f54d992c9e0b570aad207b98d7c | [
"Java"
] | 16 | Java | Praveenraj49/DataStructures | 5dd86b4da3463c8d72290754f407ecd03b13a9b3 | 95bac77b881ae99deefa32fe3d6f85b6b9cb4560 |
refs/heads/master | <repo_name>dreibh/atlasmns-trace-TESTONLY<file_sep>/src/SQL/install-database-and-users
#!/bin/sh
sudo -u postgres psql <database.sql
sudo -u postgres psql atlasmnsdb <schema.sql
sudo -u postgres psql atlasmnsdb <users.sql
<file_sep>/src/AtlasMNSTools.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# ================... | cb4b73ef8f94d7cc50e896ef891fea9f09e62fae | [
"SQL",
"CMake",
"Makefile",
"Python",
"C++",
"Shell"
] | 21 | Shell | dreibh/atlasmns-trace-TESTONLY | adf81ecfefe851f662542f5ead9759f7aabe836e | 3ee3ea3f908c24ae0dae98a8aaf2a8b44d962d58 |
refs/heads/master | <file_sep>//
// Tools-ReadPixel.hpp
// ReadPixel
//
// Created by Messier on 2017/10/27.
//
#ifndef Tools_ReadPixel_hpp
#define Tools_ReadPixel_hpp
#include <opencv2/core/core.hpp>
typedef struct
{
int x;
int y;
int R;
int G;
int B;
int H;
int S;
int V;
cv::Mat mat;
boo... | b5acb696300195ab6e0150ce1fcb67e0e9f327ac | [
"Markdown",
"CMake",
"C++"
] | 5 | C++ | messier202/ReadPixel | c7c226143b743723b1e83e586d8e517a8c3e26bb | 4f9a896f185021a74a95d8c4f062a99083710f73 |
refs/heads/master | <repo_name>mareoc/finstrap<file_sep>/README.md
Finstrap
======
Bootstrap starting point for ocean-science cats, based on Bootstrap Sass and Grayscale
Finstrap is a simple starter website you can clone and tailor to be your own. It uses [Bootstrap 3](http://getbootstrap.com/), specifically, the [Sass-port](https://gith... | c3acc5be725a306532beb007326dcc3070849462 | [
"Markdown",
"Ruby"
] | 2 | Markdown | mareoc/finstrap | 54569e85ea904b03ef3e99fb062c0faa7279a77e | eb2fae1df111bbf3f13cde3138c01f5a54ebac3b |
refs/heads/master | <repo_name>aaronwolen/metafiler<file_sep>/R/plot-dotplot.r
#' Dotplot of sample feature profiles
#'
#' Dot size is determined by mapping point area to feature values. Dots can be
#' color coded by sample (\code{color = "sample"}), by feature (\code{color =
#' "feature"}) or any associated metadatda variable.
#'
#' @inh... | 1be6ecb021ac04973979a830e38a347e36128571 | [
"Markdown",
"R",
"RMarkdown"
] | 23 | R | aaronwolen/metafiler | 5bb67a0097e6cd0f279ad71adabf00f43465c1bd | 64feed4cd51c6e3a476e10be1c8f27abe18d1306 |
refs/heads/master | <file_sep>import React, { useState, useRef, useEffect } from 'react';
import { parse, isDate, isAfter } from 'date-fns';
import { Card } from './components/card';
import { CardList } from './components/card-list';
import './app.scss';
let initialCards = [];
if (localStorage.getItem('cards')) {
initialCards = JSO... | e431165138035d0253c4db17072b2b634992b852 | [
"JavaScript"
] | 2 | JavaScript | Karadjordje/visa-card | cd7062c6d52c8043f5c053627639962adc682a05 | 9274fa185327f8321ae6a8908c6e810496a30271 |
refs/heads/main | <repo_name>ayemaman/UnzerTakeHomeTest<file_sep>/src/main/java/com/forUnzer/paymentprocessorapi/payment/exceptions/PostPaymentException.java
package com.forUnzer.paymentprocessorapi.payment.exceptions;
public class PostPaymentException extends Exception{
public PostPaymentException(String reason){
System.ou... | b480684f179f88f71e57ac8676a0b9f9c10e83a5 | [
"Markdown",
"Java",
"Gradle"
] | 7 | Java | ayemaman/UnzerTakeHomeTest | 1376f350831e15a4b515d1d286eaffe66f3b4bbe | cec18adcf126511862dd7e9d58655b1c53ee7cd1 |
refs/heads/7.x-3.x | <repo_name>govCMS/audit-site<file_sep>/src/Audit/Platform/MaliciousWebformUpload.php
<?php
namespace Drutiny\GovCMS\Audit\Platform;
use Drutiny\Audit;
use Drutiny\Audit\Drupal\ModuleEnabled;
use Drutiny\Sandbox\Sandbox;
/**
* Malicious webform uploads.
*
* Spammers are known to want to uplaod files to webforms ... | 4e19857da4c62398848428ffdb4946cf10faef0d | [
"Markdown",
"PHP"
] | 12 | PHP | govCMS/audit-site | f2e67e4f685595647706c7d56d8a2690117e20af | e63574c2da51ee7cb5a7066a229b12fbceced533 |
refs/heads/master | <file_sep># Cloud Foundry CLI MySQL Plugin
[](https://github.com/andreasf/cf-mysql-plugin/actions/workflows/build-and-test.yml)
[](https://g... | 94d433904fafe820e8a4935bbe62055716762bb5 | [
"Markdown",
"Go Module",
"Go",
"Shell"
] | 35 | Markdown | andreasf/cf-mysql-plugin | 0db4c2bc02f598a072edec8cc866d74db8968971 | 0f108c642ce474fb4b3cbd5dc7c8ee2e64380190 |
refs/heads/master | <file_sep># Community Hot Rod Project
<NAME>'s website.<file_sep>var express = require("express");
// Get the port
const PORT = process.env.PORT || 3000;
// Create express server
const server = express();
// *IMPORTANT NOTE* : AWS EB doesn't want us using the .use functions!
// Set up server path information
// Thes... | c4fdf759f21ca3c53f85a3fc7388dddd8a438d21 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ydubler/CommunityHotRodProject | 5b69d90baa3e96f94e8b71ca04edd53178a12bad | a61e85cd0b004c3693a9d02c0311b7f0f390f27b |
refs/heads/master | <repo_name>hosword/Lddkq1<file_sep>/page/do/DoExam0.js
var __extends = this.__extends || function(d, b) {
for (var p in b)
if (b.hasOwnProperty(p)) d[p] = b[p];
function __() {
this.constructor = d;
}
__.prototype = b.prototype;
d.prototype = new __();
};
var DoExam0 = (function(_super) {
__extends(DoExam0, ... | 8ce173cd63fd54ad27025eee55211b71cb84906a | [
"JavaScript"
] | 5 | JavaScript | hosword/Lddkq1 | d72ec94b26c527d0617316d2341cc886470623e6 | 93563944aa5a335f08fed42a21a18fe899720b21 |
refs/heads/master | <file_sep>var searchData=
[
['fillcolorforstate_3a',['fillColorForState:',['../interface_i_o_s_knob_control.html#acd488594a718d0017fb0fd554efc71a3',1,'IOSKnobControl']]]
];
<file_sep>var searchData=
[
['circular',['circular',['../interface_i_o_s_knob_control.html#aafe8f96b875f1d3b9284991e65fdd0d6',1,'IOSKnobControl... | 90814b598f2bd7b87cb590617bb06d924f2a1177 | [
"JavaScript"
] | 13 | JavaScript | PrashantSharma15/ios-knob-control | 05f578dc28674b3dfd0f1885cad3948bbfa27281 | 4ceba7c4e263c76c1760a7840a5e018f5f4289c1 |
refs/heads/master | <repo_name>SamuelRocha2015/code-example<file_sep>/exampleGetUrlInPlay.java
//pegar a url a partir de um metodo no controller
String refererUrl = request().getHeader("referer");
String a = routes.SubstanceController.edit().absoluteURL(request());
| b5ec369478b97c89c7448a65de96dd271d058ca3 | [
"Java"
] | 1 | Java | SamuelRocha2015/code-example | e37ea462518a381fbba1e4f72d64ee8032b19bde | 7021e1118803181ca30a0c076cf811e22bb522d5 |
refs/heads/master | <file_sep>{% extends "admin/base_site.html" %}
{% load i18n static %}
{% block extrastyle %}{{ block.super }}{% endblock %}
{% block coltype %}{% endblock %}
{% block bodyclass %}{{ block.super }}{% endblock %}
{% block breadcrumbs %}{% endblock %}
{% block content %}
<div id="content-main" class="container">
{% ... | 259181da6aa600643bab950aa2a7b03e0b731bf8 | [
"HTML",
"reStructuredText",
"Python",
"Text",
"Shell"
] | 9 | HTML | lorenzomorandini/django-admin-material | ec4b48c3be9c38a87967491ed5300d0d45df4d66 | 10d8c4e7290d60a173ba905e00d7f65909ad2256 |
refs/heads/master | <file_sep>
#define BBP_PORT 2017
| f1c6f1b67d4f27ab10840936879f3820b92348b6 | [
"C"
] | 1 | C | aczid/bpp | 8fca108e970563e37757bed83bea36b2fc8f7f0f | e16602dda1a73ae645806abf3ba7ef9c0cedd917 |
refs/heads/master | <repo_name>xz2623/AB_Testing---MSDABC<file_sep>/Assignment_2_Cust_segmentation.py
#!/usr/bin/env python
# coding: utf-8
# In[33]:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sn
from sklearn.preprocessing import StandardScaler
from sklearn.cluster import KMeans
from sklea... | a31f0d44f45a4470477a9871381dad7cbece3e2c | [
"Markdown",
"Python"
] | 5 | Python | xz2623/AB_Testing---MSDABC | 0f9f8099df9c1a8c05342600cfe1c3bcea9f5a92 | 04359489a8c334e25124c7c56832804f8575be0a |
refs/heads/master | <repo_name>KarenLopezB/Primitiva_Casa<file_sep>/PlantillaOpenGL.py
from OpenGL.GL import *
from glew_wish import *
import glfw
from math import *
def dibujarPasto():
glColor3f(0.1,0.7,0)
glBegin(GL_QUADS)
glVertex3f(-1.0,-0.5,0.0)
glVertex3f(1.0,-0.5,0.0)
glVertex3f(1.0,-1.0,0.0)
glVertex3f(-1.... | 99556ee0cc755e69c11d543dc362d29e42d54710 | [
"Python"
] | 1 | Python | KarenLopezB/Primitiva_Casa | 162a039fa15a7c4980e0578835eb12490ed6979d | 70f8dc37ac18402024797be7440b413cf1105af2 |
refs/heads/master | <file_sep>insert into burgers(burger_name, devoured)
value('Cheese Burger', true),
('Bison Burger', true),
('Turkey Burger', false),
('Buffalo Burger', false),
('Black Bean Burger', true); | 4483ea64485f7118e610e03440ea2391cb06dfb3 | [
"SQL"
] | 1 | SQL | Lopez42512/Burger | 8a6dfa837f41dc944595dd3ed8e02e1ee40369fd | 38f994bd3cab7997dc40d2b5cbda63ad18138e45 |
refs/heads/master | <repo_name>yamany7/1nenyou<file_sep>/ymnk/src/machine.cpp
#include "machine.h"
void Machine::start() //reizi suru
{
Lmotor->Start();
Rmotor->Start();
}
void Machine::kill() //reizi kiru
{
Lmotor->kill();
Rmotor->kill();
}
void Machine::halfBlock() //hanmasu susumu
{
Lmotor->reset_cnt();
Rmoto... | 58e8f6830cf1f3a4e4dc06a871a31b9f4be0fe46 | [
"C",
"C++"
] | 5 | C++ | yamany7/1nenyou | 51107cff287db2be933bdcfb83ac9d67c75e304b | 031968b2d1fed7944113988799143149d993d94c |
refs/heads/master | <file_sep>FROM fluent/fluentd:v0.12.21
MAINTAINER LinFan "<EMAIL>"
# Permission error happens
USER root
# Fluentd plugins
RUN gem install fluent-plugin-elasticsearch --no-rdoc --no-ri
RUN gem install fluent-plugin-record-reformer --no-rdoc --no-ri
RUN gem install fluent-plugin-docker_metadata_filter --no-rdoc --no-ri... | 1260159f35397f5d81956f610800dbec564a26a6 | [
"Markdown",
"Dockerfile",
"Shell"
] | 16 | Dockerfile | linfan/dockerfiles | 7960ab2c4d546bf3d29b6548b09285b872cbd241 | 46a7482e7f8a73391388fd72b96ff03cefc4d70f |
refs/heads/master | <repo_name>dalnefre/oxide<file_sep>/src/allocator/linked_list.rs
use super::{align_up, Locked};
use alloc::alloc::{GlobalAlloc, Layout};
use core::{mem, ptr};
struct ListNode {
size: usize,
next: Option<&'static mut ListNode>,
}
impl ListNode {
const fn new(size: usize) -> Self {
ListNode { size, ... | 7a51b1b13927ddcc47a99c10cc91d8dde9b02e16 | [
"Markdown",
"Rust"
] | 7 | Rust | dalnefre/oxide | f32db5c5946459d248f456891dd366dc976e8fa9 | 2d9d34cbbc38645b7a4229bde3e97e46348edc81 |
refs/heads/master | <file_sep><?php
require_once './zip.php';
<file_sep><?php
require_once './zip_trait.php';
class Local
{
use ZipTrait;
/** @var array */
protected $ignoreFiles = [
'.',
'..',
];
/** @var array */
protected $ignoreMatchFiles = [
'/node_modules/',
'/\.git/',
... | 78372902f6d40ff97026c73022c89c3d84c027ad | [
"Markdown",
"PHP"
] | 6 | PHP | ycs77/php-publish-shared-hosting | 5dea17f53f4dd277e13ee08d1b3540c779f1c421 | 3188627b558c14cc81e07be6faccfeed0aa115c5 |
refs/heads/master | <file_sep>$(document).ready(function(){
$('.champion-button').click(function(){
if (!($(this).hasClass('fade'))){
//Button not currently selected, toggle on. First identify whether
//the button belonged to ally-container or enemy-container
var ally = $(this).parent().hasClass('ally-container');
... | db7e3b782d750608aedaa6218c26083147a794c9 | [
"JavaScript"
] | 2 | JavaScript | Zaaptastic/Synergy | 4362e5fe96ba2bb9f9dc989eb5d0d4a29fe28ba8 | a74cdd904a699e9dd6b64f50a16f09ae8da10656 |
refs/heads/master | <file_sep># Ticket-Airline
โปรแกรมจองตั๋วเครื่องบิน เขียนโดยภาษา Java ไม่มีหน้า UI
- ไฟล์คู่มือการใช้งาน 593021504-0_OOPReport.pdf
<file_sep>
class Details extends Demostic { //Sub class
private String name;
private String seat;
private String gates;
//Constructors and Inheritance
public Details(String arri... | 167d57c6e0e88f8d94f216bd4b6d27d770cfd11e | [
"Markdown",
"Java"
] | 4 | Markdown | Perzelita/Ticket-Airline | 802d464b1b3e1e75cf9bc2c4177ab368ec6596c5 | 6ff82895c7e31deff9c10d357806c41e095062a2 |
refs/heads/master | <file_sep>#编译64位可执行文件
make clean;make LINUX64=1
#设置libmsc.so库搜索路径
export LD_LIBRARY_PATH=/home/autotest/gvoice/git_repo/Linux-Speech/libs/x64/
<file_sep>package com.glodon.gvoice;
import android.widget.ImageView;
public class ChatMsgResource extends ChatMsgWithText {
private int resourceId;
public ChatMsgResource... | bd155bd082fe799c8e4d7ae38431fde99fbbc01f | [
"Java",
"Python",
"Shell"
] | 24 | Shell | cash2one/Gvoice-Glodon | 19a4ee41cdfe20830d039b7015e724c104d261ff | 32b9e942315c9a9a90b61b4472b1d198611f7a6c |
refs/heads/master | <file_sep># this code downloads and joins together data from all meteorological sensors for a period of 1 month
from selenium import webdriver
from selenium.webdriver.support.ui import Select
import bs4
import pandas as pd
import ast
import requests
import io
import datetime
from dateutil.relativedelta impor... | 149b8dee5e6816b006d0e8bd3d8f8eec0c87fe84 | [
"Markdown",
"Python"
] | 3 | Python | olegmatsnev/Meteo | ee5457533b3c18580c381f3faf66b93b8ea97c60 | bb2d0c122382c96f89fc9f514208c5fdb6b4a5f2 |
refs/heads/master | <file_sep>// Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:
// 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
//By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-value... | aea3d90e409ee172a30170e4495d1d7424192c2c | [
"JavaScript"
] | 1 | JavaScript | Makwe-O/project-euler | e9748e3f5b733b82a29599a996f3a03e8bde4ced | 404e952517d217c5d4c0cde3346d34a37533d798 |
refs/heads/master | <file_sep>var giveBlood = angular.module('giveBlood', [
'ngRoute', 'ngMaterial', 'ngMdIcons'
]);
giveBlood.controller('MainCtrl', [
'$scope', '$route', '$routeParams', '$location', '$mdMedia',
function ($scope, $route, $routeParams, $location, $mdMedia)... | cea3a64be76e5dac69c44f842536f21687f9aae3 | [
"JavaScript"
] | 2 | JavaScript | darkowlzz/give-red | dbdaddc7fe0613e079b51397a392f9e7bf9b56ff | 200c0424ca5ab4d15f76ed2fa7e72f587c748f50 |
refs/heads/master | <file_sep>#!/bin/sh
ps -ef|grep master.py | grep -v grep | awk '{print $2}'|xargs kill -9
nohup python3 master.py -m 0.0.0.0:10000 -c 0.0.0.0:1883 >> /root/HGShootback/shootback/nohup.10000.1883 &
nohup python3 master.py -m 0.0.0.0:10001 -c 0.0.0.0:8080 >> /root/HGShootback/shootback/nohup.10001.8080 &
... | f625117599dc1f2c1d4ca2fa49c88c63d4d4fd65 | [
"Shell"
] | 1 | Shell | liujian883/shootback | 89f4e5b4bf78a3a3da53bb9e156a9f6d753ce262 | 3a4ffaf11aeb79b00574e664ac88f1d71353d417 |
refs/heads/master | <repo_name>debanaskar13/python-tkinter-api-news-application<file_sep>/app.py
from tkinter import *
import requests
from PIL import ImageTk,Image
class newsapp:
def __init__(self):
self.root=Tk()
self.root.title("News Application")
self.root.minsize(400,600)
self.root.maxsize(400,600)
self.ro... | abfece1dcb88f96041050733896b9ee32a03971c | [
"Markdown",
"Python"
] | 2 | Python | debanaskar13/python-tkinter-api-news-application | 6c4c4e1bdfedbeb051ec782d4abae7a6bb6c393e | 53d04fe46389ba2a55cba974f6ac58d4bce9a02e |
refs/heads/master | <file_sep># Don't forget! This file needs to be 'required' in its spec file
# See README.md for instructions on how to do thisdefine "fizzbuzz".to
def fizzbuzz(int)
if int % 3 == 0
return "Fizz"
elsif int % 5 == 0
return "Buzz"
elsif int % 3 && 5 || 3 && 5
return "FizzBuzz"
else int... | e73957fd2aa6095837f531ea6dcff2a78e2c24e3 | [
"Ruby"
] | 1 | Ruby | SamJ95/rspec-fizzbuzz-dumbo-web-062419 | 9435afa5170fffd2c20ac5dd93bc67fc63fe8abd | aa9b275a03a87419d6d2d62e9963099f3ad0beb4 |
refs/heads/master | <repo_name>chaseqi7/Focus21InterviewAssignment<file_sep>/javascript/myScript.js
/**
* Created by qizim on 5/8/2016.
*/
$(document).ready(function () {
init();
});
function init(){
$('#btnSignIn').hide();
$('#informationHolder').hide();
$('#logoThumb').hide();
$('#toolbox').hide();
$('#contai... | d7a975f86eea60f84489d3adc77e4943e9bc5540 | [
"JavaScript"
] | 1 | JavaScript | chaseqi7/Focus21InterviewAssignment | 78ef122a8cf9e31e26aaeb5242a9841fac44164d | c53aeb22b0aec67596e3bf2e7ca77c557675f959 |
refs/heads/master | <repo_name>AlwaysDryzen/Vtuberjsontest<file_sep>/javacode.js
// Keeping track of user's vtuber list hinges on using local storage so we check if its available
// It should be available in pretty much every case unless the user has an ancient browser
function storageAvailable(type) {
let storage;
try {
... | 76016b09932fda1bd66a3236f2d3c5cbb7b22ca1 | [
"JavaScript"
] | 1 | JavaScript | AlwaysDryzen/Vtuberjsontest | c2ac8e2e91d01371069c2bc1c93f80efb8909c50 | d0686b9b811cad1e488ac3f76d09beefdfbfa4e1 |
refs/heads/master | <repo_name>vinayakbhosle/college<file_sep>/src/component/Student_reg.js
import React from 'react'
const Student_reg =() =>{
return(
<div className="ui container center aligned">
<h1>Student Registration</h1>
<br/><br/><br/>
<form class="ui form">
<div cla... | 277c9dec4c6cd589e463c6692b0c0ea0af88f266 | [
"JavaScript"
] | 1 | JavaScript | vinayakbhosle/college | 43671aebefba1de96fe0221b0b78fff713ae560a | 8ddc86fa3c38447dbf04c48202b700ba2f2f8533 |
refs/heads/master | <repo_name>saz08/CS409-Lab2<file_sep>/src/Controller/SwitchStmtDetector.java
package Controller;
import POJOs.ClassPOJO;
import POJOs.MethodPOJO;
import com.github.javaparser.ast.NodeList;
import com.github.javaparser.ast.body.MethodDeclaration;
import com.github.javaparser.ast.expr.Expression;
import com.github.java... | 78d18edd11ffef8ec49cd3da25f4d0f1690560d1 | [
"Java"
] | 3 | Java | saz08/CS409-Lab2 | f17968be42d067a9c06e898dc35d684ceae3055b | dcac197eee131a75ce74ebf226ca085e44745144 |
refs/heads/main | <file_sep>using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nunitTest
{
[TestFixture] // bu ifade bize bu sınıfın bir test sınıfı olduğunu ifade etmektedir
public class mathTest //testSınıfımız
{
... | b839566f371594f8d0bfd88abafced91742ae20d | [
"C#"
] | 2 | C# | alpayduymaz/nunitTest | dd6f5628e0681e6f1779bcb008680d25238510ca | 58722731b33c38b5545ed99ad73700bbec46a1b1 |
refs/heads/centos | <repo_name>cnanakos/blktap<file_sep>/part/vhdpartx
#!/bin/sh
set -e
PARTUTIL=/usr/sbin/part-util
LIBVHDIO=/usr/lib/libvhdio.so.1.0
die()
{
echo "$@"
exit 1
}
usage()
{
echo "usage: $0 [-a | -d | -l] vhd [lib]"
echo "-a add partition mappings"
echo "-d del partition mappings"
echo "-l list pa... | b3debdefd42ec0919cba3eb30efbed7f6c53c7e1 | [
"Shell"
] | 1 | Shell | cnanakos/blktap | 2432ef54604af596f3b1bae415ffd178f78e3e8d | 6ffe6f59f4b72f84d6acc0fa90ec8aeaae40c359 |
refs/heads/master | <repo_name>Hoanieee/-th-hoan<file_sep>/Documents/code/baikiemtra/bai4.py
def tong(x):
S=0;
while(x>0):
S=S+x%10;
x=int(x/10);
return S;
x=int(input("Nhập 1 số nguyên dương:"));
print('Tổng các chữ số trong',x,'là:',tong(x));
<file_sep>/Documents/code/baikiemtra/bai3.py
x =int(input(""))
for... | 81e53d97545b651bd90994c696a80730c2774cd9 | [
"Python"
] | 5 | Python | Hoanieee/-th-hoan | 90a5740e4c6c9bac720d5d7dda75661d8bb3bb3f | 540741b8b245e351f137f48ddc615277cc3cbe5a |
refs/heads/master | <file_sep># UIkit for Angular
A helper package that makes it easy to use the features from [UIkit](http://getuikit.com).
## UIkit
A lightweight and modular front-end framework for developing fast and powerful web interfaces.
Developed by [YOOtheme](http://yootheme.com).
UIkit is a mobile-first framework, and most fe... | 4961cc8b79ee37dd19a08496a570ba85df482ad7 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | Evanion/ngUikit | fe7d28ffb3049afda901dbb118b789bea79c9ab1 | 9d7efd6442b3f50a4acf40a0adea667a676ae9d0 |
refs/heads/master | <file_sep>pyicalmerge
===========
A video showing how it works: http://vimeo.com/plopesresearch/pyicalmerge
Merges multiple .ics (icalendar) files together and gets them ready for google calendar upload.
Based on https://code.google.com/p/pyicalmerge/ by <NAME> (2010) and modified by <NAME>, because it is a remix I k... | c969fc67b7da3a386b6c96217476c49e3436eedb | [
"Markdown",
"Shell"
] | 2 | Markdown | agronauts/pyicalmerge | aa4b7ce074744ef9d13ebda85d5d645a65c2c150 | 71b512d924744059e54c3059181254192e5a1159 |
refs/heads/main | <repo_name>aniketkuwar12/CppND-Linux_System_Monitor<file_sep>/src/format.cpp
#include <string>
#include <chrono>
#include<iomanip>
#include "format.h"
using std::string;
// INPUT: Long int measuring seconds
// OUTPUT: HH:MM:SS
string Format::ElapsedTime(long numSeconds) {
std::stringstream sStream;
std... | 6ab2302150612b0820d0ef2982c8802e115bac0c | [
"C++"
] | 3 | C++ | aniketkuwar12/CppND-Linux_System_Monitor | a80ff38600e4dd77367c356d56cde418137f57cf | b7c1f5beb48b9b0ff722dad11edf4160f9b17631 |
refs/heads/master | <repo_name>ratthananp/roman-calculator<file_sep>/main.spec.ts
import { arabicToRoman } from "./main";
import 'mocha';
import { expect } from 'chai'; // Using Expect style
describe('105', () => {
const answer = arabicToRoman(105);
console.log(answer)
expect(answer).equal('CV');
});
describe('620', () ... | ff2139bbf9969830871abf93634d8898af310bfd | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | ratthananp/roman-calculator | b95702da0320c82c4acdb709edc442f115f36347 | 6b02b3aacf591626bb32ecd31470761be9ba55c1 |
refs/heads/master | <repo_name>kelvinabella/image-search-abstraction<file_sep>/README.md
# Image Search Abstraction Layer
Full stack JavaScript service that allows you to search for images . A [FreeCodeCamp](https://www.freecodecamp.org/challenges/image-search-abstraction-layer) project.
## Getting Started
These instructions will get y... | e7cd47eb9a0f6f7a8aa73b302d09074444ca6cde | [
"Markdown",
"JavaScript"
] | 3 | Markdown | kelvinabella/image-search-abstraction | bcc7c27b0534c14a20f433c26275508b0d660e9d | 570e5eec4a37df8b3811de6bae9b7d31897f2d7f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.