Skip to content

Instantly share code, notes, and snippets.

View randol696's full-sized avatar
🏠
Working from home

Randol H Gonzalez randol696

🏠
Working from home
View GitHub Profile
@amitkhare
amitkhare / Nginx RTMP module on Ubuntu 18.04.md
Last active December 2, 2024 06:01
Nginx RTMP module on Ubuntu 18.04 with RTMPS support for Facebook live streaming Hardware and Software live-streaming encoders have typically used the RTMP streaming protocol. With the Facebook enforcement of the RTMPS encrypted live-stream some older hardware and software encoders can no longer work. By using the method below we can convert RTM…

update

sudo apt-get update
sudo apt-get upgrade

install nginx

sudo apt-get install nginx -y
sudo apt-get install libnginx-mod-rtmp -y
@JeffOgah
JeffOgah / cash-register.js
Created February 23, 2019 07:03
JavaScript Algorithms and Data Structures Projects: Cash Register
/* Desc: Design a cash register drawer function checkCashRegister() that accepts purchase price as the first argument (price),
payment as the second argument (cash), and cash-in-drawer (cid) as the third argument.
The checkCashRegister() function should always return an object with a status key and a change key.
Full description at => https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/cash-register/
*/
function checkCashRegister(price, cash, cid) {
var change = cash - price; //change due
let totalCash = 0; //variable to hold total cash in register
@MohamedRamadanSaad
MohamedRamadanSaad / files
Created May 31, 2015 23:39
Files i/o in C++ all operations insert , delete, view , update
#include<iostream.h>
#include<fstream.h>
class Inventory{
public:
char Prouduct_id[5];
char Prouduct_name[10];
char Prouduct_ammount[5];