This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="modal fade" id="exitModal{{ vehicle.id }}" tabindex="-1" role="dialog" aria-labelledby="exitModalLabel{{ vehicle.id }}" aria-hidden="true"> | |
<div class="modal-dialog" role="document"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<h5 class="modal-title" id="exitModalLabel{{ vehicle.id }}">Exit Vehicle {{ vehicle.vehicle.registration_number }}</h5> | |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
<div class="modal-body"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stm32f10x.h" | |
#include "stm32f10x_gpio.h" | |
GPIO_InitTypeDef GPIO_InitStructure; | |
void delay(__IO unsigned long mval){ | |
int i=0; | |
for(mval;mval>0;mval--){ | |
for(i=0;i<5000;i++); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Here is the complete tutorial for this code | |
http://www.fypsolutions.com/examples/ds18b20-interfacing-with-esp8266-nodemcu-board/ | |
*/ | |
#include <DallasTemperature.h> | |
#include <OneWire.h> | |
#define ONE_WIRE_BUS D1 //D2 pin of nodemcu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
for compelete blog | |
http://www.fypsolutions.com/arduino/lm35-temperature-sensor-arduino | |
*/ | |
#include <LiquidCrystal.h> | |
// Pin Definitions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------------------- | |
-- Company: | |
-- Engineer: | |
-- | |
-- Create Date: 12:35:24 02/29/2020 | |
-- Design Name: | |
-- Module Name: sevensegment_ex01 - Behavioral | |
-- Project Name: | |
-- Target Devices: | |
-- Tool versions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function new_im = im2imhisteq(I) | |
% takes an Input Image and | |
%http://www.osmanoglu.org/supplement/unpublishedWork/DigitalImageProcessing_HistogramEqualizationMatching.pdf | |
%Manhas, Pratima & Thakral, Shaveta. (2018)... | |
% Comparative analysis of different wavelet ... | |
% filters and Image enhancement using Histogram Equalization. | |
L=256; | |
[m,n]=size(I); | |
len=m*n; %number of pixels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import statments | |
import numpy | |
import re | |
''' | |
Tokenize each the sentences, example | |
Input : "John likes to watch movies. Mary likes movies too" | |
Ouput : "John","likes","to","watch","movies","Mary","likes","movies","too" | |
''' | |
def tokenize(sentences): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.annotation.SuppressLint | |
import android.support.v7.app.AppCompatActivity | |
import android.os.Bundle | |
import android.view.View | |
import android.webkit.WebView | |
import android.webkit.WebViewClient | |
import kotlinx.android.synthetic.main.activity_webview_pdf.* | |
class WebviewPDFActivity : AppCompatActivity() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// include the library code: | |
#include <LiquidCrystal.h> | |
// initialize the library with the numbers of the interface pins | |
LiquidCrystal lcd(6, 7, 10, 11, 12, 13); | |
int freqCounter = 0; | |
long preMillis = 0; | |
void isr() //interrupt service routine | |
{ |
NewerOlder