- /api/group/ - returns a list of first 20 groups
- /api/group/?start=0 - returns a list of first 20 groups
- /api/group/?start=10 - returns a list of 20 groups starting from 10th group
- /api/group/?start=10&count=30 - returns a list of 30 groups starting from 10th group
- "count" is the number of items to be returned, from the position equal to "start" value.
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 ClsSurfacePlaneIntersector : ClsIntersector { | |
| public int Precision = 100; | |
| public Vector3 FindPointIntersection(Func<float, Vector3> surfaceSlice, float elevation, float min, float max) { | |
| var mid = (max + min) / 2; | |
| var minE = surfaceSlice(min).Z; | |
| var midE = surfaceSlice(mid).Z; | |
| var maxE = surfaceSlice(max).Z; | |
| if (FuzzyEqual(elevation, midE) || FuzzyEqual(mid, max)) { | |
| return surfaceSlice(mid); | |
| } |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| namespace Kiss.Effigy.code { | |
| public class ClsSensorPlaneIntersector { | |
| public Vector Origin; | |
| public Func<float, float, Vector> Parametric; | |
| public float Plane; |
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
| #!/bin/bash | |
| # Run locally | |
| cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat >> /etc/ssh/watterson/authorized_keys' | |
| ssh [email protected] 'sudo service ssh restart' |
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
| 'x LIKE "%'+'a b c'.gsub(/\s/, '%" AND x LIKE "%')+'%"' |
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
| <? | |
| /* | |
| PHP takes the design of Perl (ugly), the interfaces | |
| of C (low-level and clunky), and the OO of C++ | |
| (an impure mess). Some things are completely broken, | |
| and every API is either inconsistent or just | |
| inconvenient. | |
| Its only utility is its output of inline text, which |
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
| // lemonad source... | |
| L.fix1 = L.curry(L.curry)(1); | |
| L.fix2 = L.curry(L.curry)(2); | |
| L.fix3 = L.curry(L.curry)(3); | |
| L.fix4 = L.curry(L.curry)(4); | |
| // function we could provide: | |
| L.fix = L.curry(L.curry); |
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
| <script> | |
| var inputs = {}; | |
| function save(value, name) { | |
| inputs[name] = parseInt(value); | |
| } | |
| function checker(criterion, action) { | |
| return function(value, name) { | |
| if( !criterion(value) ) { | |
| alert("Not Numeric"); | |
| } else { |
2786 Elginfield Rd
Columbus, OH 43220
614.457.6193
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
| #pragma config(Motor, motorA, leftMotor, tmotorNXT, PIDControl, encoder) // | |
| #pragma config(Motor, motorB, rightMotor, tmotorNXT, PIDControl, encoder) // | |
| #pragma config(Sensor, S1, touchSensor, sensorTouch) // | |
| // | |
| #include "./Headers/JoystickDriver.c" // | |
| // Do Not Add Or | |
| float speed = 1.0; // Modify Code Above | |
| #include "./Headers/Control Header.c" // | |
| // | |
| #define THRESHOLD 0 // |