Skip to content

Instantly share code, notes, and snippets.

Rushikesh Jogdand Rushi98

Block or report user

Report or block Rushi98

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View how-to-merge-pdfs.txt
gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=<output.pdf> <list-of-input.pdf>
Rushi98 / CORS
Created Jun 27, 2018 — forked from wildoctopus/CORS Filter
How to fix the CORS issue on backend side , java Springboot App (Handling Simple CORS requests)

//Contents from

In the simplest scenario, cross-origin communications starts with a client making a GET, POST, or HEAD request against a resource on the server. In this scenario, the content type of a POST request is limited to application/x-www-form-urlencoded, multipart/form-data, or text/plain. The request includes an Origin header that indicates the origin of the client code.

The server will consider the request's Origin and either allow or disallow the request. If the server allows the request, then it will respond with the requested resource and an Access-Control-Allow-Origin header in the response. This header will indicate to the client which client origins will be allowed to access the resource. Assuming that the Access-Control-Allow-Origin header matches the request's Origin, the browser will allow the request.

On the other hand, if Access-Control-Allow-Origin is missing in the response or if it doesn't match the request's Origin, the browser will disallow th

View console-ramoops-0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.107-lineageos-gb040571 ( (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Mar 25 13:20:18 CEST 2018
[ 0.000000] CPU: AArch64 Processor [410fd031] revision 1
[ 0.000000] Machine: Qualcomm Technologies, Inc. MSM 8939 CP8675
[ 0.000000] cma: Found external_image__region@0, memory base 0x0000000086000000, size 8 MiB, limit 0xffffffffffffffff
[ 0.000000] cma: Found modem_adsp_region@0, memory base 0x0000000086800000, size 86 MiB, limit 0xffffffffffffffff
[ 0.000000] cma: Found pheripheral_region@0, memory base 0x000000008be00000, size 6 MiB, limit 0xffffffffffffffff
[ 0.000000] cma: Found mba_region@0, memory base 0x0000000000000000, size 2 MiB, limit 0xffffffffffffffff
View data.json
This file has been truncated, but you can view the full file.
  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
View gist:53cc6d218abe33076bc30d628a716bb7
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
|/-\|/-\|/-Cloning git repo
Cloning into bare repository 'https_anongit.freedesktop.org_git_exempi.git.clone_tmp'...
Cloning git repo
Cloning into bare repository 'https_git.gnome.org_browse_tracker.clone_tmp'...
Cloning git repo
View error2
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 -s
0:01.08 Adding 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
View error
Error running mach:
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
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):
for i in range(len(a)):
for j in range(i + 1, len(a)):
def ispalin(x):
return str(x) == str(x)[::-1]
You can’t perform that action at this time.