Skip to content

Instantly share code, notes, and snippets.

View Rushi98's full-sized avatar
🙃

Rushikesh Jogdand Rushi98

🙃
View GitHub Profile
4567890-=-09876543
def gcd(a,b):
if a>b:
return trugcd(a,b)
else:
return trugcd(b,a)
def trugcd(a,b):
x=a%b
if x==0:
return b
def isprime(n):
if n<=1:
return False
elif n<4:
return True
elif n%2==0 or n%3==0:
return False
elif n<9:
return True
elif n%5==0:
def ispalin(x):
return str(x) == str(x)[::-1]
T = int(raw_input())
for __ in range(T):
tmp = str(raw_input())
c = 0
for l in range(1,len(tmp)):
a = []
for i in range(len(tmp) - l + 1):
a.append(tmp[i:i+l])
for i in range(len(a)):
for j in range(i + 1, len(a)):
Error running mach:
['build']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
This file has been truncated, but you can view the full file.
rushi@rushi-Inspiron-N5050:~/code/mozilla-central$ ./mach build
0:00.21 /usr/bin/make -f client.mk -s
0:01.08 Adding client.mk options from :
0:01.08 MOZ_OBJDIR=/home/rushi/code/mozilla-central/obj-x86_64-pc-linux-gnu
0:01.08 OBJDIR=/home/rushi/code/mozilla-central/obj-x86_64-pc-linux-gnu
0:01.48 cd /home/rushi/code/mozilla-central/obj-x86_64-pc-linux-gnu
0:01.48 /home/rushi/code/mozilla-central/configure
0:01.60 Reexecuting in the virtualenv
0:02.00 checking for a shell... /bin/sh
0:02.04 checking for host system type... x86_64-pc-linux-gnu
@Rushi98
Rushi98 / gist:53cc6d218abe33076bc30d628a716bb7
Created May 10, 2017 14:51
Nautilus Build Error Log - 1
Creating directory “/home/rushi/.cache/gnome-builder/flatpak/repos/Nautilus/flatpak:org.gnome.Platform-x86_64-master”
Creating directory “/home/rushi/.cache/gnome-builder/flatpak/staging/Nautilus/flatpak:org.gnome.Platform-x86_64-master”
Emptying app dir '/home/rushi/.cache/gnome-builder/flatpak/staging/Nautilus/flatpak:org.gnome.Platform-x86_64-master'
Downloading sources
Downloading https://downloads.sourceforge.net/libexif/libexif-0.6.21.tar.bz2
|/-\|/-\|/-Cloning git repo https://anongit.freedesktop.org/git/exempi.git
Cloning into bare repository 'https_anongit.freedesktop.org_git_exempi.git.clone_tmp'...
Cloning git repo https://git.gnome.org/browse/tracker
Cloning into bare repository 'https_git.gnome.org_browse_tracker.clone_tmp'...
Cloning git repo https://git.gnome.org/browse/gnome-desktop
@Rushi98
Rushi98 / wf.md
Last active August 26, 2017 19:12
  1. Don't make changes to master branch.

  2. When you see a new issue you can solve, add a comment on it to the issue. Let's say the issue number is N.

  3. Do

git checkout master
This file has been truncated, but you can view the full file.
{"GetClientsResult":{"Status":"Success","ErrorCode":200,"XMLDetail":"Full","ResultCount":4475,"CurrentPageIndex":0,"TotalPageCount":5,"Clients":{"Client":[{"ClientIndexes":null,"AppointmentGenderPreference":"None","Gender":"Female","IsCompany":false,"LiabilityRelease":false,"PromotionalEmailOptIn":true,"CreationDate":"2018-01-05T00:00:00.000Z","Liability":{"IsReleased":false},"UniqueID":"100015484","ID":"100015484","FirstName":"Sdfoij","LastName":"[asodfj","EmailOptIn":true,"State":"CA","Country":"US","FirstAppointmentDate":"2018-01-13T00:00:00.000Z","HomeLocation":{"SiteID":-99,"BusinessDescription":"\"The MINDBODY Health Club Demo is awesome.\" - Anonymous (but probably someone cool and smart)","AdditionalImageURLs":null,"HasClasses":true,"PhoneExtension":"","ID":1,"Name":"Clubville"},"PhotoURL":"https://clients.mindbodyonline.com/studios/DemoAPISandboxRestore/clients/100015484_large.jpg?v=95","IsProspect":false,"Status":"Active","ContactMethod":"1"},{"ClientIndexes":null,"AppointmentGenderPreference":"None