Preview doesn't show the main feature,
click for prettyness >.^
Forked from Simon Goellner's Pen Rainbowy Dashed Divider.
| #region IDN functions | |
| function IdentitiesSearchAfter($token, $query, $searchAfterID, $limit, $IDNdisplayNameSearch) | |
| { | |
| #region IDN Search Queries | |
| $identitySearchqry = "{`"query`": {`"query`": `"source.name:HR`")`"},`"indicies`": [`"identities`"],`"queryResultFilter`": {`"includes`": [`"attributes.uid`",`"attributes.displayName`",`"attributes.identificationNumber`",`"id`",`"status`",`"isManager`"]},`"sort`": [`"+id`"],`"includeNested`": false,`"searchAfter`": [`"$($searchAfterID)`"]}" | |
| #eventSearchQry - have multiple queries that can be used, reuse the same logic to fetch 10k+ results | |
| #endregion IDN Search Queries | |
| $body = switch ($query) | |
| { |
| Get-Process | Group-Object ProcessName | ForEach-Object { | |
| $_ | Select-Object -ExpandProperty Group | Select-Object -First 5 | |
| } | |
| __________________________________________ | |
| Get-ADComputer -Filter * | foreach-object { | |
| $Computer = $_.Name |
| To bind the inner HTML of any HTML element to a variable value you can use: | |
| - `ng-bind-html` Directive and pass a variable or expression to it (using variables, literals & operators). | |
| > Try it here: [JSFiddle](https://jsfiddle.net/DARZO27/01q4jeht/2/ ) | |
| <script async src="//jsfiddle.net/DARZO27/01q4jeht/2/embed/js,html,css,result/dark/"></script> | |
| <div ng-app="myApp" ng-controller="myCtrl"> |
| <html> | |
| <!-- Twitter’s widgets JavaScript For optimal web page performance & tracking widget JS events --> | |
| <script>window.twttr = (function(d, s, id) { | |
| var js, fjs = d.getElementsByTagName(s)[0], | |
| t = window.twttr || {}; | |
| if (d.getElementById(id)) return t; | |
| js = d.createElement(s); | |
| js.id = id; | |
| js.src = "https://platform.twitter.com/widgets.js"; | |
| fjs.parentNode.insertBefore(js, fjs); |
| <!--View on JSFiddle: https://jsfiddle.net/DARZO27/01q4jeht/2/--> | |
| <html> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular-sanitize.js"></script> | |
| <body> | |
| <div ng-app="myApp" ng-controller="myCtrl"> | |
| <p ng-bind-html="myText"></p> |
| package dijkstrasAlg; | |
| import org.junit.Test; | |
| import java.util.*; | |
| import java.util.regex.Matcher; | |
| import java.util.regex.Pattern; | |
| import static org.junit.Assert.assertEquals; |
| ==== J A V A ================================== | |
| /** | |
| * Determines the angle of a straight line drawn between point one and two. The number returned, which is a double in degrees, tells us how much we have to rotate a horizontal line clockwise for it to match the line between the two points. | |
| * If you prefer to deal with angles using radians instead of degrees, just change the last line to: "return Math.atan2(yDiff, xDiff);" | |
| */ | |
| public static double GetAngleOfLineBetweenTwoPoints(Point.Double p1, Point.Double p2) | |
| { | |
| double xDiff = p2.x - p1.x; | |
| double yDiff = p2.y - p1.y; | |
| return Math.toDegrees(Math.atan2(yDiff, xDiff)); |
Preview doesn't show the main feature,
click for prettyness >.^
Forked from Simon Goellner's Pen Rainbowy Dashed Divider.
| <scheme name="Eclectide Monokai" version="124" parent_scheme="Default"> | |
| <option name="LINE_SPACING" value="1.0" /> | |
| <option name="EDITOR_FONT_SIZE" value="12" /> | |
| <option name="EDITOR_FONT_NAME" value="Consolas" /> | |
| <colors> | |
| <option name="ADDED_LINES_COLOR" value="295622" /> | |
| <option name="CARET_COLOR" value="bbbbbb" /> | |
| <option name="CARET_ROW_COLOR" value="" /> | |
| <option name="CONSOLE_BACKGROUND_KEY" value="272822" /> | |
| <option name="FILESTATUS_ADDED" value="629755" /> |