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 kitty_class | |
def main(): | |
jerry = kitty_class.Kitty("jerry") | |
jerry.watchCat() | |
jerry.nameCat("jerrard") | |
jerry.feedCat() | |
jerry.watchCat() | |
if __name__ == "__main__": |
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
-- MySQL dump 10.13 Distrib 5.5.14, for Linux (i686) | |
-- | |
-- Host: localhost Database: men_norm | |
-- ------------------------------------------------------ | |
-- Server version 5.5.14-log | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
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 <stdlib.h> | |
#include <stdio.h> | |
#include "./inc/stack.h" | |
void push(struct node** first, struct node** addAfter, const char val){ | |
struct node* top; | |
top = malloc(sizeof(struct node*)); | |
top->val = val; |
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 PathValidator(object): | |
'''Class for validating paths | |
It checks whether a file or directory exists at the location pointed by path | |
If the file or directory exists it must be non-empty and readable, | |
else InvalidpathError is raised | |
If the class is instantiated like this: | |
pathsV = PathValidator(True, '/home/path') |
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 GetFiles(object): | |
'''Get a list of valid files in a location | |
The files will be matched against the extension or MIME type | |
This class also uses PathValidator class to validate the checked path | |
''' |
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
def __init__(self, key = '', item = ''): | |
if key: | |
self._content = {key: item} | |
else: | |
self._content = {} |
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
-- MySQL dump 10.13 Distrib 5.5.15, for Linux (i686) | |
-- | |
-- Host: localhost Database: locuitori | |
-- ------------------------------------------------------ | |
-- Server version 5.5.15-log | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
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
2011-08-05 22:17:37 starlays paullik: zimi exact la ce te referi cand spui ca persista, si ca upload succes nu e o eroare? | |
2011-08-05 22:17:59 raul21 am fugit. Bye | |
2011-08-05 22:18:01 +paullik raul21, http://www.mandrivalinux.ro/ghid | |
2011-08-05 22:18:09 +paullik o sa te ajute ENORM! | |
2011-08-05 22:18:21 +paullik chit ca e alt distro, fuck that, nu conteaza | |
2011-08-05 22:18:26 +paullik ideile raman! | |
2011-08-05 22:18:32 +paullik have fun | |
2011-08-05 22:19:05 starlays paullik: waiting | |
2011-08-05 22:19:07 +paullik starlays, adica: scoate UP_SUCCESS(sau cum se numeste) de pe VL, doar codul, mesajul lasa-l | |
2011-08-05 22:19:14 +paullik starlays, nu am 5 maini |
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
20:22:10 paullik | starlays, uite inca ceva, il deseneaza el de mana: │ | |
20:22:15 paullik | +------+-----+ │ | |
20:22:33 flavius | cel mai bine asa │ | |
20:22:35 flavius | de mana │ | |
20:22:45 paullik | | cat | | │ | |
20:22:48 paullik | +------+-----+ │ | |
20:22:49 paullik | | cat | | │ | |
20:22:55 |
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
aaabbb |