This file contains hidden or 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 Node: | |
| def __init__(self, payLoad, next=None): | |
| self.payLoad = payLoad | |
| self.next = next | |
| def __str__(self): | |
| return str(self.payLoad) | |
| def __repr__(self): | |
| return self.__str__() |
This file contains hidden or 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
| TEMPLATES = [ | |
| { | |
| 'BACKEND': 'django.template.backends.django.DjangoTemplates', | |
| 'DIRS': [], | |
| 'APP_DIRS': True, | |
| 'OPTIONS': { | |
| 'context_processors': [ | |
| 'django.template.context_processors.debug', | |
| 'django.template.context_processors.request', | |
| 'django.contrib.auth.context_processors.auth', |
This file contains hidden or 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 sqlite3 | |
| conn = sqlite3.connect( 'babyorm.db' ) | |
| c = conn.cursor() | |
| class Model( dict ): | |
| def __init__(self, **kwargs): | |
| self.columns = self.__columns() | |
| for key, value in kwargs.items(): |
This file contains hidden or 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
| from pprint import pprint | |
| import sqlite3 | |
| conn = sqlite3.connect( 'babyorm.db' ) | |
| c = conn.cursor() | |
| class Model( dict ): | |
| def __init__(self, **kwargs): | |
| # c.execute('pragma table_info("{}")'.format(self.__class__.__name__)) | |
| self.columns = self.__columns() |
This file contains hidden or 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
| <VirtualHost *:80> | |
| # ServerAdmin [email protected] | |
| ServerName bytedev.co | |
| # ServerAlias www.site.com | |
| Alias /static /var/www/gitwrapper/staticfiles | |
| WSGIDaemonProcess gitwrapper python-path=/var/www/gitwrapper:/var/www/gitwrapper/env/lib/python3.4/site-packages | |
| WSGIProcessGroup gitwrapper | |
| WSGIScriptAlias / /var/www/gitwrapper/project/wsgi.py |
This file contains hidden or 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
| {"code": "python3 -c \"`echo \"cHJpbnQoJycnCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwMDAKMDAwMDAwMDAwMAowMDAwMDAwMDAwCjAwMDAwMDAwM |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <stdint.h> | |
| #include <netinet/in.h> | |
| #include <sys/socket.h> | |
| #include <sys/stat.h> | |
| #include <sys/types.h> | |
| #include <unistd.h> |
This file contains hidden or 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
| Good morning Richard, | |
| I'll be glad to assist you with this. An SPF record is advised when email sent from us, or any third party, are signed using a domain that is not in our possession (in our case, [email protected]). Large scale email providers, such as Gmail, Yahoo, AOL, and Outlook/Live have adopted a larger array of security measures over the past few years, including the explicit checking of whether an email used as an email's sender matches the server it was sent from. | |
| In your case, our mail server (located at 72.55.140.81) would not be a direct match with the sending domain ([email protected]) of your emails. This has the potential to raise a red flag (spam) with email providers, greatly affecting the successful delivery rate of your email. | |
| Note that SPF records do not have an effect on the sending of emails. Only the successful delivery (showing in the Inbox) of emails. | |
| In order to ensure mail being sent through your custom sender address is sent through normally, we are recommending that |
This file contains hidden or 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
| beep -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 700 -f 392 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 250 -f 622.26 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 369.99 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 700 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 392 -D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 739.98 -D 100 -n -l 25 -f 698.46 -D 100 -n -l 25 -f 659.26 -D 100 -n -l 25 -f 622.26 -D 100 -n -l 50 -f 659.26 -D 400 -n -l 25 -f 415.3 -D 200 -n -l 350 -f 554.36 -D 100 -n -l 250 -f 523.25 -D 100 -n -l 25 -f 493.88 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 25 -f 440 -D 100 -n -l 50 -f 466.16 -D 400 -n -l 25 -f 311.13 -D 200 -n -l 350 -f 369.99 -D 100 -n -l 250 -f 311.13 -D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 466.16 -D 100 -n -l 250 -f 392 -D 100 -n -l |
This file contains hidden or 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
| toDom = { | |
| fun1: function(){ | |
| // code | |
| }, | |
| fun2: function(){ | |
| // code | |
| }, | |
| fun3: function(){ | |
| // code | |
| } |