git push origin :
Deleting your local branch is simple too.
git branch -d
You need to be on another branch. If you execute the command above on
error: Cannot delete the branch '
Software Engineer is(should be) a most efficient Problem Solver.
error: src refspec master does not match any.
error: failed to push some refs to 'git@github ... .git'
I googled and found this solution. It works for me.$ touch README
$ git add README
$ git add *
$ git commit -m 'my first commit'
$ git push origin master --force
java.util.MissingResourceException: Can't find bundle for base name voldemort
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
When I run my program on IntellJ IDEA, this error message shown up on console window. Do I miss something? Yes, I know. It's a kind of class path thing. Here are my solutions.
1. Move properties under sr/main/java/
2. Write attributes on your codes.
3. Just do the following.
Select root directory of your project.
Right Click.
Choose "Mark Directory at" to "Source Root".
Don't choose 1 or 2. Your reviewers would be happy to have a chance to give you a lot of feedback.
It's a secret that I selected 2 for a test. :)
Here is my code.
private StoreClientFactory storeClientFactory() {
Properties p = new Properties();
ResourceBundle rb = ResourceBundle.getBundle(VOLDEMORT_PROPERTY);
for(String key:rb.keySet()) {
p.setProperty(key, rb.getString(key));
}
return new SocketStoreClientFactory(new ClientConfig(p));
}
#!/bin/bash # # CopyLeft 2012 Joongjin, Bae # # CACTI_CLI_DIR=/var/www/cacti/cli cd $CACTI_CLI_DIR HOST_ID_LIST=`php -q add_tree.php --list-hosts | awk '/host pattern/ { print $1}'` TREE_ID=`php -q add_tree.php --list-trees | awk '/graph tree name/ { print $1}'` PARENT_ID_LIST=`php -q add_tree.php --list-nodes --tree-id=$TREE_ID | awk '/^Header/ {print $0}' | awk '/graph tree header node pattern/ {print $2}'` TARGET_GRAPH_ID_LIST=() for host_id in $HOST_ID_LIST do TARGET_GRAPH_ID_LIST=("${TARGET_GRAPH_ID_LIST[@]}" "`php -q add_tree.php --list-graphs --host-id=$host_id | awk '/add target graph pattern/ { print $1 "\n"}'`") done idx=0 for parent_id in $PARENT_ID_LIST do for graph_id in ${TARGET_GRAPH_ID_LIST[$idx]} do php -q add_tree.php --type=node --node-type=graph --tree-id=$TREE_ID --parent-node=$parent_id --graph-id=$graph_id done idx=$((idx+1)) done echo Mission Completed!