Skip to content

Instantly share code, notes, and snippets.

View akhbar's full-sized avatar
🧵
Focusing

akhbar akhbar

🧵
Focusing
View GitHub Profile
@akhbar
akhbar / dabblet.css
Created July 10, 2013 09:53 — forked from anonymous/dabblet.css
css 3d animation, how? (SO)
/**
* css 3d animation, how? (SO)
* http://stackoverflow.com/q/9812196/1397351
*/
body { perspective: 50em; }
.cube {
position: relative;
margin: 8em auto 0; /* centering */
padding: 0; /* reset unordered list default */
width: 16em; height: 16em; /* change block element default */
@akhbar
akhbar / dabblet.css
Created July 10, 2013 10:01
Matrix 3d transform for obtaining trapezoid? (SO)
/**
* Matrix 3d transform for obtaining trapezoid? (SO)
* http://stackoverflow.com/q/14480341/1397351
*/
.doors {
margin: 7em auto;
width: 16em; height: 16em;
perspective: 35em;
}
.door {
@akhbar
akhbar / html
Created August 18, 2013 05:48
html markups
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div class="wrapper">
<ul>
<li>Menu </li>
# Write a small function that returns the values of an array that are not odd.
# All values in the array will be integers. Return the good values in the order they are given.
def no_odds( values )
values.select &:even?
end
def no_odds( values )
values.find_all { |item| item % 2 == 0 }
end
@akhbar
akhbar / dabblet.css
Created September 18, 2014 18:15 — forked from LeaVerou/dabblet.css
Image slider with pure CSS
/**
* Image slider with pure CSS
* Original version in http://demosthenes.info/blog/css
*/
.image-slider {
position:relative;
display: inline-block;
line-height: 0;
}

###SSH into a remote machine###

ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1

exit: exit ###Install Something###

#If it's a new server, update apt-get first thing
@akhbar
akhbar / Slick-carousel---test.markdown
Created April 24, 2015 21:11
Slick carousel - test
@akhbar
akhbar / Site Mapper.markdown
Created November 2, 2015 07:31
Site Mapper
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶