Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
/* No Comment */

Chashmeet Singh chashmeetsingh

👨‍💻
/* No Comment */
View GitHub Profile
View example sort
import Foundation
let a = [1,2,3,4,5,0]
extension Array where Element: Comparable {
func isSorted() -> Bool {
print(self.sorted() == self)
return true
View details.js
import React, {Component} from 'react';
import {KeyboardAvoidingView, StyleSheet} from 'react-native';
import {Button, Input} from 'react-native-elements';
import * as firebase from 'firebase';
import ValidatorTextField from './ValidatorTextField'
import validate from './Validator'
export default class CompleteDetails extends Component {
static navigationOptions = {
View Another
{"blame":[],"app_name":"SpringBoard","timestamp":"2018-07-20 04:33:07.54 +0530","app_version":"1.0","slice_uuid":"5367e82f-63f9-3654-8461-eeb011d7a082","adam_id":0,"build_version":"50","bundleID":"com.apple.springboard","share_with_app_devs":false,"is_first_party":true,"bug_type":"109","os_version":"iPhone OS 11.3.1 (15E302)","incident_id":"9FD1F848-60CE-4A84-BB11-F7CC5028A4AC","name":"SpringBoard","symbolicated":true}
Incident Identifier: 9FD1F848-60CE-4A84-BB11-F7CC5028A4AC
CrashReporter Key: eda14facb028747727db302d4e2ef6f361ba4dcf
Hardware Model: iPhone9,4
Process: SpringBoard [10268]
Path: /System/Library/CoreServices/SpringBoard.app/SpringBoard
Identifier: com.apple.springboard
Version: 50 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
View Crash
{"blame":[],"app_name":"fileproviderd","timestamp":"2018-07-20 02:36:15.79 +0530","app_version":"","slice_uuid":"2b353226-8e62-3b85-8617-a3462b7f0ef3","build_version":"","share_with_app_devs":false,"is_first_party":true,"bug_type":"109","os_version":"iPhone OS 11.3.1 (15E302)","incident_id":"1F4DDE78-5363-48F5-926C-0891B8598014","name":"fileproviderd","symbolicated":true}
Incident Identifier: 1F4DDE78-5363-48F5-926C-0891B8598014
CrashReporter Key: eda14facb028747727db302d4e2ef6f361ba4dcf
Hardware Model: iPhone9,4
Process: fileproviderd [5597]
Path: /System/Library/Frameworks/FileProvider.framework/Support/fileproviderd
Identifier: fileproviderd
Version: ???
Code Type: ARM-64 (Native)
Role: Unspecified
View Crash.log
q{"blame":["\/Library\/MobileSubstrate\/DynamicLibraries\/AnemoneUIKit.dylib","\/Library\/Application Support\/IconSupport\/Versions\/4.0\/libIconSupport.dylib","\/Library\/MobileSubstrate\/DynamicLibraries\/AnemoneCore.dylib"],"app_name":"SpringBoard","timestamp":"2018-07-19 15:59:12.77 +0530","app_version":"1.0","slice_uuid":"5367e82f-63f9-3654-8461-eeb011d7a082","adam_id":0,"build_version":"50","bundleID":"com.apple.springboard","share_with_app_devs":false,"is_first_party":true,"bug_type":"109","os_version":"iPhone OS 11.3.1 (15E302)","incident_id":"197498A2-4A95-49E2-B551-0325BDE41A7B","name":"SpringBoard","symbolicated":true}
Incident Identifier: 197498A2-4A95-49E2-B551-0325BDE41A7B
CrashReporter Key: e6b2db24fff20d5ea16ed68842e4252396b76b65
Hardware Model: iPhone9,4
Process: SpringBoard [2194]
Path: /System/Library/CoreServices/SpringBoard.app/SpringBoard
Identifier: com.apple.springboard
Version: 50 (1.0)
Code Type: ARM-64 (Native)
Role:
View Another crash
{"blame":[],"app_name":"LinkedIn","timestamp":"2018-05-11 22:16:53.63 +0530","app_version":"2018.05.07","slice_uuid":"1e8da7df-da8e-3312-8b04-f75b81a2a7c5","adam_id":288429040,"build_version":"9.11.6153.3","bundleID":"com.linkedin.LinkedIn","share_with_app_devs":true,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.1.2 (15B202)","incident_id":"F0AF9A97-8851-4B31-BB3B-36E54BFCA25E","name":"LinkedIn","symbolicated":true}
Incident Identifier: F0AF9A97-8851-4B31-BB3B-36E54BFCA25E
CrashReporter Key: 9522b7619d0295c7962228c6dfd49ef220f6c335
Hardware Model: iPhone9,4
Process: LinkedIn [12714]
Path: /private/var/containers/Bundle/Application/E8A76A39-15A8-442E-98A0-D911FE6FF41E/LinkedIn.app/LinkedIn
Identifier: com.linkedin.LinkedIn
Version: 9.11.6153.3 (2018.05.07)
Code Type: ARM-64 (Native)
Role: Non UI
View Random crash
{"blame":["\/usr\/lib\/TweakInject.dylib"],"app_name":"SpringBoard","timestamp":"2018-05-11 23:53:33.78 +0530","app_version":"1.0","slice_uuid":"4b8315ac-1e25-39ec-a197-28a0027131d6","adam_id":0,"build_version":"50","bundleID":"com.apple.springboard","share_with_app_devs":true,"is_first_party":true,"bug_type":"109","os_version":"iPhone OS 11.1.2 (15B202)","incident_id":"1F9BE341-C4C0-406A-9C00-0271FF2BEFC7","name":"SpringBoard","symbolicated":true}
Incident Identifier: 1F9BE341-C4C0-406A-9C00-0271FF2BEFC7
CrashReporter Key: 9522b7619d0295c7962228c6dfd49ef220f6c335
Hardware Model: iPhone9,4
Process: SpringBoard [13234]
Path: /System/Library/CoreServices/SpringBoard.app/SpringBoard
Identifier: com.apple.springboard
Version: 50 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
View gist:dae5cac0dde88aaba20007e2e40a619e
//
// DrawerViewController.swift
// GPS Info
//
// Created by Chashmeet Singh on 16/03/18.
// Copyright © 2018 Chashmeet Singh. All rights reserved.
//
import UIKit
import KYDrawerController
@chashmeetsingh
chashmeetsingh / GSoC 2017 Final Submission Report.md
Last active Sep 2, 2017
GSoC 2017 Final Submission Report
View GSoC 2017 Final Submission Report.md

Google Summer of Code 2017 Final Submission Report

Aim

The main aim of this project was to develop an iOS app on top of the SUSI.AI Server functionalities. The server makes use of different skills which are defined in the Skill Data Repository. The app will have functionalities such as replying intelligently to user's queries, helping users in their day to day lives, hot word detection, and training, synchronizing settings across all the clients and much more.

View schema for messages
//
// NewModel.swift
// Susi
//
// Created by Chashmeet Singh on 2017-06-08.
// Copyright © 2017 FOSSAsia. All rights reserved.
//
import RealmSwift
import Realm
You can’t perform that action at this time.