Skip to content

Instantly share code, notes, and snippets.

Avatar
🔥
Developing Platforms

Prosper Otemuyiwa unicodeveloper

🔥
Developing Platforms
View GitHub Profile
View gist:edd979dfbebcfc7f9229ed07f4d2c29c
{"name":"Error","stack":"Error: write EPROTO 140455755663232:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802:\n\n at _errnoException (util.js:992:11)\n at WriteWrap.afterWrite [as oncomplete] (net.js:864:14)","message":"write EPROTO 140455755663232:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802:\n"}
View sp_specifics.js
[
{
serviceProviderID: 9,
specifics: "Egg sauce, Meat"
},
{
serviceProviderID: 7,
specifics: "Beans, Spaghetti"
},
{
View plan_details.js
{"meal":{"frequency":"weekly","item":null,"qty":2,"service_day":"monday"},"laundry":{"frequency":"bi-weekly","item":"wash and fold","qty":2,"service_day":"tuesday"},"cleaning":{"frequency":"weekly","item":"light cleaning","qty":3,"service_day":"wednesday"},"ac":{"frequency":"quarterly","item":"ac","qty":3,"service_day":"thursday"}}
View post-from-spleet-to-eden.js
import 'dotenv/config';
import express from 'express';
import axios from 'axios';
import cors from 'cors';
import crypto from 'crypto';
const app = express();
app.use(cors());
app.use(express.json());
View post-from-spleet-to-eden.php
<?php
$payload = [
'event' => 'customer.subscribed',
'data' => [
'fullName': ‘olori baba’,
'email': ‘givethem@yahoo.com’ ,
'phoneNo': ‘08023975521’ ,
'homeAddress': ‘7, Marlian HQ’ ,
'landmark': ‘Near Mafo Studios’ ,
View post-from-fibre-to-eden.js
import 'dotenv/config';
import express from 'express';
import axios from 'axios';
import cors from 'cors';
import crypto from 'crypto';
const app = express();
app.use(cors());
app.use(express.json());
View post-from-fibre-to-eden.php
<?php
$payload = [
'event' => 'customer.created',
'data' => [
'full_name' => 'Mark Fish',
'email' => 'takeit@chairman.com'
]
];
View individualcomponents.js
const User = ({ id, children }) => {
<Query query={GET_USER} variables={{ userId }}>
{({ loading, data }) => (children({ user: data}))
</Query>
}
const UserStartup = ({ user: { email }, children }) => (
<Query query={GET_HACKERNEWS_STARTUP} variables={{ email }}>
{({ loading, data: { startup } }) => (
<Query query={GET_REPO} variables = {{ startup }}>
View refactored.js
<User id={id}>
{({ user }) => (
<UserStartup user={user}>
{
({ data: { startup, startup: { correspondingRepo: repo }}}) =>
<UI repo={repo} email={user.email} startup={startup}/>
}
</UserStartup>
)}
</User>