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
In two steps: | |
1) tar -c -f archive_name.tar some_file_or_dir | |
2) gzip archive_name.tar | |
Found here: | |
http://superuser.com/questions/264952/how-to-compress-a-file-in-unix?rq=1 | |
In one step: | |
tar cvpzf archive_name.tgz some_file_or_dir |
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
du -h |
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
tar -zxvf my_file.tar.gz | |
Found here: | |
http://www.computing.vt.edu/kb/entry/233 |
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
mv myfolder/.* . | |
So for example if the data was in /home/myuser/myfolder then from /home/myuser/ run the command. | |
Found here: | |
http://unix.stackexchange.com/questions/19344/move-folder-content-up-one-level/19345#19345 |
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
.round_border { | |
-webkit-border-radius: 5px; /* Webkit */ | |
-moz-border-radius: 5px; /* Firefox */ | |
border-radius: 5px; /* Standard */ | |
} |
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
/* x-pos, y-pos*, blur, spread, #color */ | |
.box_shadow { | |
-webkit-box-shadow: 5px 5px 3px 1px #595959;/* WebKit */ | |
-moz-box-shadow: 5px 5px 3px 1px #595959; /* Firefox */ | |
box-shadow: 5px 5px 3px 1px #595959; /* Standard */ | |
} |
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
/* x-pos, y-pos*, blur, spread, #color */ | |
.box_shadow { | |
-webkit-box-shadow: inset 0px 0px 10px 0px #222; /* WebKit */ | |
-moz-box-shadow: inset 0px 0px 10px 0px #222; /* Firefox */ | |
box-shadow: inset 0px 0px 10px 0px #222; /* Standard */ | |
} |
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
git clone https://github.com/username/repo.git |
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
/* CSS Document */ | |
html { | |
-webkit-filter: invert(100%) hue-rotate(270deg) brightness(100%) contrast(100%); | |
background: #222; | |
} |
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
Just use: | |
CTRL + C |
OlderNewer