Skip to content

Instantly share code, notes, and snippets.

View nnamdei's full-sized avatar
💭

namdi nnamdei

💭
View GitHub Profile
@nnamdei
nnamdei / assessment-java-overview.md
Created August 28, 2023 06:09 — forked from IntrepidDemian/assessment-java-overview.md
Java Backend Software Engineer Take-Home Assessment

Java Backend Software Engineer Take-Home Assessment

This assessment is an opportunity for the candidate to provide examples of their knowledge and skills using technologies and practices they may see working for Intrepid Networks. It is also an opportunity for the Intrepid Networks software development team to evaluate the candidate's use of these skills and technologies. This assessment will be used as points of discussion during any additional interviews.

Your challenge

MVP Project

This project is the only part of this challenge we consider required. Create a project that can be tested with Postman (No frontend component required for this project) so that we are able to complete CRUD operations via the REST API. The user summary, technical summary, and user stories for this project are listed below in the [fictitious-company-inc-blog-app-requirements-mvp.md](https://gist.github.com/IntrepidDemian/b6add456dc3af28e9e959bcc6a244be2#file-fictitious-company-inc-blog-app-requiremen

import 'package:search_fm/data/programme/programme_model.dart';
const List days = [
{"label": "Mon", "day": "01"},
{"label": "Tue", "day": "02"},
{"label": "Wed", "day": "02"},
{"label": "Thu", "day": "03"},
{"label": "Fri", "day": "04"},
{"label": "Sat", "day": "05"},
{"label": "Sun", "day": "06"},
@nnamdei
nnamdei / letsencrypt_2020.md
Created November 24, 2020 13:21 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SSL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)


Virtual hosts

Let's say you want to host domains first.com and second.com.

Create folders for their files:

@nnamdei
nnamdei / gist:8de0b08619b49023b8c073fc731bf7f2
Created June 30, 2020 07:41 — forked from voskobovich/gist:537b2000108e4781f70b
List of most currency ISO code and symbol format in SQL.
DROP TABLE currency;
-- Create table variable
CREATE TABLE currency (
name VARCHAR(20),
code VARCHAR(3),
symbol VARCHAR(5)
);
ALTER TABLE currency CONVERT TO CHARACTER SET utf8;
@nnamdei
nnamdei / media_query_extension.dart
Created May 5, 2020 15:03 — forked from slightfoot/media_query_extension.dart
Media Query Extension - by Simon Lightfoot
// MIT License
//
// Copyright (c) 2020 Simon Lightfoot
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
function loadTransactions() {
let tills = [];
let users = [];
let sales = 0;
let transact = 0;
let unique = 0;
sold_items = [];
sold = [];
@nnamdei
nnamdei / tabview_flutter.dart
Created April 22, 2020 09:05
custom_tabview_flutter
Container(
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
DefaultTabController(
length: 2,
initialIndex: 0,
child: Expanded(
child: Column(
<div>
<table cellpadding="0" cellspacing="0" role="presentation" class="wrapper" width="550px">
<tbody>
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0" role="presentation">
<tbody>
<tr>
<td style="vertical-align: top;">
<table cellpadding="0" cellspacing="0" role="presentation">
@nnamdei
nnamdei / OpenWithSublimeText3.bat
Created May 17, 2018 21:44 — forked from jackielii/OpenWithSublimeText3.bat
Add "Open with Sublime Text 3" to Windows Explorer Context Menu (including folders)
@echo off
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@nnamdei
nnamdei / minergateinstall.md
Last active December 14, 2017 13:19
minergate

For Azure setup, Click/Add a virtual machine

Add an Ubuntu Server 16.0.4 LTS

Create unique user details for server ())choose password instead of ssh keys) and leave default options on third page

Initiate Server setup and create an account at https://minergate.com/a/3ae744620d5174aeaebd046f

For windows, download Putty SSH client and on Linux, launch terminal and type sudo apt-get install putty