This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ping":"pong", | |
"jcalado":"jcalado is awesome", | |
"python":"python > node" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tile { | |
max-width:200px !important; | |
} | |
video { | |
max-width:200px !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"emojis": [ | |
{"emoji": "👩👩👧👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👧👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👦👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👨👩👧👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM maxmcd/gstreamer:1.14-buster | |
WORKDIR /usr/src | |
RUN apt-get update && apt-get install -y python3-pip \ | |
pkg-config \ | |
libcairo2-dev \ | |
gcc \ | |
python3-dev \ | |
libgirepository1.0-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import ssl | |
import websockets | |
import asyncio | |
import os | |
import sys | |
import json | |
import argparse | |
import string | |
from websockets.exceptions import ConnectionClosed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<div id="results" style="overflow:scroll;max-height:300px;"> | |
starting... | |
</div> | |
<script> // https://jsfiddle.net/steveseguin/0t3ayvk8/31/ | |
var connectionID = Math.random()*100000001; // we need to create a stream ID; it needs to be secure/unique, up to ~50 chars. | |
function RecvDataWindow(){ | |
var iframe = document.createElement("iframe"); | |
iframe.src = "https://vdo.ninja/?view="+connectionID+"&cleanoutput"; // See the info at docs.vdo.ninja for options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Daily progress updates and nightly new features for VDO.Ninja can be view at: | |
https://updates.vdo.ninja | |
You can also Join the Discord server at https://discord.vdo.ninja and follow the channel #updates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To connect to MongoDB with Python, you will need to use a third-party library such as PyMongo. PyMongo is a Python distribution containing tools for working with MongoDB, and is the recommended way to work with MongoDB from Python. | |
Here's an example of how you can use PyMongo to connect to a MongoDB database and perform some basic operations: | |
Copy code | |
import pymongo | |
# Connect to the database | |
client = pymongo.MongoClient("mongodb://localhost:27017/") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is a recipe for a dish called "faux-rogies" that is inspired by pierogies but uses a few different ingredients: | |
Faux-rogies | |
Ingredients: | |
1 cup all-purpose flour | |
1/2 cup water | |
1/2 tsp salt | |
1/4 cup grated cheddar cheese |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install xmltodict markdownify | |
import xmltodict | |
import markdownify | |
import os | |
import requests | |
from urllib.parse import urlparse | |
import re | |
import time |