This file contains 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
import java.util.Arrays; | |
public class ArrayMethods | |
{ | |
String[] list; //instance variable | |
/** | |
* Constructor for objects of class ArrayMethods | |
*/ | |
public ArrayMethods(String[] list) |
This file contains 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
Map IPv4 and MAC: | |
arp -a | |
Map IPv6 and MAC: | |
netsh int ipv6 show neigh | |
This file contains 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
<meta name="google" value="notranslate"> |
This file contains 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
alias.unstage=reset HEAD -- | |
alias.last=log -1 HEAD | |
alias.merge-to=!gitmergeto() { export tmp_branch=`git branch | grep '* ' | tr -d '* '` && git checkout $1 && git merge $tmp_branch && git checkout $tmp_branch; unset tmp_branch; }; gitmergeto | |
alias.st=status | |
alias.save=!gitsave() { git checkout -b $1 && git commit -am $1 && git checkout -; }; gitsave | |
alias.co=checkout | |
alias.tmpignore=!git update-index --assume-unchanged | |
alias.tmpunignore=!git update-index --no-assume-unchanged | |
alias.tmpignored=!git ls-files -v | grep ^[a-z] | |
alias.mylog=!git log --pretty=format:'%h|%an|%ad|%s' --date=local --since='2 weeks ago' | while IFS='|' read hash author date message; do printf '\e[m%s \e[1;31m%-20s \e[m%s \e[0;32m%s |
This file contains 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
private static Logger log = Logger.getLogger(${enclosing_type}.class); | |
${imp:import(org.apache.log4j.Logger)}${cursor} |