Skip to content

Instantly share code, notes, and snippets.

Avatar
🧭
I'm ready for new discoveries

Nikolay Galko galek

🧭
I'm ready for new discoveries
View GitHub Profile
@galek
galek / add_intellij_launcer
Created May 21, 2021 — forked from rob-murray/add_intellij_launcer
Add Intellij launcher shortcut and icon for ubuntu
View add_intellij_launcer
// 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 Nov 1, 2020 — forked from taddev/gihtubpage.conf
NGINX Reverse proxy settings to Github pages
View gihtubpage.conf
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 Oct 26, 2020 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@galek
galek / media-query.css
Created Oct 26, 2020 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@galek
galek / media-query.css
Created Oct 26, 2020 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@galek
galek / swapper.js
Created Feb 13, 2020
swapper.js for cordova
View swapper.js
/* 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 Feb 12, 2020
LoggerWrapper.ts for ionic and angular applications
View LoggerWrapper.ts
/* 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.
View 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>
@galek
galek / info.plist
Created Jun 20, 2019 — forked from mlynch/info.plist
Disable App Transport Security in iOS 9
View info.plist
<!--
This disables app transport security and allows non-HTTPS requests.
Note: it is not recommended to use non-HTTPS requests for sensitive data. A better
approach is to fix the non-secure resources. However, this patch will work in a pinch.
To apply the fix in your Ionic/Cordova app, edit the file located here:
platforms/ios/MyApp/MyApp-Info.plist
And add this XML right before the end of the file inside of the last </dict> entry:
@galek
galek / .ts
Created Jun 15, 2019
PageHelper
View .ts
import { NavController } from 'ionic-angular';
import { AccountPageLogin } from '../pages/account-login/account-login';
import { AccountPagePasswordNew } from '../pages/account-password-new/account-password-new';
import { AccountPagePasswordReset } from '../pages/account-password-reset/account-password-reset';
import { AccountPageReg } from '../pages/account-reg/account-reg';
import { AccountPageShared } from '../pages/account-shared/account-shared';
import { InformationAndContactsShared } from "../pages/InformationAndContactsShared/InformationAndContactsShared"
import { InformationAndContacts } from "../pages/InformationAndContacts/InformationAndContacts"
import { MyProfilePage } from '../pages/MyProfilePage/MyProfilePage'