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
#!/usr/bin/env python | |
import base64 | |
from Crypto import Random | |
from Crypto.Cipher import AES | |
BS = 16 | |
pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS) | |
unpad = lambda s : s[0:-ord(s[-1])] |
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"> | |
<!-- Mirrored from ustadustani.com/contact.php by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 02 Jan 2018 17:19:14 GMT --> | |
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack --> | |
<head> | |
<title>Submit Complains</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<link href="css/bootstrap.css" rel="stylesheet"> | |
<link href="css/bootstrap-select.css" rel="stylesheet"> |
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 java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.io.PrintWriter; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
public class AddServer { | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Oct 31 18:30:51 2017 | |
@author: Zerk Shaban | |
""" | |
import pandas as pd | |
import math | |
import numpy as np |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Oct 31 18:30:51 2017 | |
@author: Zerk Shaban | |
""" | |
import pandas as pd | |
import math | |
import numpy as np |
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 pandas as pd | |
import datetime | |
import pandas_datareader.data as web | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from numpy import nan as NA | |
#PANDAS | |
#PANDAS Data Structures | |
#Series | |
obj = pd.Series([2,4,6,7,8]) |
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
<?php | |
session_start(); | |
$a=mysqli_connect("localhost","root","","members"); | |
if(isset($_POST['update'])){ | |
$username=$_POST['username']; | |
$password=$_POST['password']; | |
$query1="select id from users where name='$username'"; | |
$result=mysqli_query($a,$query1); |
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<iostream> | |
#include<windows.h> | |
#include<time.h> | |
#define Index 5 | |
using namespace std; | |
struct Data { | |
int dataFrame; |
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
% Team Owais, Zerk, Shaleem, Faisal, Farman | |
% Accuracy 0.9472 (94%) | |
% Uses bag of features for training. | |
% Path to data-set folder | |
path = 'data-set'; | |
imgSets = imageSet(path, 'recursive'); | |
% Partition our data to 30/70, Where 30% data is for training and 70 for | |
% test set. Increasing training set will increase accuracy. |
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<iostream> | |
#include<windows.h> | |
using namespace std; | |
struct Data{ | |
int dataFrame; | |
int dataRecieved; | |
int extractedDatavar; |
NewerOlder