Skip to content

Instantly share code, notes, and snippets.

View galek's full-sized avatar
🧭
I'm ready for new discoveries

Nikolay Galko galek

🧭
I'm ready for new discoveries
View GitHub Profile
@galek
galek / microshift-istio.md
Created June 24, 2023 21:37 — forked from tosin2013/microshift-istio.md
Run isitio on microshift

Install istio on mircoshift

You can find the installation instuctions in the link below.

Add metrics server components

kubectl apply -f https://raw.githubusercontent.com/redhat-et/ushift-workload/master/metrics-server/metrics-components.yaml
@galek
galek / PseudoORM.ts
Created April 5, 2023 12:52
PseudoORMInterface for microservices
export abstract class PseudoORMInterface {
getDataFromTable<T1, T2>(TableName: string, valuesKeysForGetting: string[], conditions?: string[] | null): T1;
insertDataToTable(TableName: string);
updateDataToTable<T2>(Data:T2, TableName: string, conditions?: string[] | null): boolean;
deleteDataFromTable(TableName: string, conditions?: string[] | null);
}
export class PseudoORMImpl implements PseudoORMInterface {
@galek
galek / add_intellij_launcer
Created May 21, 2021 20:05 — forked from rob-murray/add_intellij_launcer
Add Intellij launcher shortcut and icon for ubuntu
// create file:
sudo vim /usr/share/applications/intellij.desktop
// add the following
[Desktop Entry]
Version=13.0
Type=Application
Terminal=false
Icon[en_US]=/home/rob/.intellij-13/bin/idea.png
Name[en_US]=IntelliJ
@galek
galek / gihtubpage.conf
Created November 1, 2020 23:26 — forked from taddev/gihtubpage.conf
NGINX Reverse proxy settings to Github pages
server {
listen 80 default_server;
listen [::]:80 ipv6only=on default_server;
server_name splunk.net blog.splunk.net www.splunk.net .taddevries.com;
access_log /var/log/nginx/blog.access_log main;
error_log /var/log/nginx/blog.error_log info;
return 301 https://blog.splunk.net;
}
server {
@galek
galek / media-query.css
Created October 26, 2020 05:26 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@galek
galek / media-query.css
Created October 26, 2020 05:26 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@galek
galek / media-query.css
Created October 26, 2020 05:25 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@galek
galek / swapper.js
Created February 13, 2020 10:25
swapper.js for cordova
/* Copyright (C) 2009-2020, Nick Galko. All rights reserved.
*
* This file is part of the Nick Galko source-code
* (https://galek.github.io/portfolio/).
*
* Your use and or redistribution of this software in source and / or
* binary form, with or without modification, is subject to: (i) your
* ongoing acceptance of and compliance with the terms and conditions of
* the Nick Galko License Agreement; and (ii) your inclusion of this notice
* in any version of this software that you use or redistribute.
@galek
galek / LoggerWrapper.ts
Last active February 12, 2020 06:45
LoggerWrapper.ts for ionic and angular applications
/* Copyright (C) 2009-2020, Nick Galko. All rights reserved.
*
* This file is part of the Nick Galko source-code
* (https://galek.github.io/portfolio/).
*
* Your use and or redistribution of this software in source and / or
* binary form, with or without modification, is subject to: (i) your
* ongoing acceptance of and compliance with the terms and conditions of
* the Nick Galko License Agreement; and (ii) your inclusion of this notice
* in any version of this software that you use or redistribute.
@galek
galek / colors.xml
Created July 11, 2019 13:14
colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<color name="message_status_icon_colors" tools:override="true">#c1262b</color>
<color name="applozic_theme_color" tools:override="true">#c1262b</color>
<color name="applozic_theme_color_primary" tools:override="true">#c1262b</color>
<color name="applozic_theme_color_primary_dark" tools:override="true">#c1262b</color>
<color name="applozic_theme_color_accent" tools:override="true">#c1262b</color>
<color name="default_start_new_button_color" tools:override="true">#c1262b</color>
</resources>