Skip to content

Instantly share code, notes, and snippets.

View EDDYMENS's full-sized avatar
🏕️

Edmond Mensah EDDYMENS

🏕️
View GitHub Profile
<?php
echo "Admin page here";
<?php
# This file was automatically generated by the MediaWiki 1.35.2
# installer. If you make manual changes, please keep track in case you
# need to recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
@EDDYMENS
EDDYMENS / countries.json
Created June 22, 2019 10:11
List of countries with their currencies and codes details in JSON
[
{
"COUNTRY": "AFGHANISTAN",
"COUNTRY_CODE": "AFG",
"CURRENCY_CODE": "AFA",
"NAME_OF_CURRENCY": "Afghani"
},
{
"COUNTRY": "ALBANIA",
<script>
var questions = {
"#index": {
question: "Which service do you use?",
options: [
{
description: "a) Service Only",
action: "#feedback-type"
},
{
swagger: "2.0"
info:
description: "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters."
version: "1.0.0"
title: "Swagger Petstore"
termsOfService: "http://swagger.io/terms/"
contact:
email: "apiteam@swagger.io"
license:
name: "Apache 2.0"
openapi: 3.0.0
info:
description: The books endpoint keeps a record of books and their page numbers
version: 1.0.0
title: Book API
servers:
- url: https://lit-taiga-02928.herokuapp.com
- url: http://lit-taiga-02928.herokuapp.com
paths:
/:
<?php
class MiniRetirement {
private $workedYears = 0;
private $retirementYears = 0;
private $totalYears = 0;
private $unaccountedYears = 0;
public function __construct($totalYears) {
Blog images in the comment
alert("shows up");
@EDDYMENS
EDDYMENS / reqres.openapi.json
Last active March 5, 2023 09:50
Reqres Open API Spec
{
"openapi": "3.0.3",
"info": {
"title": "SDK example - OpenAPI 3.0",
"description": "This spec is meant to demonstrate how to use the SDK generator by readme.io",
"version": "1.0.11"
},
"servers": [
{
"url": "https://reqres.in/api"