Skip to content

Instantly share code, notes, and snippets.

View mqu's full-sized avatar
🏠
Working from home

Marc Quinton mqu

🏠
Working from home
  • DGAC / DTI
  • Toulouse / France
View GitHub Profile
@mqu
mqu / docker_svn-server.md
Created July 20, 2023 14:10 — forked from dpmex4527/docker_svn-server.md
Set up SVN server on docker
@mqu
mqu / echo.rb
Created August 10, 2022 14:39 — forked from dtchepak/echo.rb
Simple Ruby HTTP server to echo whatever GET or POST requests come through. Largely based on https://www.igvita.com/2007/02/13/building-dynamic-webrick-servers-in-ruby/.
# Reference: https://www.igvita.com/2007/02/13/building-dynamic-webrick-servers-in-ruby/
require 'webrick'
class Echo < WEBrick::HTTPServlet::AbstractServlet
def do_GET(request, response)
puts request
response.status = 200
end
def do_POST(request, response)
puts request
@mqu
mqu / README.md
Last active June 19, 2020 08:11 — forked from ukautz/README.md
Dump LDAP search result as JSON

What can you do with ldapsearch outputs? Not much. With JSON, though ..

# from LDAP search tool ...
ldapsearch -h 127.0.0.1 -p 10389 \
	-D "cn=me,ou=Acme,dc=local" -w 'mypa$$w00t" \
	-b "ou=machines,ou=Acme,dc=local" \
	-s sub "(objectclass=machine)"
@mqu
mqu / readme.md
Last active May 15, 2024 13:40 — forked from anonymous/tisseo.rb
classe Ruby permettant l'accès à l'API TISSEO

TISSEO API for Ruby Language

Vous trouverez sur ce site, une interface (API) de programmation en langage Ruby pour adresser le Webservice TISSEO. Ce travail est en cours de réalisation (Work in progress). Soyez donc indulgents.

mots clés : TISSEO, API, REST, Ruby, Webservices, transport, metro, Toulouse.

#Introduction

@mqu
mqu / apn-config.txt
Created November 3, 2015 07:44 — forked from anonymous/apn-config.txt
configuration APN / Orange / Forfait Let's Go
Nom : orange
APN : orange.fr
Nom d'utilisateur : orange
Mot de passe : orange
MCC : 208
MNC : 01
Type d'authentification : PAP
Type d'APN : default
keywords : APN, Android, 3G, 4G, orange, let's Go, ISP.
@mqu
mqu / proxy.rb
Created May 26, 2013 07:31 — forked from torsten/proxy.rb
#!/usr/bin/env ruby
# A quick and dirty implementation of an HTTP proxy server in Ruby
# because I did not want to install anything.
#
# Copyright (C) 2009 Torsten Becker <torsten.becker@gmail.com>
require 'socket'
require 'uri'