Skip to content

Instantly share code, notes, and snippets.

View arn-ob's full-sized avatar
☠️
__worker__

Arnob arn-ob

☠️
__worker__
View GitHub Profile
@arn-ob
arn-ob / InData.php
Created July 19, 2017 17:06
Multiple Data input into DB by ajax
<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "try";
$name = $_POST["name"];
// Create connection
@arn-ob
arn-ob / InData.php
Created July 20, 2017 16:23
Shopping Cart With Invoice
<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "try";
$name = $_POST["name"];
// Create connection
@arn-ob
arn-ob / client.java
Created July 30, 2017 09:10
MultiCast Client/Server
/*
* 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 multiclassclient;
import java.net.*;
/**
*
* @author Student
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>app.kodizim.com</title>
<!-- Bootstrap Core CSS -->
@arn-ob
arn-ob / app.js
Created September 22, 2017 11:39
Defferent Type of Nodejs Server Starting type
/// Type 1
var http = require('http');
http.createServer(function(req,res){
// write your Code
}).listen(8000);
/// Type 2
@arn-ob
arn-ob / jqueryLearning.html
Created September 26, 2017 14:25
JQuery Learning Code
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JQuery Tutorial</title>
<style type="text/css">
.highlight { background-color: yellow; }
</style>
@arn-ob
arn-ob / meter.c
Created February 19, 2018 17:52
Arduino multimeter BASIC
/*Thanks. Remember to visit my Youtube channel
If you don't whant to Serial print the valeus just delete the serial. print lines
and leave just the LCD print ones.
I've used a i2c LCD screen module.
link : http://electronoobs.com/eng_arduino_tut10_3.php
*/
//LCD config
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x3f,20,4); //sometimes the adress is not 0x3f. Change to 0x27 if it dosn't work.
@arn-ob
arn-ob / adc.c
Created February 20, 2018 07:54
Working ADC Code atmega8
/*
* ADC_TEST1.cpp
*
* Created: 2/20/2018 01:02:14 PM
* Author : Arnob
*/
#define F_CPU 12000000UL
#include <avr/io.h>
int adc_value; //Variable used to store the value read from the ADC converter
@arn-ob
arn-ob / HomeControlRelayDerive.ino
Last active March 26, 2018 14:37
Remote Control Relay By GSM
// include the library code:
#include <LiquidCrystal.h>
#include <SoftwareSerial.h>
// SoftwareSerial SIM900(11, 10); // RX, TX
SoftwareSerial SIM900(3, 2); // RX, TX
char msg;
//const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
@arn-ob
arn-ob / LiquidCrystalPi.py
Created March 14, 2018 14:50
Liquid Crystal library for Pi
_rs_pin = None
_rw_pin = None
_enable_pin = None
_data_pins = [None]*4
_numlines = 0
_displayfunction = 0
_displaycontrol = 0
_row_offsets = [None]*4
class LCD: