Skip to content

Instantly share code, notes, and snippets.

View vizllx's full-sized avatar
📱
Focus Mode

Sandeep M vizllx

📱
Focus Mode
View GitHub Profile
@vizllx
vizllx / ChannelQueryLogic.swift
Last active September 6, 2022 17:09
Getstream.io Querying Channels - Without SDK UI dependency - iOS
func getChannelList() {
// Define demo search keyword for testing
let searchKeyword = "rand"
// Declare datastore to store list of channels
var channelsList: [ChatChannel]?
// Query list of channels and conversation as per search keyword
/// NOTE: This query is optimized to search for groups which match only name instead of group member's name [JIRA Issue- CHAT-65]
let query = ChannelListQuery(filter: .or([.and([.autocomplete(.memberName, text: searchKeyword),
@vizllx
vizllx / Appfile
Created August 2, 2018 04:50
Medium-TestFlight-Appfile
app_identifier "com.SandeepM.app1" # The bundle identifier of your app
apple_id "sm@gmail.com" # Your Apple email address
team_id "[[DEV_PORTAL_TEAM_ID]]" # Developer Portal Team ID
@vizllx
vizllx / .env.App1
Created August 2, 2018 04:48
Medium-TestFlight-Environment File
SCHEME = "App1"
BUNDLE_IDENTIFIER = "com.SandeepM.app1"
PROVISION_NAME_DEV = "Develop_App1"
PROVISION_NAME_ADHOC = "Adhoc_App1"
PROVISION_NAME_APPSTORE = "Appstore_App1"
APP_NAME = "App1"
@vizllx
vizllx / Pluginfile
Created August 2, 2018 04:19
Pluginfile-Testflight-Medium
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!
gem 'fastlane-plugin-versioning'
gem 'fastlane-plugin-trainer'
default_platform :ios
puts "Upload to Testflight"
fastlane_require 'dotenv'
fastlane_require 'trainer'
ENV['FASTLANE_XCODEBUILD_SETTINGS_RETRIES'] = "120" // this is required to run to retry the xcode build job to retry if fails
//avoid hardcoding password try to access the password from Jenkins environment variable script
@vizllx
vizllx / GetVowels_objC.m
Created October 10, 2017 16:24
Objective C- Hacker Earth
#import <Foundation/Foundation.h>
@interface FindVowels
{
}
-(int) findVowel:(int)x;
@end
@implementation FindVowels
-(int) findVowel:(char)x {
if(x >= 97)