Skip to content

Instantly share code, notes, and snippets.

View muayyad-alsadi's full-sized avatar

Muayyad Alsadi muayyad-alsadi

View GitHub Profile
/* thumbnails alignment bug fix, see https://github.com/twitter/bootstrap/issues/3494 */
.row-fluid .thumbnails [class*="span"] {
margin-right: 2.5641%;
}
.row-fluid .thumbnails [class*="span"]:first-child {
margin-right: 2.5641%;
margin-bottom: 0;
}
/*
// bug fixed
@muayyad-alsadi
muayyad-alsadi / Http.php
Last active August 16, 2019 09:40
proposed solr client
<?php
class Http {
protected $_opt = array(
CURLOPT_USERAGENT=>'Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1',
CURLOPT_HEADER => 0,
CURLOPT_HTTPHEADER=>array('Expect: '),
CURLOPT_FRESH_CONNECT => 0,
CURLOPT_FORBID_REUSE => 0,
CURLOPT_BINARYTRANSFER => 1,
CURLOPT_RETURNTRANSFER => 1,