Skip to content

Instantly share code, notes, and snippets.

View florentsolt's full-sized avatar
🍺
Having a pale ale

Florent Solt florentsolt

🍺
Having a pale ale
View GitHub Profile
{
"countries": [
{
"name": "Afghanistan",
"isoCode": "AF"
},
{
"name": "Albania",
"isoCode": "AL"
},
This file has been truncated, but you can view the full file.
9254835974458887629672873635789957411886024698554157393849494864228024962939550688297074527198420261051675205999609689838587412
7948702662533481896767559573369920938242346354580061545409242090168773727371802699309443935396635866263937828773324526334321892
7929250312741837331511829643632683169694074912332726993582394725302853411901337696207186358524323117172520907433878952968176465
9486937364148093931718552300016332142708943190856638524388888569011747617956915519539025796115901484762122047712200094207683584
0703675740855407318047361595661595146837376373951978537785605481083388906490085533348547865459237835407372374738389274773789264
3524314516560200536698529022539598732463389124803873184044464663165630452635665559603483233341839268186056673186867104904449866
3388466377320953222057779182433549144340237502432464295061371141084500222833875925546082542869030852833895137466510262849050187
2359980877010447170873386178573828860442255448874794721230413368694441497441338856684036949118353204002591974711928301953002372
@florentsolt
florentsolt / index.html
Last active January 29, 2018 16:08 — forked from d3noob/.block
Sankey from csv with d3.js
<!DOCTYPE html>
<meta charset="utf-8">
<title>SANKEY Experiment</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
<?xml version="1.0" encoding="utf-8"?>
<!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" xmlns:widget="http://www.netvibes.com/ns/">
<head>
<title>Web Scraping</title>
<meta name="keywords" content="image lien" />
<meta name="author" content="Florent Solt" />
<meta name="description" content="Get html content from a website without API" />
<?xml version="1.0" encoding="utf-8"?>
<!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" xmlns:widget="http://www.netvibes.com/ns/">
<head>
<title>Widget Title</title>
<meta name="keywords" content="image lien" />
<meta name="author" content="Nicolas Challeil" />
<meta name="description" content="Affiche une image cliquable, avec un titre" />
<?php
public function mget(Array &$recs)
{
System::tyrant('mget() #table');
$rnum = 0;
$cmd = "";
foreach ($recs as $key => $value) {
$cmd .= pack("N", strlen($key)) . $key;
$rnum++;
"^/([a-zA-Z0-9][a-zA-Z0-9_-]{0,48}[a-zA-Z0-9])(/\?(.*))?$" => "index.php?visit=$1&$3",
"^/([a-zA-Z0-9][a-zA-Z0-9_-]{0,48}[a-zA-Z0-9])/tab/([^\?]+)(\?(.*))?$" => "index.php?visit=$1&seoTabName=$2&$4"
root 2982 0.0 0.0 2200 892 ? Ss Feb22 0:01 /usr/sbin/cron
root 28402 0.0 0.0 2540 752 ? S Jun27 0:00 \_ /USR/SBIN/CRON
netvibes 28407 0.0 0.0 2412 900 ? Ss Jun27 0:00 | \_ /bin/sh -c cd /home/netvibes/eco.807 ; /bin/bash config/lucenejava/indexer2.sh antoine@netvibes.co
netvibes 28414 0.0 0.0 2948 996 ? S Jun27 0:00 | | \_ /bin/bash config/lucenejava/indexer2.sh antoine@netvibes.com,sys@netvibes.com
netvibes 25542 0.0 0.3 29676 15268 ? S Jul21 0:00 | | \_ php config/lucenejava/luceneIndexer.php 916 2011 antoine@netvibes.com,sys@netvibes.com
netvibes 28556 0.0 0.0 0 0 ? Z Jun27 0:00 | \_ [sendmail] <defunct>
root 21975 0.0 0.0 2540 752 ? S Jun28 0:00 \_ /USR/SBIN/CRON
netvibes 21980 0.0 0.0 2412 900 ? Ss Jun28 0:00 | \_ /bin/sh -c cd /home/netvibes/eco.807 ; /bin/bash config/lucenejava/indexer2.sh antoine@netvibes.co
netvibes 21985
We couldn’t find that file to show.
We couldn’t find that file to show.