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/python | |
# | |
# Made by [email protected] | |
# Version: 1.2.1 | |
# | |
''' | |
An Epitech norme checker | |
Usage: python norme.py <files to scan> [-nocheat] [-verbose] [-score] [-libc] |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
int main(int argc, char **argv) | |
{ | |
struct sock_addr_in sin; |
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
xdazn 76561198029364404 | |
Backpack | |
369975 | |
369976 | |
1026876 | |
1243838 | |
1253828 | |
2254191 | |
2254192 | |
2558587 |
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
Python 2.7.3 (default, Sep 26 2012, 21:51:14) | |
[GCC 4.7.2] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import requests | |
>>> requests.get("https://api.stackexchange.com/2.1/search?page=1&pagesize=10&order=desc&sort=activity&tagged=pandas&site=stackoverflow").json() | |
{u'has_more': True, u'items': [{u'view_count': 43, u'title': u'pandas 0.10.1 to 0.11.0 is method', u'tags': [u'python', u'pandas'], u'last_activity_date': 1370868753, u'answer_count': 0, u'creation_date': 1370856736, u'score': 0, u'link': u'http://stackoverflow.com/questions/17020763/pandas-0-10-1-to-0-11-0-is-method', u'is_answered': False, u'owner': {u'display_name': u'Joop', u'profile_image': u'http://www.gravatar.com/avatar/d9895ef31b55b5105a4cba794050483a?d=identicon&r=PG', u'user_type': u'registered', u'reputation': 65, u'link': u'http://stackoverflow.com/users/2107677/joop', u'accept_rate': 100, u'user_id': 2107677}, u'last_edit_date': 1370868753, u'question_id': 17020763}, {u'view_count': 23, u'title': |
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
rxdazn@yugen~/test/pypath$tree | |
. | |
├── bar | |
│ ├── __init__.py | |
│ ├── __init__.pyc | |
│ ├── newbar | |
│ │ ├── __init__.py | |
│ │ ├── __init__.pyc | |
│ │ ├── module1.py | |
│ │ ├── module1.pyc |
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 AAAAB3NzaC1yc2EAAAADAQABAAABAQDB77DgXkoaRq/nW81kEve64Dspq3wvUd768nHRvrUxRNMQUTNMSCwT0IXElITFoXRISIPIjQ5PafqJUv87/Ypppx+lu9AIkBEBURae3kekJu7G3AMRFiTqjvXk4M5QLFzQu9WCaxMCHLDqMLw280XYkfatXO2QjrBQ6bbYYBkL+fqq0VtNjIU4SCb0Z7Mu3SyQvnnJ4PHTzLgPxjFyyJilXl1jOxZnQk7UjvjrgBX+Z+I6m76fALw3RYLJurZNAfZQQRjM5dl7Ts0YsqiOtl2mnzPF5o14PQT2Zkw1o0PX3x3up3cExh0mZRAoRrZwYBcETl0oEQRB19Q11BxjtHMB rxdazn@aquarius |
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
Usage: | |
bower <command> [<args>] [<options>] | |
Commands: | |
cache Manage bower cache | |
help Display help information about Bower | |
home Opens a package homepage into your favorite browser | |
info Info of a particular package |
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 length(min=-1, max=-1): | |
message = 'Must be between %d and %d characters long.' % (min, max) | |
def _length(form, field): | |
l = field.data and len(field.data) or 0 | |
if l < min or max != -1 and l > max: | |
raise ValidationError(message) | |
return _length |
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
Ninja Tune | |
FABRICLIVE | |
Warp Records | |
Fabric | |
Raster-Noton Discography | |
Stones Throw Records | |
Kompakt | |
Searching for the Perfect Beat | |
Ghostly International | |
Drexcyian Torrents |
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 test(a, b, recurse=True): | |
... test(a, recurse=False) | |
... | |
>>> test(1,2) | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "<stdin>", line 2, in test | |
TypeError: test() takes at least 2 arguments (2 given) |
OlderNewer