15 Matching Annotations
  1. Sep 2024
    1. Adjustable snippet ranges. After working with a snippet link, some test users found that they wanted to shift its endpoints, to include more context or to tighten its focus. Latticework doesn’t currently allow this, but one could create an interaction which modified its current snippet links accordingly

      adjustable snippet ranges, letting your emergent insight impact your original highlighting/annotation sounds like a very interesting idea. Not because you're pinpointing the info at source more accurately, but because the emergent purpose of your sensemaking reflects back on your source material. It shifts the exact point where your Surprisal originates around.

  2. May 2024
    1. On Ubuntu 16.04 LTS, I successfully used the following to disable suspend: sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target And this to re-enable it: sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

      Re-enable

      sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

  3. May 2023
    1. https://drive.google.com/file/d/16ons3MpMA-cXj5X3sPISuh9DurMZNq67/view?usp=sharing

      Estas gráficas deben ser enlazadas como gráficas externas, usando el snippet Picture, que provee GToolkit para ello.

  4. Feb 2023
  5. Dec 2022
  6. Nov 2022
    1. Use the Get-ChildItem cmdlet with the -Recurse switch: Get-ChildItem -Path V:\Myfolder -Filter CopyForbuild.bat -Recurse -ErrorAction SilentlyContinue -Force

      Useful PowerShell command to do recursive file search in Windows through PowerShell.

    1. Louis Burki 6 months ago (edited) I have make some changes to make it work, because I had a similar error. First, I have add a ":" before the "=" in the Text variable at the beginning of the script. Now it looks like that: "Text:=". Then I have put double quotes around (**your snippets**) so now it looks like this "(***your snippets***)". Then, I also changed the sort line to make it look that: Text:= sort(Text). And now it works as intended. Also, be careful not to remove the pipe symbol in your snippets.

      Someone giving a troubleshooting solution to using Joe Glines' Auto Hotkey script that inserts text from a list of the user's choosing. The problem another user had was including it in their main script file, but this was resolved with Louis Burki's answer

    1. Run in WSL to return current total "word count": find /mnt/c/path/to/obsidian -type f -name "*.md" -exec cat '{}' \+ | wcThis will also count words in syntax - like the word "query" in an embedded query. In fact it probably counts anything separated by whitespace as separate words. But you could do some preprocessing between the cat and the wc if you like.

      Linux command for WSL to count all lines, words count, & character count. OP states at end -wc restricts to word count only

  7. Aug 2022
  8. Apr 2022
  9. Jun 2021
    1. One of the consequences (although arguably not the primary motivation) of DRY is that you tend to end up with chunks of complex code expressed once, with simpler code referencing it throughout the codebase. I can't speak for anyone else, but I consider it a win if I can reduce repetition and tuck it away in some framework or initialisation code. Having a single accessor definition for a commonly used accessor makes me happy - and the new Object class code can be tested to hell and back. The upshot is more beautiful, readable code.

      new tag?:

      • extract reusable functions to reduce duplication / allow elegant patterns elsewhere
  10. Oct 2020
    1. Yes, you can embed loops in it and compose lots of small repeated JSX snippets, but that almost never happens in practice because mixing the turing complete of javascript with the markup of HTML eliminates the readability of JSX so that it is actually harder to parse than a solution like hyperscript (the syntactical approach taken by virtual-dom).
  11. Dec 2019
    1. First sighting. First time I've seen a literal, non-whitespace character (┊) used to show indentation. Looks pretty nice. But breaks copy-and-pastability.