This file contains 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
% To remove a Matlab trailing whitespace in the editor | |
% Original Author: Sam Roberts | |
% Improved by: Simone Gaiarin <[email protected]> | |
% http://stackoverflow.com/questions/19770347/how-to-auto-remove-trailing-whitespaces-on-save-in-matlab | |
% Modified by Mark Harfouche to remember cursor location | |
% | |
% | |
% Temp variable for shortcut. Give it an unusual name so it's unlikely to | |
% conflict with anything in the workspace. | |
shtcutwh__ = struct; |
This file contains 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
api.map('J', 'E'); // previous tab | |
api.map('K', 'R'); // next tab | |
api.iunmap(":"); | |
// api.Hints.setCharacters('yuiopnm'); // for right hand | |
api.Hints.setCharacters('yuiopnmasdfgqwertzxcvb'); // pioritize right hand | |
This file contains 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
{"lastUpload":"2021-07-21T11:37:51.022Z","extensionVersion":"v3.4.3"} |
This file contains 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Anki", | |
"type": "python", | |
"request": "launch", |
This file contains 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
{ | |
"python.pythonPath": ".pyenv/bin/python3", | |
"python.autoComplete.extraPaths": [ | |
"${workspaceFolder}/anki/anki", | |
] | |
} |
This file contains 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
#!/bin/zsh | |
##? al - list my aliases | |
function al() { | |
local zalias_file="$HOME/.zsh/zalias" | |
local IFS=$'\n' # Change the field separator to newline | |
local categories=() # Array to store categories | |
local formatted_aliases=() # Array to store formatted alias strings | |
local selected_category="" | |
local choice |