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
{ | |
"meta": { | |
"theme": "paper" | |
}, | |
"basics": { | |
"name": "Ofonime Francis Usoro", | |
"label": "Software Engineer", | |
"image": "https://avatars.githubusercontent.com/u/26252218?v=4", | |
"summary": "Enthusiastic backend engineer, with 4+ years experience developing web applications and REST api clients. I am dedicated to continuous self improvement and learning new concepts to ease engineering and increase productivity.", | |
"email": "ofonimeusoro01@gmail.com", |
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
{ | |
"meta": { | |
"theme": "Kendall" | |
}, | |
"basics": { | |
"name": "Keyisha Leeza Kalengeraye", | |
"label": "Product Designer", | |
"image": "https://firebasestorage.googleapis.com/v0/b/syndicate-25006.appspot.com/o/kkimage.jpeg?alt=media&token=f00cba21-0614-4446-be8c-67544db3bd80", | |
"summary": "I am a Product (UI/UX) designer who creates compelling user experience through user interface for early stage startups to help them increase acquisition and help them understand the user's pain points through user research.", | |
"email": "kkagaju@gmail.com", |
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
package main | |
import ( | |
"fmt" | |
) | |
type LinkedList struct { | |
Elements *LinkedList | |
Head *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
import ( | |
"container/list" | |
"sync" | |
) | |
type LRUCache struct { | |
lock sync.Mutex | |
cache map[int]*list.Element | |
ll *list.List | |
capacity int |
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
# best practice: linux | |
nano ~/.pgpass | |
*:5432:*:username:password | |
chmod 0600 ~/.pgpass | |
# best practice: windows | |
edit %APPDATA%\postgresql\pgpass.conf | |
*:5432:*:username:password | |
# linux |
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
package main | |
import ( | |
"container/heap" | |
"fmt" | |
"math/rand" | |
"time" | |
) | |
const nRequester = 100 |
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
package promo | |
import ( | |
"context" | |
"log" | |
"math" | |
"net/http" | |
"time" | |
"googlemaps.github.io/maps" |
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
const path = require('path') | |
const {app, Menu, BrowserWindow, ipcMain } = require('electron') | |
const {readFileSync} = require('fs') | |
const fs = require('fs') | |
const listViewHtml = readFileSync(path.join(__dirname, '../components/listView.html'), 'utf-8') | |
ipcMain.on('listview', (event, arg) => { | |
event.returnValue = listViewHtml |
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
const ipc = require('electron').ipcRenderer | |
const listView = document.getElementById('nav__list') | |
listView.addEventListener('click', () => { | |
const listing = ipc.sendSync('listview', 'see listings') | |
document.getElementById('main-content').innerHTML = listing | |
}) |
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
<script> | |
// You can also require other files to run in this process | |
require('../renderer/index.js') | |
require('../renderer/dialog.js') | |
</script> |
NewerOlder