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 <stdio.h> | |
int main(){ | |
/*Declare Variables*/ | |
float yrly_income, mthly_exp, savings, percent_savings, vacation, tracker; | |
FILE *vacationptr; | |
/*Create and verify output file*/ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | |
<display-name>Devcomm Extraction Automation</display-name> | |
<context-param> | |
<description> | |
The location where state information is saved. | |
Valid values are 'server' (typically saved in HttpSession) and 'client' (typically | |
saved as a hidden field in the form. | |
Default is server.</description> | |
<param-name>javax.faces.STATE_SAVING_METHOD</param-name> |
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
float minDot = Float.MAX_VALUE; | |
//apply logic from above else loop here also | |
for (PointWithRSSI p : compare) { | |
float currDot = 0; | |
Set<String> c = p.getAccessPoints().keySet(); | |
for (String s: keys) { | |
if (c.contains(s)) { | |
currDot += p.getAccessPoints().get(s)*p.getAccessPoints().get(s) ; | |
currDot -= (Math.abs(temp.getCurrentPoint().getWeightedaccessPoints().get(s).getRssi()) * Math.abs(p.getAccessPoints().get(s))); //add to the dot product | |
} |
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
//convert web to mobile | |
int web_width = 1279; | |
int web_height = 1795; | |
int x_mid = web_width / 2; | |
int y_mid = web_height / 2; | |
Integer x_in = X_INPUT_FROM_ROHAN; | |
Integer y_in = Y_INPUT_FROM_ROHAN; |
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
Range("B4").Select | |
Do While (IsEmpty(ActiveCell) = False Or IsEmpty(ActiveCell.Offset(1, 0)) = False) | |
If ActiveCell.Value = ActiveCell.Offset(0, 1) Or ActiveCell.Offset(1, 0).Value = ActiveCell.Offset(1, 1) Then | |
ActiveCell.Offset(1, 0).Select | |
If ActiveCell.Offset(1, 0).Value = ActiveCell.Offset(0, 1) Then | |
ActiveCell.Range("B1:C1").Select | |
Selection.Insert Shift:=xlDown | |
Else | |
ActiveCell.Range("B1:C1").Select | |
Selection.Delete Shift:=xlUp |
NewerOlder