This file contains hidden or 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
<ul> | |
<li class='picture' ng-repeat='picture in home.pictures track by $index'> | |
<a ui-sref='picture({ url: {{picture.url}} })'> {{picture.type}} </a> | |
</li> | |
</ul> |
This file contains hidden or 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
/** | |
* Class Point represent 2 dimensional points. | |
* | |
* @author Eyal Cohen | |
* @version 1.0.0 | |
*/ | |
public class Point { | |
private double _radius; | |
private double _alpha; |
This file contains hidden or 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
{"version":1,"resource":"file:///Users/eyalcohen/dev/groundcover/frontend/src/themes/colors.ts","entries":[{"id":"frAi.ts","timestamp":1728205979747},{"id":"kmaR.ts","timestamp":1732567824510},{"id":"hoCV.ts","timestamp":1732833215393}]} |
This file contains hidden or 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
public double overlap(Segment1 other) { | |
return _poRight.getX() - other.getPoLeft().getX(); | |
} |
This file contains hidden or 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
$handshakeParams = [ | |
'sum' => $DEFAULT_SUM, // (currently is 10) | |
'TranzilaPW' => test2387, | |
'supplier' => F4BJ75, | |
'op' => 1, | |
]; | |
// The request url for handsake: https://secure5.tranzila.com/cgi-bin/tranzila71dt.cgi?sum=10&TranzilaPW=F4BJ75&supplier=test2387&op=1 | |
$iframeParam = [ |
This file contains hidden or 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
public boolean pointOnSegment(Point p) { | |
if (p.isRight(_poLeft) && p.isLeft(_poRight)) { | |
return true; | |
} | |
return false; | |
} | |
This file contains hidden or 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
public void move(double dx, double dy) { | |
double x = getX(); | |
double y = getY(); | |
x = x + dx; | |
y = y + dy; | |
if (x > DEFAULT_VALUE && y > DEFAULT_VALUE) { | |
_alpha = calcAlpha(x, y); | |
_radius = calcRadius(x, y); |
This file contains hidden or 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
public class PointTester2 { | |
public static void main(String[] args) { | |
System.out.println("********** Test Q1 Point - Start **********"); | |
System.out.println("testing first constructor and getters:"); | |
Point p0 = new Point(-2,-3); | |
if (p0.getX() != 0 || p0.getY() != 0){ | |
System.out.println("\t ERROR - default constructor and getters,expected (0.0, 0.0) actual= (" + p0.getX() + ", " + p0.getY() +")"); | |
} else |
This file contains hidden or 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
/** | |
* Segment2 represents a line (parallel to the x-axis) using a center point and length. | |
* | |
* @author Eyal Cohen | |
* @version 1.0.0 | |
*/ | |
public class Segment2 { | |
private Point _poCenter; | |
private double _length; | |
This file contains hidden or 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
public function getPaymentUrl($orderId) { | |
$DEFAULT_SUM = 10; | |
$this->load->library('Tranzila'); | |
$tranzila = new Tranzila(); | |
$tranzilaHost = 'secure5.tranzila.com'; | |
$tranzilaPath = '/cgi-bin/tranzila71dt.cgi'; | |
$tranzilaParams = [ | |
'sum' => $DEFAULT_SUM, |
OlderNewer