Skip to content

Instantly share code, notes, and snippets.

View pasevin's full-sized avatar
💭
I may be slow to respond.

Aleksandr Pasevin pasevin

💭
I may be slow to respond.
View GitHub Profile
@pasevin
pasevin / gist:3879901
Created October 12, 2012 15:51
Media Queries for Standard Devices | CSS - Tricks
/* 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) {
@pasevin
pasevin / clean.sh
Last active November 24, 2019 12:40 — 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
#!/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
This file has been truncated, but you can view the full file.
{
"id": "9e159e6992ade13b60ca3a72777f7879",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.4",
"solcLongVersion": "0.8.4+commit.c7e474f2",
"input": {
"language": "Solidity",
"sources": {
"contracts/Greeter.sol": {
This file has been truncated, but you can view the full file.
{
"id": "9cdf73635a0f34b720701727efde623a",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.4",
"solcLongVersion": "0.8.4+commit.c7e474f2",
"input": {
"language": "Solidity",
"sources": {
"contracts/Greeter.sol": {
This file has been truncated, but you can view the full file.
{
"id": "569487d9d330123e48bbd19f3a1946a8",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.4",
"solcLongVersion": "0.8.4+commit.c7e474f2",
"input": {
"language": "Solidity",
"sources": {
"contracts/Greeter.sol": {
This file has been truncated, but you can view the full file.
{
"id": "b5afe1d4f024079d687bf9184b1ad401",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.4",
"solcLongVersion": "0.8.4+commit.c7e474f2",
"input": {
"language": "Solidity",
"sources": {
"contracts/Greeter.sol": {