Skip to content

Instantly share code, notes, and snippets.

View dirigeant's full-sized avatar

Türker Sezer dirigeant

View GitHub Profile
https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd
I send my request to ARBGetSubscriptionListRequest. According to XSD, searchType is required, paging and sorting are optional parameters.
This is the xml I send.
<ARBGetSubscriptionListRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
[root@dev ~]# getsebool nis_enabled
nis_enabled --> off
[root@dev ~]# setsebool -P nis_enabled 1
[root@dev ~]# getsebool nis_enabled
nis_enabled --> off
[root@dev ~]# setsebool -P nis_enabled on
[root@dev ~]# getsebool nis_enabled
nis_enabled --> off
[root@dev ~]# setsebool nis_enabled on
[root@dev ~]# getsebool nis_enabled
def rename_file(path):
def wrapper(instance, filename):
ext = filename.split('.')[-1]
# set filename as random string
filename = '{}.{}'.format(uuid4().hex, ext)
# return the whole path to the file
return os.path.join(datetime.strftime(datetime.today(), path), filename)
return wrapper

Keybase proof

I hereby claim:

  • I am dirigeant on github.
  • I am dirigeant (https://keybase.io/dirigeant) on keybase.
  • I have a public key whose fingerprint is 9AD2 2606 2478 9D53 84A0 A58B 5384 15D0 3503 3DFC

To claim this, I am signing this object:

A message from our CEO
As you certainly know by now on Monday control of our most popular domain names were ceased and as a result Millions of hostnames have gone dark and Millions of users have been put almost entirely out of service.
We have been throwing everything we have at getting you back on line with the least possible delay, for legal reasons we have felt restricted from reaching out to you, but we simply cannot stay quiet with you any longer. We are very close to a resolution and we will update you with more as soon as when we can.
Why is this happening?
You can also read our formal response on our blog to comment and share on Facebook and Twitter.
class Request(models.model):
date_completed = models.DateTimeField(null=True, blank=True)
completed = models.BooleanField(default=False)
def __init__(self, *args, **kwargs):
super(Request, self).__init__(*args, **kwargs)
self.__completed = self.completed
def save(self, *args, **kwargs):
if self.completed != self.__completed and self.completed == True: