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 / .ts
Created June 15, 2019 12:34
PageHelper
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'
@galek
galek / info.plist
Created June 20, 2019 22:39 — forked from mlynch/info.plist
Disable App Transport Security in iOS 9
<!--
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 / 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>
@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 / 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 / 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 / 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 / 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 / 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