Skip to content

Instantly share code, notes, and snippets.

View Ifejeremiah's full-sized avatar

Ife Jeremiah Ifejeremiah

View GitHub Profile
@Ifejeremiah
Ifejeremiah / CMD Commands for running Kafka on Windows.md
Created January 31, 2023 10:11
CMD Commands for running Kafka on Windows

Running Kafka on Windows using CMD Commands.

Download Kafka, a open-source software platform developed by LinkedIn to handle real-time data.

Getting Started:

  • Run Command Line as Administrator.

  • Run command to start up zookeeper server.

Configure IntelliJ to Download dependencies over A Proxy Server.

Environment as at writing:

Build #IU-223.8214.52, built on December 20, 2022

Runtime version: 17.0.5+1-b653.23 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
@Ifejeremiah
Ifejeremiah / GitConfigHttpProxy.md
Created November 16, 2022 15:37 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@Ifejeremiah
Ifejeremiah / Connecting to MSSQL server.md
Created November 14, 2022 21:56
Connecting to MSSQL server.md

Connecting MSSQL server to Spring-Boot application

SOLVING TCP/IP CONNECTION ERROR

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: “Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.”.  

The environments used as at writing:

@Ifejeremiah
Ifejeremiah / eclipse-git
Last active October 27, 2022 14:41
How to add existing GitHub project to eclipse
- Create GitHub accout and signin
- Start a project = Create a git repo
- Start Eclipse
Don't have Eclipse? Install here: https://www.eclipse.org/downloads/
- On Eclipse, goto Perspective -> Git Repositories -> Add Git Repo
Eclipse Shortcut Keys for Code Editing
https://www.codejava.net/ides/eclipse/25-eclipse-shortcut-keys-for-code-editing
REACT SETUP
- Create React workspace using Create React App CLI
$ npx create-react-app my-app
- Create React workspace in current directory
$ npx create-react-app .
- Go into workspace directory
$ cd my-app
@Ifejeremiah
Ifejeremiah / typescript-crash.ts
Created June 22, 2022 12:31 — forked from bradtraversy/typescript-crash.ts
Basic intro to TypeScript (From YouTube Crash Course)
// Basic Types
let id: number = 5
let company: string = 'Traversy Media'
let isPublished: boolean = true
let x: any = 'Hello'
let ids: number[] = [1, 2, 3, 4, 5]
let arr: any[] = [1, true, 'Hello']
// Tuple
@Ifejeremiah
Ifejeremiah / express-angular-commands.txt
Last active June 11, 2022 09:15
Express and Angular commands in building a new full stack project
EXPRESS :
- Install express generator globally :
$ npm install -g express-generator
- Generate express app, with Pug as view engine :
$ express --view=pug --git
- Generate express app, with NO VIEW, basically from API development :
$ express --no-view --git