Skip to content

Instantly share code, notes, and snippets.

View i5dr0id's full-sized avatar
🤖
I'm not a robot

Israel i5dr0id

🤖
I'm not a robot
View GitHub Profile
@i5dr0id
i5dr0id / Python3 Virtualenv Setup.md
Created November 19, 2020 13:45 — forked from pandafulmanda/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3
router.post('/', async (req, res) => {
const Articles = new Article({
title: req.body.title,
description: req.body.description,
author: req.body.author
});
const article = await Articles.save()
console.log({article})
if (article) {
res.status(200).json(article)
@i5dr0id
i5dr0id / install virtualenv ubuntu 16.04.md
Created October 27, 2019 21:19 — forked from Geoyi/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
openapi: 3.0.0
info:
version: 1.0.0
title: Kafene API Documentation
description: Kafene API Documentation.
servers:
- url: https://stagingapi.kafene.com/v1
description: Development Server
openapi: 3.0.0
info:
version: 1.0.0
title: Kafene API Documentation
description: Kafene API Documentation.
servers:
- url: https://stagingapi.kafene.com/v1
description: Development Server
@i5dr0id
i5dr0id / README.md
Created May 2, 2019 22:32
Installing React-Native on Ubuntu

First, you'll need NodeJS and NPM:

sudo apt install curl
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
nodejs -v
v8.4.0
@i5dr0id
i5dr0id / adonisBasicAuthLogic.js
Created January 17, 2019 12:03 — forked from iamtunde/adonisBasicAuthLogic.js
Showing how to pass custom data to an object
async login({ request, auth, response }) {
try {
const { email, password } = request.all()
const attemptLogin = await auth.attempt(email, password)
if (attemptLogin) {
const user = await User.query().where({ email: email, isDeleted: false }).first()
//add the user token cred to the user object
@i5dr0id
i5dr0id / Industries.csv
Created January 11, 2019 09:58 — forked from mbejda/Industries.csv
Compiled list of industries.
Industry
Accounting
Airlines/Aviation
Alternative Dispute Resolution
Alternative Medicine
Animation
Apparel/Fashion
Architecture/Planning
Arts/Crafts
Automotive
@i5dr0id
i5dr0id / irc.md
Created March 30, 2018 20:45 — forked from xero/irc.md
irc cheat sheet

#IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

##The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
    • Leaves the specified channel.
@i5dr0id
i5dr0id / cloudSettings
Last active November 14, 2021 21:23 — forked from easymax1069/cloudSettings
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-11-14T21:23:12.015Z","extensionVersion":"v3.4.3"}