Leo 5.8.1 beta 1, http://leoeditor.com, is now available on GitHub.
Leo is an IDE, outliner and PIM, as described here.
<html> | |
<head> | |
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.15.2/ui/trumbowyg.min.css"> | |
</head> | |
<body> | |
<div id="editor"> | |
$('#trumbowyg-demo').trumbowyg(); | |
</div> | |
Adapted from https://alex-d.github.io/Trumbowyg/documentation/ |
Windows Registry Editor Version 5.00 | |
; | |
; How to disable internet search results in start menu post Creators Update? | |
; https://superuser.com/questions/1196618/how-to-disable-internet-search-results-in-start-menu-post-creators-update | |
; | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search] | |
"BingSearchEnabled"=dword:00000000 | |
"AllowSearchToUseLocation"=dword:00000000 | |
"CortanaConsent"=dword:00000000 | |
; |
# import pdb ; pdb = pdb.set_trace | |
import os | |
import sys | |
# Partial fix for #541. | |
# See https://stackoverflow.com/questions/24835155/pyw-and-pythonw-does-not-run-under-windows-7/30310192#30310192 | |
if sys.executable.endswith("pythonw.exe"): | |
sys.stdout = open(os.devnull, "w"); | |
sys.stderr = open( | |
os.path.join(os.getenv("TEMP"), | |
"stderr-"+os.path.basename(sys.argv[0])), |
Leo 5.8.1 beta 1, http://leoeditor.com, is now available on GitHub.
Leo is an IDE, outliner and PIM, as described here.
<!doctype html> | |
<html> | |
<head> | |
<meta name="description" content="Courtesy of [lovasoa] 15yr old brother - https://news.ycombinator.com/item?id=18866500"> | |
<meta charset='UTF-8'> | |
<title>Jeu vidéo de Noé</title> | |
</head> | |
<body style="text-align: center"> |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\FileZilla.Url] | |
@="FileZilla URL" | |
"URL Protocol"="" | |
"EditFlags"=dword:00000002 | |
"BrowserFlags"=dword:00000008 | |
[HKEY_CLASSES_ROOT\FileZilla.Url\DefaultIcon] | |
@="\"C:\\Program Files\\FileZilla FTP Client\\filezilla.exe\",0" |
''' | |
This script must be bound to a keystroke so that it can run without disturbing Leo's present state. | |
Rev 9cce9a in devel is required to make everything work smoothly when gathering arguments, but this | |
rev breaks other features. Back to the drawing board. | |
-- @edreamleo, https://groups.google.com/d/msg/leo-editor/Serzpyzrylg/B63pKXFNCwAJ | |
''' | |
@button screen-shot @key=ctrl-1 | |
''' | |
Create a screenshot of the present Leo outline and |
#SingleInstance,Force | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; key sequence for ArcMap 10.6 to save copy of current map as 10.4 | |
^j:: ; Activate with Ctrl-J | |
;clipsaved:= ClipboardAll |
@echo off | |
:: Test what version of Command Extensions are available | |
:: http://ss64.org/viewtopic.php?id=1834 | |
if "~x0"=="%~x0" goto NOCMDEXT | |
if "%%~x0"=="%~x0" goto NOCMDEXT | |
if CmdExtVersion 2 goto CMDEXTV2 | |
goto CMDEXTV1 | |
:CMDEXTV1 |
## was part of Leo-Editor setup.py troubleshooting | |
try: | |
import semantic_version | |
except ImportError: | |
print('*** Warning: failed to import `semantic_version`') | |
get_timestamp_from_commit_json() | |
def get_timestamp_from_commit_json(file): | |
import json | |
root = os.path.dirname(os.path.realpath(file)) |