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 | |
| echo Script name: $0 | |
| echo $# arguments | |
| if [$# -ne 1]; | |
| then echo "illegal number of parameters" | |
| 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
| 4 | |
| you should use git checkout --track origin/branch2 |
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
| Search Results | |
| Featured snippet from the web | |
| git clean | |
| If you just clean untracked files, run git clean -f. | |
| If you want to also remove directories, run git clean -f -d. | |
| If you just want to remove ignored files, run git clean -f -X. |
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
| /etc/hadoop/conf/core-site.xml |
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
| Scala: Using gradle to build your project | |
| If you want to use gradle to compile scala, ensure you have gradle, either in your system or via the gradle wrapper. | |
| Create this build.gradle file: | |
| apply plugin: 'scala' | |
| repositories { | |
| mavenCentral() | |
| } |
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
| Setup for every Server that you connect to | |
| The easy way is to run the command: | |
| W$ ssh-copy-id S | |
| Eg: | |
| W$ ssh-copy-id server.example.com | |
| W$ ssh-copy-id [email protected] | |
| You will need to use the second form if your username is different on the two machines. |
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
| Download for Linux | |
| The latest release of calibre is 4.7.0. What's new. | |
| Please do not use your distribution provided calibre package, as those are often buggy/outdated. Instead use the Binary install described below. | |
| Binary install | |
| calibre has a binary install that includes private versions of all its dependencies. It runs on 32-bit and 64-bit Intel compatible machines. To install or upgrade, simply copy paste the following command into a terminal and press Enter: | |
| sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin | |
| While you wait for the download to complete, please consider contributing to support the development of calibre. |
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
| Check and repair corrupt Windows files | |
| Windows files can sometimes become corrupt and this can wreak havoc on your PC — including a stuck Start menu. Fortunately, Windows 10 has a built-in way of resolving this. | |
| 1. Launch Task manager | |
| Press the [Ctrl] + [Alt] + [Del] keys on your keyboard at the same time - alternatively, right click the Taskbar. Then select Task manager. | |
| 2. Run a new Windows task | |
| When the Task manager window opens, click the More details option to expand it, then select Run new task from the File menu. |
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
| xrandr -s 1440x900 |
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
| export dirname=/var/run/cloudera-scm-agent/process/ | |
| sudo find $dirname -not -empty `-ls -l` | grep keytab |