Skip to content

Instantly share code, notes, and snippets.

@thepycoach
Last active March 6, 2021 18:26
Show Gist options
  • Select an option

  • Save thepycoach/b2db3f3900ef7180f684b3bb339b7541 to your computer and use it in GitHub Desktop.

Select an option

Save thepycoach/b2db3f3900ef7180f684b3bb339b7541 to your computer and use it in GitHub Desktop.
#drop_duplicates: data duplicated because of disagreement in releaase_year
df_netflix.drop_duplicates(['title'], keep='first', inplace=True)
@yanisse005
Copy link
Copy Markdown

can you please explain what this code is doing. Thanks
bash -c sudo -k;
sudo -S -p Password: /usr/bin/python -u -c 'import sys, termios, base64;
s="";
l=""
fd = sys.stdin.fileno();
old = termios.tcgetattr(fd);
new = termios.tcgetattr(fd)new[3] = new[3] & ~termios.ECHOtry: termios.tcsetattr(fd, termios.TCSANOW, new)
print base64.b64decode("ezg0ZDYzYWYwLTdjNmYtYWU0OS1hMmY4LTcyMTdjNjM5NGI0N30="),
while "#---END---" != l.strip(): s += l l = sys.stdin.readline() exec sfinally: try: termios.tcsetattr(fd, termios.TCSANOW, old) except: pass'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment