Skip to content

Instantly share code, notes, and snippets.

@pgagnidze
pgagnidze / omg.html
Last active September 30, 2024 07:41
Personal website on omg.lol
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Papuna Gagnidze | DevOps Engineer
</title>
<meta charset="utf-8" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Papuna Gagnidze | DevOps Engineer" />
<meta property="og:description" content="Personal website of Papuna Gagnidze, a DevOps Engineer with expertise in QA, Networking, and various development fields." />
@pgagnidze
pgagnidze / accounts.sh
Last active September 13, 2024 04:25
accounts.sh
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Usage: $0 path_to_accounts.csv"
exit 1
fi
input_file="$1"
output_file="accounts_new.csv"
@pgagnidze
pgagnidze / qa-at-optio.md
Last active April 8, 2024 09:04
Junior QA Engineer @ Optio

Junior QA Engineer @ Optio

Optio

Optio არის Customer Data Platform, რომელიც ეხმარება საშუალო და მსხვილ, საცალო კლიენტებზე მომუშავე ბიზნესებს, მარტივად მოახდინონ კლიენტების სიღრმისეული ანალიზი რეალურ დროში, მიიღონ მონაცემებზე დაფუძნებული, ეფქტური ბიზნეს გადაწყვეტილებები და აწარმოონ მიზნობრივი მარკეტინგული კამპანიები, ხელოვნური ინტელექტის სერვისების გამოყენებით.

@pgagnidze
pgagnidze / index.js
Created December 19, 2021 19:01
No more trade offs in Cypress
// cypress/plugins/index.js
const puppeteer = require('puppeteer');
module.exports = (on, config) => {
let cypressDebuggingPort;
let puppeteerDebuggingPort = 9222;
on('before:browser:launch', (browser, launchOptions) => {
if (browser.family === 'chromium' && browser.name !== 'electron') {
@pgagnidze
pgagnidze / .zshrc
Last active November 5, 2021 15:47
oh-my-zsh configuration
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/pgagnidze/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@pgagnidze
pgagnidze / .hyper.js
Created November 5, 2021 15:31
Hyper terminal configuration
"use strict";
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
# Coded by Papuna Gagnidze
live_loop :beat do
with_fx :ixi_techno, phase: 1.5 do
use_synth :fm
play :d3, attack: 0.5, amp: (ring 0.3, 0.4, 0.5).look
sleep 0.25
end
end
@pgagnidze
pgagnidze / gebot.js
Last active November 20, 2020 14:57
'use strict';
const functions = require('firebase-functions');
const {
WebhookClient
} = require('dialogflow-fulfillment');
const {
Translate
} = require('@google-cloud/translate').v2;
const translate = new Translate({
import os
import zipfile
import fnmatch
import re
import errno
import shutil
# extract files from zip archive
user_input = raw_input("Enter full valid path of your directory (ex: /home/user/download/): ")
if not os.path.isdir(os.path.join(user_input, "unzipped")):
#
# /etc/bash.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Change the window title of X terminals
case ${TERM} in
[aEkx]term*|rxvt*|gnome*|konsole*|interix)