Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Zahidul Hossain choyan

🎯
Focusing
View GitHub Profile
@choyan
choyan / index.html
Created Oct 31, 2012
A CodePen by Matt Boldt. CSS3 & jQuery Calculator - Now fully functional! Saw this graphic posted on Forrst and decided to code it.
View index.html
<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>
@choyan
choyan / index.html
Created Oct 31, 2012
A CodePen by choyan. TEsting Transition
View index.html
<div class="none">
choyan
</div>
View dabblet.css
/* 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;
@choyan
choyan / dabblet.css
Created Dec 15, 2012 — forked from MizR/dabblet.css
Pounding heart animation
View dabblet.css
/* 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); }
@choyan
choyan / wired
Last active Dec 19, 2015
Wired Network Connection Necessary
View wired
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
@choyan
choyan / gist:6884351
Created Oct 8, 2013
Hibernate on ElementaryOS
View gist:6884351
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
View node-and-npm-in-30-seconds.sh
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
View Contract Killer 3.md

Contract Killer

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

View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2014
Copyright (C) 2014 Addy Osmani @addyosmani
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE