Skip to content

Instantly share code, notes, and snippets.

View nurdabolatov's full-sized avatar

Nurdaulet Bolatov nurdabolatov

View GitHub Profile
@nurdabolatov
nurdabolatov / trie-search-in-javascript.html
Last active May 31, 2021 19:12
Trie Search in JavaScript
<!-- Source: https://nurdabolatov.com/trie-search-in-javascript -->
<!DOCTYPE html>
<html>
<head>
<title>Trie Search in JavaScript</title>
</head>
<body>
<input id="search" placeholder="Search" onkeyup="search()"/>
@nurdabolatov
nurdabolatov / parallel-processing-large-file-in-python.py
Created May 8, 2021 20:30
Parallel processing large file in Python
# Source: https://nurdabolatov.com/parallel-processing-large-file-in-python
import multiprocessing as mp
import time
import os
def process_line(line):
# Count frequency for every character
counter = {}
@nurdabolatov
nurdabolatov / CI.md
Created January 10, 2018 09:05
Continuous Integration

Continuous Integration

Security Groups

Using security groups you can allow/restrict access by adding protocol rules. In our project we use only TCP protocol rules.

Security groups:

  • ec2-security-group (Inbound ports: 80, 22)
  • AutoScaling-Security-Group (Inbound ports: 80, 22)