This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Node(): | |
pass | |
nodes = [] | |
for i in range( 100 ): | |
n = Node() | |
nodes.append( n ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using gpu device 0: GeForce GT 750M (CNMeM is disabled, CuDNN not available) | |
../Users/Ramana/projects/theano/Theano/theano/tensor/tests/test_opt.py:4021: UserWarning: Tile op is deprecated, use tile function instead. | |
f = theano.function([var], Tile(ndim)(var, (1,)*ndim), mode=mode) | |
..F...........FF....FEE.............ERROR (theano.gof.opt): EquilibriumOptimizer max'ed out by 'gpu_merge'. You can safely raise the current threshold of 5.000000 with the theano flag 'optdb.max_use_ratio'. | |
ERROR (theano.gof.opt): EquilibriumOptimizer max'ed out by 'gpu_merge'. You can safely raise the current threshold of 5.000000 with the theano flag 'optdb.max_use_ratio'. | |
ERROR (theano.gof.opt): EquilibriumOptimizer max'ed out by 'gpu_merge'. You can safely raise the current threshold of 5.000000 with the theano flag 'optdb.max_use_ratio'. | |
...........................FFF..F.......FFF....FF..S.S..S.....FF..........FFFFFFFFF.....FFF...FFFFFFFF............ERROR (theano.gof.opt): Optimization failure due to: local_gpu_subtensor | |
ERR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Hello{ | |
public static void main(String []args){ | |
System.out.println("Hello World"); | |
ArrayList<String> a1 = new ArrayList<String>(); | |
ArrayList<String> b1 = a1; | |
b1.add("hello"); | |
b1.add("yo!"); | |
System.out.println(a1.toString()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" ******************************************************************************* | |
Prints out the query results in a HTML format or in a dump file | |
in an HTML format the function will paginate the data | |
numResidues = total # of residues in query | |
Result_Set = set of results to be printed | |
Per_Page = number of results to show per page | |
toFile = file to dump results to | |
************************************************************************** """ | |
from __future__ import with_statement | |
from threading import Thread, Lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package ftpjava; | |
import java.io.BufferedInputStream; | |
import java.io.BufferedOutputStream; | |
import java.io.BufferedReader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UserProfiles(models.Model): | |
user = models.ForeignKey(User, unique=True) | |
follows = models.ManyToManyField(User, related_name='followers', symmetrical=False) | |
description = models.TextField(verbose_name=_("description")) | |
place = models.TextField(verbose_name=_("place")) | |
reputation = models.IntegerField(auto_created=True, default=0) | |
prof_pic = models.FilePathField(path="/home/ramana/PycharmProjects/social-network/static/images") |
NewerOlder