This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade] | |
"AllowOSUpgrade"=dword:00000000 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate] | |
"DisableOSUpgrade"=dword:00000001 | |
sc config wuauserv start= disabled | |
sc stop wuauserv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 369, | |
"node_id": "MDEwOlJlcG9zaXRvcnkzNjk=", | |
"name": "css_naked_day", | |
"full_name": "collectiveidea/css_naked_day", | |
"private": false, | |
"owner": { | |
"login": "collectiveidea", | |
"id": 128, | |
"node_id": "MDEyOk9yZ2FuaXphdGlvbjEyOA==", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 1, | |
"node_id": "MDEwOlJlcG9zaXRvcnkx", | |
"name": "grit", | |
"full_name": "mojombo/grit", | |
"private": false, | |
"owner": { | |
"login": "mojombo", | |
"id": 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"login": "mojombo", | |
"id": 1, | |
"node_id": "MDQ6VXNlcjE=", | |
"avatar_url": "https://avatars0.githubusercontent.com/u/1?v=4", | |
"gravatar_id": "", | |
"url": "https://api.github.com/users/mojombo", | |
"html_url": "https://github.com/mojombo", | |
"followers_url": "https://api.github.com/users/mojombo/followers", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================================================== | |
_____ _ ____ _ __ _ _ _ | |
| __ \(_) / __ \ | | / _(_) | | | | | |
| |__) |___ _____ _ __ | | | | __ _| | _| |_ _ ___| | __| | | |
| _ /| \ \ / / _ \ '__| | | | |/ _` | |/ / _| |/ _ \ |/ _` | | |
| | \ \| |\ V / __/ | | |__| | (_| | <| | | | __/ | (_| | | |
|_| \_\_| \_/ \___|_| \____/ \__,_|_|\_\_| |_|\___|_|\__,_| | |
======================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmUbHVjm4tsZMquZPUhGKF9rxyDPuev3hMyxoQ259WFq3e9i4EewiaAlPyFUg8trkgQqudhiUPNPcXimnwNryKAUgHkc85olJTerwDfW/FvW4Evq4WWRZiotDfD77EW7Rhn26eCCDYVYN+5CWGHGTUgh1C5s38VgLFV2MgijFWXP/MknR7LGREXgVw3o0jTtOJHHKgEqK+9bRiBA5ESvdScVtw4MLP5dED5Toj27TJxhMdtESNMhdue0ozS3jGquaWM1mEdkTABoGnMUfnzOmVQet5w++3WQwVNoyy0J+DQ38Hyw6OCt0aCAhlPucD+Mp3su3sqGzOG3FrrAnVX0VL cal@ro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
hrs = input("Enter Hours:") | |
rate = input("Enter Rate:") | |
#Computing Overtime | |
if float(hrs) > 40: | |
hrs_difference = float(hrs) - 40 | |
#print(hrs_difference) | |
overtime_pay = float(hrs_difference *(rate * 1.5)) | |
print(overtime_pay) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def comParsing(): | |
global comDist,n,nodeCoordinates | |
n = int(graph.split('\n')[0].split()) | |
for i in graph.split('\n')[1:]: | |
nodeCoordinates.append((int(i.split()[0]), int(i.split()[1]))) | |
for i,index in zip(nodeCoordinates,range(n)): | |
for j,index2 in zip(nodeCoordinates,range(n)): | |
comDist[index][index2]=math.sqrt((nodeCoordinates[j][0]-nodeCoordinates[i][0])**2+(nodeCoordinates[j][1]-nodeCoordinates[i][1])**2) #rasstoyanie ot i do vseh j | |
def commivoyager(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import subprocess | |
def sanitypatch(): | |
""" | |
Quick hack to install any package we want in coderpad... | |
Because real coders use pytest, amirite? | |
""" | |
print("applying coderpad sanity patch...") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FormFieldQuerySetMixin(object): | |
""" | |
Adds support for changing RelatedField queryset | |
easily without having to patch __init__. | |
def get_FIELDNAME_queryset(self): | |
pass | |
""" |
NewerOlder