Skip to content

Instantly share code, notes, and snippets.

Describe the network protection controls used by your organization to restrict public access to databases, file servers, and desktop/developer endpoints.

  • Access to the Amazon Aurora database through the network is disabled and standard ports are closed. The database is only accessible through a socket on the server itself.
  • The reverse proxy only serves whitelisted directories that are only from sources controlled by Teecom used (AWS Amplify).
  • API endpoints are password protected (PBKDF2 & SHA512 encryption, salted, and stretched for thousands of rounds).
  • Login credentials are always transmitted securely over SSL.

Describe how your organization individually identifies employees who have access to Amazon Information, and restricts employee access to Amazon information on a need- to-know basis.

  • If all your employees are properly assigned separate users and given only relevant access rights: Access rights are provided to employees based on their role within the company and are progressive, base
#!/usr/bin/python3
import sys
import asyncio
import greenlet
class AsyncIoGreenlet(greenlet.greenlet):
def __init__(self, driver, fn):
greenlet.greenlet.__init__(self, fn, driver)
self.driver = driver
Title : Revisiting Mac OS X Kernel Rootkits
Author : fG!
Date : April 18, 2014
|=----------------------------------------------------------------------------=|
|=----------------=[ Revisiting Mac OS X Kernel Rootkits ]=-------------------=|
|=----------------------------------------------------------------------------=|
|=------------------------=[ fG! <phrack@put.as> ]=---------------------------=|
|=----------------------------------------------------------------------------=|
{"name":"James Edward Peters ","settings":"{\"settings\":\"{\\n \\\"workbench.editorAssociations\\\": {\\n \\\"*.exe\\\": \\\"default\\\"\\n },\\n \\\"diffEditor.ignoreTrimWhitespace\\\": true,\\n \\\"git.confirmSync\\\": false,\\n \\\"diffEditor.renderSideBySide\\\": false,\\n \\\"diffEditor.hideUnchangedRegions.enabled\\\": true\\n}\"}","extensions":"[{\"identifier\":{\"id\":\"vscjava.vscode-java-debug\",\"uuid\":\"61fcd0cf-64d7-4836-8d6b-d55f4fb83281\"},\"displayName\":\"Debugger for Java\"},{\"identifier\":{\"id\":\"xdebug.php-debug\",\"uuid\":\"044b4b31-2969-4af3-895d-855433b8b46d\"},\"displayName\":\"PHP Debug\"}]","globalState":"{\"storage\":{\"workbench.panel.markers.hidden\":\"[{\\\"id\\\":\\\"workbench.panel.markers.view\\\",\\\"isHidden\\\":false}]\",\"workbench.panel.output.hidden\":\"[{\\\"id\\\":\\\"workbench.panel.output\\\",\\\"isHidden\\\":false}]\",\"terminal.hidden\":\"[{\\\"id\\\":\\\"terminal\\\",\\\"isHidden\\\":false}]\",\"workbench.explorer.views.state.hidden\"
@1kko
1kko / repo.sh
Last active May 14, 2024 09:58
Bash - performs search of specific directory up to 2 depth and change directory into it
# This script performs search of specific directory up to 2 depth and change directory into it.
# This is helpful for cases like having many repositories and need to cd into it.
# Install
# 1. Install fzf(https://github.com/junegunn/fzf#related-projects). eg: sudo apt install fzf (
# 2. Copy this source and paste into paste into your: nano ~/.bashrc
# 3. Edit the srchDir variable for your environment
# 4. Save and start new session of terminal
# Usage
[ req ]
default_bits = 2048
default_keyfile = server-key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
[ subject ]
@ih2502mk
ih2502mk / list.md
Last active May 14, 2024 09:53
Quantopian Lectures Saved
@hamzaakhtar953
hamzaakhtar953 / CELERYCONFIG.md
Last active May 14, 2024 09:53
Configuring Celery + Redis + Supervisor with Django

Configuring Celery + Redis + Supervisor with Django

Install Celery

$ pip install celery
$ pip install redis

Install Celery Broker

@Laurian
Laurian / subtitles.py
Created January 20, 2016 20:18
movie.py subtitles example
from moviepy.editor import *
from moviepy.video.tools.subtitles import SubtitlesClip
generator = lambda txt: TextClip(txt, font='Arial', fontsize=16, color='white')
subtitles = SubtitlesClip("somet.srt", generator)
video = VideoFileClip("some.mp4")
result = CompositeVideoClip([video, subtitles.set_pos(('center','bottom'))])
result.write_videofile("out.mp4", fps=video.fps, temp_audiofile="temp-audio.m4a", remove_temp=True, codec="libx264", audio_codec="aac")
@chrisnolet
chrisnolet / .zshrc
Last active May 14, 2024 09:51
Color-coded git branch for zsh prompt
autoload -Uz compinit && compinit
autoload -Uz add-zsh-hook
autoload -Uz vcs_info
add-zsh-hook precmd vcs_info
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:*' formats " %F{cyan}%c%u(%b)%f"
zstyle ':vcs_info:*' actionformats " %F{cyan}%c%u(%b)%f %a"
zstyle ':vcs_info:*' stagedstr "%F{green}"