This repository is over its data quota.
Account responsible for LFS bandwidth should purchase more data packs to restore access.
- Fork the target repository.
| import requests | |
| from requests.packages.urllib3.exceptions import InsecureRequestWarning | |
| requests.packages.urllib3.disable_warnings(InsecureRequestWarning) | |
| payload = { 'txtUserid': 'studentReg', 'txtpassword': 'studentPassword' } | |
| url = 'https://dms.jaipur.manipal.edu/loginForm.aspx' | |
| requests.Session().post(url, data=payload, verify=False).cookies.get_dict() |
| 1-1 | |
| 2-2 | |
| 3-2 | |
| 4-3 | |
| 5-4 | |
| 6-1 | |
| 7-2 | |
| 8-3 | |
| 9-2 | |
| 10-3 |
| import io | |
| import socket | |
| import struct | |
| from PIL import Image | |
| # Start a socket listening for connections on 0.0.0.0:8000 (0.0.0.0 means all interfaces) | |
| server_socket = socket.socket() | |
| server_socket.bind(('0.0.0.0', 8000)) | |
| server_socket.listen(0) |
| import socket | |
| import subprocess | |
| # Start a socket listening for connections on 0.0.0.0:8000 (0.0.0.0 means all interfaces) | |
| server_socket = socket.socket() | |
| server_socket.bind(('0.0.0.0', 8000)) | |
| server_socket.listen(0) | |
| # Accept a single connection and make a file-like object out of it | |
| connection = server_socket.accept()[0].makefile('rb') |
| #!/bin/bash | |
| tr 'A-Z' 'a-z' < $2 | tr 'a-z' $( echo {a..z} | sed -r 's/ //g' | sed -r "s/(.{$1})(.*)/\2\1/" ) |
| find ./ -not -path "./.git/*" -type f -exec wc -l {} + | | |
| awk '{print tolower($0)}' | | |
| sed -e '$ d' | | |
| sed -e "s#/.*/##g" | | |
| sed -e "s/\./ \./g" | | |
| awk ' | |
| { if ( NF <= 2 ) { count["none"] += $1 } else { count[$NF] += $1 } } | |
| { next } | |
| END { for (group in count) printf("%d%s%s\n", count[group], OFS, group) } | |
| ' | |
| /* | |
| usage: ASCIIAnimation(param1, param2, param3) | |
| param1 - array of animation 'frames' (strings) | |
| param2 - speed of animation in ms | |
| usage: | |
| var anim = new ASCIIAnimation([":)",":|",":("], 100); | |
| */ |
| mountvol S: /S | |
| S: | |
| cd .\EFI\ | |
| dir | |
| rd /S Ubuntu |
| def citup(lst): | |
| """ | |
| chunk-it-up: break a list into n-sized chunks | |
| """ | |
| return [lst[i:i+n] for i in range(0, len(lst), n)] | |
| mixedlol = [["a", 500, datetime.datetime], ["b", 1000, datetime.datetime], ["C", 1500, datetime.datetime]] # list of lists | |
| def hoelol(mixedlol): |