sudo apt update
sudo apt upgrade -VyDownload NS2 & OLSR:
| package sample; | |
| import javafx.concurrent.Service; | |
| import javafx.concurrent.Task; | |
| import javafx.event.ActionEvent; | |
| import javafx.fxml.FXML; | |
| import javafx.scene.control.Button; | |
| import javafx.scene.control.TextArea; | |
| import java.io.BufferedReader; |
| public void mouseClicked(MouseEvent mouseEvent) { | |
| FilePathTreeItem item = (FilePathTreeItem) treeView.getSelectionModel().getSelectedItem(); | |
| System.out.println(item.getAbsolutePath()); | |
| showItems(item); | |
| } | |
| public class FilePathTreeItem extends TreeItem<String>{ | |
| private final File file; | |
| @Override |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| In {FOR i in 1..30} set how many time you want to iterate & set same value to | |
| {dbms_output.put_line('Avg Time: '||(totaltime/30));} in the last line to find the avg. | |
| Here I have set 30 times to iterate. | |
| You have to call it like- | |
| DECLARE | |
| BEGIN | |
| dbms_output.put_line('Query 1'); | |
| performance('Select u.accountId , count(b.badgesId) as cnt From Users u, Badges b where u.userId = b.userId and u.communityId = 1 and b.badgesdate between ''01-jan-2015'' and ''01-jun-2017'' group by u.accountId order by cnt DESC'); | |
| dbms_output.put_line('Query 2'); |
| /* | |
| Navicat Oracle Data Transfer | |
| Oracle Client Version : 10.2.0.5.0 | |
| Source Server : OracleHr | |
| Source Server Version : 110200 | |
| Source Host : :1521 | |
| Source Schema : HR | |
| Target Server Type : ORACLE |
| import pandas as pd | |
| from pandas.io.json import json_normalize | |
| from pymongo import MongoClient | |
| import matplotlib.pyplot as plt | |
| import re | |
| import time | |
| pd.set_option('display.expand_frame_repr', False) | |
| def _connect_mongo(host, port, db): |
| import pandas as pd | |
| import csv | |
| import numpy as np | |
| def createDict(labelFile): | |
| csvfile = open(labelFile, "r") | |
| reader = csv.reader(csvfile) | |
| labelDict = {} |
| import pandas as pd | |
| import csv | |
| import numpy as np | |
| def createDict(labelFile): | |
| csvfile = open(labelFile, "r") | |
| reader = csv.reader(csvfile) | |
| labelDict = {} |
| package com.buet.dualsim.dualsim.activities; | |
| import android.Manifest; | |
| import android.app.Activity; | |
| import android.app.PendingIntent; | |
| import android.content.BroadcastReceiver; | |
| import android.content.Context; | |
| import android.content.DialogInterface; | |
| import android.content.Intent; | |
| import android.content.IntentFilter; |