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
| #listing locally | |
| npm ls | |
| #listing globally, only the first level | |
| npm ls -g --depth=0 |
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
| <html> | |
| <body> | |
| <div ng-app="app" ng-controller="controll"> | |
| value {{ forceFocus }} <br/> | |
| <input type="text" focus="{{ forceFocus }}" ng-blur="focus = false"><br /> | |
| <input type="text"><br /> | |
| <button ng-click="addClicked()">Add</button> | |
| </div> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script> |
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
| #several used ways to checkout | |
| git checkout <filename> | |
| #get a version from a branch | |
| git checkout <branch> <filename> | |
| #now its into the index, get it out of it , checking out from the index ;-) | |
| git checkout-index |
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
| nohup ./standalone.sh -b 0.0.0.0 -server-config=standalonename.xml > /dev/null & |
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
| cp -R /one/two /three/four |
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
| unzip <PATH_FILE>.zip - descompacta um arquivo zip | |
| tar xzf <PATH_FILE>tar.gz - descompacta um arquivo tar.gz | |
| #see the contents of the file only | |
| unzip -vl file |
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
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <version>2.6</version> | |
| <configuration> | |
| <archive> | |
| <manifest> | |
| <mainClass>propertiesreplicator.Replicator</mainClass> |
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
| #commandos do vi | |
| :wq! (para salvar e sair) |
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
| static { | |
| dir = System.getProperty("user.dir") + "/src/test/resources/queue.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
| Example for debug configurations | |
| -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 |
NewerOlder