repo_name
stringlengths
6
115
branch_name
stringclasses
217 values
path
stringlengths
2
728
content
stringlengths
1
5.16M
heshmatpour/tamrin2
refs/heads/master
/lcd.c
#include "lcd.h" #include "stm32f4xx_hal.h" #define D0_PIN_Start 1 #define LCD_DATA_MASK (LCD_D7|LCD_D6|LCD_D5|LCD_D4) static GPIO_TypeDef* PORT_LCD; static uint8_t state; static uint16_t D[8]; static GPIO_TypeDef* port_EN; static GPIO_TypeDef* port_RS; static uint16_t PIN_RS, PIN_EN; void ...
kswgit/ctfs
refs/heads/master
/0ctf2017/pages.py
from pwn import * import time context.update(arch='x86', bits=64) iteration = 0x1000 cache_cycle = 0x10000000 shellcode = asm(''' _start: mov rdi, 0x200000000 mov rsi, 0x300000000 mov rbp, 0 loop_start: rdtsc shl rdx, 32 or rax, rdx push rax mov rax, rdi mov rdx, %d a: mov rcx, 0x1000 a2: prefetcht1 [rax+rcx] loop a...
kaedelulu/U10316015_HW4_11_10
refs/heads/master
/TestStack.java
/** * Name : 呂芝瑩 * ID : U10316015 * EX : 11.10 */ import java.util.Scanner; public class TestStack { public static void main(String[] args) { Scanner input = new Scanner(System.in); MyStack stack = new MyStack(); //invoke stack for ( int i = 0 ; i < 5 ; i++ ){ stack.push( input.nextLine()...
veralindstrom/clara
refs/heads/master
/clara.js
$('#login').click(function() { window.location.href='clara2.html'; }); var username = document.getElementById("username"); localStorage.setItem("username", username); // Retrieve document.getElementById("valkommen").innerHTML = "Vlkommen " + username;
adamwiguna/tugas1
refs/heads/master
/tugas.js
window.onload = function (event) { var wrapIcon = document.querySelector("#wrapicon"); var page = 1; var limit = 3; var url = "https://jsonplaceholder.typicode.com/posts"; var serverUrl = url + '?_page=' + page + '&_limit=' + limit; fetch(serverUrl) .then( function (resp...
MissAle17/dsc-1-05-06-selecting-data-lab-online-ds-sp-000
refs/heads/master
/insert.sql
INSERT INTO planets (name, color, num_of_moons, mass, rings) VALUES ('Mercury', 'gray',0,0.55,1), ('Venus', 'yellow',0,0.82,1), ('Earth','blue',1,1.00,1), ('Mars','red',2,0.11,1), ('Jupiter','orange',53,317.90,1), ('Saturn','hazel',62,95.19,0), ('Uranus','light blue',27,14.54,0), ('Neptune','dark blue',14,17....
homka506/digitalproducts
refs/heads/master
/src/assets/js/app.js
import $ from 'jquery'; import 'what-input'; // Foundation JS relies on a global varaible. In ES6, all imports are hoisted // to the top of the file so if we used`import` to import Foundation, // it would execute earlier than we have assigned the global variable. // This is why we have to use CommonJS require() here s...
pablor0mero/Placester_Test_Pablo_Romero
refs/heads/master
/main.py
# For this solution I'm using TextBlob, using it's integration with WordNet. from textblob import TextBlob from textblob import Word from textblob.wordnet import VERB import nltk import os import sys import re import json results = { "results" : [] } #Override NLTK data path to use the one I uploaded in the folder d...
phu-bui/Nhan_dien_bien_bao_giao_thong
refs/heads/master
/main.py
import tkinter as tk from tkinter import filedialog from tkinter import * from PIL import Image, ImageTk import numpy from keras.models import load_model model = load_model('BienBao.h5') class_name = { 1:'Speed limit (20km/h)', 2:'Speed limit (30km/h)', 3:'Speed limit (50km/h)', 4:'Speed limit (60km/h)'...
jaspereel/vcard
refs/heads/master
/api.php
<?php session_start(); $_SESSION['name']=$_POST['name']; $_SESSION['position']=$_POST['position']; $_SESSION['skill']=$_POST['skill']; $_SESSION['mail']=$_POST['mail']; $_SESSION['mobile']=$_POST['mobile']; $_SESSION['module']=$_POST['module']; if (!empty($_FILES)) { copy($_FILES['photo']['tmp_name']...
jaspereel/vcard
refs/heads/master
/preview.php
<?php session_start(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Vcard產生器-Preview</title> <link rel=stylesheet href="css/<?= $_SES...
leenismail/GPA-Calculator-
refs/heads/master
/cli/GPA.java
import java.util.Scanner; public class GPA { public static void main(String[] args) { int course; int grade; int CourseSum=0;//Sum of all courses double CmltivSum=0;//Cumulative grades sum Scanner s = new Scanner(System.in); System.out.println("Please enter number of semesters:"); int semeste...
drenovac/superail
refs/heads/main
/config/routes.rb
Rails.application.routes.draw do root 'static_public#landing_page' # get 'static_public/landing_page' # this is the generic form # get 'static_public/privacy' # convert this to more sensible looking paths get 'privacy', to: 'static_public#privacy' # get 'static_public/terms' get 'terms', to: 'static_publi...
josemiche11/reversebycondition
refs/heads/master
/reversebycondition.py
''' Input- zoho123 Output- ohoz123 ''' char= input("Enter the string: ") char2= list(char) num= "1234567890" list1= [0]*len(char) list2=[] for i in range(len(char)): if char2[i] not in num: list2.append( char2.index( char2[i])) char2[i]= "*" list2.reverse() k=0 for j in range( len(c...
MoisesWillianCorreia/calculadora
refs/heads/main
/atividade 02/parte.01.html/01.js
var div = document.getElementById("q1"); var input = document.createElement("input"); var input2 = document.createElement("input"); var buttom = document.createElement("buttom"); var p = document.createElement("p"); input.setAttribute("id","valorMinimo"); input.setAttribute("type","number"); input2.setAttribute("id","...
brapse/reindr
refs/heads/master
/src/reindr.js
//########################################## // // Reindr // // Html generation helpers // By: Sean Braithwaite // // NOTE: won't work in IE (js 1.6 dependencies) // Try not to depend on jquery for now Array.prototype.each = function(func){ for(var i=0; i < this.length; i++){ func(this[i]); } retur...
brapse/reindr
refs/heads/master
/README.markdown
Reindr: Monadic html generation from javascript ======================== Generate html with a chain of functions, similar to how jquery does selectors. The Reindr() (shortcutted as $R()) function will generate a monad that acts as a chain of nested html elements. Calling render() on a chain will output html. <pre><...
guillelo11/AngularQuiz
refs/heads/master
/AngularQuiz.js
angular.module('appPreguntas', []) .controller('controladorPreguntas', ['$scope', function ($scope) { $scope.questions = [ { id : 1, text:'¿Cuál es la capital de Australia?', validAnswer : 3, userAnswer : null, status : '', answers: ...
guillelo11/AngularQuiz
refs/heads/master
/README.md
# AngularQuiz AngularQuiz is a small project I made for class to learn AngularJS
GabinCleaver/Auto_Discord_Bump
refs/heads/main
/README.md
# Auto Discord Bump ❗ Un auto bump pour discord totalement fait en Python par moi, et en français. 💖 Enjoy ! 🎫 Mon Discord: Gabin#7955 ![auto](https://user-images.githubusercontent.com/79531012/120940519-f565ca80-c71d-11eb-8df8-da8134308fe7.png)
GabinCleaver/Auto_Discord_Bump
refs/heads/main
/autobump.py
import requests import time token = "TOKEN" headers = { 'User-Agent' : 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7', 'Authorization' : token } id = input(f"[?] Salon ID: ") print("") while True: requests.post( f"https://discord.com/api/...
Mucheap/Autoinsta
refs/heads/main
/config.php
<?php /* By @Mucheap GitHub : https://github.com/Mucheap/Autoinsta.git Email : appscomposer@gmail.com */ $username = 'INSTAGRAM_USERNAME'; $password = 'INSTAGRAM_PASSWORD'; $image_description = 'Your Description Here ...'; $imgurl = 'https://picsum.photos/7...
Ashutosh-Choubey/RBA-MobileApp
refs/heads/master
/android/app/src/main/kotlin/com/example/RBA/MainActivity.kt
package com.example.RBA import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
Lasyin/batch-resize
refs/heads/master
/batch_resize.py
import os import sys import argparse from PIL import Image # From Pillow (pip install Pillow) def resize_photos(dir, new_x, new_y, scale): if(not os.path.exists(dir)): # if not in full path format (/usrers/user/....) # check if path is in local format (folder is in current working directory) ...
Lasyin/batch-resize
refs/heads/master
/README.md
# batch-resize Python script to resize every image in a folder to a specified size. # Arguments <pre> -h or -help - List arguments and their meanings -s or -size - New pixel value of both width and height. -x or -width - New pixel value of width -y or -height - New pixel value of height -t or -scale - Scales pixe...
kesamercy/diving-Competition-project
refs/heads/master
/README.md
# diving-Competition-project Program to calculate score for a diver based on 7 judges Problem Statement Create a class that describes one dive in a competition in the sport of diving. A dive has a competitor name and a competitor number associated with it. The dive also has a degree of difficulty and a score from eac...
kesamercy/diving-Competition-project
refs/heads/master
/OneDiveClass.java
// // OneDive // The purpose of this class is to describe one class // // Author: Nekesa Mercy // Date: 11/02/16 // package divingCompetitionPackage; public class OneDiveClass { //declare attributes private String name; // the name of the diver private int competitonNum; // the competition ...
ariksu/pyhfss_parser
refs/heads/master
/setup.py
from setuptools import setup setup( name='pyhfss_parser', version='0.0.0', packages=['', 'venv.Lib.site-packages.py', 'venv.Lib.site-packages.py._io', 'venv.Lib.site-packages.py._log', 'venv.Lib.site-packages.py._code', 'venv.Lib.site-packages.py._path', 'venv.Lib.site-packages....
ruanjiayu/githubFirstPush
refs/heads/master
/README.md
# githubFirstPush 第一次提交到github仓库的步骤以及遇到的问题 ## 1. 当你本地已经存在代码的情况下,使用下面的方式来提交代码 1. 在本地使用git init 2. git remote add origin https://github.com/xxx 3. git pull origin master 4. git add . 5. git push -u origin master ## 2. 当你在github上提前先创建好了库 1. git clone https://github.com/xxx ## 3. 问题 ### 3.1 git commit提交修改好的文件时候,提示`Chang...
ruanjiayu/githubFirstPush
refs/heads/master
/src/main/java/com/xian/demo/Hello.java
package com.xian.demo; /** * @Description: * @Author: Xian * @CreateDate: 2019/8/29 11:00 * @Version: 0.0.1-SHAPSHOT */ public class Hello { public static void main(String[] args) { System.out.println("hello world"); } }
whaid/FPS-Player
refs/heads/master
/Script/RaycastShoot.cs
using UnityEngine; using System.Collections; public class RaycastShoot : MonoBehaviour { public int weaponDamage = 1; public int weaponRange = 100; public float fireRate = 0.1f; private float nextFire = 0; private Ray ray; private RaycastHit hit; private WaitForSeconds shotDuration = new ...
whaid/FPS-Player
refs/heads/master
/Script/AnimationPlayer.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AnimationPlayer : MonoBehaviour { private Animator anim; private AudioSource soundReload; // Use this for initialization void Start () { anim = GetComponent<Animator>(); soundReload = GetCompone...
Glitchfix/TransposeMatrixIndorse
refs/heads/master
/README.md
# Transpose a matrix ### Prerequisites - `pip3 install -r requirements.txt` ## Usage Start the server ``` python3 server.py ``` Hit the URL `127.0.0.1:5000/transpose` with a POST request Request format: ``` { "matrix": [[1,2],[3,4]] } ``` Response format: ``` {"error":"","result":[[1,3],[2,4]]} ```
Glitchfix/TransposeMatrixIndorse
refs/heads/master
/server.py
from flask import Flask, render_template, request, jsonify from flask_cors import CORS import json import numpy as np app = Flask(__name__) CORS(app) @app.route('/transpose', methods=["POST"]) def homepage(): data = request.json result = None error = "" try: mat = data["matrix"] mat =...
hsk/xterm.js
refs/heads/master
/src/xterm.ts
/** * xterm.js: xterm, in the browser * Originally forked from (with the author's permission): * Fabrice Bellard's javascript vt100 for jslinux: * http://bellard.org/jslinux/ * Copyright (c) 2011 Fabrice Bellard * The original design remains. The terminal itself * has been extended to include xterm CSI...
Sevasun/subscribe-form
refs/heads/master
/js/main.js
// init document.addEventListener('DOMContentLoaded', function() { let form = document.querySelector('.subscribe-form'); let input = form.querySelector('input[type="email"]'); let regExp = /^[a-z]+[a-z0-9_\.-]*@\w+\.[a-z]{2,8}$/i; form.setAttribute('novalidate', 'novalidate'); input.addEventListener('input', () ...
Sevasun/subscribe-form
refs/heads/master
/README.md
# subscribe-form simple subscribe form with validation and thank-you message
dtkeijser/ChapAppFirebase
refs/heads/master
/app/src/main/java/com/example/chapapp/registerlogin/LoginActivity.kt
package com.example.chapapp.registerlogin import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import com.example.chapapp.R import com.google.firebase.auth.FirebaseAuth import kotlinx.android.synthetic.main.activity_login.* class LoginActivity: AppCompatActivity() { ove...
dtkeijser/ChapAppFirebase
refs/heads/master
/app/src/main/java/com/example/chapapp/messages/ChatLogActivity.kt
package com.example.chapapp.messages import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import com.example.chapapp.NewMessageActivity import com.example.chapapp.R import com.example.chapapp.models.ChatMessage import com.example.chapapp.models.User import com.google.fireba...
dtkeijser/ChapAppFirebase
refs/heads/master
/settings.gradle
include ':app' rootProject.name = "ChapApp"
giogonzo/react-intl
refs/heads/master
/src/components/useIntl.ts
import {useContext} from 'react' import {Context} from './injectIntl' import {invariantIntlContext} from '../utils' import {IntlShape} from '../types' export default function useIntl(): IntlShape { const intl = useContext(Context) invariantIntlContext(intl) return intl }
giogonzo/react-intl
refs/heads/master
/src/error.ts
import {MessageDescriptor} from './types' export const enum ReactIntlErrorCode { FORMAT_ERROR = 'FORMAT_ERROR', UNSUPPORTED_FORMATTER = 'UNSUPPORTED_FORMATTER', INVALID_CONFIG = 'INVALID_CONFIG', MISSING_DATA = 'MISSING_DATA', MISSING_TRANSLATION = 'MISSING_TRANSLATION', } export class ReactIntlError extend...
altopalido/yelp_python
refs/heads/master
/README.md
# yelp_python Web Application development with python and SQLite. Using www.yelp.com user reviews Database.
altopalido/yelp_python
refs/heads/master
/yelp_python/settings.py
# Madis Settings MADIS_PATH='/Users/alexiatopalidou/Desktop/erg/madis/src' # Webserver Settings # IMPORTANT: The port must be available. web_port = 9090 # must be integer (this is wrong:'9090')
altopalido/yelp_python
refs/heads/master
/yelp_python/app.py
# ----- CONFIGURE YOUR EDITOR TO USE 4 SPACES PER TAB ----- # import settings import sys def connection(): ''' User this function to create your connections ''' import sys sys.path.append(settings.MADIS_PATH) import madis con = madis.functions.Connection('/Users/alexiatopalidou/Desktop/erg/yelp_p...
shlsheth263/malware-detection-using-ANN
refs/heads/master
/python/gui.py
from tkinter import * from tkinter import ttk from tkinter import filedialog import test_python3 class Root(Tk): def __init__(self): super(Root, self).__init__() self.title("Malware Detection") self.minsize(500, 300) self.labelFrame = ttk.LabelFrame(self, text = " Open File") ...
shlsheth263/malware-detection-using-ANN
refs/heads/master
/python/test_python3_cli.py~
#!/usr/bin/env python import sys import time import pandas as pd import pepy import binascii import numpy as np from hashlib import md5 import sklearn from tkinter import * from tkinter import ttk from tkinter import filedialog from tensorflow.keras.models import load_model def test(p): exe = {} print("Signature...
cindy01/sandbox
refs/heads/master
/index.php
<?php /*class BankAccount{ public $balance = 10.5; public function DisplayBalance(){ return 'Balance: '. $this->balance; } public function Withdraw($amount){ if($this->balance < $amount){ echo ' Not enough money!'; }else{ $this->balance = $this->balance-$amount; } } } $alex = new BankA...
arun8785/ArunkumarAlgorithmsAssignmentSolution
refs/heads/main
/arunkumarAlgorithmsAssignmentSolution/src/com/stockers/model/StockDetails.java
package com.stockers.model; import java.util.Scanner; public class StockDetails { private int noOfCompanies; public double[] shrPrice; public boolean[] shrGrowth; public StockDetails(int noOfCompanies) { this.noOfCompanies = noOfCompanies; } public double getnoOfCompanies() { return noOf...
jamesspwalker/week_07_day_2_hw_musical
refs/heads/master
/src/views/instrument_info_view.js
const PubSub = require('../helpers/pub_sub.js'); const InstrumentInfoView = function(container){ this.container = container; }; InstrumentInfoView.prototype.bindEvents = function(){ PubSub.subscribe('InstrumentFamilies:selected-instrument-ready', (evt) => { const instrument = evt.detail; this.render(instr...
francois-blanchard/Memo_project_flash
refs/heads/master
/README.md
Memo_project_flash ================== Jeu de Memo
francois-blanchard/Memo_project_flash
refs/heads/master
/js/script.js
function TestAs(s,n){ alert("test: "+s+" : "+n); }
Phalanxia/recs
refs/heads/master
/src/BuiltInPlugins/init.lua
return { CollectionService = require(script.CollectionService), ComponentChangedEvent = require(script.ComponentChangedEvent), }
Phalanxia/recs
refs/heads/master
/rotriever.toml
name = "RECS" author = "AmaranthineCodices <git@amaranthinecodices.me>" license = "MIT" content_root = "src" version = "1.0.0" [dependencies] TestEZ = { git = "https://github.com/Roblox/testez", rev = "master" } t = { git = "https://github.com/osyrisrblx/t", rev = "master" }
Phalanxia/recs
refs/heads/master
/README.md
# RECS A work-in-progress successor to [RobloxComponentSystem](https://github.com/tiffany352/RobloxComponentSystem). Primary differences: * Systems exist as a formalized concept * Components have very little attached behavior * Singleton components exist
mon0li/ICEspeed
refs/heads/master
/ice.sh
#!/bin/bash speed=$(echo "$(curl -s "https://www.ombord.info/api/jsonp/position/" | grep "speed" | cut -d'"' -f 4)*3.6" | bc -l) d=$(date) echo "$d $speed km/h"
JoeChan/openbgp
refs/heads/master
/README.md
# openbgp [![License](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/openbgp/openbgp/blob/master/LICENSE) [![Build Status](https://travis-ci.org/openbgp/openbgp.svg?branch=master)](https://travis-ci.org/openbgp/openbgp) [![Code Climate](https://codeclimate.com/github/openbgp/openbgp/badges/gpa.svg)](http...
JoeChan/openbgp
refs/heads/master
/openbgp/common/constants.py
# Copyright 2015 Cisco Systems, Inc. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
JoeChan/openbgp
refs/heads/master
/requirements.txt
oslo.config==1.6.0 Twisted==15.0.0 ipaddr==2.1.11
bdhillon23/Cucumber_First
refs/heads/master
/Cucumber/src/test/java/com/dhillon/Cucumber/steps/Login2.java
package com.dhillon.Cucumber.steps; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; public class Login2 { @Given("^User(\\d+) navigate to the stackoverflow website on the login page$") public void user2_navigate_to_the_stackoverflow_website_on_the_...
bdhillon23/Cucumber_First
refs/heads/master
/Cucumber/src/test/java/com/dhillon/Cucumber/runner/MainRunner.java
package com.dhillon.Cucumber.runner; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions( features = {"C:\\Users\\balwinder\\git\\Cucumber\\Cucumber\\src\\test\\java\\com\\dhillon\\Cucumber\\features\\Login...
fruitsamples/iGetKeys
refs/heads/master
/iGKTest.c
/* File: MLTEUserPane.c Description: This file contains the main application program for the MLTEUserPane example. This application creates a dialog window and installs a scrolling text user pane in the dialog. You will notice that since the implementation of these scrolling text fields is bas...
fruitsamples/iGetKeys
refs/heads/master
/MapDialog.h
/* File: MapDialog.h Description: MapDialog provides an easily accessable set of routines that allow your application to resize dialog windows reposition their contents to similarily located positions in the window after it has been resized. Copyright: Copyright 2001 Appl...
fruitsamples/iGetKeys
refs/heads/master
/MapDialog.c
/* File: iGetKeys.c Description: Internationally Savy GetKeys test type routines for your entertainment and enjoyment. Copyright: Copyright 2001 Apple Computer, Inc. All rights reserved. Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Co...
scottcarr/RustyCode
refs/heads/master
/src/services/commandService.ts
import * as vscode from 'vscode'; import * as cp from 'child_process'; import * as path from 'path'; import kill = require('tree-kill'); import findUp = require('find-up'); import PathService from './pathService'; //import {IConnection} from 'vscode-languageserver'; const errorRegex = /^(.*):(\d+):(\d+):\s+(\d+):(\d+)...
scottcarr/RustyCode
refs/heads/master
/WISHLIST.md
1. Clickable Errors 2. Quick fixes (when the error has one) 3. Explain why when rustfmt fails
smellycats/SX-CarRecgServer
refs/heads/master
/run.py
from car_recg import app from car_recg.recg_ser import RecgServer from ini_conf import MyIni if __name__ == '__main__': rs = RecgServer() rs.main() my_ini = MyIni() sys_ini = my_ini.get_sys_conf() app.config['THREADS'] = sys_ini['threads'] app.config['MAXSIZE'] = sys_ini['threads'] * 16 app...
smellycats/SX-CarRecgServer
refs/heads/master
/car_recg/config.py
# -*- coding: utf-8 -*- import Queue class Config(object): # 密码 string SECRET_KEY = 'hellokitty' # 服务器名称 string HEADER_SERVER = 'SX-CarRecgServer' # 加密次数 int ROUNDS = 123456 # token生存周期,默认1小时 int EXPIRES = 7200 # 数据库连接 string SQLALCHEMY_DATABASE_URI = 'mysql://root:root@127.0.0...
smellycats/SX-CarRecgServer
refs/heads/master
/car_recg/views.py
# -*- coding: utf-8 -*- import os import Queue import random from functools import wraps import arrow from flask import g, request from flask_restful import reqparse, Resource from passlib.hash import sha256_crypt from itsdangerous import TimedJSONWebSignatureSerializer as Serializer from car_recg import app, db, api...
sanjar8855/cactuscorp
refs/heads/master
/result.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>CactusJobs.uz</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/style.css"...
sanjar8855/cactuscorp
refs/heads/master
/telegram.php
<?php /* https://api.telegram.org/bot1430206287:AAGHi-PVElHdLIBhzNhAlv0nkivxnvH8jnM/getUpdates*/ $tel_nomer=$_POST['number'] $token = "1430206287:AAGHi-PVElHdLIBhzNhAlv0nkivxnvH8jnM"; $chat_id = "49394018"; $arr= array( 'Vakansiya ID: ' => '156', 'Фирма: ' => 'Raqamli Texnologiyalar Markazi', 'Нужен: ' => 'Андроид р...
promit13/KindrTest
refs/heads/master
/src/config/images.js
export const commendImage = require('../assets/commendWhite.png'); export const shoutoutImage = require('../assets/shoutoutWhite.png'); export const commentImage = require('../assets/commentWhite.png'); export const applaudImage = require('../assets/applaudWhite.png'); export const emailImage = require('../assets/email...
promit13/KindrTest
refs/heads/master
/src/config/data.js
const projectSingle = { url: 'https://homepages.cae.wisc.edu/~ece533/images/fruits.png', profileImageUrl: 'https://reactnative.dev/img/tiny_logo.png', title: 'Monthly mediataion ...', time: '2 days ago', }; export const testImageArray = [ {url: require('../assets/imageOne.jpeg')}, {url: require('../assets/...
promit13/KindrTest
refs/heads/master
/src/config/color.js
export const primaryRed = '#FD1053';
promit13/KindrTest
refs/heads/master
/src/config/router.js
import React from 'react'; import { View, Text, TouchableOpacity, Image, StyleSheet, Button, } from 'react-native'; import {createBottomTabNavigator} from '@react-navigation/bottom-tabs'; import {getFocusedRouteNameFromRoute} from '@react-navigation/native'; import {Icon} from 'react-native-elements'; impor...
openmrs-archive/openmrs-contrib-id-groups
refs/heads/master
/resource/mailinglists.js
$().ready(function(){ /* MAILING LISTS */ // At page load, the .email-selector-submit's are contained within templates, // so jQuery can't access them director. So we watch for the bootstrap "shown // popover" event and bind the submit selector then. // $('.group-list').on('shown.bs.popover', function() { // bi...
openmrs-archive/openmrs-contrib-id-groups
refs/heads/master
/index.js
module.exports = require('./lib/groups');
openmrs-archive/openmrs-contrib-id-groups
refs/heads/master
/lib/ga-provisioning.js
var https = require('https'), util = require('util'), xml2js = require('xml2js'), emitter = require('events').EventEmitter, Common = require(global.__apppath+'/openmrsid-common'), db = Common.db, log = Common.logger.add('provisioning'); var gaUsername, gaPassword, gaDomain; // connection information stored here ...
openmrs-archive/openmrs-contrib-id-groups
refs/heads/master
/README.md
openmrs-contrib-dashboard-groups ================================ Google Groups integration module of ID Dashboard **NOTE:** OpenMRS no longer uses Google Groups and now uses [OpenMRS Talk](http://talk.openmrs.org).
ReawenJS/discord-rpc
refs/heads/main
/README.md
# discord-rpc Selamlar! <img src="https://raw.githubusercontent.com/MartinHeinz/MartinHeinz/master/wave.gif" width="30px"> Discord uygulaması arkada açık değilken çalışmaz. Eğer hata alırsanız bu dosyaları hatanın içindeki klasöre atın. Örn: C:/Users/Administrator <strong>Çalmayın demicem de altına bir yerine bunun...
ReawenJS/discord-rpc
refs/heads/main
/index.js
var rpc = require("discord-rpc") const client = new rpc.Client({ transport: 'ipc' }) client.on('ready', () => { client.request('SET_ACTIVITY', { pid: process.pid, activity : { details : "Gözükecek şey burada yazıyorrrrrr", assets : { large_image : "Discord Developer Portal'da eklediğimiz resmin ismi.", large_t...
markoprog/ComShop
refs/heads/master
/kontakt.php
<script type="text/javascript"> function provera(){ var ime=document.getElementById("ime").value; var mail = document.getElementById("email").value; var poruka= document.getElementById("poruka").value; var reg_ime=/^[A-Z][a-z]{1,14}$/; var reg_mail=/^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*(.[...
markoprog/ComShop
refs/heads/master
/meni.php
<!-- Navigation --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="...
markoprog/ComShop
refs/heads/master
/README.md
# ComShop My work on university of course web programming php. This is part of my site "ComShop" (login form, contact form and dynamic menu). The website is done dinamically in PHP and the data are drawn from the database.
markoprog/ComShop
refs/heads/master
/login.php
<div id='loginbox' class="mainbox col-md-4" style="width: 293px; margin-left:-295px;margin-top:350px;" > <div class="panel panel-info" > <div class="panel-heading"> <div class="panel-title">Logovanje</div> </div> <div style="padding-top:30px" class="pane...
HelloMeme/pippo
refs/heads/master
/pippo-core/src/main/java/ro/pippo/core/route/Router.java
/* * Copyright (C) 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
HelloMeme/pippo
refs/heads/master
/pippo-metrics-parent/pippo-metrics/src/main/java/ro/pippo/metrics/MetricsRouteContext.java
/* * Copyright (C) 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
ACCEPT786/Second_Hand_Trading_System
refs/heads/master
/Register_submit.php
<?php header("Content-Type: text/html; charset=utf-8"); $con = mysqli_connect("localhost","Second_Hand","pStjGTc347FDjfZW"); if (!$con) { die('Could not connect: ' . mysqli_error($con)); } mysqli_select_db($con, Second_Hand); mysqli_query($con,"set names 'utf8'"); $sql = "INSERT INTO Users_list (email, password) ...
ACCEPT786/Second_Hand_Trading_System
refs/heads/master
/search_submit.php
<?php session_start(); header("Content-Type: text/html; charset=utf-8"); if(isset($_SESSION["Login_status"])&&$_SESSION["Login_status"] == "OK"){ $con = mysqli_connect("localhost","Second_Hand","pStjGTc347FDjfZW"); if (!$con) { die('Could not connect: ' . mysqli_error($con)); } mysqli_selec...
MKH470/restaurant
refs/heads/master
/app/Http/Controllers/FoodController.php
<?php namespace App\Http\Controllers; use App\Category; use App\Food; use App\Http\Requests\FoodRequest; use Illuminate\Http\Request; class FoodController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
MKH470/restaurant
refs/heads/master
/app/Http/Requests/FoodRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class FoodRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the v...
Akram898/elmawkaa-colne
refs/heads/master
/js/index.js
//*****DataBase ******** */ // Get Value of the objects using DOM const name = document.getElementById("customerName"); const element = document.getElementById("element"); const mobile = document.getElementById("mobile"); const orderBtn = document.getElementById("order-btn"); const database = firebase.database(); con...
Akram898/elmawkaa-colne
refs/heads/master
/js/showdata.js
// Get Data from data base // Get Value of the objects using DOM const name = document.getElementById("customerName"); const element = document.getElementById("element"); const mobile = document.getElementById("mobile"); const orderBtn = document.getElementById("order-btn"); const database = firebase.database(); const...
Akram898/elmawkaa-colne
refs/heads/master
/js/form.js
// Your web app's Firebase configuration var firebaseConfig = { apiKey: "AIzaSyD71TirSoLtyo7cDIQ5VfhKx2-4yG8SIlo", authDomain: "almawkaa-clone.firebaseapp.com", databaseURL: "https://almawkaa-clone.firebaseio.com", projectId: "almawkaa-clone", storageBucket: "almawkaa-clone.appspot.com", messagingSenderId: ...
xuan10000/CloudMusic
refs/heads/master
/README.md
#### Vue升级到2.0,使用Vue2.0做了个音乐播放器, #### 实现了基本功能,有时间会持续更新。 #### dist文件为打包后文件夹,可下载到本地,直接运行index.html。服务运行,sev.js. >技术使用Vue2.0版本,Vue全家桶 <br /> >Vue-cli搭建 <br /> >Vue-router,vuex <br /> >axios <br /> >muse-ui slider ####后端用的node.js进行api转发,默认端口:8088 ###### api: [网易云api](https://api.imjad.cn/cloudmusic/index.html) ### ...
xuan10000/CloudMusic
refs/heads/master
/src/store/store.js
import Vue from 'vue' import Vuex from 'vuex' import axios from 'axios' Vue.use(Vuex); export const store=new Vuex.Store({ state:{ id:0, url:'', title:'', code:'', widthline:0, currentTime:0, duration:0, isPlay:false, picUrl:'', picName:'', index:0, currentIndex:0, now:-1, nowId:-1, pl...
mateusz-git/Zad3-MobilnyKalendarzWEEIA
refs/heads/master
/README.md
# Dokumentacja ## Zadanie 3 - Mobilny Kalendarz WEEIA ### Endpoint Metoda : GET Ścieżka : /calendar?year={year}&month={month} Parametr : year(typ int) - rok dla którego ma być pobrany plik Parametr : month(typ int) - miesiąc dla którego ma być pobrany plik Opis : Zwraca plik z rozszerzeniem .ics, k...
mateusz-git/Zad3-MobilnyKalendarzWEEIA
refs/heads/master
/src/main/java/com/example/Mobilny/Kalendarz/WEEIA/Controller.java
package com.example.Mobilny.Kalendarz.WEEIA; import biweekly.Biweekly; import biweekly.ICalendar; import biweekly.component.VEvent; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; import org.springframework.core.io.Resource; import org.springframework.core.io.UrlResource; imp...
SnehaDoughnut/sonarqube
refs/heads/master
/Dockerfile
FROM sonarqube:7.1 ENV LDAP_PASSWD="" ENV PATH $PATH:$SONARQUBE_HOME/bin ENV LDAP_CONTAINER_NAME="" #ENV LDAP_PORT=389 RUN apt-get update && apt-get install -y curl RUN curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.2.4-amd64.deb RUN dpkg -i filebeat-6.2.4-amd64.deb RUN apt-get remove c...
SnehaDoughnut/sonarqube
refs/heads/master
/entrpoint.sh
#!/bin/bash sed -i 's/ldap.bindPassword=/ldap.bindPassword='"$LDAP_PASSWD"'/' /opt/sonarqube/conf/sonar.properties sed -i 's#ldap.url=ldap://#ldap.url=ldap://'"$LDAP_CONTAINER_NAME"':'"$LDAP_SERVICE_PORT"'#' /opt/sonarqube/conf/sonar.properties #sed -i '/ldap.url=ldap:\/\//a '"$LDAP_CONTAINER_NAME"':'"$LDAP_PORT"'/' /o...