PageRenderTime 373ms queryTime 173ms sortTime 0ms getByIdsTime 51ms findMatchingLines 52ms

100+ results results for 'python forums' (373 ms)

Not the results you expected?
views_add_edit.py http://diamanda.googlecode.com/svn/trunk/ | Python | 313 lines
                    
1#!/usr/bin/python
                    
2# Diamanda Application Set
                    
39	if forum.use_prefixes:
                    
40		p = Prefix.objects.filter(forums=forum)
                    
41		if len(p) > 0:
                    
                
README.md https://gitlab.com/Smileyt/KomodoEdit | Markdown | 275 lines
                    
36
                    
37Forums: <http://forum.komodoide.com/>
                    
38
                    
56
                    
57 * Python >=2.7 (but not Python 3.x yet). You can [install ActivePython from here](http://downloads.activestate.com/ActivePython/releases).
                    
58
                    
116
                    
117 * Python >=2.7 (but not Python 3.x yet). You can
                    
118   [install ActivePython from here](http://downloads.activestate.com/ActivePython/releases).
                    
119
                    
120   If you prefer the Python builds from python.org should be sufficient as well.
                    
121
                    
152
                    
153 * Python >=2.7 (but not Python 3.x yet). You can
                    
154   [install ActivePython from here](http://downloads.activestate.com/ActivePython/releases).
                    
                
README.md https://gitlab.com/1851616111/toropress | Markdown | 143 lines
                    
2
                    
3Highlight.js highlights syntax in code examples on blogs, forums and,
                    
4in fact, on any web page. It's very easy to use because it works
                    
44
                    
45    python tools/build.py -tnode lang1 lang2 ..
                    
46
                    
                
2013-09-06-fanatical-support-from-the-rackspace-community.markdown https://gitlab.com/Blueprint-Marketing/developer.rackspace.com | Markdown | 27 lines
                    
12
                    
13As a Fanatical Support Manager, this presented some new and fun challenges to prepare our Support Rackers to provide a level of service that we could be proud to call Fanatical.  We designed a training and assessment program for our Rackers to gain the skills and certification needed to properly support our customers.  In addition to ensuring our front line support had everything they needed to give advice on using our SDK's, we also had to investigate new ways to provide that support.  Support tickets, chat sessions, and phone support are always available to our customers for all of their Rackspace needs, but the most exciting and successful medium has been our [Community Developer Forums](https://community.rackspace.com/developers/default).<!-- more -->
                    
14
                    
16
                    
17The Community is an ideal tool to support custom code that uses our SDKs.  Having the ability to post code snippets (or links to a gist of code) and error messages is invaluable when it comes to code support.  We have many examples of developers using the Community to get advice and help on PHP, Python, Ruby, .NET, Java, and Chef.  We've even started to do AMA's (Ask me anything) with some of our SDK developers that you can check out [here](http://developer.rackspace.com/blog/got-python-questions.html), and [here](https://community.rackspace.com/developers/f/7/t/890) is an example of the type of DevOps support we can provide our customers.
                    
18
                    
22
                    
23>"In 2003, a friend and I built a SaaS HR website to ease the process of employee reviews for major corporations. We chose Rackspace managed hosting for our provider. One night, I was notified via email by Rackspace that the server went down, that Rackspace fixed the problem, and that Rackspace would monitor the server for the next couple hours to make sure everything was ok. That was at 4am on a weekday. Fast forward to 2013 and my host of choice is still Rackspace. The developer forums are full of people like Evan who go out of their way to help you at all hours of the night, with messages that end in "sent from my iPhone" at 10pm EDT and out of the box thinking with ideas such as Geo-Redundancy for failing over CDN containers. Fanatical support is when people care about your problems and go out of their way to help you, and that's exactly what I get from Rackspace. I've come to expect nothing less."
                    
24
                    
26
                    
27My name on the forums is [FanaticalEvan](https://community.rackspace.com/members/evan.ochs/default), I hope to see you there!
                    
28
                    
                
big-compute-resources.md https://gitlab.com/yeah568/azure-content | Markdown | 159 lines
                    
36
                    
37* [.NET](https://msdn.microsoft.com/library/azure/mt348682.aspx), [Python](http://azure-sdk-for-python.readthedocs.io/latest/), [Node.js](http://azure.github.io/azure-sdk-for-node/azure-batch/latest/), [Java](http://azure.github.io/azure-sdk-for-java/), and [REST](https://msdn.microsoft.com/library/azure/dn820158.aspx) API reference
                    
38
                    
40
                    
41* Tutorials: Get started with [Azure Batch library for .NET](batch-dotnet-get-started.md) and [Batch Python client](batch-python-tutorial.md)
                    
42
                    
42
                    
43* [Batch forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=azurebatch)
                    
44
                    
66
                    
67* [Windows HPC forums](https://social.microsoft.com/Forums/home?category=windowshpc)
                    
68
                    
88
                    
89* [MPI forum](https://social.microsoft.com/Forums/en-us/home?forum=windowshpcmpi)
                    
90
                    
                
models.py https://github.com/RockHoward/django-forum.git | Python | 264 lines
                    
112        verbose_name = _('Forum')
                    
113        verbose_name_plural = _('Forums')
                    
114
                    
122        """
                    
123        Taken from a python newsgroup post
                    
124        """
                    
138        """
                    
139        Gets a list of all of the children forums.
                    
140        """
                    
                
pycompletionserver.py https://gitlab.com/ZoZworc/install | Python | 402 lines
                    
9except ImportError:
                    
10    import builtins as __builtin__  # Python 3.0
                    
11    IS_PYTHON3K = 1
                    
38if sys.platform == "darwin":
                    
39    # See: https://sourceforge.net/projects/pydev/forums/forum/293649/topic/3454227
                    
40    try:
                    
64except:
                    
65    import io as StringIO #Python 3.0
                    
66
                    
96MSG_IMPORTS = '@@IMPORTS:'
                    
97MSG_PYTHONPATH = '@@PYTHONPATH_END@@'
                    
98MSG_CHANGE_PYTHONPATH = '@@CHANGE_PYTHONPATH:'
                    
122def change_python_path(pythonpath):
                    
123    '''Changes the pythonpath (clears all the previous pythonpath)
                    
124
                    
                
README.org https://github.com/kjordahl/Watts-Up--logger.git | Org | 72 lines
                    
2
                    
3This is a simple Python utility for logging data from a [[https://www.wattsupmeters.com/secure/products.php?pn=0&wai=384&more=4][Watts Up? Pro]]
                    
4power meter.  Documentation for the serial port interface for the
                    
9version for Windows]] for $72.95. One example I found of reading from the Watts
                    
10Up? Pro in Python was [[http://www.wattzon.com/forums/posts/80][this script]].
                    
11
                    
                
kolla_archlinux_notes.org https://gitlab.com/gojun077/junsTechNotes | Org | 254 lines
                    
4  component. Setting up Kolla on Archlinux requires some tweaks
                    
5  because the default 'python' binary is Python 3 instead of Python
                    
6  2, the latter  of which is required to run Ansible.
                    
25
                    
26   'pip' for python 2 must also be installed (python2-pip)
                    
27
                    
64     #+BEGIN_SRC shell
                    
65     localhost       ansible_python_interpreter=/usr/bin/python2
                    
66     #+END_SRC
                    
67
                    
68  2. *Install graphviz dependency for python 2 graphviz module from pip2*
                    
69     https://pypi.python.org/pypi/graphviz
                    
75
                    
76     I tried to find a native Arch package for python2 module graphviz
                    
77     but only came up with the following:
                    
                
starter_project_list.md https://gitlab.com/asmjahid/pinax | Markdown | 85 lines
                    
27In addition to what is provided by the "account" project, this project
                    
28integrates with `python-social-auth` for Twitter, Facebook, and Google
                    
29authentication.
                    
80* pinax-project-lms
                    
81* pinax-project-forums
                    
82* pinax-project-teams
                    
                
NoIronPython.html https://gitlab.com/SplatoonModdingHub/PTVS | HTML | 58 lines
                    
2<!--
                    
3Python Tools for Visual Studio
                    
4Copyright(c) Microsoft Corporation
                    
22    <meta charset="utf-8" />
                    
23    <title>Python Tools for Visual Studio</title>
                    
24    <link rel="stylesheet" href="../PythonTools/ReadmeStyle.css" type="text/css" />
                    
27<body>
                    
28    <h1 class="top">We didn't find IronPython</h1>
                    
29    <p>
                    
29    <p>
                    
30        This project is configured to run with IronPython, which is
                    
31        an implementation of Python on the .NET Framework.
                    
53        This link will take you to our homepage, where you can find more 
                    
54        documentation, discussion forums, and updates for Python Tools
                    
55        for Visual Studio.
                    
                
middleware.py https://gitlab.com/gregtyka/Scryve-Webapp | Python | 110 lines
                    
19    Similar to string.replace() but is case insensitive
                    
20    Code borrowed from: http://forums.devshed.com/python-programming-11/case-insensitive-string-replace-490921.html
                    
21    """
                    
                
gyrotest.py https://gitlab.com/MikeDabrowski/PiRobot | Python | 40 lines
                    
1#!/usr/bin/env python
                    
2# BRICKPI LEGO EV3 GYRO SENSOR EXAMPLE.
                    
24# You can learn more about BrickPi here:  http://www.dexterindustries.com/BrickPi
                    
25# Have a question about this example?  Ask on the forums here:  http://forum.dexterindustries.com/c/brickpi
                    
26
                    
                
acceptance.py https://gitlab.com/unofficial-mirrors/edx-platform | Python | 151 lines
                    
100
                    
101# Forums are disabled in test.py to speed up unit tests, but we do not have
                    
102# per-test control for lettuce acceptance tests.
                    
108# HACK
                    
109# Setting this flag to false causes imports to not load correctly in the lettuce python files
                    
110# We do not yet understand why this occurs. Setting this to true is a stopgap measure
                    
                
tests.rst https://gitlab.com/jslee1/kitsune | ReStructuredText | 257 lines
                    
6
                    
7Kitsune has a fairly comprehensive Python test suite. Changes should
                    
8not break tests---only change a test if there is a good reason to
                    
53
                    
54    ./manage.py test kitsune/wiki kitsune/search kitsune/kbforums
                    
55
                    
109  modelmakers defined in the tests module of the Django app. For
                    
110  example, ``forums.tests.document`` is the modelmaker for
                    
111  ``forums.Models.Document`` class.
                    
                
functions-run-local.md https://gitlab.com/yeah568/azure-content | Markdown | 223 lines
                    
28
                    
29>[AZURE.NOTE] Azure Functions is currently in preview, and the overall experience including tooling is still under rapid development. The procedures outlined in this article do not reflect the final local development experience, and we’d love for you to [provide your feedback](https://feedback.azure.com/forums/355860-azure-functions).
                    
30
                    
56	* BASH
                    
57	* Python
                    
58	* PHP
                    
                
train_predict_keras3.py https://gitlab.com/zachwill/talkingdata | Python | 157 lines
                    
1#!/usr/bin/env python
                    
2from __future__ import absolute_import, division, print_function
                    
27def batch_generator(X, y, batch_size, shuffle):
                    
28    #chenglong code for fiting from generator (https://www.kaggle.com/c/talkingdata-mobile-user-demographics/forums/t/22567/neural-network-for-sparse-matrices)
                    
29    number_of_batches = np.ceil(X.shape[0]/batch_size)
                    
                
models.py http://ddtcms.googlecode.com/svn/trunk/ | Python | 403 lines
                    
115		verbose_name = _('Forum')
                    
116		verbose_name_plural = _('Forums')
                    
117
                    
125		"""
                    
126		Taken from a python newsgroup post
                    
127		"""
                    
141		"""
                    
142		Gets a list of all of the children forums.
                    
143		"""
                    
149		"""
                    
150		Gets a list of the children forums.
                    
151		"""
                    
                
softlayer.py https://gitlab.com/0072016/Facebook-SDK-json- | Python | 163 lines
                    
1#!/usr/bin/env python
                    
2"""
                    
4
                    
5The SoftLayer Python API client is required. Use `pip install softlayer` to install it.
                    
6You have a few different options for configuring your username and api_key. You can pass 
                    
8~/.softlayer or /etc/softlayer.conf. For more information see the SL API at:
                    
9- https://softlayer-python.readthedocs.org/en/latest/config_file.html
                    
10
                    
10
                    
11The SoftLayer Python client has a built in command for saving this configuration file
                    
12via the command `sl config setup`.
                    
102
                    
103        # 5 is active for hardware... see https://forums.softlayer.com/forum/softlayer-developer-network/general-discussion/2955-hardwarestatusid
                    
104        if 'hardwareStatusId' in instance and instance['hardwareStatusId'] != 5:
                    
                
README.md https://gitlab.com/Grouumf/garmire_SNV_calling | Markdown | 109 lines
                    
2
                    
3This package aims to align reads from FASTQ files and infer SNVs from RNA-seq dataset. The pipeline is largely inspired from the [GATK variant calling good practices.](http://gatkforums.broadinstitute.org/wdl/discussion/3891/calling-variants-in-rnaseq). Also, it can optionally infer raw gene expression, annotate SNV and doing Quality Control (QC) check.
                    
4
                    
22    * Linux/ Unix (not tested) working environment
                    
23    * [python 2 (>=2.7)](https://www.python.org/download/releases/2.7.2/)
                    
24    * [STAR Aligner](https://github.com/alexdobin/STAR)
                    
53```bash
                    
54  python test/*.py -v
                    
55  nosetests -v # alternative using nose
                    
61```bash
                    
62python garmire_SNV_calling/generate_STAR_genome_index.py
                    
63```
                    
67```bash
                    
68python garmire_SNV_calling/deploy_star.py
                    
69```
                    
                
Numbers in List.ipynb https://gitlab.com/TravBus/CS_101 | Jupyter | 100 lines
                    
10   "source": [
                    
11    "# Numbers in lists by SeanMc from forums\n",
                    
12    "# define a procedure that takes in a string of numbers from 1-9 and\n",
                    
80  "kernelspec": {
                    
81   "display_name": "Python 3",
                    
82   "language": "python",
                    
82   "language": "python",
                    
83   "name": "python3"
                    
84  },
                    
86   "codemirror_mode": {
                    
87    "name": "ipython",
                    
88    "version": 3
                    
90   "file_extension": ".py",
                    
91   "mimetype": "text/x-python",
                    
92   "name": "python",
                    
                
Decorators.php https://gitlab.com/bulwye/reliquerunt | PHP | 363 lines
                    
16// +----------------------------------------------------------------------+
                    
17// | Authors: Alexander Zhukov <alex@veresk.ru> Original port from Python |
                    
18// | Authors: Harry Fuecks <hfuecks@phppatterns.com> Port to PEAR + more  |
                    
18// | Authors: Harry Fuecks <hfuecks@phppatterns.com> Port to PEAR + more  |
                    
19// | Authors: Many @ Sitepointforums Advanced PHP Forums                  |
                    
20// +----------------------------------------------------------------------+
                    
                
models.py http://plugs.googlecode.com/svn/trunk/ | Python | 155 lines
                    
1#! /usr/bin/env python
                    
2#coding=utf-8
                    
38    ordering = Field(int, verbose_name='??',default = 1)
                    
39    category = Reference('forumcategory', verbose_name='????', collection_name='forums', required=True)
                    
40    created_on = Field(datetime.datetime, verbose_name='????', auto_now_add=True)
                    
46    last_reply_on = Field(datetime.datetime, verbose_name='??????')
                    
47    last_post_user = Reference('user', verbose_name='?????', collection_name="last_post_user_forums")
                    
48    last_post = Field(int, verbose_name='????id')
                    
                
machine-learning-competition-faq.md https://gitlab.com/yeah568/azure-content | Markdown | 118 lines
                    
31Please use our [Microsoft Azure Machine Learning
                    
32forum](https://social.msdn.microsoft.com/forums/azure/home?forum=MachineLearning).
                    
33
                    
48
                    
49The competition participants leverage Azure Machine Learning Studio, a cloud-based service within Cortana Intelligence Suite for development of the data science models and create Competition entries for submission. ML Studio not only provides a GUI interface for constructing machine learning experiments, it also allows you to bring your own R and/or Python scripts for native execution. The R and Python runtime in ML Studio come with a rich set of open source R/Python packages, and you can import your own packages as part of the experiment as well. ML Studio also has a built-in JuPyteR Notebook service for you to do free style data exploration. Of course, you can always download the datasets used in the Competition and explore it in your favorite tool outside of ML Studio. 
                    
50
                    
                
Scribbler.py http://openqwaq.googlecode.com/svn/trunk/ | Python | 347 lines
                    
12
                    
13# Scribbler.py: The main file for a Python Panel App
                    
14
                    
38    
                    
39            # Print some status info in the Qwaq Forums transcript
                    
40            self.println("[Scribbler]: Creating new app")
                    
                
apps_list.md https://gitlab.com/asmjahid/pinax | Markdown | 96 lines
                    
55pinax-lms-activities provides a framework and base learning activities for Pinax LMS.
                    
56## [pinax-forums](https://github.com/pinax/pinax-forums)
                    
57pinax-forums is an extensible forums app for Django and Pinax. It is focused on core forum functionality and hence is expected to be combined with other Pinax apps for broader features.
                    
58
                    
59See pinax-project-forums for a full Django project incorporating numerous apps with the goal of providing an out of the box forums solution.
                    
60## [pinax-types](https://github.com/pinax/pinax-types)
                    
66## [symposion](https://github.com/pinax/symposion)
                    
67symposion is a conference management solution from Eldarion. It was built with the generous support of the Python Software Foundation. See http://eldarion.com/symposion/ for commercial support, customization and hosting.
                    
68## [metron](https://github.com/pinax/metron)
                    
                
get-shit-done.py https://github.com/sergray/get-shit-done.git | Python | 104 lines
                    
1#!/usr/bin/env python
                    
2
                    
16    'flickr.com',
                    
17    'forums.somethingawful.com',
                    
18    'friendster.com',
                    
                
Makefile https://gitlab.com/purdueNlp/DRaiL | Makefile | 22 lines
                    
3# targets depend on your machine
                    
4#all: argmining-mac 4forums-mac
                    
5all: argmining-linux 4forums-linux
                    
7argmining-mac: di_graph.h core_argmining.h
                    
8	c++ $(FLAGS) -Wno-deprecated-register -shared -undefined dynamic_lookup `python -m pybind11 --includes` core_argmining.cpp -o core_argmining.so
                    
9
                    
10argmining-linux: di_graph.h core_argmining.h
                    
11	c++ $(FLAGS) -Wno-deprecated-register -shared -fPIC `python -m pybind11 --includes` core_argmining.cpp -o core_argmining.so -I/usr/include/python2.7 -lpython2.7 
                    
12
                    
144forums-mac: di_graph.h core_4forums.h
                    
15	c++ $(FLAGS) -Wno-deprecated-register -shared -undefined dynamic_lookup `python -m pybind11 --includes` core_4forums.cpp -o core_4forums.so
                    
16
                    
174forums-linux: di_graph.h core_4forums.h
                    
18	c++ $(FLAGS) -Wno-deprecated-register -shared -fPIC `python -m pybind11 --includes` core_4forums.cpp -o core_4forums.so -I/usr/include/python2.7 -lpython2.7 
                    
19
                    
                
__init__.py https://gitlab.com/manoj-makkuboy/vikuit | Python | 135 lines
                    
1#!/usr/bin/python
                    
2# -*- coding: utf-8 -*-
                    
60from handlers.module.community.CommunityDelete import *
                    
61# community forums
                    
62from handlers.module.community.CommunityForumList import *
                    
65from handlers.module.community.CommunityForumReply import *
                    
66from handlers.module.community.CommunityForumSubscribe import *
                    
67from handlers.module.community.CommunityForumDelete import *
                    
97from handlers.module.user.UserEvents import *
                    
98from handlers.module.user.UserForums import *
                    
99
                    
111
                    
112# forums
                    
113from handlers.ForumList import *
                    
                
xconfigurator.py https://github.com/atareao/Touchpad-Indicator.git | Python | 165 lines
                    
1#!/usr/bin/env python3
                    
2# -*- coding: utf-8 -*-
                    
36    # From http://www.bloggerpolis.com/2011/05/\
                    
37    # how-to-check-if-a-process-is-running-using-python/
                    
38    # and http://richarddingwall.name/2009/06/18/\
                    
84            return "gnome2"
                    
85    # From http://ubuntuforums.org/showthread.php?t=652320
                    
86    elif is_running("xfce-mcs-manage"):
                    
                
Makefile https://gitlab.com/purdueNlp/DRaiL | Makefile | 64 lines
                    
8
                    
9TARGET    = 4forums
                    
10DIRECTORY = data/
                    
55local:
                    
56	python ../../run_debates_4forums.py -d $(DIRECTORY) -r $(RULES) -c $(CONFIG) -f $(FE_DIR) -n $(NET_DIR) --savedir $(SAVE_DIR) --issue $(ISSUE) -p $(PICKLE_D) $(BERT) $(INFERENCE) -m local --constraints --train_only -g $(GPUINDEX) $(ADDD)
                    
57global:
                    
57global:
                    
58	python ../../run_debates_4forums.py -d $(DIRECTORY) -r $(RULES) -c $(CONFIG) -f $(FE_DIR) -n $(NET_DIR) --savedir $(SAVE_DIR) --issue $(ISSUE) -p $(PICKLE_D) $(BERT) $(INFERENCE) -m global --lrate $(L_RATE) --constraints -g $(GPUINDEX) $(ADDD) --logging_config ../../logging_conf.json --we_file $(WE_FILE) --loss hinge  $(AC) $(LOCAL_OPT_INIT)
                    
59global-hotstart:
                    
61	cp -r $(PRET_BERT) $(SAVE_DIR)
                    
62	python ../../run_debates_4forums.py -d $(DIRECTORY) -r $(RULES) -c $(CONFIG) -f $(FE_DIR) -n $(NET_DIR) --savedir $(SAVE_DIR) --issue $(ISSUE) -p $(PICKLE_D) $(BERT) $(INFERENCE) -m global --lrate $(L_RATE) --constraints --continue_from_checkpoint -g $(GPUINDEX) $(ADDD) --logging_config ../../logging_conf.json --we_file $(WE_FILE) --loss hinge  $(AC) $(LOCAL_OPT_INIT)
                    
63global-debug-cpu:
                    
63global-debug-cpu:
                    
64	python ../../run_debates_4forums.py -d $(DIRECTORY) -r $(RULES) -c $(CONFIG) -f $(FE_DIR) -n $(NET_DIR) --savedir $(SAVE_DIR) --issue $(ISSUE) $(BERT) $(INFERENCE) -m global --lrate $(L_RATE) --constraints --debug $(ADDD) --logging_config ../../logging_conf.json --we_file $(WE_FILE) --loss hinge $(AC) $(LOCAL_OPT_INIT)
                    
                
ghadoopmonitor.py https://gitlab.com/abushoeb/gc-v1 | Python | 960 lines
                    
1#!/usr/bin/env python2.7
                    
2
                    
55		
                    
56		# http://forums.devshed.com/python-programming-11/how-to-monitor-a-file-for-changes-85767.html
                    
57		self.fileMapr = open(self.logfileMapr, 'r')
                    
                
ghadoopmonitor.py https://gitlab.com/abushoeb/ghadoop-v1 | Python | 584 lines
                    
1#!/usr/bin/env python2.5
                    
2
                    
43		
                    
44		# http://forums.devshed.com/python-programming-11/how-to-monitor-a-file-for-changes-85767.html
                    
45		self.fileMapr = open(self.logfileMapr, 'r')
                    
                
list.html https://bitbucket.org/jice/libtcod/ | HTML | 37 lines
                    
21</ul></div>
                    
22<p>This is a fast, lightweight and generic container, that provides array, list and stack paradigms.<br />Note that this module has no python wrapper. Use python built-in containers instead.<br /> </p>
                    
23
                    
28	<p><table width='100%'><tr><td><a href="http://doryen.eptalys.net/libtcod">libtcod website</a></td>
                    
29	<td><a href="http://doryen.eptalys.net/forum/index.php?board=12.0">libtcod on Roguecentral forums</a></td>
                    
30  <td><a href="http://www.youtube.com/watch?v=PY9lJnVQbXs&feature=PlayList&p=553E3D00A1460331&playnext_from=PL&index=0&playnext=1">libtcod HOWTO video tutorials</a></td></tr></table></p>
                    
                
analytics.py https://gitlab.com/g66shivam/gstudio | Python | 1111 lines
                    
1''' -- Imports from python libraries -- '''
                    
2import datetime
                    
209	data['num_of_files'] = analytics_collection.find({ "user.name" : request.user.username, "action.key" : "create", "obj.file" : { '$exists' : 'true'}}).count()
                    
210	data['num_of_forums_created'] = analytics_collection.find({ "user.name" : request.user.username, "action.key" : "create", "obj.forum" : { '$exists' : 'true'}}).count()
                    
211	data['num_of_threads_created'] = analytics_collection.find({ "user.name" : request.user.username, "action.key" : "create", "obj.thread" : { '$exists' : 'true'}}).count()
                    
260        TwistGst = node_collection.find_one({"_type":"GSystemType","name":"Twist"})
                    
261	data['forums'] = db['Nodes'].find({"url":"forum", "group_set":ObjectId(group_id)}).count()	
                    
262	data['threads'] = db['Nodes'].find({"member_of":ObjectId(TwistGst._id),"group_set":ObjectId(group_id)}).count()
                    
273
                    
274	data['recent']['forums'] = analytics_collection.find({"action.key": {"$in" : ['create', 'edit']}, "group_id": str(group_id), "obj.forum" : { '$exists' : 'true'},"timestamp":{'$gte':specific_date}}).count()
                    
275	data['recent']['threads'] = analytics_collection.find({"action.key": {"$in" : ['create', 'edit']}, "group_id": str(group_id), "obj.thread" : { '$exists' : 'true'},"timestamp":{'$gte':specific_date}}).count()
                    
336	computing_urls = [
                    
337		{ 'key' : 'forums', 'url' : 'forum', 'status' : 'DRAFT' }, 
                    
338		{ 'key' : 'threads', 'url' : 'forum/thread', 'status' : 'DRAFT' },
                    
                
forum-merge.py https://gitlab.com/wushin/evol-tools | Python | 240 lines
                    
96cursor.execute("update phpbb_topics_2 set topic_last_poster_id = topic_last_poster_id +%s;" % maxuser)
                    
97cursor.execute("update phpbb_forums_2 set forum_last_poster_id = forum_last_poster_id + %s;" % maxuser)
                    
98cursor.execute("update phpbb_privmsgs_2 set author_id = author_id + %s;" % maxuser)
                    
108cursor.execute("update phpbb_posts_2, phpbb_users_2 set phpbb_posts_2.poster_id = phpbb_users_2.user_id where phpbb_posts_2.poster_id = phpbb_users_2.user_id_old;")
                    
109cursor.execute("update phpbb_forums_2, phpbb_users_2 set phpbb_forums_2.forum_last_poster_id = phpbb_users_2.user_id where phpbb_forums_2.forum_last_poster_id = phpbb_users_2.user_id_old;")
                    
110cursor.execute("update phpbb_topics_2, phpbb_users_2 set phpbb_topics_2.topic_poster = phpbb_users_2.user_id where phpbb_topics_2.topic_poster = phpbb_users_2.user_id_old;")
                    
149cursor.execute("ALTER TABLE phpbb_forums_2 CHANGE `forum_id` `forum_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL;")
                    
150cursor.execute("alter table phpbb_forums_2 drop primary key;")
                    
151
                    
151
                    
152# update users in forums2 with new incremented ids
                    
153print "updating ids, again"
                    
214print "merging forums!"
                    
215cursor.execute("INSERT INTO phpbb_forums (forum_id, parent_id, left_id, right_id, forum_parents, forum_name, forum_desc, forum_desc_bitfield, forum_desc_options, forum_desc_uid, forum_link, forum_password, forum_style, forum_image, forum_rules, forum_rules_link, forum_rules_bitfield, forum_rules_options,forum_rules_uid, forum_topics_per_page, forum_type, forum_status, forum_posts, forum_topics, forum_topics_real, forum_last_post_id, forum_last_poster_id, forum_last_post_subject, forum_last_post_time, forum_last_poster_name, forum_last_poster_colour, forum_flags, forum_options, display_subforum_list, display_on_index, enable_indexing, enable_icons, enable_prune, prune_next, prune_days, prune_viewed, prune_freq) SELECT forum_id, parent_id, left_id, right_id, forum_parents, forum_name, forum_desc, forum_desc_bitfield, forum_desc_options, forum_desc_uid, forum_link, forum_password, forum_style, forum_image, forum_rules, forum_rules_link, forum_rules_bitfield, forum_rules_options, forum_rules_uid, forum_topics_per_page, forum_type, forum_status, forum_posts, forum_topics, forum_topics_real, forum_last_post_id, forum_last_poster_id, forum_last_post_subject, forum_last_post_time, forum_last_poster_name, forum_last_poster_colour, forum_flags, forum_options, display_subforum_list, display_on_index, enable_indexing, enable_icons, enable_prune, prune_next, prune_days, prune_viewed, prune_freq from phpbb_forums_2;")
                    
216
                    
                
RELEASE.rst https://github.com/mongodb/mongo-python-driver.git | ReStructuredText | 102 lines
                    
20https://semver.org/
                    
21https://www.python.org/dev/peps/pep-0440/
                    
22
                    
341. PyMongo is tested on Evergreen. Ensure the latest commit are passing CI
                    
35   as expected: https://evergreen.mongodb.com/waterfall/mongo-python-driver.
                    
36   To test locally, ``python3 setup.py test`` will build the C extensions and
                    
36   To test locally, ``python3 setup.py test`` will build the C extensions and
                    
37   test. ``python3 tools/clean.py`` will remove the extensions,
                    
38   and then ``python3 setup.py --no_ext test`` will run the tests without
                    
38   and then ``python3 setup.py --no_ext test`` will run the tests without
                    
39   them. You can also run the doctests: ``python3 setup.py doc -t``.
                    
40
                    
59   complete and then download the "Release files" archive from each task. See:
                    
60   https://evergreen.mongodb.com/waterfall/mongo-python-driver?bv_filter=release
                    
61
                    
                
run_debates_4forums.py https://gitlab.com/purdueNlp/DRaiL | Python | 300 lines
                    
16
                    
17from drail.inference.randomized.purepython.infer_4forums import RInf4Forums # pure python
                    
18# from drail.inference.randomized.infer_4forums import RInf4Forums              # C++
                    
106        learner=GlobalLearner(learning_rate=args.lrate, use_gpu=(args.gpu_index is not None), gpu_index=args.gpu_index, \
                    
107                              rand_inf=args.rand_inf, inferencer=RInf4Forums, ad3=args.ad3, ad3_only=args.ad3_only, \
                    
108                              loss_fn=args.lossfn, local_init=args.local_init, no_randinf_constraints=args.no_randinf_constraints)
                    
108                              loss_fn=args.lossfn, local_init=args.local_init, no_randinf_constraints=args.no_randinf_constraints)
                    
109        learner.set_4forums_issue(args.issue, args.author_constraints)
                    
110    elif args.mode == "joint":
                    
                
grn-045.yml https://gitlab.com/franzejr/grn-static | YAML | 263 lines
                    
55    url: "http://regex101.com/"
                    
56    comment: "An online regex tester for javascript, php, pcre and python."
                    
57    tags:
                    
94  - title: "Uru"
                    
95    url: "https://bitbucket.org/jonforums/uru"
                    
96    comment: "Multi-platform Ruby version manager."
                    
                
setup.py https://github.com/Deepwalker/mongomodels.git | Python | 88 lines
                    
1#!/usr/bin/env python
                    
2
                    
60            print """
                    
61`setup.py doc` is not supported for this version of Python.
                    
62
                    
62
                    
63Please ask in the user forums for help.
                    
64"""
                    
85        "Operating System :: POSIX",
                    
86        "Programming Language :: Python",
                    
87        "Topic :: Database"],
                    
                
README.md https://gitlab.com/jeenjacob/weTwee | Markdown | 279 lines
                    
28
                    
29Bug reports in JIRA for all driver projects (i.e. NODE, PYTHON, CSHARP, JAVA) and the
                    
30Core Server (i.e. SERVER) project are **public**.
                    
33
                    
34For issues with, questions about, or feedback for the Node.js driver, please look into our [support channels](https://docs.mongodb.com/manual/support). Please do not email any of the driver developers directly with issues or questions - you're more likely to get an answer on the [MongoDB Community Forums](https://community.mongodb.com/tags/c/drivers-odms-connectors/7/node-js-driver).
                    
35
                    
                
controller.py https://gitlab.com/manoj-makkuboy/vikuit | Python | 138 lines
                    
1#!/usr/bin/python
                    
2# -*- coding: utf-8 -*-
                    
68							   ('/module/user.events',			UserEvents),
                    
69							   ('/module/user.forums/.*',		UserForums),
                    
70							   # Module Community
                    
76							  
                    
77							   # Community forums
                    
78							   ('/module/community.forum.list/.*',	CommunityForumList),
                    
81							   ('/module/community.forum.reply',	CommunityForumReply),
                    
82							   ('/module/community.forum.subscribe',CommunityForumSubscribe),
                    
83							   ('/module/community.forum.delete',	CommunityForumDelete),
                    
100							   ('/message.delete',		MessageDelete),
                    
101							   # forums,
                    
102							   ('/forum.list',			ForumList),
                    
                
README.md https://gitlab.com/EwneoN/Oxide | Markdown | 62 lines
                    
2[docs]: http://oxidemod.github.io/Docs/
                    
3[forums]: http://oxidemod.org/
                    
4[issues]: https://github.com/OxideMod/Oxide/issues
                    
18 * Oxide.Ext.MySql - _Allows plugins to access a [MySQL](http://www.mysql.com/) database_
                    
19 * Oxide.Ext.Python - _Allows plugins written in [Python](http://en.wikipedia.org/wiki/Python_(programming_language)) to be loaded_
                    
20 * Oxide.Ext.SQLite - _Allows plugins to access a [SQLite](http://www.sqlite.org/) database_
                    
50* The best place to start with plugin development is the official [API documentation][docs].
                    
51* Still need help? Search our [community forums][forums] or create a new thread if needed.
                    
52
                    
54
                    
55* Got an idea or suggestion? Use the [community forums][forums] to share and discuss it.
                    
56* Troubleshoot issues you run into on the community forums so everyone can help and reference it later.
                    
61
                    
62Please disclose security issues responsibly by emailing security@oxidemod.org with a full description. We'll work on releasing an updated version as quickly as possible. Please do not email non-security issues; use the [forums] or [issue tracker][issues] instead.
                    
63
                    
                
00-concepts.rst https://gitlab.com/diffcoloredpixel2/NetworkProgramming | ReStructuredText | 616 lines
                    
28
                    
29- Perform socket programming for TCP and UDP, in Python, without supervision
                    
30
                    
36
                    
37- Be able to analyze and/or debug networking issues with Wireshark, Netcat, and Python in the absence of information (black box)**
                    
38
                    
236
                    
237Posters on forums, even Stack Overflow, can say something that sounds correct/interpreted as correct, even if the RFC specifies otherwise.
                    
238
                    
247
                    
248Python documentation can be accessed online
                    
249
                    
271
                    
272  2 describes the system calls for C, which are reused in Python. (e.g man 2 accept)
                    
273
                    
                
README.md https://gitlab.com/kostaz/env | Markdown | 239 lines
                    
53disable the avahi-deamon and re-enable after the update/upgrade.
                    
54Reference: https://ubuntuforums.org/showthread.php?t=2388648
                    
55
                    
104./setup_140_server_repo_tool.sh
                    
105./setup_170_server_python.sh
                    
106./setup_220_ripgrep.sh
                    
                
xampp_lite.htm https://github.com/suraj/Nirvikalpa.git | HTML | 57 lines
                    
25<dt><a href="http://www.apachefriends.org/en/xampp.html">Home Page for Xampp</a></dt>
                    
26<dd>Forums and links to the "full" version of Xampp which includes a mail server, an FTP server and support for <a href="http://www.perl.com/">Perl</a>, Python and other addons</dd>
                    
27<dt><a href="http://www.apachefriends.org/en/faq-xampp-windows.html">Xampp Windows FAQ</a></dt>
                    
                
finish.py https://gitlab.com/JPGITLAB1519/Introduction-To-Computer-Science | Python | 85 lines
                    
6        if url == "http://xkcd.com/353":
                    
7            return  '<?xml version="1.0" encoding="utf-8" ?><?xml-stylesheet href="http://imgs.xkcd.com/s/c40a9f8.css" type="text/css" media="screen" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>xkcd: Python</title> <link rel="stylesheet" type="text/css" href="http://imgs.xkcd.com/s/c40a9f8.css" media="screen" title="Default" /> <!--[if IE]><link rel="stylesheet" type="text/css" href="http://imgs.xkcd.com/s/ecbbecc.css" media="screen" title="Default" /><![endif]--> <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="/atom.xml" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/rss.xml" /> <link rel="icon" href="http://imgs.xkcd.com/s/919f273.ico" type="image/x-icon" /> <link rel="shortcut icon" href="http://imgs.xkcd.com/s/919f273.ico" type="image/x-icon" /> </head> <body> <div id="container"> <div id="topContainer"> <div id="topLeft" class="dialog"> <div class="hd"><div class="c"></div></div> <div class="bd"> <div class="c"> <div class="s">\t<ul> <li><a href="http://xkcd.com/554"">Archive</a><br /></li>\t <li><a href="http://blag.xkcd.com/">News/Blag</a><br /></li> <li><a href="http://store.xkcd.com/">Store</a><br /></li> <li><a href="/about/">About</a><br /></li> <li><a href="http://forums.xkcd.com/">Forums</a><br /></li> </ul> </div> </div> </div> <div class="ft"><div class="c"></div></div> </div> <div id="topRight" class="dialog"> <div class="hd"><div class="c"></div></div> <div class="bd"> <div class="c"> <div class="s"> <div id="topRightContainer"> <div id="logo"> <a href="/"><img src="http://imgs.xkcd.com/s/9be30a7.png" alt="xkcd.com logo" height="83" width="185"/></a> <h2><br />A webcomic of romance,<br/> sarcasm, math, and language.</h2> <div class="clearleft"></div> <br />XKCD updates every Monday, Wednesday, and Friday. </div> </div> </div> </div> </div> <div class="ft"><div class="c"></div></div> </div> </div> <div id="contentContainer"> <div id="middleContent" class="dialog"> <div class="hd"><div class="c"></div></div> <div class="bd"> <div class="c"> <div class="s"><h1>Python</h1><br/><br /><div class="menuCont"> <ul> <li><a href="/1/">|&lt;</a></li> <li><a href="/352/" accesskey="p">&lt; Prev</a></li> <li><a href="http://dynamic.xkcd.com/random/comic/" id="rnd_btn_t">Random</a></li> <li><a href="/354/" accesskey="n">Next &gt;</a></li> <li><a href="/">&gt;|</a></li> </ul></div><br/><br/><img src="http://imgs.xkcd.com/comics/python.png" title="I wrote 20 short programs in Python yesterday. It was wonderful. Perl, Im leaving you." alt="Python" /><br/><br/><div class="menuCont"> <ul> <li><a href="/1/">|&lt;</a></li> <li><a href="/352/" accesskey="p">&lt; Prev</a></li> <li><a href="http://dynamic.xkcd.com/random/comic/" id="rnd_btn_b">Random</a></li> <li><a href="/354/" accesskey="n">Next &gt;</a></li> <li><a href="/">&gt;|</a></li> </ul></div><h3>Permanent link to this comic: http://xkcd.com/353/</h3><h3>Image URL (for hotlinking/embedding): http://imgs.xkcd.com/comics/python.png</h3><div id="transcript" style="display: none">[[ Guy 1 is talking to Guy 2, who is floating in the sky ]]Guy 1: You39;re flying! How?Guy 2: Python!Guy 2: I learned it last night! Everything is so simple!Guy 2: Hello world is just 39;print &quot;Hello, World!&quot; 39;Guy 1: I dunno... Dynamic typing? Whitespace?Guy 2: Come join us! Programming is fun again! It39;s a whole new world up here!Guy 1: But how are you flying?Guy 2: I just typed 39;import antigravity39;Guy 1: That39;s it?Guy 2: ...I also sampled everything in the medicine cabinet for comparison.Guy 2: But i think this is the python.{{ I wrote 20 short programs in Python yesterday. It was wonderful. Perl, I39;m leaving you. }}</div> </div> </div> </div> <div class="ft"><div class="c"></div></div> </div> <div id="middleFooter" class="dialog"> <div class="hd"><div class="c"></div></div> <div class="bd"> <div class="c"> <div class="s"> <img src="http://imgs.xkcd.com/s/a899e84.jpg" width="520" height="100" alt="Selected Comics" usemap=" comicmap" /> <map name="comicmap"> <area shape="rect" coords="0,0,100,100" href="/150/" alt="Grownups" /> <area shape="rect" coords="104,0,204,100" href="/730/" alt="Circuit Diagram" /> <area shape="rect" coords="208,0,308,100" href="/162/" alt="Angular Momentum" /> <area shape="rect" coords="312,0,412,100" href="/688/" alt="Self-Description" /> <area shape="rect" coords="416,0,520,100" href="/556/" alt="Alternative Energy Revolution" /> </map><br/><br />Search comic titles and transcripts:<br /><script type="text/javascript" src="//www.google.com/jsapi"></script><script type="text/javascript"> google.load(\"search\", \"1\"); google.setOnLoadCallback(function() { google.search.CustomSearchControl.attachAutoCompletion( \"012652707207066138651:zudjtuwe28q\", document.getElementById(\"q\"), \"cse-search-box\"); });</script><form action="//www.google.com/cse" id="cse-search-box"> <div> <input type="hidden" name="cx" value="012652707207066138651:zudjtuwe28q" /> <input type="hidden" name="ie" value="UTF-8" /> <input type="text" name="q" id="q" autocomplete="off" size="31" /> <input type="submit" name="sa" value="Search" /> </div></form><script type="text/javascript" src="//www.google.com/cse/brand?form=cse-search-box&lang=en"></script><a href="/rss.xml">RSS Feed</a> - <a href="/atom.xml">Atom Feed</a><br /> <br/> <div id="comicLinks"> Comics I enjoy:<br/> <a href="http://www.qwantz.com">Dinosaur Comics</a>, <a href="http://www.asofterworld.com">A Softer World</a>, <a href="http://pbfcomics.com/">Perry Bible Fellowship</a>, <a href="http://www.boltcity.com/copper/">Copper</a>, <a href="http://questionablecontent.net/">Questionable Content</a>, <a href="http://achewood.com/">Achewood</a>, <a href="http://wondermark.com/">Wondermark</a>, <a href="http://thisisindexed.com/">Indexed</a>, <a href="http://www.buttercupfestival.com/buttercupfestival.htm">Buttercup Festival</a> </div> <br/> Warning: this comic occasionally contains strong language (which may be unsuitable for children), unusual humor (which may be unsuitable for adults), and advanced mathematics (which may be unsuitable for liberal-arts majors).<br/> <br/> <h4>We did not invent the algorithm. The algorithm consistently finds Jesus. The algorithm killed Jeeves. <br />The algorithm is banned in China. The algorithm is from Jersey. The algorithm constantly finds Jesus.<br />This is not the algorithm. This is close.</h4><br/> <div class="line"></div> <br/> <div id="licenseText"> <!-- <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/"><img alt="Creative Commons License" style="border:none" src="http://imgs.xkcd.com/static/somerights20.png" /></a><br/> --> This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/">Creative Commons Attribution-NonCommercial 2.5 License</a>.<!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns "><Work rdf:about=""><dc:creator>Randall Munroe</dc:creator><dcterms:rightsHolder>Randall Munroe</dcterms:rightsHolder><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:source rdf:resource="http://www.xkcd.com/"/><license rdf:resource="http://creativecommons.org/licenses/by-nc/2.5/" /></Work><License rdf:about="http://creativecommons.org/licenses/by-nc/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction" /><permits rdf:resource="http://web.resource.org/cc/Distribution" /><requires rdf:resource="http://web.resource.org/cc/Notice" /><requires rdf:resource="http://web.resource.org/cc/Attribution" /><prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" /><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" /></License></rdf:RDF> --> <br/> This means you\"re free to copy and share these comics (but not to sell them). <a href="/license.html">More details</a>.<br/> </div> </div> </div> </div> <div class="ft"><div class="c"></div></div> </div> </div> </div> </body></html> '
                    
8        elif url == "http://xkcd.com/554":
                    
8        elif url == "http://xkcd.com/554":
                    
9            return  '<?xml version="1.0" encoding="utf-8" ?> <?xml-stylesheet href="http://imgs.xkcd.com/s/c40a9f8.css" type="text/css" media="screen" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>xkcd: Not Enough Work</title> <link rel="stylesheet" type="text/css" href="http://imgs.xkcd.com/s/c40a9f8.css" media="screen" title="Default" /> <!--[if IE]><link rel="stylesheet" type="text/css" href="http://imgs.xkcd.com/s/ecbbecc.css" media="screen" title="Default" /><![endif]--> <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="/atom.xml" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/rss.xml" /> <link rel="icon" href="http://imgs.xkcd.com/s/919f273.ico" type="image/x-icon" /> <link rel="shortcut icon" href="http://imgs.xkcd.com/s/919f273.ico" type="image/x-icon" /> </head> <body> <div id="container"> <div id="topContainer"> <div id="topLeft" class="dialog"> <div class="hd"><div class="c"></div></div> <div class="bd"> <div class="c"> <div class="s"> <ul> <li><a href="/archive/">Archive</a><br /></li> <li><a href="http://blag.xkcd.com/">News/Blag</a><br /></li> <li><a href="http://store.xkcd.com/">Store</a><br /></li> <li><a href="/about/">About</a><br /></li> <li><a href="http://forums.xkcd.com/">Forums</a><br /></li> </ul> </div> </div> </div> <div class="ft"><div class="c"></div></div> </div> <div id="topRight" class="dialog"> <div class="hd"><div class="c"></div></div> <div class="bd"> <div class="c"> <div class="s"> <div id="topRightContainer"> <div id="logo"> <a href="/"><img src="http://imgs.xkcd.com/s/9be30a7.png" alt="xkcd.com logo" height="83" width="185"/></a> <h2><br />A webcomic of romance,<br/> sarcasm, math, and language.</h2> <div class="clearleft"></div> XKCD updates every Monday, Wednesday, and Friday. <br /> Blag: Remember geohashing? <a href="http://blog.xkcd.com/2012/02/27/geohashing-2/">Something pretty cool</a> happened Sunday. </div> </div> </div> </div> </div> <div class="ft"><div class="c"></div></div> </div> </div> <div id="contentContainer"> <div id="middleContent" class="dialog"> <div class="hd"><div class="c"></div></div> <div class="bd"> <div class="c"> <div class="s"> <h1>Not Enough Work</h1><br/> <br /> <div class="menuCont"> <ul> <li><a href="/1/">|&lt;</a></li> <li><a href="/553/" accesskey="p">&lt; Prev</a></li> <li><a href="http://dynamic.xkcd.com/random/comic/" id="rnd_btn_t">Random</a></li> <li><a href="/555/" accesskey="n">Next &gt;</a></li> <li><a href="/">&gt;|</a></li> </ul> </div> <br/> <br/> <img src="http://imgs.xkcd.com/comics/not_enough_work.png" title="It39;s even harder if you39;re an asshole who pronounces &lt;&gt; brackets." alt="Not Enough Work" /><br/> <br/> <div class="menuCont"> <ul> <li><a href="/1/">|&lt;</a></li> <li><a href="/553/" accesskey="p">&lt; Prev</a></li> <li><a href="http://dynamic.xkcd.com/random/comic/" id="rnd_btn_b">Random</a></li> <li><a href="/555/" accesskey="n">Next &gt;</a></li> <li><a href="/">&gt;|</a></li> </ul> </div> <h3>Permanent link to this comic: http://xkcd.com/554/</h3> <h3>Image URL (for hotlinking/embedding): http://imgs.xkcd.com/comics/not_enough_work.png</h3> <div id="transcript" style="display: none">Narration: Signs your coders don39;t have enough work to do: [[A man sitting at his workstation; a female co-worker behind him]] Man: I39;m almost up to my old typing speed in dvorak [[Two men standing by a server rack]] Man  1: Our servers now support gopher. Man  1: Just in case. [[A woman standing near her workstation speaking to a male co-worker]] Woman: Our pages are now HTML, XHTML-STRICT, and haiku-compliant Man: Haiku? Woman: &lt;div class=&quot;main&quot;&gt; Woman: &lt;span id=&quot;marquee&quot;&gt; Woman: Blog!&lt; span&gt;&lt; div&gt; [[A woman sitting at her workstation]] Woman: Hey! Have you guys seen this webcomic? {{title text: It39;s even harder if you39;re an asshole who pronounces &lt;&gt; brackets.}}</div> </div> </div> </div> <div class="ft"><div class="c"></div></div> </div> <div id="middleFooter" class="dialog"> <div class="hd"><div class="c"></div></div> <div class="bd"> <div class="c"> <div class="s"> <img src="http://imgs.xkcd.com/s/a899e84.jpg" width="520" height="100" alt="Selected Comics" usemap=" comicmap" /> <map name="comicmap"> <area shape="rect" coords="0,0,100,100" href="/150/" alt="Grownups" /> <area shape="rect" coords="104,0,204,100" href="/730/" alt="Circuit Diagram" /> <area shape="rect" coords="208,0,308,100" href="/162/" alt="Angular Momentum" /> <area shape="rect" coords="312,0,412,100" href="/688/" alt="Self-Description" /> <area shape="rect" coords="416,0,520,100" href="/556/" alt="Alternative Energy Revolution" /> </map><br/><br /> Search comic titles and transcripts:<br /> <script type="text/javascript" src="//www.google.com/jsapi"></script> <script type="text/javascript"> google.load("search", "1"); google.search.CustomSearchControl.attachAutoCompletion( "012652707207066138651:zudjtuwe28q", document.getElementById("q"), "cse-search-box"); }); </script> <form action="//www.google.com/cse" id="cse-search-box"> <div> <input type="hidden" name="cx" value="012652707207066138651:zudjtuwe28q" /> <input type="hidden" name="ie" value="UTF-8" /> <input type="text" name="q" id="q" autocomplete="off" size="31" /> <input type="submit" name="sa" value="Search" /> </div> </form> <script type="text/javascript" src="//www.google.com/cse/brand?form=cse-search-box&lang=en"></script> <a href="/rss.xml">RSS Feed</a> - <a href="/atom.xml">Atom Feed</a> <br /> <br/> <div id="comicLinks"> Comics I enjoy:<br/> <a href="http://threewordphrase.com/">Three Word Phrase</a>, <a href="http://oglaf.com/">Oglaf</a> (nsfw), <a href="http://www.smbc-comics.com/">SMBC</a>, <a href="http://www.qwantz.com">Dinosaur Comics</a>, <a href="http://www.asofterworld.com">A Softer World</a>, <a href="http://buttersafe.com/">Buttersafe</a>, <a href="http://pbfcomics.com/">Perry Bible Fellowship</a>, <a href="http://questionablecontent.net/">Questionable Content</a>, <a href="http://www.buttercupfestival.com/buttercupfestival.htm">Buttercup Festival</a> </div> <br/> Warning: this comic occasionally contains strong language (which may be unsuitable for children), unusual humor (which may be unsuitable for adults), and advanced mathematics (which may be unsuitable for liberal-arts majors).<br/> <br/> <h4>We did not invent the algorithm. The algorithm consistently finds Jesus. The algorithm killed Jeeves. <br />The algorithm is banned in China. The algorithm is from Jersey. The algorithm constantly finds Jesus.<br />This is not the a
                    
                
app_compat.md https://gitlab.com/apachipa/Virtualization-Documentation | Markdown | 85 lines
                    
21
                    
22Is something not on this list?  Let us know what fails and succeeds in your environment via [the forums](https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowscontainers).
                    
23
                    
32| .NET CLR | 5 beta 6 | Yes | Yes| Both, x64 and x86 | 
                    
33| Active Python | 3.4.1 | Yes | Yes | |
                    
34| Apache Cassandra || Yes | Unkown | 
                    
70| ASP.NET | 5 beta 6 | Yes | Both, x64 and x86 |
                    
71| Django |  | Yes | If the image is created with a DockerFile and python binaries are copied as part it, Python does not work. Start container and then copy the python binaries. |
                    
72| Go | 1.4.2 | Yes | |
                    
77| Node.js | 0.12.6 | Partially | NPM fails to download packages. |
                    
78| Python | 3.4.3 | Yes |  If the image is created with a DockerFile and python binaries are copied as part it, Python does not work. Start container and then copy the python binaries. |
                    
79| Redis | 2.8.2101 | Yes | |
                    
84## Tell us about your experiences
                    
85Is something not on this list?  Let us know what fails and succeeds in your environment via [the forums](https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowscontainers).
                    
86
                    
                
cluster.py https://github.com/bwaldmann/twitter_geolocation.git | Python | 159 lines
                    
1#!/usr/bin/env python
                    
2
                    
2
                    
3# taken from http://www.daniweb.com/forums/thread31449.html
                    
4
                    
                
skeinforge_application.skeinforge_plugins.analyze_plugins.statistic.html https://github.com/amsler/skeinforge.git | HTML | 185 lines
                    
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
                    
3<html><head><title>Python: module skeinforge_application.skeinforge_plugins.analyze_plugins.statistic</title>
                    
4</head><body bgcolor="#f0f0f8">
                    
65A gode example is at:<br>
                    
66<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br>
                    
67 <br>
                    
72 <br>
                    
73&gt; python statistic.py<br>
                    
74This brings up the statistic dialog.<br>
                    
75 <br>
                    
76&gt; python statistic.py Screw Holder_penultimate.gcode<br>
                    
77The statistic file is saved as Screw_Holder_penultimate_statistic.txt</tt>
                    
                
alienvault_centerd_soap_exec.rb https://gitlab.com/alx741/metasploit-framework | Ruby | 140 lines
                    
35          ['ZDI', '14-202'],
                    
36          ['URL', 'http://forums.alienvault.com/discussion/2690']
                    
37        ],
                    
44          'Compat'      => {
                    
45            'RequiredCmd' => 'perl netcat-e openssl python gawk'
                    
46          }
                    
                
README.md https://gitlab.com/noosfero-themes/angular-theme | Markdown | 167 lines
                    
2
                    
3Highlight.js highlights syntax in code examples on blogs, forums and,
                    
4in fact, on any web page. It's very easy to use because it works
                    
44
                    
45    python3 tools/build.py -tnode lang1 lang2 ..
                    
46
                    
65```bash
                    
66$ python3 tools/build.py -tamd lang1 lang2 ..
                    
67```
                    
                
README.md https://gitlab.com/e0/handsontable | Markdown | 139 lines
                    
2
                    
3Highlight.js highlights syntax in code examples on blogs, forums and,
                    
4in fact, on any web page. It's very easy to use because it works
                    
79
                    
80.python .string {
                    
81  color: blue;
                    
                
build_trouble_shooting.md https://gitlab.com/github-cloud-corporation/xgboost | Markdown | 52 lines
                    
1XGBoost Python Package Troubleshooting
                    
2======================
                    
4------------
                    
5The current best solution for installing xgboost on windows machine is building from github. Please go to [windows](/windows/), build with the Visual Studio project file, and install. Additional detailed instruction can be found at this [installation tutorial](https://www.kaggle.com/c/otto-group-product-classification-challenge/forums/t/13043/run-xgboost-from-windows-and-python) from Kaggle Otto Forum.
                    
6
                    
10------------
                    
11**Trouble 0**: I see error messages like this when install from github using `python setup.py install`.
                    
12
                    
14    List of candidates:
                    
15    /home/dmlc/anaconda/lib/python2.7/site-packages/xgboost-0.4-py2.7.egg/xgboost/libxgboostwrapper.so
                    
16    /home/dmlc/anaconda/lib/python2.7/site-packages/xgboost-0.4-py2.7.egg/xgboost/../../wrapper/libxgboostwrapper.so
                    
16    /home/dmlc/anaconda/lib/python2.7/site-packages/xgboost-0.4-py2.7.egg/xgboost/../../wrapper/libxgboostwrapper.so
                    
17    /home/dmlc/anaconda/lib/python2.7/site-packages/xgboost-0.4-py2.7.egg/xgboost/./wrapper/libxgboostwrapper.so
                    
18
                    
41**Trouble 4**: I tried `python setup.py install` but it says `setuptools` import fail.
                    
42**Solution 4**: Please make sure you have [setuptools](https://pypi.python.org/pypi/setuptools) before installing the python package.
                    
43
                    
                
launch.py https://bitbucket.org/JoseETeixeira/evolution-strategies-starter.git | Python | 300 lines
                    
62# disable hyperthreading
                    
63# https://forums.aws.amazon.com/message.jspa?messageID=189757
                    
64for cpunum in $(
                    
87cat > ~/experiment.json <<< '{exp_str}'
                    
88python -m es_distributed.main master \
                    
89    --master_socket_path /var/run/redis/redis.sock \
                    
117    cmd = ("MKL_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 "
                    
118           "python -m es_distributed.main workers "
                    
119           "--master_host {} "
                    
                
README.md https://gitlab.com/bplatta/proto-api | Markdown | 106 lines
                    
963. Make updates to specs/yourmarkdown.md
                    
974. Publish with `apiary publish --api-name=fruitfulforums --path=specs/fruitfulforums.apib`
                    
98
                    
100
                    
101#### FruitfulForums
                    
102
                    
103 - Forum application that encourages fruitful dialogue
                    
104 - docs: http://docs.fruitfulforums.apiary.io/
                    
105 - spec: specs/fruitfulforums.md
                    
105 - spec: specs/fruitfulforums.md
                    
106 - Can create local data by jumping onto box (`make sandbox`) and running `python manage.py ff_populate_local_db`
                    
                
2009-04-01-aspnetmvc-open-source.aspx.markdown https://gitlab.com/Blueprint-Marketing/haacked.com | Markdown | 75 lines
                    
47Please don’t let that stop you from [contributing in other
                    
48ways](http://forums.asp.net/1146.aspx "ASP.NET MVC Forums"). The terms
                    
49of the license do mean we need to stay on our toes to keep putting out
                    
57MEF, DLR,
                    
58[IronPython](http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython "IronPython")
                    
59and [IronRuby](http://www.ironruby.net/ "IronRuby"), etc….) you’d have
                    
                
UserForums.py https://gitlab.com/manoj-makkuboy/vikuit | Python | 39 lines
                    
1#!/usr/bin/python
                    
2# -*- coding: utf-8 -*-
                    
25
                    
26class UserForums(BaseHandler):
                    
27
                    
38		self.values['threads'] = self.paging(query, 10, '-creation_date', this_user.threads, ['-creation_date'])
                    
39		self.render('templates/module/user/user-forums.html')
                    
40
                    
                
0003_enable_forums.py https://gitlab.com/unofficial-mirrors/edx-platform | Python | 30 lines
                    
7def add_default_enable(apps, schema_editor):
                    
8    ForumsConfig = apps.get_model("django_comment_common", "ForumsConfig")
                    
9    settings_count = ForumsConfig.objects.count()
                    
13        # inline discussions, etc.  It just allows the underlying service client to work.
                    
14        settings = ForumsConfig(enabled=True)
                    
15        settings.save()
                    
24    dependencies = [
                    
25        ('django_comment_common', '0002_forumsconfig'),
                    
26    ]
                    
28    operations = [
                    
29        migrations.RunPython(add_default_enable, reverse_code=reverse_noop),
                    
30    ]
                    
                
table.py https://gitlab.com/smoke.torez/python-mysql-dump-to-amazon-s3 | Python | 1361 lines
                    
21    namespaced for use in your application. For example, you might have a
                    
22    ``users`` table or a ``forums`` table.
                    
23    """
                    
237        Given a raw schema structure back from a DynamoDB response, parse
                    
238        out & build the high-level Python objects that represent them.
                    
239        """
                    
257        Given a raw index structure back from a DynamoDB response, parse
                    
258        out & build the high-level Python objects that represent them.
                    
259        """
                    
                
testlib.py https://gitlab.com/Smileyt/KomodoEdit | Python | 725 lines
                    
1#!python
                    
2# Copyright (c) 2000-2008 ActiveState Software Inc.
                    
29    
                    
30        test python         # run tests with the 'python' tag
                    
31        test python cpln    # run tests with both 'python' and 'cpln' tags
                    
31        test python cpln    # run tests with both 'python' and 'cpln' tags
                    
32        test -- -python     # exclude tests with the 'python' tag
                    
33                            # (the '--' is necessary to end the option list)
                    
114# Use this to assert that a test completes in a given amount of time.
                    
115# This is from http://www.artima.com/forums/flat.jsp?forum=122&thread=129497
                    
116# Including here, becase it might be useful.
                    
324    (b) each TestCase-subclass in
                    
325    (c) each "test_*" Python module in
                    
326    (d) each test dir in the manifest.
                    
350                except AttributeError:
                    
351                    # Python 2.4 and older:
                    
352                    yield Test(ns, testmod, testcase,
                    
                
testlib.py https://gitlab.com/Smileyt/KomodoEdit | Python | 706 lines
                    
1#!python
                    
2# Copyright (c) 2000-2006 ActiveState Software Inc.
                    
28    
                    
29        test python         # run tests with the 'python' tag
                    
30        test python cpln    # run tests with both 'python' and 'cpln' tags
                    
30        test python cpln    # run tests with both 'python' and 'cpln' tags
                    
31        test -- -python     # exclude tests with the 'python' tag
                    
32                            # (the '--' is necessary to end the option list)
                    
114# Use this to assert that a test completes in a given amount of time.
                    
115# This is from http://www.artima.com/forums/flat.jsp?forum=122&thread=129497
                    
116# Including here, becase it might be useful.
                    
317    (b) each TestCase-subclass in
                    
318    (c) each "test_*" Python module in
                    
319    (d) each test dir in the manifest.
                    
344                except AttributeError:
                    
345                    # Python 2.4 and older:
                    
346                    yield Test(ns, testmod, testcase,
                    
                
installation.rst git://github.com/duointeractive/media-nommer.git | ReStructuredText | 160 lines
                    
27  the resources to maintain (any takers?).
                    
28* You have Python_ 2.y or later. Python_ 2.7 is preferred. Python_ 3.x is
                    
29  not currently supported.
                    
35* Some flavor of Linux, Unix, BSD, Mac OS, or POSIX compliant OS.
                    
36* Python_ 2.6 or higher, with Python 2.7 recommended. Python_ 3.x is not
                    
37  supported (yet).
                    
41
                    
42For the sake of clarity, the media-nommer Python package contains
                    
43the sources for :doc:`feederd` and :doc:`ec2nommerd`. You will want to install
                    
67
                    
68After you have installed the media-nommer Python package on your machine(s),
                    
69you'll need to visit `Amazon AWS`_ and sign up for the following services:
                    
81    Please contact AWS_ support with questions regarding this step. Their
                    
82    community forums are also a great resource.
                    
83
                    
                
ppserver.py git://pkgs.fedoraproject.org/python-pp | Python | 367 lines
                    
1#!/usr/bin/env python
                    
2# Parallel Python Software: http://www.parallelpython.com
                    
3# Copyright (c) 2005-2010, Vitalii Vanovschi
                    
27"""
                    
28Parallel Python Software, Network Server
                    
29
                    
29
                    
30http://www.parallelpython.com - updates, documentation, examples and support
                    
31forums
                    
53
                    
54# compatibility with Python 2.6
                    
55try:
                    
365
                    
366# Parallel Python Software: http://www.parallelpython.com
                    
367
                    
                
heapsize.h https://code.google.com/p/python-on-a-chip/ | C Header | 34 lines
                    
3#
                    
4# This file is part of the Python-on-a-Chip program.
                    
5# Python-on-a-Chip is free software: you can redistribute it and/or modify
                    
7#
                    
8# Python-on-a-Chip is distributed in the hope that it will be useful,
                    
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
                    
19// v. 3.25 of the compiler reserves a 1K buffer for printf. And another 1K buffer somewhere,
                    
20// it seems, perhaps for snprintf? Horrible. See http://www.microchip.com/forums/m538918.aspx
                    
21// for some details. The next version is supposed to reduce this buffer size.
                    
                
readme.md https://gitlab.com/yawenzou/todomvc | Markdown | 80 lines
                    
31* [TypeScript on StackOverflow](http://stackoverflow.com/questions/tagged/typescript)
                    
32* [Forums](https://github.com/Microsoft/TypeScript/issues)
                    
33* [TypeScript on Twitter](http://twitter.com/typescriptlang)
                    
79
                    
80To run the app, spin up an HTTP server (e.g. `python -m SimpleHTTPServer`) and visit http://localhost/.../myexample/.
                    
81
                    
                
Search.py https://gitlab.com/manoj-makkuboy/vikuit | Python | 53 lines
                    
1#!/usr/bin/python
                    
2# -*- coding: utf-8 -*-
                    
36			self.add_tag_cloud()
                    
37		elif typ == 'forums':
                    
38			query = model.Thread.all().search(q)
                    
                
model.py https://gitlab.com/manoj-makkuboy/vikuit | Python | 396 lines
                    
1#!/usr/bin/python
                    
2# -*- coding: utf-8 -*-
                    
60	rating_average = db.IntegerProperty(required=True)
                    
61	# forums
                    
62	threads = db.IntegerProperty(required=True)
                    
                
README.rst https://gitlab.com/admin-github-cloud/xgboost | ReStructuredText | 67 lines
                    
1XGBoost Python Package
                    
2======================
                    
8
                    
9We are on `PyPI <https://pypi.python.org/pypi/xgboost>`__ now. For
                    
10stable version, please install using pip:
                    
26
                    
27-  To make the python module, type ``./build.sh`` in the root directory
                    
28   of project
                    
30   `setuptools <https://pypi.python.org/pypi/setuptools>`__
                    
31-  Install with ``cd python-package; python setup.py install`` from this directory.
                    
32-  For windows users, please use the Visual Studio project file under
                    
33   `windows folder <../windows/>`__. See also the `installation
                    
34   tutorial <https://www.kaggle.com/c/otto-group-product-classification-challenge/forums/t/13043/run-xgboost-from-windows-and-python>`__
                    
35   from Kaggle Otto Forum.
                    
37
                    
38    ```python
                    
39    import os
                    
                
README.md https://gitlab.com/132nd-etcher/CouchPotatoServer | Markdown | 69 lines
                    
13
                    
14* Install [Python 2.7](http://www.python.org/download/releases/2.7.3/)
                    
15* Then install [PyWin32 2.7](http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/) and [GIT](http://git-scm.com/)
                    
15* Then install [PyWin32 2.7](http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/) and [GIT](http://git-scm.com/)
                    
16* If you come and ask on the forums 'why directory selection no work?', I will kill a kitten, also this is because you need PyWin32
                    
17* Open up `Git Bash` (or CMD) and go to the folder you want to install CP. Something like Program Files.
                    
23
                    
24* If you're on Leopard (10.5) install Python 2.6+: [Python 2.6.5](http://www.python.org/download/releases/2.6.5/)
                    
25* Install [GIT](http://git-scm.com/)
                    
54* Update your ports tree `sudo portsnap fetch update`
                    
55* Install Python 2.6+ [lang/python](http://www.freshports.org/lang/python) with `cd /usr/ports/lang/python; sudo make install clean`
                    
56* Install port [databases/py-sqlite3](http://www.freshports.org/databases/py-sqlite3) with `cd /usr/ports/databases/py-sqlite3; sudo make install clean`
                    
56* Install port [databases/py-sqlite3](http://www.freshports.org/databases/py-sqlite3) with `cd /usr/ports/databases/py-sqlite3; sudo make install clean`
                    
57* Add a symlink to 'python2' `sudo ln -s /usr/local/bin/python /usr/local/bin/python2`
                    
58* Install port [ftp/libcurl](http://www.freshports.org/ftp/libcurl) with `cd /usr/ports/ftp/fpc-libcurl; sudo make install clean`
                    
                
utils.py https://github.com/nek4life/pyramid_debugtoolbar.git | Python | 144 lines
                    
87    """Similar to string.replace() but is case insensitive
                    
88    Code borrowed from: http://forums.devshed.com/python-programming-11/case-insensitive-string-replace-490921.html
                    
89    """
                    
                
project-status-updates.md https://gitlab.com/Yahpay/platform-install-packages | Markdown | 128 lines
                    
13+ API Client Libraries testing using TravisCI post successful CI tests. 
                    
14+ Automatic distribution of API Client Libraries, (upon successful CI and after official package releases) to respective repositories, including: [RubyGems](http://rubygems.org), [Node npm](https://www.npmjs.org), [PHP composer](https://getcomposer.org), [pypi](https://pypi.python.org), etc.
                    
15+ Packages for the Live Analytics project. 
                    
16
                    
17Much more to come... please send ideas or suggestions to community@kaltura.org or post to the [community forums](http://forum.kaltura.org).
                    
18
                    
20
                    
21Release announcements will be made through the forums from now on.
                    
22Please visit the [New Release Updates forum category](http://forum.kaltura.org/category/new-release-updates) for all release notes.
                    
30+ Introducing: [Community contributions dashboard](http://agentcontribs.kaltura.org:8080/). 
                    
31+ New forums system was deployed on Kaltura.org. Fighting SPAM! Folks who'd like to join discussions or get more detailed assistance with topics related to the project should join the forums at [forum.kaltura.org](http://forum.kaltura.org).
                    
32
                    
                
ice.rb https://gitlab.com/sheldonels/homebrew | Ruby | 158 lines
                    
52
                    
53    args << "install_pythondir=#{lib}/python2.7/site-packages"
                    
54    args << "install_libdir=#{lib}/python2.7/site-packages"
                    
126-ifneq ($(PYTHON_HOME),)
                    
127-    ifeq ($(shell test ! -f $(PYTHON_HOME)/Python && echo 0),0)
                    
128-        $(error Unable to find Python framework See config/Make.rules.Darwin)
                    
129-    endif
                    
130-    PYTHON_LIBS		= -F$(patsubst %/Python.framework/Versions/,%,$(dir $(PYTHON_HOME))) -framework Python
                    
131-else
                    
133-    SDKS_DIR    = $(XCODE_PATH)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
                    
134-    PYTHON_HOME	= $(SDKS_DIR)/System/Library/Frameworks/Python.framework/Versions/Current
                    
135-    PYTHON_LIBS	= -framework Python
                    
137-
                    
138-PYTHON_INCLUDE_DIR	= $(PYTHON_HOME)/include/$(PYTHON_VERSION)
                    
139diff -urN Ice-3.5.1.original/cpp/src/IceGrid/DescriptorHelper.h Ice-3.5.1/cpp/src/IceGrid/DescriptorHelper.h
                    
                
pinax_starter_projects.md https://gitlab.com/asmjahid/pinax | Markdown | 98 lines
                    
19
                    
20You might use `pyenv` to manage the version of Python used in your virtualenv. See the [pyenv repository](https://github.com/yyuu/pyenv) for usage.
                    
21
                    
75* `lms`
                    
76* `forums`
                    
77* `private-beta`
                    
                
package.mk git://github.com/OpenELEC/OpenELEC.tv.git | Makefile | 117 lines
                    
51                           --enable-libdaemon \
                    
52                           --disable-python \
                    
53                           --disable-pygtk \
                    
53                           --disable-pygtk \
                    
54                           --disable-python-dbus \
                    
55                           --disable-mono \
                    
83post_makeinstall_target() {
                    
84# for some reason avai can fail to start see: http://forums.gentoo.org/viewtopic-p-7322172.html#7322172
                    
85  sed -e "s,^.*disallow-other-stacks=.*$,disallow-other-stacks=yes,g" -i $INSTALL/etc/avahi/avahi-daemon.conf
                    
                
pinax_starter_projects.md git://github.com/pinax/pinax.git | Markdown | 168 lines
                    
68* lms
                    
69* forums
                    
70* private-beta
                    
94In addition to what is provided by the "account" project, this project
                    
95integrates with `python-social-auth` for Twitter, Facebook, and Google
                    
96authentication.
                    
147* pinax-project-lms
                    
148* pinax-project-forums
                    
149* pinax-project-teams
                    
                
chr21.rst https://gitlab.com/freedmpure/Biopython-cn | ReStructuredText | 185 lines
                    
14
                    
15-  `biopython@biopython.org <mailto:biopython@biopython.org>`__ – An
                    
16   unmoderated list for discussion of anything to do with Biopython.
                    
16   unmoderated list for discussion of anything to do with Biopython.
                    
17-  `biopython-dev@biopython.org <mailto:biopython-dev@biopython.org>`__
                    
18   – A more development oriented list that is mainly used by developers
                    
22bug-tracking page at
                    
23`http://redmine.open-bio.org/projects/biopython <http://redmine.open-bio.org/projects/biopython>`__.
                    
24This way, it won’t get buried in anyone’s Inbox and forgotten about.
                    
147contributing documentation at
                    
148`http://biopython.org/wiki/Contributing <http://biopython.org/wiki/Contributing>`__.
                    
149We also try to add code to the distribution along with tests (see
                    
176Central
                    
177(`http://biopython.org/wiki/Scriptcentral <http://biopython.org/wiki/Scriptcentral>`__)
                    
178which has pointers to freely available code in Python for
                    
                
INSTALL-ubuntu.md https://gitlab.com/suyesh/discourse | Markdown | 401 lines
                    
11
                    
12> With 2 GB of memory and dual cores, you can run two instances of the thin server (`NUM_WEBS=2`), and easily host anything but the largest of forums.
                    
13
                    
58>     # Run these commands as your normal login (e.g. "michael")
                    
59>     sudo apt-get -y install build-essential libssl-dev libyaml-dev git libtool libxslt-dev libxml2-dev libpq-dev gawk curl pngcrush imagemagick python-software-properties
                    
60
                    
61>     # If you're on Ubuntu >= 12.10, change:
                    
62>     # python-software-properties to software-properties-common
                    
63
                    
                
05-manualy-connecting-ethernet.rst https://gitlab.com/pschwendenman/whatsdoom.com | ReStructuredText | 186 lines
                    
62                dbus_ifaces = dbusmanager.get_dbus_ifaces()
                    
63              File "/usr/lib/python2.7/dist-packages/wicd/dbusmanager.py", line 36, in
                    
64            get_dbus_ifaces
                    
71                return DBUS_MANAGER.connect_to_dbus()
                    
72              File "/usr/lib/python2.7/dist-packages/wicd/dbusmanager.py", line 79, in
                    
73            connect_to_dbus
                    
74                proxy_obj = self._bus.get_object("org.wicd.daemon", '/org/wicd/daemon')
                    
75              File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in
                    
76            get_object
                    
93            Traceback (most recent call last):
                    
94              File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 96, in
                    
95            apport_excepthook
                    
96                dbus_service_unknown_analysis(exc_obj, pr)
                    
97              File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 172,
                    
98            in dbus_service_unknown_analysis
                    
                
README.md https://gitlab.com/purdueNlp/DRaiL | Markdown | 22 lines
                    
2## Requirements
                    
3- Python 3
                    
4- gurobi optimizer (academic license can be requested)
                    
11State and Agreement prediction on gun control debates (using bert-tiny)
                    
12- Add your DRaiL directory to `PYTHONPATH`
                    
13- `cd` to `examples/4forms`
                    
14- Local learning: `python3 run_debates_4forums.py --dir data/ --config config/config_bert_tiny.json --rule rules/rule_guncontrol.dr --savedir [dir-to-save-models] --bert_tiny -m local -f feats -n neuro  --issue gun_control --logging_config ../../logging_conf.json --gpu_index [index-of-gpu:defaults to 0]`
                    
15- Global learning: `python3 run_debates_4forums.py --dir data/ --config config/config_bert_tiny.json --rule rules/rule_guncontrol.dr --savedir [dir-to-save-models] --bert_tiny -m global --loss hinge --lrate 2e-5 -f examples/4forums/ -n examples/4forums/  --issue gun_control --logging_config ../../logging_conf.json --gpu_index [index-of-gpu:defaults to 0]`
                    
16
                    
                
README.md https://gitlab.com/st3v3nhunt/Complete-Python-Bootcamp | Markdown | 18 lines
                    
1# Complete-Python-Bootcamp
                    
2
                    
2
                    
3## Welcome to the Repository for the Complete Python Bootcamp!
                    
4
                    
4
                    
5This is the Repository for the Udemy course - "Complete Python Bootcamp".
                    
6
                    
6
                    
7You can purchase the course for $12 by clicking [here](https://www.udemy.com/complete-python-bootcamp/?couponCode=PYTHON12). 
                    
8Purchasing the course grants access to all the screencast videos and the moderated discussion forums!
                    
11
                    
12In this repo you will find all the accompanying Jupyter (p.k.a. iPython) Notebooks for the course. For quicker view rendering and simpler downloading procedures, you can check out this repo using [NbViewer](http://nbviewer.ipython.org/github/jmportilla/Complete-Python-Bootcamp/tree/master/).
                    
13
                    
                
comment.py https://github.com/bmander/skeinforge.git | Python | 185 lines
                    
19A gode example is at:
                    
20http://forums.reprap.org/file.php?12,file=565
                    
21
                    
25
                    
26> python comment.py
                    
27This brings up the comment dialog.
                    
29
                    
30> python comment.py Screw Holder_penultimate.gcode
                    
31The comment file is saved as Screw_Holder_penultimate_comment.gcode
                    
33
                    
34> python
                    
35Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)
                    
48from __future__ import absolute_import
                    
49#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
                    
50import __init__
                    
                
README.rst git://github.com/tmm1/pygments.rb.git | ReStructuredText | 39 lines
                    
4This is the source of Pygments.  It is a generic syntax highlighter that
                    
5supports over 300 languages and text formats, for use in code hosting, forums,
                    
6wikis or other applications that need to prettify source code.
                    
10
                    
11... works as usual, use ``python setup.py install``.
                    
12
                    
35
                    
36Pygments is maintained by **Georg Brandl**, e-mail address *georg*\ *@*\ *python.org*.
                    
37
                    
                
gameboy.py git://pkgs.fedoraproject.org/python-kaa-metadata | Python | 100 lines
                    
7# -----------------------------------------------------------------------------
                    
8# kaa-Metadata - Media Metadata for Python
                    
9# Copyright (C) 2003-2006 Thomas Schueppel, Dirk Meyer
                    
33
                    
34# python imports
                    
35import logging
                    
43# interesting file format info:
                    
44# GameBoy Advance http://www.forums.emuita.it/index.php?showtopic=67255
                    
45
                    
                
README.md https://bitbucket.org/DanTup/dantup-blog/ | Markdown | 114 lines
                    
7At the time of writing, [my blog](http://blog.dantup.com/) is hosted on Google App Engine, which was written as an
                    
8excercise in learning Python and a little about GAE. As my main skills are in .NET, it seemed a good idea to rewrite the
                    
9blog using some new technologies to take advantage of this, including:
                    
53for this to be moved to proper strongly-typed settings in the future if AppHarbor adds support (please vote for this
                    
54here: http://feedback.appharbor.com/forums/95687-general/suggestions/1855625-add-the-ability-to-specify-web-config-transformati)
                    
55
                    
                
pycompletionserver.py https://github.com/aparo/Pydev.git | Python | 381 lines
                    
8except ImportError:
                    
9    import builtins as __builtin__ # Python 3.0
                    
10    IS_PYTHON3K = 1
                    
36if sys.platform == "darwin":
                    
37    #See: https://sourceforge.net/projects/pydev/forums/forum/293649/topic/3454227
                    
38    try:
                    
61except:
                    
62    import io as StringIO #Python 3.0
                    
63
                    
96MSG_IMPORTS = '@@IMPORTS:'
                    
97MSG_PYTHONPATH = '@@PYTHONPATH_END@@'
                    
98MSG_CHANGE_PYTHONPATH = '@@CHANGE_PYTHONPATH:'
                    
119def ChangePythonPath(pythonpath):
                    
120    '''Changes the pythonpath (clears all the previous pythonpath)
                    
121    
                    
                
INSTALL.rst https://gitlab.com/collective/ArchGenXML.git | ReStructuredText | 254 lines
                    
8
                    
9On Windows, I assume you installed Python 2.4.4 from the `msi installer`_ and installed it in the default location. If you have not already done, configure the Path environment variable to include your python path and scripts directory.
                    
10For this, got to Control Panel, Advanced, Environment Variables, edit Path, append ``;C:\\Python24;C:\\Python24\Scripts`` to the existing string.
                    
11
                    
12.. _`msi installer`: http://www.python.org/download/releases/2.4.4/
                    
13
                    
45
                    
46    $ python bootstrap.py 
                    
47    $ ./bin/buildout
                    
65You have to install setuptools egg to have the easy_install command available.
                    
66On Ubuntu you can do it with ``apt-get install python-setuptools``.
                    
67On Windows, go to the `setuptools pypi page`_, download the exe which match the Python version you are using and execute it to install it.
                    
68
                    
69.. _`setuptools pypi page`: http://pypi.python.org/pypi/setuptools
                    
70
                    
                
management-commands.html git://pkgs.fedoraproject.org/askbot | HTML | 305 lines
                    
26    <link rel="next" title="Sending email to askbot" href="sending-email-to-askbot.html" />
                    
27    <link rel="prev" title="Import other forums into Askbot" href="import-data.html" /> 
                    
28  </head>
                    
57<p>To run these commands there is a general pattern:</p>
                    
58<div class="highlight-python"><pre>cd project_directory
                    
59python manage.py some_command [possible arguments and parameters]</pre>
                    
277  <p class="topless"><a href="import-data.html"
                    
278                        title="previous chapter">Import other forums into Askbot</a></p>
                    
279  <h4>Next topic</h4>
                    
                
base.html https://bitbucket.org/dhellmann/pymotw | HTML | 146 lines
                    
38		<li><a href="http://doughellmann.com/" target="_">Blog</a></li>
                    
39		<li><a href="http://doughellmann.com/python-standard-library-by-example">The Book</a></li>
                    
40		<li><a href="{{pathto('about')}}">About</a></li>
                    
73<div id="disqus_wrapper">
                    
74<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/doughellmann/embed.js"></script><noscript><a href="http://doughellmann.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
                    
75</div>
                    
137		}
                    
138		document.write('<script type="text/javascript" src="http://disqus.com/forums/doughellmann/get_num_replies.js' + query + '"></' + 'script>');
                    
139	})();
                    
                
CommunityForumSubscribe.py https://gitlab.com/manoj-makkuboy/vikuit | Python | 61 lines
                    
1#!/usr/bin/python
                    
2# -*- coding: utf-8 -*-
                    
25
                    
26class CommunityForumSubscribe( AuthenticatedHandler ):
                    
27
                    
                
2012-08-21-git-init.markdown https://gitlab.com/Blueprint-Marketing/developer.rackspace.com | Markdown | 36 lines
                    
29* An events calendar to help you get face time with the experts posting on this blog
                    
30* Developer and Engineer moderated support forums to allow customers and developers to help each other succeed
                    
31
                    
33
                    
34Be sure to check back tomorrow as we kick off with our first post, "Getting to know python-novaclient, a beginners guide."  After reading this post, you will be prepared to start interfacing with the Rackspace open cloud API from the command line to boot servers, take snapshots, and many other cloudy tasks without having to leave your beautiful terminal.
                    
35
                    
                
hypervisor-zvm.rst git://github.com/openstack/nova.git | ReStructuredText | 146 lines
                    
61During cloud-init installation, some dependency packages may be required.
                    
62You can use zypper and python setuptools to easily resolve these dependencies.
                    
63See https://pypi.python.org/pypi/setuptools for more information.
                    
136  convert cylinders or blocks to gigabytes; for example:
                    
137  http://www.mvsforums.com/helpboards/viewtopic.php?t=8316.
                    
138
                    
                
skeinforge.py http://replicatorg.googlecode.com/svn/ | Python | 317 lines
                    
43
                    
44For skeinforge to run, install python 2.x on your machine, which is available from:
                    
45http://www.python.org/download/
                    
52
                    
53If you want python and Tkinter together on all platforms and don't mind filling out forms, you can try the ActivePython package
                    
54from Active State at:
                    
174a sometimes out of date version is in the last reprap_python_beanshell.zip attachment in the "Skeinforge Powwow" thread at:
                    
175http://forums.reprap.org/read.php?12,20013
                    
176
                    
177another sometimes out of date version is at:
                    
178https://reprap.svn.sourceforge.net/svnroot/reprap/trunk/reprap/miscellaneous/python-beanshell-scripts/
                    
179
                    
253Reece.Arnott <http://forums.reprap.org/profile.php?12,152>
                    
254Wade <http://forums.reprap.org/profile.php?12,489>
                    
255Xsainnz <http://forums.reprap.org/profile.php?12,563>
                    
                
check.py git://github.com/pinax/pinax.git | Python | 112 lines
                    
2Requires:
                    
3    Python 3
                    
4    github3.py==1.0.0a4
                    
36    "pinax-events",
                    
37    "pinax-forums",
                    
38    "pinax-identity",
                    
                
util.py https://code.google.com/p/sqlautocode/ | Python | 189 lines
                    
5_defaultencoding = sys.getdefaultencoding()
                    
6_python_identifier_re = re.compile(r'^[a-z_][a-z0-9_]*$', re.I)
                    
7
                    
23
                    
24def is_python_identifier(string):
                    
25    """True if string is a valid Python identifier."""
                    
27    # unicode-ok.
                    
28    return _python_identifier_re.match(string)
                    
29
                    
94
                    
95# lifted from http://www.daniweb.com/forums/thread70647.html
                    
96# (pattern, search, replace) regex english plural rules tuple
                    
                
alt.md https://gitlab.com/Rockyspade/rvm | Markdown | 50 lines
                    
7- https://github.com/vertiginous/pik (Windows)
                    
8- https://github.com/kwatch/versionswitcher (Python)
                    
9- https://bitbucket.org/jonforums/uru (Go)
                    
33- https://github.com/vertiginous/pik (Windows)
                    
34- https://github.com/kwatch/versionswitcher (Python)
                    
35- https://github.com/jayferd/ry (Shell)
                    
                
train_predict_keras4.py https://gitlab.com/tianzhou2011/talkingdata | Python | 178 lines
                    
1#!/usr/bin/env python
                    
2from __future__ import absolute_import, division, print_function
                    
28    """ Chenglong's code for fiting from generator.
                    
29    (https://www.kaggle.com/c/talkingdata-mobile-user-demographics/forums/t/22567/neural-network-for-sparse-matrices)
                    
30    """
                    
                
setup.py git://pkgs.fedoraproject.org/django-sct | Python | 44 lines
                    
3# Provided by Dennis @ allymbrain.com:
                    
4# http://allmybrain.com/2009/10/21/the-python-install-system-needs-an-overhaul/
                    
5#
                    
27 url = 'http://sct.sphene.net/',
                    
28 description = 'SCT (Sphene Community Tools) is a collection of Django applications. It currently consists of a Wiki and Forum application which are applicable for communities, support forums, blogs, etc.',
                    
29 long_description = '''SCT (Sphene Community Tools) is a collection of Django applications that are
                    
                
simple_dehasher.py https://gitlab.com/8wiw/python-dehasher | Python | 165 lines
                    
1#!/usr/bin/python3
                    
2
                    
3###########################################################################
                    
4#  Made by http://github.com/r4v10l1 for RaidForums.                      #
                    
5#  https://raidforums.com/User-FakeRavi0li                                #
                    
                
init_posbox_image.sh https://gitlab.com/thanhchatvn/cloud-odoo | Shell | 72 lines
                    
10
                    
11# Recommends: antiword, graphviz, ghostscript, postgresql, python-gevent, poppler-utils
                    
12export DEBIAN_FRONTEND=noninteractive
                    
18
                    
19PKGS_TO_INSTALL="adduser postgresql-client python python-dateutil python-decorator python-docutils python-feedparser python-imaging python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-passlib python-psutil python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-pypdf python-reportlab python-requests python-tz python-vatnumber python-vobject python-werkzeug python-xlwt python-yaml postgresql python-gevent python-serial python-pip python-dev localepurge vim mc mg screen iw hostapd isc-dhcp-server git rsync console-data"
                    
20
                    
26
                    
27# python-usb in wheezy is too old
                    
28# the latest pyusb from pip does not work either, usb.core.find() never returns
                    
57
                    
58# https://www.raspberrypi.org/forums/viewtopic.php?p=79249
                    
59# to not have "setting up console font and keymap" during boot take ages
                    
                
change_log.rst https://gitlab.com/smilefreak/edx-documentation | ReStructuredText | 325 lines
                    
42   * - 4 Nov 2015
                    
43     - Updates made throughout this guide to replace Python terminology
                    
44       (dictionary, integer, float) with JSON terminology (object, number)
                    
127   * - 5 Mar 2015
                    
128     - Added new events for contributions to discussion forums to the
                    
129       :ref:`Tracking Logs` section.
                    
214   * - 09/04/14
                    
215     - Updated the :ref:`Discussion Forums Data` section to include the
                    
216       ``thread_type`` field for CommentThreads and the ``endorsement`` field
                    
274   * -
                    
275     - Removed information on CustomResponse XML and Python Script. See
                    
276       :ref:`partnercoursestaff:Write Your Own Grader` in the  *Building and
                    
282   * - 04/29/14
                    
283     - Corrected misstatement on how :ref:`Discussion Forums Data` is sent in
                    
284       data packages.
                    
                
about.htm git://pkgs.fedoraproject.org/spe | HTML | 45 lines
                    
1<b>SPE (Stani's Python Editor)</b><br>
                    
2<br>
                    
2<br>
                    
3<i>Spe is an Integrated Development Editor for the Python<br>
                    
4programming language (fully compatible with <a href="http://www.blender.org">Blender</a>).</i><br>
                    
11<tr><td width=120> Website  </td><td><a href="http://projects.blender.org/projects/spe">http://projects.blender.org/projects/spe</a></td></tr>
                    
12<tr><td width=120> Forums   </td><td><a href="http://projects.blender.org/forum/?group_id=30">http://projects.blender.org/forum/?group_id=30</a></td></tr>
                    
13</table>
                    
17<tr><td width=120> Spe version      </td><td>                                    %(version)s                    </td></tr>
                    
18<tr><td width=120> Python version   </td><td> %(pyVersionC)s&nbsp;<font size=0> (%(pyVersion)s required) </font></td></tr>
                    
19<tr><td width=120> wxPython version </td><td> %(wxVersionC)s&nbsp;<font size=0> (%(wxVersion)s required) </font></td></tr>
                    
25<hr>
                    
26<i>Look up the manual for requirements (python/wxPython/Blender) and detailed credit information.</i>
                    
27<hr>
                    
                
ppcommon.py git://pkgs.fedoraproject.org/python-pp | Python | 64 lines
                    
1# Parallel Python Software: http://www.parallelpython.com
                    
2# Copyright (c) 2005-2010, Vitalii Vanovschi
                    
26"""
                    
27Parallel Python Software, Execution Server
                    
28
                    
28
                    
29http://www.parallelpython.com - updates, documentation, examples and support
                    
30forums
                    
62
                    
63# Parallel Python Software: http://www.parallelpython.com
                    
64
                    
                
setup.py https://github.com/fajran/mongo-python-driver.git | Python | 152 lines
                    
1#!/usr/bin/env python
                    
2
                    
64            print """
                    
65`setup.py doc` is not supported for this version of Python.
                    
66
                    
66
                    
67Please ask in the user forums for help.
                    
68"""
                    
113            print self.warning_message % ("The %s extension module" % ext.name,
                    
114                                          "Please use Python >= 2.4 to take "
                    
115                                          "advantage of the extension.")
                    
130    version=version,
                    
131    description="Python driver for MongoDB <http://www.mongodb.org>",
                    
132    long_description=readme_content,
                    
134    author_email="mongodb-user@googlegroups.com",
                    
135    url="http://github.com/mongodb/mongo-python-driver",
                    
136    keywords=["mongo", "mongodb", "pymongo", "gridfs"],
                    
                
start_devstack.rst https://bitbucket.org/omock/omock-documentation.git | ReStructuredText | 171 lines
                    
34   This command loads the edxapp environment from the file
                    
35   ``/edx/app/edxapp/edxapp_env``. This puts ``venv python`` in your search
                    
36   path.
                    
159
                    
160#. Start the discussion forums server.
                    
161
                    
165
                    
166The discussions forum server starts. You can access the discussion forums API
                    
167at ``http://localhost:18080/``.
                    
                
NoInterpreters.html https://gitlab.com/SplatoonModdingHub/PTVS | HTML | 90 lines
                    
2<!--
                    
3Python Tools for Visual Studio
                    
4Copyright(c) Microsoft Corporation
                    
22    <meta charset="utf-8" />
                    
23    <title>Python Tools for Visual Studio</title>
                    
24    <link rel="stylesheet" href="ReadmeStyle.css" type="text/css" />
                    
29    <p>
                    
30        Installing a Python interpreter will let you run your project, and will
                    
31        include useful libraries and tools.
                    
35        <a href="http://go.microsoft.com/fwlink/?LinkId=299430">
                    
36            Download and install Python
                    
37        </a>
                    
40        This will install the latest version (32-bit) from the
                    
41        <a href="http://go.microsoft.com/fwlink/?LinkId=301496">Python
                    
42        homepage</a>.
                    
                
external.md https://gitlab.com/ijlopez-phd/instructions.git | Markdown | 40 lines
                    
8
                    
9GridLAB-D has an active developer community and forums where users can ask and find all necessary information. Useful links on GridLAB-D can be found [here](http://www.gridlabd.org/resources.stm).
                    
10
                    
35
                    
36It is recommended to use [PotsgresSQL](http://www.postgresql.org/) to store the information. Specially, PostgreSQL is important to store the demand estimations, which consist of a large amount of data. In case you want to use another database system to this end, the Python scripts that create and store the estimations should be changed.
                    
37
                    
                
continuous_integration.md https://gitlab.com/karambir/hello-world-web | Markdown | 86 lines
                    
13Drone.io is a hosting platform that uses the open source drone software. 
                    
14To learn more about drone and setting up your personal server to run CI testing visit [Github](https://github.com/drone/drone) and [their docs/forums](http://readme.drone.io/community/overview/). [This](http://linoxide.com/linux-how-to/setup-drone-continuous-integration-linux/) may also be helpful. 
                    
15
                    
30
                    
316. Setup the project by selecting python 
                    
32![Setup Project Screenshot](../img/ci/droneio/screenshots/setup-project.png)
                    
51
                    
529. Insure Python version is correct, or change as needed. 
                    
53Note: At this time not all versions are available
                    
                
README.md https://gitlab.com/jiangming1399/micropython-mirror | Markdown | 122 lines
                    
3
                    
4This is an experimental port of MicroPython for the WiFi modules based
                    
5on Espressif ESP8266 chip.
                    
22- Modules for HTTP, MQTT, many other formats and protocols via
                    
23  https://github.com/micropython/micropython-lib .
                    
24
                    
56This will produce binary images in the `build/` subdirectory. If you install
                    
57MicroPython to your module for the first time, or after installing any other
                    
58firmware, you should erase flash completely:
                    
66
                    
67To flash MicroPython image to your ESP8266, use:
                    
68```bash
                    
120
                    
121Please consult dedicated ESP8266 forums/resources for hardware-related
                    
122problems.
                    
                
ppworker.py git://pkgs.fedoraproject.org/python-pp | Python | 124 lines
                    
1# Parallel Python Software: http://www.parallelpython.com
                    
2# Copyright (c) 2005-2010, Vitalii Vanovschi
                    
26"""
                    
27Parallel Python Software, PP Worker
                    
28
                    
28
                    
29http://www.parallelpython.com - updates, documentation, examples and support
                    
30forums
                    
122
                    
123# Parallel Python Software: http://www.parallelpython.com
                    
124
                    
                
models.py git://github.com/vicalloy/LBForum.git | Python | 287 lines
                    
10from el_pagination import settings as elp_setttings
                    
11from django.utils.encoding import python_2_unicode_compatible
                    
12
                    
15
                    
16@python_2_unicode_compatible
                    
17class Category(models.Model):
                    
33
                    
34@python_2_unicode_compatible
                    
35class Forum(models.Model):
                    
54        verbose_name = _("Forum")
                    
55        verbose_name_plural = _("Forums")
                    
56        ordering = ('oid', '-created_on')
                    
89
                    
90@python_2_unicode_compatible
                    
91class TopicType(models.Model):
                    
                
README.md https://bitbucket.org/bachmeil/wiki-info.git | Markdown | 75 lines
                    
60
                    
61**Moinmoin** [site](https://moinmo.in/) Flat files. Written in Python. Works well as a personal wiki. Used for the Ubuntu wiki.
                    
62
                    
66**Tiki** [site](https://tiki.org/tiki-index.php) Heavier on the setup and maintenance side than the others listed here,
                    
67but offers many features, including forums, calendars, polls, and even a spreadsheet. This is the "kitchen sink" wiki. I can't
                    
68imagine anyone using it as a personal wiki.
                    
                
diy-nasserver-part-one.md https://gitlab.com/monkmartinez/Caffeine_Industries | Markdown | 55 lines
                    
28[OpenMediaVault
                    
29forums](http://forums.openmediavault.org/index.php/BoardList/). Truth be
                    
30told, I may not attempt to evaluate another NAS operating system as this
                    
51level 1 hypervisor like EXSi or KVM. In addition to that, I would like
                    
52to continue to learn Python programming for both system management and
                    
53the web with Flask/Django.
                    
                
htmlcleaner.py https://gitlab.com/billyprice1/husham.com | Python | 158 lines
                    
1#!/usr/bin/env python
                    
2# -*- coding: utf-8 -*-
                    
18__version__ = "1.0"
                    
19__author__ = "Anarchintosh  (@xbmcforums)"
                    
20__copyright__ = "Copyleft 2011 onwards  GNU GPL 3."
                    
34    import htmlentitydefs
                    
35except ImportError: #Python3
                    
36    import html.entities as htmlentitydefs
                    
49    if k == 'apos': return ord("'")
                    
50    if hasattr(htmlentitydefs, "name2codepoint"): # requires Python 2.3
                    
51        return htmlentitydefs.name2codepoint[k]
                    
81            return unichr(c)
                    
82        except NameError: #Python3
                    
83            return chr(c)
                    
93                return unichr(name2cp(c))
                    
94            except NameError: #Python3
                    
95                return chr(name2cp(c))
                    
                
os-next-steps.py https://bitbucket.org/dilos/userland-gate | Python | 242 lines
                    
1#!/usr/bin/python2.7
                    
2# -*- coding: utf-8 -*-
                    
78	'icon' : "participate.png",
                    
79	'url_links' : [ ["https://community.oracle.com/community/server_%26_storage_systems/solaris", N_("##Join in on the discussion## of the <b>Oracle Solaris Forums</b>")], ["http://www.oracle.com/technetwork/server-storage/solaris11/community/index.html", N_("##Catch the latest## from the <b>Oracle Solaris Community</b>")] ],
                    
80}
                    
                
ghmm.h git://pkgs.fedoraproject.org/ghmm | C Header | 222 lines
                    
51 * <A HREF="http://sourceforge.net/projects/ghmm/">Sourceforge</A>,
                    
52 * where you have access to the Subversion repository, mailing lists and forums.
                    
53 *
                    
64 *  - Graphical Editor HMMEd
                    
65 *  - Python bindings
                    
66 *  - XML-based file format
                    
                
addons_xml_generator.py https://gitlab.com/cloudwordinst/cloudword-repository | Python | 319 lines
                    
3homepage = 'http://forum.xbmc.org/showthread.php?tid=129401'
                    
4script_credits = 'All code copyleft (GNU GPL v3) by Unobtanium @ XBMC Forums'
                    
5
                    
38
                    
39# check if repo-prep.py is being run standalone or called from another python file
                    
40if __name__ == "__main__":  standalone = True
                    
                
udacity_crawler.py https://gitlab.com/fnaticshank/crawler | Python | 263 lines
                    
39	index, pagedata = index_pdfs(index, pagedata)
                    
40	index = add_videos_to_index('subtitle_index.csv', '/Users/connormendenhall/Python/DaveDaveFind/DaveDaveFind/data/video_info.csv', index)
                    
41	index = undupe_index(index)
                    
63	else:
                    
64		robots_url = "http://www.udacity-forums.com/robots.txt"
                    
65	rp = rerp.RobotFileParserLookalike()
                    
107	stopwords = ['']
                    
108	with open('/Users/connormendenhall/Python/DaveDaveFind/DaveDaveFind/data/stopwords.csv', 'rb') as f:
                    
109		wordlist = csv.reader(f)
                    
173def is_udacity(url):
                    
174	udacity_urls = ['www.udacity.com', 'www.udacity-forums.com', 'davedavefind.appspot.com']
                    
175	parsed_url = urlparse(url)
                    
252max_depth = 10
                    
253crawl_list = ['http://www.udacity.com/overview/Course/cs101/', 'http://www.udacity-forums.com/cs101/', 'http://davedavefind.appspot.com/']
                    
254	
                    
                
pyfileserver.html https://bitbucket.org/mar10/wsgidav2 | HTML | 98 lines
                    
21   <h2>What is WSGI?</h2>
                    
22   <p><A href="http://www.python.org/peps/pep-0333.html" >WSGI</A> stands for Web Server Gateway Interface, a proposed standard interface between web servers and Python web applications or frameworks, to promote web application portability across a variety of web servers.</p>
                    
23   
                    
23   
                    
24   <p><A href="http://pythonpaste.org/">Python Paste</A>, also known as WSGIKit, is a web application framework framework. It uses WSGI to create a framework-neutral set of components. It also assists with application setup and deployment.</p>   
                    
25      
                    
36   <p>
                    
37   PyFileServer is designed to run over any WSGI-supporting webserver running Python over Windows or *nix based filesystems. So far, it has been developed and tested over Python 2.4.1 running paster (a development web server in <A href="http://pythonpaste.org/">Paste</A>) on a Windows XP system.
                    
38   </p>
                    
79		<li><a href="http://developer.berlios.de/projects/pyfilesync/" title="">Project Area</a></li>
                    
80		<li><a href="https://developer.berlios.de/forum/?group_id=4191" title="">Forums</a></li>
                    
81		<li><a href="http://developer.berlios.de/project/filelist.php?group_id=4191" title="">Files</a></li>
                    
                
 

Source

Language