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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Hello World!</title> | |
| <link rel="stylesheet" type="text/css" href="./styles.css"> | |
| </head> | |
| <body> | |
| <script> | |
| // You can also require other files to run in this process |
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
| /* | |
| Description: This function will evaluate and update markdown tables similar to excel | |
| Just Copy and paste this gist into Notable's Custom JS Editor | |
| Requirements: v1.9.0-alpha.6 or newer (older versions don't have the Custom JS Editor) | |
| Table Example: | |
| |Home Evaluation 2020|| | |
| | ----------------- | -------: | | |
| | Tax Land Value | [C]=14726 | |
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
| javascript:(function() { | |
| function copyToClipboard(text) { | |
| if (window.clipboardData && window.clipboardData.setData) { | |
| /*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
| return clipboardData.setData("Text", text); | |
| } else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
| var textarea = document.createElement("textarea"); | |
| textarea.textContent = text; |
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
| /* | |
| [tag list] | |
| bank | |
| car | |
| insurance | |
| receipt | |
| tax | |
| [settings] | |
| recent_total = 11 |
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
| #noEnv | |
| #singleInstance, force | |
| sendMode, input | |
| return | |
| !l:: goSub, get_text_to_launch | |
| !+l::goSub, text_launcher ; repeat last selection | |
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
| @echo off | |
| set texteditor=subl rem Text editor of your choice e.g. Sublime Text (subl) | |
| set hostsfile=C:/Windows/System32/drivers/etc/hosts rem Where Windows' hosts file is located | |
| set vhostsfile=C:/wamp/bin/apache/apache2.4.9/conf/extra/httpd-vhosts.conf rem This one depends on your installation. | |
| set htdocs=C:/wamp/www rem This one depends on your installation. | |
| if ["%1"] == ["edit"] goto:edit | |
| if ["%1"] == ["add"] goto:add | |
| goto:usage |
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
| ; Works for DropDownList/ComboBox/ListBox | |
| Class ListBox | |
| { | |
| __New(hwnd) { | |
| ; GuiControl, +AltSubmit, %hwnd% | |
| this.hwnd := hwnd | |
| } | |
| Add(str) { | |
| GuiControl,, % this.hwnd, %str% |
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
| ; | |
| ; Opens Sublime Text 2 and makes the wanted project have focus | |
| ; If additional files are specified, they'll be opened in the specified project | |
| ; Useful for scripting, global hotkeys, command launchers, etc | |
| ; | |
| ; Example: | |
| ; openSublimeProject.ahk c:\sites\blog\blog.sublime-project c:\sites\blog\.gitignore c:\sites\blog\Gemfile | |
| ; | |
| ; Problems this script fixes: | |
| ; 1. If sublime is already open with the requested project, it creates an empty window and makes that active |
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
| #noEnv | |
| #singleInstance, force | |
| return ; end of auto-execute | |
| #space::goSub, onTop_menu ; show menu | |
| #!space::goSub, toggle_onTop ; toggle the active window | |
| ^#!space::goSub, minimise_all_onTop |