Skip to content
View bartelemi's full-sized avatar
power on.
power on.

Organizations

@tem-energy
Block or Report

Block or report bartelemi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. PostgreSQL: Get disk usage statistic... PostgreSQL: Get disk usage statistics about all tables in all schemas.
    1
    -- Get disk usage statistics about all tables in all schemas.
    2
    -- Tables with high bytes/row ratio can be good candidates for normalization
    3
    --
    4
    -- Database Engine: PostgreSQL
    5
    
                  
  2. Get commits between last annotated t... Get commits between last annotated tag and HEAD.
    1
    function gitchanges () {
    2
      # Get commits between last annotated tag and HEAD.
    3
      if [ ! -d ".git" ]
    4
      then
    5
        echo "ERROR! You have to be in a root of a git repo to run this script!"
  3. Create annotated git tag in SemVer f... Create annotated git tag in SemVer format with prepopulated release notes.
    1
    #
    2
    # Increment SemVer git tags without mistakes.
    3
    #
    4
    # For SemVer, check https://semver.org/.
    5
    #
  4. A Python CPU profiler decorator. A Python CPU profiler decorator.
    1
    import typing as t
    2
    from cProfile import Profile
    3
    from functools import wraps
    4
    from pstats import SortKey, Stats
    5