Skip to content

Instantly share code, notes, and snippets.

🖥
Coding...

us͡an̸df͘rien͜ds͠ usandfriends

🖥
Coding...
Block or report user

Report or block usandfriends

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@usandfriends
usandfriends / main.py
Created Jun 6, 2019
Twitter Bot that responds to mentions with human faces in the media. Takes the face, runs emotion detection, and edits it into a corresponding photo of a flower.
View main.py
import os
import time
import pickle
import urllib3 as urllib
import numpy as np
import cv2 as cv
from keras.models import load_model
from keras.applications import VGG16
import tweepy
View app.js
require('express')()
.get('/', (req, res) => res.send('Hello World!'))
.listen(3000, () => console.log(`Example app listening on port ${3000}!`));
@usandfriends
usandfriends / config.js
Last active Mar 18, 2019
IRC Javascript Runner
View config.js
var config = {
server: 'irc.freenode.net', /**< Server address */
userName: 'jsrunner', /**< Display name */
realName: 'Javascript/Typescript/Coffeescript Runner', /**< Real name */
password: undefined, /**< Password (plaintext string) */
port: 6667, /**< Server port */
debug: false,
showErrors: false,
autoRejoin: false,
autoConnect: false,
You can’t perform that action at this time.