Skip to content

Instantly share code, notes, and snippets.

View pavel-sakun's full-sized avatar

Pavel Sakun pavel-sakun

  • Epam.com, Oracle.com, Pentaho.com, Walmart.com, Bayer.com, FedEx.com
  • Laniakea Galactic Supercluster, Virgo Supercluster, Local Group, Milky Way Galaxy, Solar System, Planet Earth, Belarus, Minsk
View GitHub Profile
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@sgergely
sgergely / gist:3793166
Created September 27, 2012 09:43
Midnight Commander Keyboard Shortcuts for Mac OSX
----- Esc -----
Quick change directory: Esc + c
Quick change directory history: Esc + c and then Esc + h
Quick change directory previous entry: Esc + c and then Esc + p
Command line history: Esc + h
Command line previous command: Esc + p
View change: Esc + t (each time you do this shortcut a new directory view will appear)
Print current working directory in command line: Esc + a
Switch between background command line and MC: Ctrl + o
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name
@jdkanani
jdkanani / notepad.html
Last active June 16, 2024 13:44 — forked from jakeonrails/Ruby Notepad Bookmarklet
This bookmarklet gives you a code editor in your browser with a single click.
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
<!--
For other language: Instead of `ace/mode/ruby`, Use
Markdown -> `ace/mode/markdown`
Python -> `ace/mode/python`
C/C++ -> `ace/mode/c_cpp`
Javscript -> `ace/mode/javascript`
Java -> `ace/mode/java`
Scala- -> `ace/mode/scala`
@ebidel
ebidel / Web Components Resources.md
Last active October 12, 2024 17:10
List of resources related to Web Components
@mbgearhead
mbgearhead / _brew
Created October 27, 2013 20:55
Zsh completions for phinze/homebrew-cask added to "_brew" zsh-completions file
#compdef brew
# ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for brew (https://github.com/mxcl/homebrew).
#
# Source: https://github.com/mxcl/homebrew/blob/master/Library/Contributions/brew_zsh_completion.zsh
#
# ------------------------------------------------------------------------------
@pentaho-nbaker
pentaho-nbaker / gist:32de4896e5f39aae951f
Created August 20, 2015 12:29
ivy-settings.xml with Local Maven support
<?xmlversion="1.0"encoding="UTF-8"?>
<ivysettings>
<propertiesenvironment="env"/>
<propertyname="ivy.local.default.root"value="${ivy.default.ivy.user.dir}/local"override="true"/>
<propertyname="ivy.local.default.artifact.pattern"value="[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]"
override="false"/>
<!-- Repository for Pentaho-hosted artifacts -->
<propertyname="pentaho.resolve.repo"value="http://ivy-nexus.pentaho.org/content/groups/omni"override="false"/>
<!-- Repository for External-hosted artifacts (Optional. Defaults to Pentaho-hosted.) -->