Skip to content

Instantly share code, notes, and snippets.

Aleksandr Pasevin pasevin

Block or report user

Report or block pasevin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pasevin
pasevin / clean.sh
Last active Nov 24, 2019 — forked from Iman/clean.sh
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
View clean.sh
#!/bin/sh
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`sudo find /var/log -type f`
for i in $logs
@pasevin
pasevin / gist:3879901
Created Oct 12, 2012
Media Queries for Standard Devices | CSS - Tricks
View gist:3879901
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
You can’t perform that action at this time.