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
" remap (en) | |
map f scrollFullPageDown | |
map b scrollFullPageUp | |
map a LinkHints.activateMode | |
map A LinkHints.activateModeToOpenInNewTab | |
map p map з performBackwardsFind | |
" map cyrillic | |
map о scrollDown | |
map л scrollUp |
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
-- Globals. | |
hs.loadSpoon("ReloadConfiguration") | |
spoon.ReloadConfiguration:start() | |
local log = hs.logger.new('hammerspoon', 'debug') | |
-- Key bindings. |
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
server { | |
server_name modx.local; | |
charset utf-8; | |
error_log /var/log/nginx/modx.error.log; | |
access_log /var/log/nginx/modx.access.log; | |
root /var/www/modx; | |
client_max_body_size 30M; | |
index index.php; | |
location / { |
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
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
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
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
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
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
++[>++++[>++++>++++++++>++++>+++++>+++++>+++++>+++++>+>+++++>++++++>++++++<<<<<<<<<<<-][<]<-]>>>>+++>--->-->>++>++>++++>-->-<<<<<<<<<<>>>>>>>>>>...<<<<...>>........................>...............................<...>................<<<<<<<<<.>>>>>>>>>.....<.............<<..>>>>.<<<<<...>>>>>.....<<<<.........>.>>>.<<<<<.>>>>>.<<<<...>>........................>..........<<<<<<<<<..>>>>>>>>>...................<..>.............<<<<<<<<<........>>>>>>>>>...<............<<..>>>>.<<<<<...>>>>>......<<<<........>.>>>.<<<<<.>>>>>.<<<<...>>.........................>...<<<<<<<<<..........>>>>>>>>>.....<.>....<..>......<.>...<.>....<.>..<<<<<<<<<...........>>>>>>>>>..<............<<..>>>>.<<<<<....>>>>>.....<<<<........>.<<..>>>>>.<<<<...>>.......................>...<<<<<<<<<............>>>>>>>>>........<.>.<....>.<....<<...>>.<<.>>...>...<<<<<<<<<...........>>>>>>>>>..<............<<..>>>>.<<<<<....>>>>>.....<<<<........>.>>>.<<<<<.>>>>>..<<<<..>>......................>...<<<<<<<<<........>>>>>>>>>...........<.<<..>>> |
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
// Functions | |
// String.startsWith | |
if (typeof String.prototype.startsWith != 'function') { | |
String.prototype.startsWith = function (str){ | |
return this.slice(0, str.length) == str; | |
}; | |
} | |
NewerOlder