Skip to content

Instantly share code, notes, and snippets.

@doofmars
doofmars / weahterservice.json
Created October 9, 2016 19:54
Just a Swagger.json sample test
{
"swagger" : "2.0",
"info" : {
"version" : "1.0.2",
"title" : "Sample API"
},
"host" : "localhost:8002",
"basePath" : "/api",
"tags" : [ {
"name" : "weather"
@doofmars
doofmars / StandaloneDevice.cs
Created July 12, 2016 16:12
Unity standalone mod
// Custom modified unity client for standalone purposes
//
// Orginal copiright left intact...
//
// Copyright 2015 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ==UserScript==
// @name Hide these videos layout fix
// @namespace Mars
// @description Fixes the missalignment of the "Hide these videos" on the subscription page.
// @version 1
// @include http*://*youtube.com*
// @grant GM_addStyle
// ==/UserScript==
@doofmars
doofmars / Default.sublime-mousemap
Created January 16, 2015 17:08
Mouse gestures to close and reopen a file
[
/*Additional sublime mouse gestures*/
{ "button": "button1", "count": 1, "modifiers": ["button2"], "command": "close"},
{ "button": "button3", "count": 1, "modifiers": ["button2"], "command": "reopen_last_file"}
]
@doofmars
doofmars / Default.sublime-commands
Last active August 29, 2015 14:11
My sublime commands for the command palette
[
/* Additional File Commands */
{ "caption": "File: Open", "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} },
{ "caption": "File: Close", "command": "close" }
/* Hint: Use sublime.log_commands(True) to log each command in the console */
/*For "File: Rename" use the file rename package https://github.com/brianlow/FileRename */
]
@doofmars
doofmars / Default.sublime-keymap
Last active August 29, 2015 14:11
My sublime keybindings some additions to fit to my eclipse workflow
[
/* General hotkeys */
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["ctrl+shift+e"], "command": "show_panel", "args": {"panel": "find_in_files"} },
{ "keys": ["ctrl+shift+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["alt+shift+r"], "command": "find_under_expand" },
{ "keys": ["ctrl+."], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
{ "keys": ["f12"], "command": "htmlprettify"},
/* Commenting */