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 android.app.Activity; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.pm.ResolveInfo; | |
| import android.content.res.AssetFileDescriptor; | |
| import android.database.Cursor; | |
| import android.graphics.Bitmap; | |
| import android.graphics.BitmapFactory; | |
| import android.graphics.Matrix; | |
| import android.media.ExifInterface; |
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
| print '' |
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 smtplib | |
| import os, sys | |
| import time | |
| toaddrs = ['hello@colive.in'] | |
| msg ='''Subject: #{} some subject | |
| body | |
| ''' | |
| fromaddress = username = os.getenv('GMAIL_EMAIL') |
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> | |
| #define MAX_ITEM 10 | |
| #define max(a,b,c) (a>=b?(a>=c?a:c):(b>=c?b:c)) | |
| #define min(a,b,c) (a<=b?(a<=c?a:c):(b<=c?b:c)) | |
| #define sum(a,b,c) (a+b+c) | |
| int* readInput(int numberOfItems){ | |
| int* input; | |
| if(numberOfItems <= 0){ |
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> | |
| #define MAX_ITEM 10 | |
| #define max(a,b,c) (a>=b?(a>=c?a:c):(b>=c?b:c)) | |
| #define min(a,b,c) (a<=b?(a<=c?a:c):(b<=c?b:c)) | |
| #define sum(a,b,c) (a+b+c) | |
| int* readInput(int numberOfItems){ | |
| int* input; | |
| if(numberOfItems <= 0){ |
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> | |
| typedef struct Node Node; | |
| struct Node{ | |
| int value; | |
| Node* rchild; | |
| Node* lchild; | |
| Node* rsibling; | |
| }; |
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 abc import ABCMeta, abstractproperty, abstractmethod | |
| from pprint import pformat | |
| from lxml import etree | |
| import logging | |
| import requests | |
| import json | |
| class DictResultMixin(object): | |
| __metaclass__ = ABCMeta |
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
| server { | |
| listen 8080; | |
| # path for static files | |
| root /home/pi/dobby-web/app/static; | |
| location / { | |
| try_files $uri /html/$uri.html /404; | |
| } |
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
| { | |
| "color_scheme": "Packages/Color Scheme - Default/Celeste.sublime-color-scheme", | |
| "font_size": 12, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "tab_size": 4, | |
| "theme": "Adaptive.sublime-theme", | |
| "translate_tabs_to_spaces": true |
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
| [ | |
| { | |
| "quote": "Patience Ensures Victory.", | |
| "author": "Ali ibn Abi Talib" | |
| }, | |
| { | |
| "quote": "Do for this life as if you live forever, do for the afterlife as if you die tomorrow.", | |
| "author": "Ali ibn Abi Talib" | |
| }, | |
| { |
OlderNewer