- Detect secrets in code
- Identify secrets committed to version control
- Flag hardcoded credentials
- Identify missing authentication checks
- Detect improper authorization patterns
Pip is a package manager of python. You can download Python
libraries from some Python
repositories like PyPI
. You can also download libraries from a git
repository. This is gonna be the issue to be explained in this article.
I don't like to memorize things all the time. So, I guess, I couldn't be working without internet :). Whenever I need to install some python libraries from a git repositories, I see a lot of way to do it. It is really confusing. This should be the reason why I can't memorize it. I can see how a very simple requirement is handled with to many confusing way. There shouldn't be to many way. Some of them is not working neither. At last, I decided to blog it.
As you may know, you can use two protocols which are http
and ssh
to do something on git
repositories. Using protocol ssh
instead of http
may provide some ease of use. Because of nature of ssh
, you can do something with your primary/public keys. So, you don't have to input your credentials all the time. But I'll be
import pygame | |
import sys | |
import time | |
# Initialize Pygame | |
pygame.init() | |
# === CONFIGURABLE SETTINGS === | |
WINDOW_WIDTH = 320 | |
WINDOW_HEIGHT = 240 |
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
import pygame | |
import sys | |
import time | |
# Initialize Pygame | |
pygame.init() | |
# === CONFIGURABLE SETTINGS === | |
WINDOW_WIDTH = 320 # Internal resolution width (Syphon Filter's original size) | |
WINDOW_HEIGHT = 240 # Internal resolution height (Syphon Filter's original size) |
#!/usr/bin/python | |
import hashlib, struct | |
# Mine genesis block | |
ver = 1 | |
prev_block = "0000000000000000000000000000000000000000000000000000000000000000" | |
mrkl_root = "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b" | |
time_ = 1231006505 | |
bits = 0x1d00ffff |
######################################################################################################## | |
# Sample script to call the syncronisation between the Fabric Lakehouse and the SQL Endpoint | |
# | |
## 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 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
# | |
# This script is a workaround until the documented API is released: https://learn.microsoft.com/en-us/fabric/release-plan/data-warehouse#refresh-sql-analytics-endpoint-rest-api | |
# | |
#sempy version 0.4.0 or higher | |
!pip install semantic-link --q | |
import json |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
// ==UserScript== | |
// @name ChatGPT / Gemini / Claude Width | |
// @namespace http://tampermonkey.net/ | |
// @version 0.10 | |
// @description increase chatgpt, gemini and claude box width | |
// @author bitmunja | |
// @license MIT | |
// @match https://gemini.google.com/* | |
// @match https://chat.openai.com/* | |
// @match https://chatgpt.com/* |
Static program analysis is the analysis of computer software that is performed without actually executing programs — Wikipedia
This is a collection of static analysis tools and code quality checkers. Pull requests are very welcome!
Note: ©️ stands for proprietary software. All other tools are Open Source.