Skip to content

Instantly share code, notes, and snippets.

View pavarotti305's full-sized avatar

Lucien NTUMBA pavarotti305

View GitHub Profile
@pavarotti305
pavarotti305 / Linux Static IP
Created November 18, 2015 09:57 — forked from fernandoaleman/Linux Static IP
How To Configure Static IP On CentOS 6
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
<?php
$useragent = 'Mozilla/41.0.2';
$url = 'http://lucien.com';
$ch = curl_init();
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$result=curl_exec ($ch);
curl_close ($ch);
@pavarotti305
pavarotti305 / gist:f14bf707f118084e7449
Created November 5, 2015 15:03
Random_Operation_Math
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title>RandomCalcul</title>