Skip to content

Instantly share code, notes, and snippets.

View theted's full-sized avatar

Fredrik Sundberg theted

View GitHub Profile
sudo mount /dev/sda1 /mnt
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
@theted
theted / CSS: Media queries for defaut devices
Created November 6, 2012 23:19
CSS: Media queries for default devices
/* 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) {