| title | LDAP Search Filter Cheatsheet |
|---|---|
| author | Jon LaBelle |
| date | January 4, 2021 |
| source | https://jonlabelle.com/snippets/view/markdown/ldap-search-filter-cheatsheet |
| notoc | true |
| from collections import Counter | |
| import re | |
| import huffman | |
| class TextSplitter: | |
| def __init__(self, words): | |
| words.sort(key=lambda x: len(x), reverse=True) | |
| self.words = set(words) |
Note; this log was generated on a Pi4 4Gb running from a SSD. However, I also test on a Pi3 Model B+ and a Pi3 Model A.
For support please go to the MakerForums at: https://forum.makerforums.info/c/laserweb-cncweb/
These Instructions should work for all Pi 3 and 4 models running the Buster and Bullseye releases. Also see the wiki page about Pi installation for more info and notes on how to run LaserWeb4 as a service.
This is nice and easy; node 12 is part of the RPI OS release.
| OneDrive.exe as a Windows Service | |
| ================================= | |
| Flemming Steffensen, 2017, 2021 | |
| For our automatic build setup, we needed to fetch some files off a Sharepoint Library. | |
| Sharepoint allows (if configured so) Lists and Libraries to be synchronized to a local folder by using the OneDrive application. | |
| However, the OneDrive application is started when a user logs in, and in an automated build setup, this never happens. | |
| The solusion were to disable the normal auto-start feature of OneDrive, and then install it as a service, and making sure the | |
| service start as the computer starts. |
| // ArduinoISP | |
| // Copyright (c) 2008-2011 Randall Bohn | |
| // If you require a license, see | |
| // http://www.opensource.org/licenses/bsd-license.php | |
| // | |
| // This sketch turns the Arduino into a AVRISP using the following Arduino pins: | |
| // | |
| // Pin 10 is used to reset the target microcontroller. | |
| // | |
| // By default, the hardware SPI pins MISO, MOSI and SCK are used to communicate |
| #!/usr/bin/lua5.1 | |
| --- Async/Await for Lua 5.1 | |
| -- This script implements async/await functions for Lua, allowing tasks to | |
| -- be queued and scheduled independently. | |
| -- | |
| -- This is just an example and has a bunch of issues, isn't tested, isn't | |
| -- even actually used anywhere; I basically just got bored and had one of | |
| -- those "what if?" type ideas 6 hours ago. | |
| local co_create = coroutine.create |
| C:\Users\pasta\AppData\Local\Android\Sdk\platform-tools\adb.exe forward tcp:9222 localabstract:chrome_devtools_remote | |
| wget -O tabs.json http://localhost:9222/json/list | |
| REM ruby -e "require 'json'; puts JSON.load(File.read('tabs.json')).map{|e| %W{<a href='#{e['url']}'> #{e['title']}</a><br/>} }" | Set-Clipboard -AsHtml | |
| ruby -e "require 'json'; puts JSON.load(File.read('tabs.json')).map{|e| %W{#{e['title']}\t#{e['url']}} }" | Set-Clipboard |
| v 0.000000 1.000000 -0.000000 | |
| v -0.000000 0.980785 -0.195090 | |
| v -0.038060 0.980785 -0.191342 | |
| v -0.074658 0.980785 -0.180240 | |
| v -0.108386 0.980785 -0.162212 | |
| v -0.137950 0.980785 -0.137950 | |
| v -0.162212 0.980785 -0.108386 | |
| v -0.180240 0.980785 -0.074658 | |
| v -0.191342 0.980785 -0.038060 | |
| v -0.195090 0.980785 0.000000 |
This will provide an example of integrating Active Directory authentication in an ASP.NET Core app.
Note, you'll need to be running on a Windows domain with Visual Studio debugging in IIS Express for this to work.
In launchSettings.json, you'll want to modify iisSettings by turning on windowsAuthentication: