The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
<div class="wrap"> | |
<div class="cal"> | |
<ul class="ctrls"> | |
<li class="close"><a href="#"></a></li> | |
<li class="min"><a href="#"></a></li> | |
<li class="max"><a href="#"></a></li> | |
</ul> | |
<span class="title">Calculator</span> |
<div class="none"> | |
choyan | |
</div> |
/* curtain */ | |
background-color: blue; | |
background-image: linear-gradient(33deg, #b00 3px, transparent 23px), | |
linear-gradient(155deg, #d02 23px, transparent 23px), | |
linear-gradient(375deg, #b00 23px, transparent 23px), | |
linear-gradient(155deg, #d00 23px, transparent 23px); | |
background-size: 58px 8px; | |
background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px; |
/* Pounding heart animation */ | |
body { text-align: center; background: #000; } | |
.wr { | |
margin:auto; | |
width:400px; | |
height:300px; | |
} | |
@keyframes diams1 { | |
from { transform:rotate(00deg); color:#c0c0c0; } | |
50% { transform: scale(2); } |
Open the terminal and type in the following | |
ping 192.168.1.1 | |
You should get replies not host not found or request timed out. I am assuming the 192.168.1.1 is your router's IP address. | |
If the above worked it means it's connected to the router. Next try ping google servers and see if you are able to | |
ping www.google.com | |
if that works you should be able to access the internet but if it doesn't there might be a problem with DNS. If so try pinging the IP address of google servers just to make sure it can be reached via IP address |
To do so on terminal: | |
gksu gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla | |
Replace gedit with your favorite editor’s command. This command will open a blank file. Copy and paste these lines: | |
[Enable Hibernate] | |
Identity=unix-user:* | |
Action=org.freedesktop.upower.hibernate | |
ResultActive=yes |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://npmjs.org/install.sh | sh |
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme", | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", | |
"CVS", |
# ============================================================================= | |
# Functions | |
# ============================================================================= | |
powerlevel9k_random_color(){ | |
printf "%03d" $[${RANDOM}%234+16] #random between 16-250 | |
} | |
zsh_wifi_signal(){ | |
local signal=$(nmcli -t device wifi | grep '^*' | awk -F':' '{print $6}') | |
local color="yellow" |