Skip to content

Instantly share code, notes, and snippets.

View faraazkhan's full-sized avatar
🏠
Working from home

Faraaz Khan faraazkhan

🏠
Working from home
View GitHub Profile
apiVersion: v1
kind: Pod
metadata:
name: nothing-allowed-awscli-pod
labels:
app: pentest
spec:
serviceAccountName: s3access-sa
containers:
- name: nothing-allowed-awscli-pod
# Copyright 2019-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# 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.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
"https://github.com/golang/tools/blob/master/gopls/doc/settings.md#buildflags-string Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.local/share/nvim/plugged')
Plug 'neoclide/coc.nvim'
Plug 'fatih/vim-go', { 'for': ['go'] }
Plug 'Chiel92/vim-autoformat'
Plug 'tsandall/vim-rego'
Plug 'google/vim-jsonnet'
Plug 'ekalinin/Dockerfile.vim'
#!/usr/bin/env bash
DIST=089bdac4580d62e7a3a051de60fd34dfc0a3d293
wget "https://gist.github.com/faraazkhan/4a083497dc2c1d6ead91a1feb401a869/archive/$DIST.zip" --no-check-certificate
unzip "$DIST.zip"
cd "4a083497dc2c1d6ead91a1feb401a869-$DIST"
sh setup.sh
@faraazkhan
faraazkhan / build-scan.sh
Last active April 12, 2021 18:38
jfrog-docker-build-scan.sh
#!/usr/bin/env bash
ARTIFACTORY_URL="https://${ARTIFACTORY_HOST}"
ARTIFACTORY_HOST="${ARTIFACTORY_HOST:-artifactory.cloud.cms.gov}"
REGISTRY_NAME="${REGISTRY_NAME:-cet-docker-prod-local}"
REPOSITORY_NAME="${REPOSITORY_NAME:-cet-app}"
BUILD_NUMBER=10
VERSION="${BUILD_NUMBER:-latest}"
CI=true

Announcing Quiz Teams


Background


The core team is constantly thinking about how to make our sessions even more fun, interactive, competitive and engaging, all in the way of Allah SWT, insha Allah.

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "<JENKINS_ARN>"
},
"Action": "sts:AssumeRole",
"Condition": {}
❯ make VERBOSE=1
/usr/local/Cellar/cmake/3.12.3/bin/cmake -H/Users/faraaz/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/cpp -B/tmp/ycm --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.12.3/bin/cmake -E cmake_progress_start /tmp/ycm/CMakeFiles /tmp/ycm/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f BoostParts/CMakeFiles/BoostParts.dir/build.make BoostParts/CMakeFiles/BoostParts.dir/depend
cd /tmp/ycm && /usr/local/Cellar/cmake/3.12.3/bin/cmake -E cmake_depends "Unix Makefiles" /Users/faraaz/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/cpp /Users/faraaz/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/cpp/BoostParts /tmp/ycm /tmp/ycm/BoostParts /tmp/ycm/BoostParts/CMakeFiles/BoostParts.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f BoostParts/CMakeFiles/BoostParts.dir/build.make BoostParts/CMak
---
apiVersion: v1
kind: Namespace
metadata:
name: sonobuoy
---
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
swagger: "2.0"
info:
description: "This is the HRSA Applicant Service."
version: "1.0.0"
title: "HRSA Applicant Service"
termsOfService: "http://swagger.io/terms/"
contact:
email: "info@example.com"
license:
name: "Apache 2.0"