Skip to content

Instantly share code, notes, and snippets.

View gencer's full-sized avatar
:octocat:
Working remotely

Gencer W. Genç gencer

:octocat:
Working remotely
View GitHub Profile
[2021-04-09 10:38:55] ./configure
current path: /var/lib/buildkite-agent/.rvm/src/ruby-3.0.1
GEM_PATH=/var/lib/buildkite-agent/.rvm/gems/ruby-3.0.0:/var/lib/buildkite-agent/.rvm/gems/ruby-3.0.0@global
GEM_HOME=/var/lib/buildkite-agent/.rvm/gems/ruby-3.0.0
PATH=/var/lib/buildkite-agent/.rvm/gems/ruby-3.0.0/bin:/var/lib/buildkite-agent/.rvm/gems/ruby-3.0.0@global/bin:/var/lib/buildkite-agent/.rvm/rubies/ruby-3.0.0/bin:/var/lib/buildkite-agent/vcpkg:/var/lib/buildkite-agent/.gvm/pkgsets/go1.16.2/global/bin:/var/lib/buildkite-agent/.gvm/gos/go1.16.2/bin:/var/lib/buildkite-agent/.gvm/pkgsets/go1.16.2/global/overlay/bin:/var/lib/buildkite-agent/.gvm/bin:/var/lib/buildkite-agent/.gvm/bin:/var/lib/buildkite-agent/.pyenv/plugins/pyenv-virtualenv/shims:/var/lib/buildkite-agent/.pyenv/shims:/var/lib/buildkite-agent/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/var/lib/buildkite-agent/n/bin:/var/lib/buildkite-agent/.rvm/bin
command(4): ./configure --prefix=
@gencer
gencer / mongodbOnDebianWSL.md
Created April 5, 2021 23:53 — forked from matinrco/mongodbOnDebianWSL.md
Install MongoDB 4.4.1 on Windows 10 WSL 2 (Debian 10/Buster - Ubuntu 20.04 LTS (Focal Fossa))
# encoding: utf-8
require 'sanitize'
class Sanitize
module Config
MORE_RELAXED = freeze_config(
:elements => Sanitize::Config::BASIC[:elements] + %w[
address article aside bdi bdo body caption col colgroup data del div
figcaption figure footer h1 h2 h3 h4 h5 h6 head header hgroup hr html
img ins main nav rp rt section span style summary sup table tbody
@gencer
gencer / yardoc_cheatsheet.md
Created May 28, 2020 22:40 — forked from phansch/yardoc_cheatsheet.md
Improved YARD cheatsheet
@gencer
gencer / semantic-commit-messages.md
Created February 15, 2020 11:40 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@gencer
gencer / gist:503eb29deaf11a168beed2a267496bb8
Created December 10, 2019 13:08 — forked from afair/gist:3803895
PostgreSQL and Pgpool Architecture

Hey! I saw this has been indexed by the search engines. It is a first draft of a post I ended up publishing on my blog at: Scaling PostgreSQL With Pgpool and PgBouncer

Thanks for stopping by!

PostgreSQL and Pgpool Architecture

@gencer
gencer / ufw.md
Created December 6, 2019 20:19 — forked from kimus/ufw.md
NAT and FORWARD with Ubuntu’s ufw firewall

UFW

I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.

Install UFW

if ufw is not installed by default be sure to install it first.

@gencer
gencer / emojis.json
Created November 5, 2019 20:01
Generate emoji alias list from 3 sources
[
{
"emoji": "😀"
, "description": "grinning face"
, "category": "Smileys & Emotion"
, "aliases": [
"grinning"
]
, "tags": [
"smile"
@gencer
gencer / package.json
Created April 28, 2019 12:38
Dependabot::DependencyFileNotParseable
{
"scripts": {
"gen-typings": "yarn run tsm app/javascript/**/*.scss",
"watch-typings": "yarn run tsm app/javascript/**/*.scss -w"
},
"dependencies": {
"@babel/polyfill": "^7.4.0",
"@babel/preset-react": "^7.0.0",
"@rails/webpacker": "^4.0.2",
"@types/deepmerge": "^2.2.0",
@gencer
gencer / deploy.rb
Created February 5, 2019 19:18 — forked from pablopaul/deploy.rb
Notify Sentry of a new release via Capistrano with Auth Token
# This task will notify Sentry via their API[1] that you have deployed
# a new release. It uses the release timestamp as the `version`
# (like 20151113182847) and the git ref as the optional `ref` value.
#
# This task requires several environment variables be set (or just
# hardcode the values in here if you like living on the edge):
#
# ENV['SENTRY_API_ENDPOINT'] : API endpoint, https://app.getsentry.com
# ENV['SENTRY_ORG'] : the organization for this app
# ENV['SENTRY_PROJECT'] : the project for this app