Skip to content

Instantly share code, notes, and snippets.

Marc G. Mouvedia

Block or report user

Report or block Mouvedia

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:339dcb9b033aac30d6961d259946b9b2
# .hushlogin
# .inputrc
"\e\e[C": forward-word
"\e\e[D": backward-word
# .bashrc
ulimit -n 2048 # /Library/LaunchDaemons/limit.maxfiles.plist
Mouvedia / manifest.json
Created Apr 4, 2018
manifest mandatory properties
View manifest.json
"name": "",
"description": "",
"background_color": "#",
"icons": [{
"src": ".png",
"sizes": "512x512",
"type": "image/png"
Mouvedia / rules
Last active Jun 29, 2019
View rules
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 400,
"mouse_motion_to_scroll.speed": 100
"rules": [
View .inputrc
"\e\e[C": forward-word
"\e\e[D": backward-word
View angular.js
try {
angular.bootstrap(document.body, ['moduleName']);
} catch(e) {
angular.element(document.body).injector().invoke(function($compile) {
var scope = angular.element(element).scope();
View css
-khtml-border-radius: px;
-moz-border-radius: px;
-webkit-border-radius: px;
border-radius: px;
background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,0)));
background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
background: -o-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
background: -ms-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
View XHR \ XDR
// xhr.onabort
// xhr.onerror
// xhr.ontimeout
// XMLHttpRequest({mozAnon: true});
// if (typeof obj.then === "function")
View String.js
String.parseAsClass = function(className, HTML5) {
if (!String.isString(className))
throw new TypeError('The passed argument must be a string.');
if (className === '')
throw new SyntaxError('The string provided must not be empty.');
if (!HTML5) {
className = className.replace(/^[ \t\n\f\r\u200b]+|[ \t\n\f\r\u200b]+$/g, '');
View user.keymap
[:app "cmd-alt-right"]
[:app "cmd-alt-left" :tabset.prev]
[:app "ctrl-shift-right"]
[:app "ctrl-shift-left" :tabs.prev]
[:app "alt-w"]
[:app "alt-f"]
[:app "alt-space" :navigate-workspace-transient]
[:app "pmeta-b" :add-browser-tab]
View user.behavior.cljs
[:app :-lt.objs.intro/show-intro]
[:app "dark"]
[:app :lt.objs.sidebar.workspace/]
[:app [:window.maximize]]
[:app :lt.plugins.gitlight/config {:git-binary "git" :max-history 64}]
[ :lt.plugins.user/push-active-tab]
[:tabs-extended :lt.plugins.user/last-tab]
You can’t perform that action at this time.