Skip to content

Instantly share code, notes, and snippets.

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

Lochemem Bruno Michael ace411

🏠
Working from home
View GitHub Profile
@ace411
ace411 / App.js
Last active August 18, 2022 17:43
Bryntum Gantt and React + Apollo GraphQL
import { BryntumGantt } from '@bryntum/gantt-react'
import useGanttConfig from './GanttConfig'
import './App.scss'
const App = () => {
const ganttConfig = useGanttConfig()
return (
<>
<BryntumGantt {...ganttConfig} />
@ace411
ace411 / api.php
Last active July 13, 2022 10:23
Streaming ReactPHP in ReactJS
<?php
declare(strict_types=1);
namespace App\Api;
use App\Constants;
use App\Filesystem;
use React\EventLoop\Loop;
use React\Http\Message\Response;
@ace411
ace411 / scraper.cc
Created May 11, 2022 16:46
Web Scraping with C++
#include "iostream"
#include "string"
#include "algorithm"
#include "curl/curl.h"
#include "gumbo.h"
#include "string.h"
typedef size_t (*curl_write)(char *, size_t, size_t, std::string *);
std::string request(std::string word)
@ace411
ace411 / scraper.pl
Created May 4, 2022 15:09
Web Scraping with Perl
#!/usr/bin/perl -w
use 5.30.0;
use LWP::UserAgent;
use HTML::TreeBuilder;
use HTML::FormatText;
use HTML::Element;
use Encode;
use warnings;
use open qw(:std :utf8);
@ace411
ace411 / Basketball.php
Last active May 22, 2017 12:17
Using the fauxton client with Bingo MVC and ReactJS
<?php
/**
* Controller for the CouchDB-React-Bingo project
*
* @package The Bingo Framework
* @author Lochemem Bruno Michael
*/
namespace App\Controllers;