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
#sunday morning my friend get error about desktop ubuntu 14.04 Freeze, i have to try some many my DE trick's but no effect :/ | |
#and Then i'm surfing and get another good review about that same case on his blog's, thank's zhang. | |
#and now maybe you need it, hope it can help you... | |
What’s the problem? | |
After boot into Ubuntu 14.04, you enter your credential and the system just hangs up, freezes. If you are lucky, you might see mouse cursor, background wallpaper but nothing else. | |
Solutions may work |
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
///////////////////////////////BACK-BUTTON-PRESSED///////////////////////////// | |
//////////////////////////////////creatorb//////////////////////////////////// | |
//You can choose one method ;) | |
//PopUp | |
@Override | |
public void onBackPressed() { | |
new AlertDialog.Builder(this) | |
.setTitle("Really Exit?") |
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 | |
set -o errexit | |
# Author: David Underhill | |
# Script to permanently delete files/folders from your git repository. To use | |
# it, cd to your repository's root and then run the script with a list of paths | |
# you want to delete, e.g., git-delete-history path1 path2 | |
if [ $# -eq 0 ]; then | |
exit 0 |