# Before start, make sure you've killed all old tmux servers that
# could be still running in the background
sudo killall -9 tmux
# Remove any previous installation
sudo apt-get -y remove tmux
This file contains hidden or 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
C:\Windows\Explorer.Exe | |
C:\Windows\System32\AccessibilityCpl.Dll | |
C:\Windows\System32\compstui.dll | |
C:\Windows\System32\Ddores.Dll | |
C:\Windows\System32\DDORes.dll | |
C:\Windows\System32\GameUx.Dll | |
C:\Windows\System32\imageres.dll | |
C:\Windows\System32\mmcndmgr.dll | |
C:\Windows\System32\mmRes.Dll | |
C:\Windows\System32\MorIcons.Dll |
This file contains hidden or 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
RUBY_VERSION="2.4.0" # You can change for any version you like | |
RAILS_VERSION="5.0.2" # You can change for any version you like | |
MYSQL_PASSWORD="XXXXX" # Remember to change for your own password | |
GIT_USER_NAME="XXXXX XXXXX" # Remember to change for your own user name | |
GIT_USER_EMAIL="[email protected]" # Remember to change for your own git email | |
NODE_VERSION="6" # You can change for any version you like | |
echo |
This file contains hidden or 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
function stackoverflowErrorCatcher() { | |
try { | |
// Try something here, if anything goes wrong | |
// stackoverflow comes to help!!! =-) | |
} catch(e) { | |
console.log("# Caught Error ============================================"); | |
console.log(e.stack); | |
console.log("==========================================================="); | |
window.open("http://stackoverflow.com/search?q=[js] + " + e.message, "_blank"); | |
} |
This file contains hidden or 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
const isMobile = { | |
getUserAgent: function() { | |
return navigator.userAgent; | |
}, | |
Android: function() { | |
return /Android/i.test(isMobile.getUserAgent()) && !isMobile.Windows(); | |
}, | |
BlackBerry: function() { | |
return /BlackBerry|BB10|PlayBook/i.test(isMobile.getUserAgent());; | |
}, |
This file contains hidden or 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
#!/bin/bash | |
# Created by Diligasi | |
export URU_INVOKER='batch'; | |
uru_rt.exe "$1"; | |
if [ "x$URU_HOME" == "x" ]; then | |
if hash "$USERPROFILE\.uru\uru_lackee.bat"; then cmd "/C $USERPROFILE\.uru\uru_lackee.bat"; fi |
This file contains hidden or 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
# Path for start menu shortcut files | |
/usr/share/applications | |
# Path where to extract and install the Intellij IDE | |
/opt/ | |
# For example the path above with bin folder | |
/opt/idea-IU-181.4203.550/bin |
This file contains hidden or 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
=> WSL Dev Env | |
- https://medium.com/short-stories-on-software/surprisingly-software-development-on-windows-is-awesome-now-82251d66991a | |
- https://medium.com/koaandco/rails-5-postgresql-on-wsl-9b1315ac0679 | |
- https://nickjanetakis.com/blog/using-wsl-and-mobaxterm-to-create-a-linux-dev-environment-on-windows | |
- *** https://nickjanetakis.com/blog/a-linux-dev-environment-on-windows-with-wsl-docker-tmux-and-vscode | |
=> Intellij | |
- https://intellij-support.jetbrains.com/hc/en-us/community/posts/207698489-How-can-you-use-new-Bash-on-Ubuntu-on-Windows-terminal-in-Webstorm- | |
- https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000232124-What-is-the-best-way-of-integrating-Webstorm-and-WSL-Bash-on-Windows-Creators-Update-Ubuntu-16-04- | |
=> Release Plan |
This file contains hidden or 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 config is targeted for tmux 2.1+ and should be placed in ~/.tmux.conf | |
# Read the "Plugin Manager" section (bottom) before trying to use this config! | |
# ----------------------------------------------------------------------------- | |
# ----------------------------------------------------------------------------- | |
# Change the default prefix key from CTRL+b to CTRL+a | |
# ----------------------------------------------------------------------------- | |
set -g prefix C-a | |
bind C-a send-prefix |
This file contains hidden or 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
ActiveRecord::Base.connection.tables.each do |table_name| | |
ActiveRecord::Base.connection.reset_pk_sequence!(table_name) | |
end |
OlderNewer