Skip to content

Instantly share code, notes, and snippets.

View voidfire's full-sized avatar
🎯
Focusing

voidfire

🎯
Focusing
  • Greece
View GitHub Profile
@voidfire
voidfire / stream.js
Created August 9, 2020 01:02 — forked from syntaxhacker/stream.js
NodeJS Mp3 Streaming ExpressJS
var express = require('express');
var app = express();
var fs = require('fs');
app.listen(3000, function() {
console.log("[NodeJS] Application Listening on Port 3000");
});
app.get('/api/play/:key', function(req, res) {
var key = req.params.key;
@voidfire
voidfire / List.md
Created May 29, 2019 12:42 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

<?php
///////////////////////////////////////////////////
// STEP 1 - CREATE CLASS THAT WILL BE USED GLOBALY
///////////////////////////////////////////////////
namespace App\MyApp;
class MyApp {
public function sayHello($data = [])
{
echo "Hello World from Facade!";
}