|
|
Line 1: |
Line 1: |
| [[Software reference]]
| |
|
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! general tasks | | ! general tasks |
| |- | | |- |
| | | | | |
Line 48: |
Line 46: |
| ! master keyboard shortcuts map | | ! master keyboard shortcuts map |
| |- | | |- |
| |from .i3/config: | | |See .i3/config. Typically you can press ctrl-shift-K to open it in editor. |
| # ===============
| |
| # MDM KEY SUMMARY
| |
| # ===============
| |
| # 2015/11/06 first version
| |
| # 2015/11/18 added misc section
| |
| #
| |
| # c-s-b ssh bitpost
| |
| # c-s-c term: copy
| |
| # c-s-d dolphin
| |
| # c-s-e eclipse
| |
| # c-s-g browser
| |
| # c-s-j eclipse: keys
| |
| # c-s-k edit this config file
| |
| # c-s-n nautilus: new folder
| |
| # c-s-r remote desktop
| |
| # c-s-s subl, eclise, etc: save all
| |
| # c-s-t thunderbird
| |
| # c-s-u unity-control-center / control panel (win)
| |
| # c-s-v term: paste
| |
| # c-s-x term: cut
| |
| # c-s-y next chromium window
| |
| # c-s-z redo
| |
| # c-s-6 sync all
| |
| # c-s-7 sync config
| |
| # c-s-8 sync pa
| |
| # c-s-9 sync at
| |
| #
| |
| # == try to sync i3 + windows (+ mac) ==
| |
| # W-r run
| |
| # F4 kill window
| |
| # F5 refresh (many apps)
| |
| # W-arrow move window
| |
| # c-W-arr move to adjacent workspace
| |
| # a-# go to workspace
| |
| #
| |
| # == coordinate with... ==
| |
| # c-s-n nautilus: new folder
| |
| # c-s-j eclipse: keys
| |
| # c-s-s subl, eclise, etc: save all
| |
| # c-s-x term: cut
| |
| # c-s-c term: copy
| |
| # c-s-v term: paste
| |
| # c-s-- browser: zoom out
| |
| # c-- browser: zoom out
| |
| # c-= browser: zoom in
| |
| # c-s-+ browser: zoom in
| |
| # c-0 browser: reset zoom
| |
| # c-s-0 browser: reset zoom
| |
| # c-w eclipse, chromium, nautilus, etc.: close tab/file
| |
| #
| |
| # == dev (chrome/FF, eclipse, vs, etc) ==
| |
| # F1 eclipse: project explorer
| |
| # F2 go to bookmark
| |
| # c-F2 set bookmark
| |
| # F3 find next
| |
| # s-F3 find prev
| |
| # F6 debug
| |
| # F7 run
| |
| # F8 pause/resume
| |
| # F9 save and build
| |
| # F10 step over
| |
| # F11 step into
| |
| # s-F11 step out of
| |
| # F12 browser: dev tools; eclipse: console (errors)
| |
| # c-b toggle breakpoint
| |
| #
| |
| # == misc ==
| |
| # c-a-brk win remote desktop fullscreen toggle
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 460: |
Line 390: |
| mount -t auto -o loop,offset=1048576 /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img /media/m/iso | | mount -t auto -o loop,offset=1048576 /home/m/bitpost/download/torrents/OpenELEC-Generic.x86_64-5.0.8-efi.img /media/m/iso |
| aifol | | aifol |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! Chroot into gentoo from (say) ubuntu |
| | |- |
| | | |
| | # These may already be done |
| | mount /mnt/gentoo |
| | cp -L /etc/resolv.conf /mnt/gentoo/etc/ |
| | |
| | mount -t proc none /mnt/gentoo/proc |
| | mount --rbind /dev /mnt/gentoo/dev |
| | chroot /mnt/gentoo /bin/bash |
| | |
| | # ** NOW IN CHROOT ** |
| | env-update |
| | source /etc/profile |
| | export PS1="(chroot) $PS1" |
| | |
| | # GET TO IT! :-) |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! Windows symbolic links (symlinks - needed for config files, svn overlay) |
| | |- |
| | | i'm setting up hard links from sublime install folder to shared config settings: |
| | mklink [/H /D /J] link_path Target_file/folder_path |
| | We had to use a soft link, hard won't go across drives. And you have to run the cmd window as admin. Don't specify type, and it will create a soft file link: |
| | mklink "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User\Default (Windows).sublime-keymap" "D:\Michael's Data\development\config\common\home\m\.config\sublime-text-3\Packages\User\Default (Windows).sublime-keymap" |
| | mklink "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User\Preferences.sublime-settings" "D:\Michael's Data\development\config\common\home\m\.config\sublime-text-3\Packages\User\Preferences.sublime-settings" |
| | Here is another example, setting up a link in an SVN repo folder to point to a git-controlled folder on another drive. SVN is OK with this, cool. |
| | (open ADMIN cmd prompt) |
| | cd C:\CODE\QA\ContinuousIntegration\Trunk |
| | mklink /J scripts "D:\Michael's Data\development\power_analytics\scripts" |
| | Junction created for scripts <<===>> D:\Michael's Data\development\power_analytics\scripts |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! Route traffic to avoid VPN |
| | |- |
| | | You can use "route" to assign paths to specific traffic. |
| | So bitpost.com requests go through eth0 instead of VPN, eg... |
| | C:\WINDOWS\system32>route add 174.109.14.112 192.168.50.1 |
| | Note that you can do this with [route] in linux too, syntax is a bit diff. |
| |} | | |} |
| |} | | |} |
Line 470: |
Line 441: |
| --> | | --> |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu | | ! OS and software installation |
| |- | | |- |
| | | | | |
Line 681: |
Line 652: |
| scite /var/log/Xorg.2.log & | | scite /var/log/Xorg.2.log & |
| |} | | |} |
| |}
| |
| <!--
| |
|
| |
|
| |
| ===========================================================================================================================================================================================================================================================================================
| |
|
| |
|
| |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Raspberry Pi
| |
| |-
| |
| |
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Set up a new Pi in 10 minutes | | ! Set up a new Pi in 10 minutes |
Line 738: |
Line 697: |
| Java [apt-get install oracle-java8-jdk] is available in the default raspbian apt repo. | | Java [apt-get install oracle-java8-jdk] is available in the default raspbian apt repo. |
| |} | | |} |
| |}
| |
| <!--
| |
|
| |
|
| |
| ===========================================================================================================================================================================================================================================================================================
| |
|
| |
|
| |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! OpenELEC
| |
| |-
| |
| |
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! OpenELEC multi-boot install | | ! OpenELEC multi-boot install |
Line 793: |
Line 740: |
| * when the boot: line comes up, type "live" to get run a live Kodi rather than run the crufty old installer | | * when the boot: line comes up, type "live" to get run a live Kodi rather than run the crufty old installer |
| |} | | |} |
| |}
| |
| <!--
| |
|
| |
|
| |
| ===========================================================================================================================================================================================================================================================================================
| |
|
| |
|
| |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! gentoo | | ! Windows 10 new setup |
| |- | | |- |
| | | | | |
| {| class="mw-collapsible mw-collapsed wikitable"
| | * [http://gnuwin32.sourceforge.net/packages/grep.htm Grep for Windows] |
| ! Chroot into gentoo from (say) ubuntu
| | * Create sublime symbolic links to preferences, typically here: |
| |-
| | C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User |
| |
| | * etc. |
| # These may already be done
| |
| mount /mnt/gentoo
| |
| cp -L /etc/resolv.conf /mnt/gentoo/etc/
| |
|
| |
| mount -t proc none /mnt/gentoo/proc | |
| mount --rbind /dev /mnt/gentoo/dev
| |
| chroot /mnt/gentoo /bin/bash
| |
|
| |
| # ** NOW IN CHROOT **
| |
| env-update
| |
| source /etc/profile
| |
| export PS1="(chroot) $PS1"
| |
|
| |
| # GET TO IT! :-)
| |
| |} | | |} |
| |} | | |} |
Line 832: |
Line 757: |
|
| |
|
| --> | | --> |
| {| class="mw-collapsible mw-collapsed wikitable"
| | |
| ! Windows
| | [[Software reference]] |
| |-
| | |
| |
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Windows 10 new setup
| |
| |-
| |
| |
| |
| * [http://gnuwin32.sourceforge.net/packages/grep.htm Grep for Windows]
| |
| * Create sublime symbolic links to preferences, typically here:
| |
| C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User
| |
| * etc.
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Symbolic links (symlinks - needed for config files, svn overlay)
| |
| |-
| |
| | i'm setting up hard links from sublime install folder to shared config settings:
| |
| mklink [/H /D /J] link_path Target_file/folder_path
| |
| We had to use a soft link, hard won't go across drives. And you have to run the cmd window as admin. Don't specify type, and it will create a soft file link:
| |
| mklink "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User\Default (Windows).sublime-keymap" "D:\Michael's Data\development\config\common\home\m\.config\sublime-text-3\Packages\User\Default (Windows).sublime-keymap"
| |
| mklink "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User\Preferences.sublime-settings" "D:\Michael's Data\development\config\common\home\m\.config\sublime-text-3\Packages\User\Preferences.sublime-settings"
| |
| Here is another example, setting up a link in an SVN repo folder to point to a git-controlled folder on another drive. SVN is OK with this, cool.
| |
| (open ADMIN cmd prompt)
| |
| cd C:\CODE\QA\ContinuousIntegration\Trunk
| |
| mklink /J scripts "D:\Michael's Data\development\power_analytics\scripts"
| |
| Junction created for scripts <<===>> D:\Michael's Data\development\power_analytics\scripts
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Route traffic to avoid VPN
| |
| |-
| |
| | You can use "route" to assign paths to specific traffic.
| |
| So bitpost.com requests go through eth0 instead of VPN, eg...
| |
| C:\WINDOWS\system32>route add 174.109.14.112 192.168.50.1
| |
| Note that you can do this with [route] in linux too, syntax is a bit diff.
| |
| |}
| |
| |}
| |
| <!-- | | <!-- |
|
| |
|