Skip to content

Instantly share code, notes, and snippets.

View valkheim's full-sized avatar
🔥
ORUGKIDHMFWWKCQ=

valkheim

🔥
ORUGKIDHMFWWKCQ=
View GitHub Profile
@valkheim
valkheim / functional_c++.cpp
Created February 15, 2018 18:12
functionnal c++
#include <vector>
#include <numeric>
#include <cstdio>
auto foldable(auto col) {
return [col](auto f, auto initial) {
return std::accumulate(col.begin(), col.end(), initial, f);
};
}
@valkheim
valkheim / intra_api.md
Created December 18, 2017 11:58 — forked from DupK/intra_api.md
Non-official list of Epitech Intra API endpoints

Epitech API

Epitech's API is located at https://intra.epitech.eu/ and for the most part is any intranet page with the format=json param added.

Authentication

To access most endpoints a PHPSESSID cookie must be set to an authenticated session. Authentification can be done with an autologin code or via Office 365 oauth.

Endpoints

API endpoints and what they require and do. JSON file of endpoints below the documentation.

root sur blinux4 El Tigre

  • grub : e pour entrer dans la conf de l'entrée BLINUX 4.0 El Tigre
  • ajouter init=/bin/sh a la ligne commençant par linuxefi
  • F10
  • su -
  • sudo mount -o remount, rw /
  • passwd
  • sync
  • CTRL-D CTRL-D