Skip to content

Instantly share code, notes, and snippets.

View cgueret's full-sized avatar
🤓
I may be slow to respond.

Christophe Gueret cgueret

🤓
I may be slow to respond.
View GitHub Profile
@cgueret
cgueret / social_sustainability.txt
Created May 19, 2021 09:43
social_sustainability.txt
ESG – Social
Social criteria cover an extremely wide range of potential issues. There are many separate social aspects of ESG, but all of them are essentially about social relationships. One of the key relationships for a company, from the point of view of many socially responsible investors, is the company’s relationship with its employees. Following is a brief rundown of just some of the issues that may be considered when examining how a company handles its social relationships:
Is employee pay fair, or perhaps even generous, when compared to comparable jobs or to similar positions throughout the industry? What type of retirement plans are employees offered? Does the company contribute to the employee retirement plans?
In addition to basic wages or salary, what benefits or perks are employees provided with? With ESG-concerned investors, it can make a big difference in the evaluation of your company if, for example, you do things such as providing a free, very lavish buffet lunch for all employees every Frid
@cgueret
cgueret / keybase.md
Created March 5, 2019 13:17
keybase.md

Keybase proof

I hereby claim:

  • I am cgueret on github.
  • I am cgueret (https://keybase.io/cgueret) on keybase.
  • I have a public key ASAMtIKFyfgiuSJEw9HYzsapdrdWZ8VMzCZDOOPn6-Ej1Ao

To claim this, I am signing this object:

@cgueret
cgueret / cat.nq
Created December 21, 2016 15:44
RDF description for a cat, a picture and a dataset
# The RDF document describing the dataset
<http://example.org/cat> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> <http://example.org/cat> .
<http://example.org/cat> <http://www.w3.org/2000/01/rdf-schema#label> "RDF description for cats"@en-GB <http://example.org/cat> .
<http://example.org/cat> <http://purl.org/dc/terms/license> <http://www.gnu.org/copyleft/fdl.html> <http://example.org/cat> .
<http://example.org/cat> <http://xmlns.com/foaf/0.1/primaryTopic> <http://example.org/cats#id> <http://example.org/cat> .
<http://example.org/cats#id> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/ns/void#Dataset> <http://example.org/cat> .
<http://example.org/cats#id> <http://www.w3.org/2000/01/rdf-schema#label> "Cats !"@en-GB <http://example.org/cat> .
<http://example.org/cats#id> <http://rdfs.org/ns/void#subset> <http://example.org/image#id> <http://example.org/cat> .
# The document describing a picture and a cat
@cgueret
cgueret / search.php
Created June 24, 2016 11:15
Search for concepts on the RES platform
<?php
/**
* Search for entities
*
* This example issues a search against Acropolis and then enhance the result
* set by fetching additional data for each entry. The result is a set of
* entities available in the RES platform.
*
* The approach consists in issuing two calls:
* - Fetch a the simplified list of results
@cgueret
cgueret / get-assets.php
Created June 24, 2016 11:14
Searching for assets on the RES platform
<?php
/**
* Find assets associated to a particular topic
*
* In this example we search for all the assets related to a particular topic.
* This topic has to be identified by its URI. In order to find the relevant
* URI a first call to a search (see "search.php") can be necessary.
*
* @copyright Copyright (c) 2016 BBC
* @license http://unlicense.org/
@cgueret
cgueret / composer.json
Last active June 24, 2016 11:15
PHP snippets
{
"name": "guerec01/snippets",
"require": {
"easyrdf/easyrdf": "^0.9.1"
},
"authors": [
{
"name": "Christophe Gueret",
"email": "christophe.gueret@bbc.co.uk"
}
@cgueret
cgueret / looper.py
Created June 22, 2016 22:53
Look for loops in the trigger data
# encoding: utf-8
"""
Detects loops in the triggers
Heavily based on https://git.bbcarchdev.net/res/docker/blob/master/graphite/collect.py
"""
import logging
logging.basicConfig(level=logging.INFO)
import psycopg2
@cgueret
cgueret / content-neg-bug.py
Created June 3, 2015 08:50
Content negociation bug in Quilt
import requests
RESOURCE = "http://acropolis.org.uk/921df22045f949c5967a4d5e9dd0e653#id"
print "# No asking for anything"
r = requests.get(RESOURCE)
print 'Received {}'.format(r.headers['content-type'])
print r.text[:100]
print "\n# Asking for application/n-quads"
@cgueret
cgueret / raspi.logo
Last active August 29, 2015 14:18 — forked from nagromc/raspi.logo
@cgueret
cgueret / README.md
Last active August 29, 2015 14:09
CEDAR queries

This gist contains several queries that can be used against the data published by the project "CEDAR"