Skip to content

Instantly share code, notes, and snippets.

View Ahrry's full-sized avatar

Ahrry Gopal Ahrry

View GitHub Profile
<html>
<head>
<title>>Todo list</title>
</head>
<body>
<input class="new-item" type="text">
<a id="add"href="#">add</a>
<ul id="todolist">
<html>
<head>
<title>Bootstrap responsive</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<style>
.well-icon {
font-size:40px;
text-align:center;
}
@Ahrry
Ahrry / Templateemailing
Created June 25, 2014 11:00
Template emailing - Before de l'hippodrome by PMU
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=320, target-densitydpi=device-dpi">
<style type="text/css">
/* Mobile-specific Styles */
@media only screen and (max-width: 660px) {
table[class=w0], td[class=w0] { width: 0 !important; }
table[class=w10], td[class=w10], img[class=w10] { width:10px !important; }
table[class=w15], td[class=w15], img[class=w15] { width:5px !important; }
table[class=w30], td[class=w30], img[class=w30] { width:10px !important; }
table[class=w60], td[class=w60], img[class=w60] { width:10px !important; }
table[class=w125], td[class=w125], img[class=w125] { width:80px !important; }
@Ahrry
Ahrry / onbeforeunload bug
Created February 21, 2012 14:30
onbeforeunload bug
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Conforming XHTML 1.0 Strict Template</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.js"></script>
<script type="text/javascript">
function unloadPage(){
@Ahrry
Ahrry / exo 1
Created October 21, 2011 13:05
exo 1
tab = []
15.times do |i|
tab << rand(100)
tab << "foo#{i}".to_sym
end
hash = {}
tab.each_with_index{|v, i| hash[v] = tab[i-1] if i.odd?}
==> Downloading http://libav.org/releases/libav-0.6.2.tar.bz2
File already downloaded and cached to /Library/Caches/Homebrew
/usr/bin/tar xf /Library/Caches/Homebrew/ffmpeg-0.6.2.tar.bz2
==> ./configure --disable-debug --prefix=/usr/local/Cellar/ffmpeg/0.6.2 --enable-shared --enable-pthreads --enable-nonfree --enable-gpl --disable-indev=jack --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libfaad
./configure --disable-debug --prefix=/usr/local/Cellar/ffmpeg/0.6.2 --enable-shared --enable-pthreads --enable-nonfree --enable-gpl --disable-indev=jack --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libfaad
ERROR: libfaad not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-user@libav.org mailing list or IRC #libav on irc.freenode.net.