This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ ! -L lib || ! -L bootstrap ]]; then | |
[[ -z $(which curl) ]] && { | |
printf "Curl is required for this operation. Please install it with\n" | |
printf "brew install curl\n" | |
exit 1 | |
} | |
curl -fsSL "http://bit.ly/bashmatic-bootstrap" | /usr/bin/env bash | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gemfile | |
source "https://rubygems.org" | |
# Activate the gem you are reporting the issue against. | |
gem 'rails', '>= 7.0.4.3' | |
gem "dalli" | |
gem "rspec" | |
gem "rspec-its" | |
gem "rspec-rails" | |
gem "awesome_print" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This file requires a local SQL file named "json_table_columns.csv" to have two columns: | |
-- [ "Table", "Column" ] | |
-- It then loops over records in this table computing the total size of the column in each table, | |
-- the average size of the column in that table, and finally the percentage that column occupies relative | |
-- to the entire table (including its indexes). | |
-- First we import the data | |
BEGIN; | |
drop table if exists JSON_TABLE_COLUMNS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/initializers/datadog.rb | |
require 'ddtrace' | |
require 'redis' | |
Datadog::Tracer.log = Logger.new(nil) | |
# This is the port we have configured in the /etc/datadog/datadog.yml (apm_config) | |
Datadog.tracer.configure(port: 9126, enabled: true) | |
# TODO: change me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# © 2019-2021 Konstantin Gredeskoul, MIT License. | |
# vim: ft=make | |
# | |
# Place this file anywhere. | |
# | |
# 1. To create a backup of your vscode settings, keybindings and extensions, run | |
# $ make save | |
# This backs it all up to your ~/Documents/VSCode folder. | |
# | |
# 2 To restore VSCode configuration: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# vi: ft=sh | |
# | |
# https://gist.github.com/kigster/8ddebf9fddff25620e64d558dd4d56b7 | |
# | |
# © 2019-2022 Konstantin Gredeskoul, Inc., All rights reserved. | |
# MIT LICENSE | |
# ———————————————————————————————————————————————————————————————— | |
# This script verifies that the ruby interpreter (either the one in | |
# the $PATH, or the one specified by the -r / --ruby option) is linked |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Script to change underscan/overscan value of a monitor on OS-X. | |
# © 2016-2019 Konstantin Gredeskoul, distributed under the MIT License. | |
# | |
#——————————————————————————————————————————————————————————————————————————————————————————— | |
# EXCEPT AS REPRESENTED IN THIS AGREEMENT, ALL WORK PRODUCT BY DEVELOPER IS PROVIDED "AS IS". | |
# OTHER THAN AS PROVIDED IN THIS AGREEMENT, DEVELOPER MAKES NO OTHER WARRANTIES, EXPRESS OR | |
# IMPLIED, AND HEREBY DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING ANY WARRANTY OF | |
# MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Discourse Settings | |
export RUBY_GC_HEAP_INIT_SLOTS=997339 | |
export RUBY_GC_HEAP_FREE_SLOTS=626600 | |
export RUBY_GC_HEAP_GROWTH_FACTOR=1.03 | |
export RUBY_GC_HEAP_GROWTH_MAX_SLOTS=88792 | |
export RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=2.4 | |
export RUBY_GC_MALLOC_LIMIT=34393793 | |
export RUBY_GC_MALLOC_LIMIT_MAX=41272552 | |
export RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR=1.32 | |
export RUBY_GC_OLDMALLOC_LIMIT=39339204 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# vim: ft=bash | |
# | |
# Author: Konstantin Gredeskoul, https://github.com/kigster | |
# | |
# Copyright © 2021, MIT License | |
# | |
# This file should be used by applications wanting to stream APM information about the runtime behavior of the | |
# app to their Datadog APM account. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-08-05T04:50:18.785Z","extensionVersion":"v3.4.3"} |
NewerOlder