Skip to content

Instantly share code, notes, and snippets.

View wuyiadepoju's full-sized avatar
🎯
Focusing

Wuyi Adepoju wuyiadepoju

🎯
Focusing
  • Gbaski
  • Nigeria
  • 02:46 (UTC +01:00)
View GitHub Profile
{
"public_identifier": "a-wuyi-adepoju-75421453",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/a-wuyi-adepoju-75421453/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20240809%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20240809T171634Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=9aff51b85c5eef654bfdcde34b71a1620179d8a59ab83f3d7aeb35cdbc30a0bc",
"background_cover_image_url": null,
"first_name": "A. Wuyi",
"last_name": "Adepoju",
"full_name": "A. Wuyi Adepoju",
"follower_count": 1301,
"occupation": "Backend Golang Developer - REST API Development at Freelance",
"headline": "Backend Golang Developer",
@wuyiadepoju
wuyiadepoju / install_ffmpeg_libfdkaac.sh
Created May 22, 2020 03:55 — forked from rafaelbiriba/install_ffmpeg_libfdkaac.sh
Install FFmpeg with libfdk_aac support (For Ubuntu)
# Criando um script .sh para executar todos os comandos:
#root@servidor:~# vi script.sh
#root@servidor:~# chmod +x script.sh
#root@servidor:~# ./script.sh
apt-get update
apt-get -y install autoconf automake build-essential git-core libass-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libvdpau-dev libvorbis-dev libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev libmp3lame-dev nasm gcc yasm && true
mkdir ~/ffmpeg_sources
cd ~/ffmpeg_sources
git clone --depth 1 git://github.com/mstorsjo/fdk-aac.git
@wuyiadepoju
wuyiadepoju / sql-mongo_comparison.md
Created January 27, 2020 14:36 — forked from aponxi/sql-mongo_comparison.md
MongoDb Cheat Sheets

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.

@wuyiadepoju
wuyiadepoju / README.md
Created October 7, 2019 08:48 — forked from pbojinov/README.md
Two way iframe communication- Check out working example here: http://pbojinov.github.io/iframe-communication/

Two way iframe communication

The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.

Parent

Send messages to iframe using iframeEl.contentWindow.postMessage Recieve messages using window.addEventListener('message')

iframe

@wuyiadepoju
wuyiadepoju / media-query.css
Created March 30, 2019 13:11 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@wuyiadepoju
wuyiadepoju / stuns
Created May 5, 2018 21:57 — forked from yetithefoot/stuns
STUN+TURN servers list
{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
@wuyiadepoju
wuyiadepoju / currency_symbols.php
Created June 9, 2017 17:30 — forked from gibbs/currency_symbols.php
An array of currency symbols as HTML entities
<?php
$currency_symbols = array(
'AED' => '&#1583;.&#1573;', // ?
'AFN' => '&#65;&#102;',
'ALL' => '&#76;&#101;&#107;',
'AMD' => '',
'ANG' => '&#402;',
'AOA' => '&#75;&#122;', // ?
'ARS' => '&#36;',
'AUD' => '&#36;',

SQLite3 Electron windows integration

This guide is based on the very informative discussion in this article: Using node_sqlite3 with Electron

Install sqlite3

npm install sqlite3 --save