Skip to content

Instantly share code, notes, and snippets.

View SirPhemmiey's full-sized avatar
🎯
Focusing

Oluwafemi Akinde SirPhemmiey

🎯
Focusing
View GitHub Profile
@SirPhemmiey
SirPhemmiey / vs-code-turnoff-autocomplete.json
Created August 19, 2018 02:24 — forked from data-enhanced/vs-code-turnoff-autocomplete.json
Turn off autocompletion (intellisense) in MS Visual Studio Code
// Turn off autocomplete in Visual Studio Code
// http://code.visualstudio.com/
// Add the following lines to user settings
// OPTIONAL WORD WRAPPING
// Controls if lines should wrap. The lines will wrap at min(editor.wrappingColumn, viewportWidthInColumns).
"editor.wordWrap": true,
// Controls the indentation of wrapped lines. Can be one of 'none', 'same' or 'indent'.
"editor.wrappingIndent": "indent",
@SirPhemmiey
SirPhemmiey / mysort.js
Created December 23, 2018 04:33 — forked from Samuelachema/mysort.js
Write a mySort function which takes in an array integers, and should return an array of the inputed integers sorted such that the odd numbers come first and even numbers come last.
/*
JavaScript
Write a mySort function which takes in an array integers, and should return an array of the inputed integers sorted such that the odd numbers come first and even numbers come last.
For exampl1e:
mySort( [90, 45, 66, 'bye', 100.5] )
should return
[45, 66, 90, 100]

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@SirPhemmiey
SirPhemmiey / get_frozen_graph.py
Created January 30, 2020 08:42 — forked from Tony607/get_frozen_graph.py
How to run TensorFlow Object Detection model on Jetson Nano | DLology
import tensorflow as tf
def get_frozen_graph(graph_file):
"""Read Frozen Graph file from disk."""
with tf.gfile.FastGFile(graph_file, "rb") as f:
graph_def = tf.GraphDef()
graph_def.ParseFromString(f.read())
return graph_def
# The TensorRT inference graph file downloaded from Colab or your local machine.