repo
stringlengths
5
121
content
stringlengths
35
2.09M
zukahai/Support-everyone
zukahai/Support-everyone TamGiac1.py ```# Input # N = 4 # Output: # * # ** # *** # **** # Input # N = 6 # Output: # * # ** # *** # **** # ***** # ****** n = int(input("Nhập N: ")) for i in range(n): print("*" * (i + 1))``` README.md ```## <p align="center"> SUPPORT EVERYONE </p> <p align="center"> <img src...
zulfikar-ditya/laravel-todo-list
zulfikar-ditya/laravel-todo-list todoCotrol.php ```<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use App\models\todos; class todoCotrol extends Controller { function index() { return 'Here Is From Contorller'; ...
zulmy/datasciencecoursera
zulmy/datasciencecoursera README.md ```datasciencecoursera =================== Repo for classes ```
zulov/artofwar
zulov/artofwar UnitActionType.h ```#pragma once enum class UnitActionType : char { ORDER=0, FORMATION }; ``` UnitFactory.cpp ```#include "UnitFactory.h" #include "Game.h" #include "Unit.h" #include "scene/load/dbload_container.h" #include "env/Environment.h" #include "state/StateManager.h" UnitFactory::UnitFactory...
zumod/kingslabs-tinyMCE
zumod/kingslabs-tinyMCE user.sql ```-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jun 28, 2020 at 06:18 PM -- Server version: 10.4.13-MariaDB -- PHP Version: 7.4.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; ...
zunda/gist
zunda/gist gist-cat.rb ```#!/usr/bin/env ruby # gist-cat.rb - a small command line tool to handle data to/from gist # # Copyright (c) 2009 zunda # # Permission is granted for use, copying, modification, distribution, # and distribution of modified versions of this work as long as the # above copyright notice is includ...
zuojihong/QuoteReader
zuojihong/QuoteReader quoteReader.js ```var http = require('http'); var mongoose = require('mongoose'); var buffer = ''; var options = { host : 'hq.sinajs.cn', port : 80, path : '/list=sh000001', method : 'GET' }; var dbName = 'stock_db'; var addr = process.env.MONGO_PORT_27017_TCP_ADDR || 'silverr...
zuoliguang/thinkphp5-main
zuoliguang/thinkphp5-main MYModel.php ```<?php namespace app\core; use think\Model; use think\Db; use think\Config; class MYModel extends Model { function __construct() { parent::__construct(); $this->DB = Db::connect(Config::get('database.db_local')); // 链接 db_local 配置的数据库 } }``` MYController.php ```<?php nam...
zuones/GreedySnake
zuones/GreedySnake TouchMoveView.java ```package com.zhjaid.GreedySnake; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.widget.Toast; import androidx.annotation.Nullable; /** * from:zhjaid * email:zhjaid@163.com */ publi...
zuorn/django_restful
zuorn/django_restful README.md ```# django_restful 一个 Django_restful 的 Demo ``` run.py ```import unittest from BSTestRunner import BSTestRunner from api.test_project.mysql_action import DB import time import yaml # 数据初始化操作 db = DB() f = open('datas.yaml','r') datas = yaml.load(f) db.init_data(datas) # 指定测试用例和测试报告路...
zupanssi/trilingualtranslator
zupanssi/trilingualtranslator enspch_dictionary.py ```import csv ''' english,spanish,chinese bathroom,baño,廁所 rent,alquilar,租 sound,sonido,聲音 chocolate,chocolate,巧克力 candy,golosina,糖果 ''' with open('enspch_dic.csv','r') as ite: dicc = csv.reader(ite) rowList = list(dicc) def en2sp(): user_...
zurrutia/cis246lab3
zurrutia/cis246lab3 README.md ```# CIS246 Lab 3 Zach Urrutia Date: Nov 22, 2020 ```
zvanjak/Mathlib
zvanjak/Mathlib test_gravity_field.cpp ```#include "Fields.h" #include "MetricTensor.h" #include "differential_geometry/CoordSystemGeneral.h" class GravityPotentialCartesian : public ScalarField<3> { double _mass; MetricTensorCartesian<3> _mt; public: double Value(Vector<3> &pos) const { ...
zvanjak/TestingNeuralNetworks
zvanjak/TestingNeuralNetworks README.md ```# TestingNeuralNetworks Testing neural networks implementation ```
zvansom/react-films
zvansom/react-films FilmRow.js ```import React, { Component } from 'react'; import FilmPoster from './FilmPoster'; export default class FilmRow extends Component { render() { const {poster, title} = this.props const date = new Date(this.props.date); return( <div className="film-row"> <Film...
zvebbo/FlyYouFools
zvebbo/FlyYouFools traveler.rb ```class Traveler < ActiveRecord::Base belongs_to :booking validates :name, :presence => true, :length => { :minimum => 2 } validates_format_of :personal_number, :with =>/[0-9]{10}/ validates_uniqueness_of :personal_number end ``` airplanes_controller.rb ``...
zvercodebender/UTNASAMiningClub
zvercodebender/UTNASAMiningClub Form1.cs ```using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Net.Sockets; namespace NasaRobot { public ...
zvirdaniel/Random-Picture-Viewer
zvirdaniel/Random-Picture-Viewer Direction.java ```package cz.zvir.rpv; public enum Direction { NEXT, PREVIOUS } ``` README.md ```# Random Picture Viewer ## Releasing * Use `gradle jar` command to create an executable JAR file which will contain all the necessary JavaFX dependencies * Use [Packr](https://github.co...
zvory/timezonebot
zvory/timezonebot README.md ```## timezonebot This is a discord bot that eases global co-ordination: give it a time and place, and it will translate that time to a variety of timezones. ![sample usage](/sample.PNG?raw=true) ### Running the bot You'll need: - A google maps [timezone/geocoding api key](https://devel...
zwade/wowza
zwade/wowza autovac.ts ```import * as bl from "beautiful-log"; import { Server } from "socket.io"; import { transaction } from "./db" import { SocketState, SocketWithState } from "./types"; import { dockerComposeCWD, sleep, spawn } from "./utils"; const log = bl.make("autovac"); export const runAutovacWorker = asyn...
zwarcola/SABREIII
zwarcola/SABREIII app.py ```import PySimpleGUI as sg from send_email import send_text, send_email def show_gui(): sg.theme('BrightColors') # Add a touch of color # All the stuff inside your window. layout = [ [sg.Text('Please enter your credentials.',font=("Helvetica", 25))], [sg.Text('...
zwcoding/react_dva_umi
zwcoding/react_dva_umi README.md ```# react_dva_umi 学习 ```
zwilder/WSL_Blog
zwilder/WSL_Blog 2016-11-12-partying-with-jekyll.md ```--- title: "Partying With Jekyll" date: 2016-11-12 18:15:06 -0700 Author: "Zach Wilder" Categories: - Programming tags: - Jekyll - Web Programming --- I've been wanting to fix this blog for a while now, and I decided in the process that I am **awful** at...
zwjohn/rsapoc
zwjohn/rsapoc README.md ```# rsapoc POCs ```
zwk1277023870/-1
zwk1277023870/-1 README.md ```# -1 好好学习 ```
zwl568633995/BlogPrecious
zwl568633995/BlogPrecious README.md ```# blogprecious 博客记录日志 ```
zwoman/Marilyn
zwoman/Marilyn README.md ```# Marilyn the magic of visual and compassionate communication ```
zwwnzb/-development_tool
zwwnzb/-development_tool README.md ```# -development_tool 开发工具测试分支 ```
zwx0001/lemon-api
zwx0001/lemon-api README.md ```# lemon-api mylemon ```
zx2624/zx_trans
zx2624/zx_trans tcp_client.cc ```#include <ros/ros.h> #include <sys/types.h> #include <sys/socket.h> #include <stdio.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #include <fcntl.h> #include <sys/shm.h> #include <iostream> #include <deque> #include <mutex...
zx444923611zx/TensorFlowTest
zx444923611zx/TensorFlowTest 模拟数据训练神经网络.py ```#同numpy生成模拟数据训练神经网络 import tensorflow as tf from numpy.random import RandomState #训练数据的batch大小 batch_size = 8 #神经网络参数 w1 = tf.Variable(tf.random_normal([2,3],stddev=1,seed=1)) w2 = tf.Variable(tf.random_normal([3,1],stddev=1,seed=1)) #输入数据占位 x = tf.placeholder(tf.float3...
zx88cvb/security-cloud-demo
zx88cvb/security-cloud-demo SysUserMapper.java ```package com.security.securityclouddemo.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.security.securityclouddemo.entity.SysUser; public interface SysUserMapper extends BaseMapper<SysUser> { } ``` security-cloud.sql ```/* Navicat MySQL Data...
zxc188/alexnet
zxc188/alexnet my_layers.py ```import tensorflow as tf from tensorflow.python.ops import init_ops def weights_initializer_random_normal(shape,stddev): return init_ops.truncated_normal_initializer(shape, stddev) #---------------------------------------卷积层-----------------------------------------------------------...
zxc888-zxc/zxc888-zxc
zxc888-zxc/zxc888-zxc README.md ```- 👋 Hi, I’m @zxc888-zxc - 👀 I’m interested in ... - 🌱 I’m currently learning ... - 💞️ I’m looking to collaborate on ... - 📫 How to reach me ... <!--- zxc888-zxc/zxc888-zxc is a ✨ special ✨ repository because its `README.md` (this file) appears on your GitHub profile. You can cl...
zxllzw/blog
zxllzw/blog 深入webpack系列.md ```配置 webpack 其实很简单,基础的构建可以按照以下方式来配置 webpack: - 想让源文件加入到构建流程中去被 Webpack 控制,配置 `entry`。 - 想自定义输出文件的位置和名称,配置 `output`。 - 想自定义寻找依赖模块时的策略,配置 `resolve`。 - 想自定义解析和转换文件的策略,配置 `module`,通常是配置 `module.rules` 里的 Loader。 - 其它的大部分需求可能要通过 Plugin 去实现,配置 `plugin`。 基础的配置,这里就不再做过多的介绍,在文章结尾会给出完整配置: 当使用 webp...
zxtariel0512/Hula-Hoop-Research-Program
zxtariel0512/Hula-Hoop-Research-Program README.md ```# Hula-Hoop-Research-Program Analytical and Numerical Study on Hula-Hoop Dynamics and Levitation Condition May 2019 - current l Constructed a model of hula hoop motion based on Lagrangian Mechanics and implemented a simulation program in Matlab to solve the problem ...
zxthanhhuy/rbac-graph
zxthanhhuy/rbac-graph readme.md ```This repository contains examples for using the Spring Data Graph Library, currently the examples all use the 1.0.0.M4 release. * HelloWorlds is a simple application showing the basic setup, annotations and usage * Imdb is a graph based webapp for a movie - actor database using a...
zxyc88/Roulette
zxyc88/Roulette RouletteWheel.java ```package com.roulette.roulette.model; import java.util.ArrayList; public class RouletteWheel { private final static ArrayList<Integer> theWheel = new ArrayList<>(); public RouletteWheel(){ theWheel.add(37); theWheel.add(27); theWheel.add(10); ...
zy1256/JAVA
zy1256/JAVA ConsoleInputStreamThreadBlockingMain.java ```package byte_stream; import java.io.InputStream; public class ConsoleInputStreamThreadBlockingMain { public static void main(String[] args) throws Exception{ InputStream consoleIn = System.in; System.out.println("Thread blocking...(키보드 입력시까지 무한...
zyadelhady/snack-game
zyadelhady/snack-game index.ts ```const canvas = document.getElementById('gameCanvas') as HTMLCanvasElement; const canvasContext = canvas.getContext('2d')!; const yourScore = document.getElementById('score')! as HTMLHeadingElement; let playerScore = 0; let isIntersected = false; let dx = 10; let dy = 0; let snake =...
zycode1561/JavaCrawler
zycode1561/JavaCrawler JobProcessor.java ```package com.zycode.job.task; import com.zycode.job.pojo.JobInfo; import org.jsoup.Jsoup; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import us.cod...
zyd0183795/hello-world
zyd0183795/hello-world README.md ```# hello-world Just another repository Hello, I'm Zaid Fraij,an Industrial enngineering student at JU. ```
zydft111/xianyun
zydft111/xianyun create.js ```export const state = () => { return { posts: [] } } export const mutations = { postSave (state, data) { state.posts.unshift(data); if (state.posts.length > 5) { state.posts.length = 5; } } }```
zygzagZ/LAB2
zygzagZ/LAB2 strset.cc ```#include "strsetconst.h" #include "strset.h" #include <cassert> #include <string> #include <set> #include <unordered_map> namespace { #ifndef NDEBUG const bool debug = true; #else const bool debug = false; #endif using strset_set = std::set<std::string>; ...
zyla/javarewrite2016
zyla/javarewrite2016 bf.java ```// A simple Brainfuck program to compute 3*5 and obtain 15. class BF { int compute_3x5 = run_bf( // put 3 in cell 0 PLUS ^ PLUS ^ PLUS // put 5 in cell 1 ^ RIGHT ^ PLUS ^ PLUS ^ PLUS ^ PLUS ^ PLUS // while cell 0 is not empty ^ LEFT...
zymrtest/Close-By
zymrtest/Close-By README.md ```# Close-By Close-By ```
zyphermc/jabilesyuscode
zyphermc/jabilesyuscode README.md ```<div> <h3 align="center">To-do App</h3> <p align="center"> A basic website to list your tasks. <br /> </p> </div> ### Built With - [Vue.js](https://vuejs.org/) - [Axios](https://github.com/axios/axios) - [Bootstrap](https://getbootstrap.com) ### Installation 1. Clon...
zysim/twitch-plays
zysim/twitch-plays keymap.py ```import win32con import game keymap = { # Directions 'up': { 'key': win32con.VK_UP, }, 'down': { 'key': win32con.VK_DOWN, }, 'left': { 'key': win32con.VK_LEFT, 'duration': 2 * game.DEFAULT_DURATION, }, 'right': { 'k...
zysong/NectarMicrobiota
zysong/NectarMicrobiota README.md ```# NectarMicrobiota We study how nectar microbes, in particular, bacteria and yeast, moderate the interactions between flowers and pollinators, in the context of climate change. This a project integrating field survey, field experiments, mathematical modeling and numerical simulat...
zyt520ham/vue-draggable-resizable-ts
zyt520ham/vue-draggable-resizable-ts README.md ```## Vue3 + typescript Component for draggable and resizable elements, with no dependencies. ## Install and basic usage ```bash $ npm install --save vue-draggable-resizable-ts ``` Register the component ```js import { createApp } from 'vue' import App from './App.vue...
zyueek/C_based-program
zyueek/C_based-program students information managment system.cpp ```#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> struct student { char name[20]; char grade[2]; char math[3]; char chinese[3]; }; struct Node { struct student data; struct Node* next; }; ...
zyuzhen/-
zyuzhen/- README.md ```# - 俄罗斯方块游戏源程序 ```
zyx88615/mapping
zyx88615/mapping README.md ```# Unit 17 | Assignment - Visualizing Data with Leaflet ## Background ![1-Logo](Images/1-Logo.png) click earthquake layer for general INFO ![hi](eqinfo.png) click magnitude layer for mag info ![hi](mag.png)``` config.js ```// API key const API_KEY = "pk.eyJ1Ijoienl4OD...
zyxjs/crypto
zyxjs/crypto BlockChain.java ```import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; // Block Chain should maintain only limited block nodes to satisfy the functions // You should not have all the blocks added to the b...
zyxsachin/zyxsachin.github.io
zyxsachin/zyxsachin.github.io script.js ``` /* var x = document.getElementById("geoloc"); var y = document.getElementById("dist"); var wd = document.getElementById("wdist"); var bd = document.getElementById("bdist"); var id = document.getElementById("idist"); var sd = document.getElementById("sdist"); var jd = docum...
zyylele123/earth-frost
zyylele123/earth-frost RedisRegistry.java ```package vip.justlive.frost.core.registry; import java.util.concurrent.TimeUnit; import org.redisson.api.RSemaphore; import org.redisson.api.RedissonClient; import lombok.extern.slf4j.Slf4j; import vip.justlive.frost.api.model.JobExecutor; import vip.justlive.frost.api.mode...
zyzisyz/flow_sre
zyzisyz/flow_sre README.md ```# flow_sre ## Dependency and work ENV 1. install `pytorch-gpu` 2. `pip3 install -r requrements.txt` ## Data Preparation `tools/ark2npz.py` transfers kaldi `feats.ark` to numpy `feats.npz` (`utt2spk` file is also required) ```bash # convert ark to npz python -u tools/a...
zz5414/jekyll-now
zz5414/jekyll-now 2018-09-02-Hello-World.md ```--- layout: post title: Hello World --- ### new Start Hi I'm Heejin ## 시작 안녕 ```
zzarrafa/reacjts
zzarrafa/reacjts ContactList.js ```import React from 'react'; import ContactCard from './ContactCard'; const ContactList = (props) => { const renderContatList = props.contacts.map((contact) => { return <ContactCard> contact={contact}</ContactCard>; }); return ( <div classNam...
zzctommy/public-source-code
zzctommy/public-source-code P2467 [SDOI2010]地精部落(oeis).cpp ```#include<bits/stdc++.h> using namespace std; #define fi first #define se second #define mkp(x,y) make_pair(x,y) #define pb(x) push_back(x) typedef long long LL; typedef double db; inline int read(){ int x=0,f=1;char ch=getchar(); while(!isdigit(ch)){if(ch...
zzerii/zzerii
zzerii/zzerii README.md ```### Hi there 👋😎 ![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fzzerii%2Fhit-counter&count_bg=%2347A3FF&title_bg=%23D49CFF&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false) <h3 align="center">🛠Introduce🛠</h3> <p align="center">To infin...
zzfd97/Battery-Capacity-Tester
zzfd97/Battery-Capacity-Tester MainWindow.xaml.cs ```using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using Sys...
zzhokay/dugujiujian
zzhokay/dugujiujian DugujiujianApp.java ```package com.atguigu.jianfa; public class DugujiujianApp { public static void main(String[] args) { System.out.println("独孤九剑"); } } ```
zzhu41/MP3-Submission
zzhu41/MP3-Submission tasks.js ```var express = require('express'), router = express.Router(), task = require('../models/task'); router.get('/', function(req, res){ var query = task.find({}); if (req.query.hasOwnProperty('where')) query = query.find(JSON.parse(req.query.where)); if (req.query.hasOwnProper...
zzmzzmgithub/junit-test
zzmzzmgithub/junit-test Testcc.java ```package spring.test; import javax.annotation.Resource; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import service.HelloJava; import servise.Helloword; public class Testcc extends TestCave { @Resource private Helloword helloword; ...
zzwar2009/react-dva-demo
zzwar2009/react-dva-demo api.js ```// ajax函数将返回Promise对象: function ajax(method, url, data) { var request = new XMLHttpRequest(); return new Promise(function (resolve, reject) { request.onreadystatechange = function () { if (request.readyState === 4) { if (request.status === ...
zzxxasp/DolTool
zzxxasp/DolTool CardListActivity.java ```package com.key.doltool.activity.adventure.card; import android.app.Activity; import android.app.Dialog; import android.content.Intent; import android.os.Bundle; import android.os.Message; import android.os.Parcelable; import android.util.Log; import android.view.KeyEvent; imp...
zzy3382410/XCZX
zzy3382410/XCZX ExceptionCast.java ```package com.xuecheng.framework.exception; import com.xuecheng.framework.model.response.ResultCode; /** * @program: XcEduCode * @description: 异常抛出类 * @author: zzy * @create: 2019-06-01 11:16 **/ public class ExceptionCast { //使用此静态方法抛出自定义异常 public static void cast(Re...
zzyalbert/zoon-battle
zzyalbert/zoon-battle app.js ```const dotenv = require('dotenv'); const result = dotenv.config(); if (result.error) { throw result.error; } process.on('unhandledRejection', (reason, promise) => { console.log('Unhandled Rejection at:', promise, 'reason:', reason); }); const config = require('./config'); cons...
zzyvip/NIceCarShop
zzyvip/NIceCarShop TittleNav.java ```package com.bole.demo.wedgets; public class TittleNav { } ```