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
from pylab import * | |
#possible changes in how the plot looks | |
#rcParams['xtick.major.size'] = 0 | |
#rcParams['ytick.major.size'] = 0 | |
#constants | |
x1 = -0.000000; x2 = 1.000000 | |
y1 = -0.000000; y2 = 1.000000 |
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
package it.roy.UtilityManager.gui; | |
import it.roy.UtilityManager.gui.ProcessListAdapters.ProcessListAdapter; | |
import java.util.ArrayList; | |
import java.util.List; | |
import android.app.Activity; | |
import android.app.ActivityManager; | |
import android.app.ActivityManager.RunningAppProcessInfo; |
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
package com.login.dplanner; | |
import java.util.ArrayList; | |
import org.apache.http.NameValuePair; | |
import org.apache.http.message.BasicNameValuePair; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.text.TextUtils; |
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
// TODO: These methods should take objects, not strings, when setting data. | |
// TODO: These methods should take ints, not strings, when getting data. | |
import java.sql.*; | |
import java.util.*; | |
public class MySQLDataLayer | |
{ | |
private Connection connection; | |
private Model model; |
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
var buttons = new Array() | |
var allButtons = new Array() | |
var flipButton = new Array() | |
var colours | |
var coordinates = {x:1, y:1} | |
var gameScore=0 | |
var removedCount = 0 | |
function changeCoords(x,y) { |
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 ColorLog | |
import random | |
import copy | |
import Deck | |
import Hand | |
import CardShuffle | |
import Player | |
class BlackJack(): |
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
__author__ = 'Roy' | |
def extract_vowels(): | |
letters = 'abcdefghijklmnopqrstuvwxyz' | |
pos = dict(zip(xrange(1, 27), letters)) | |
print pos | |
alphabet = [chr(i) for i in xrange(97, 123)] | |
print alphabet | |
# generate a list of vowels | |
vowels = map(lambda x: chr(x), reduce(lambda acc, i: acc + [acc[-1] + i], (4, 4, 6, 6, 4), [97])) |
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
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "//anaconda/lib/python2.7/site-packages/matplotlib-1.4.1-py2.7-macosx-10.5-x86_64.egg/pylab.py", line 1, in <module> | |
from matplotlib.pylab import * | |
File "//anaconda/lib/python2.7/site-packages/matplotlib-1.4.1-py2.7-macosx-10.5-x86_64.egg/matplotlib/pylab.py", line 274, in <module> | |
from matplotlib.pyplot import * | |
File "//anaconda/lib/python2.7/site-packages/matplotlib-1.4.1-py2.7-macosx-10.5-x86_64.egg/matplotlib/pyplot.py", line 109, in <module> | |
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup() | |
File "//anaconda/lib/python2.7/site-packages/matplotlib-1.4.1-py2.7-macosx-10.5-x86_64.egg/matplotlib/backends/__init__.py", line 32, in pylab_setup | |
globals(),locals(),[backend_name],0) |
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
►► server_repo ►► | |
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git pull origin master > debug.txt | |
18:55:49.593874 git.c:555 trace: exec: 'git-pull' 'origin' 'master' | |
18:55:49.594566 run-command.c:351 trace: run_command: 'git-pull' 'origin' 'master' | |
18:55:49.609954 git.c:346 trace: built-in: git 'rev-parse' '--git-dir' | |
18:55:49.614856 git.c:346 trace: built-in: git 'rev-parse' '--is-bare-repository' | |
18:55:49.618121 git.c:346 trace: built-in: git 'rev-parse' '--show-toplevel' | |
18:55:49.622212 git.c:346 trace: built-in: git 'ls-files' '-u' | |
18:55:49.625890 git.c:346 trace: built-in: git 'symbolic-ref' '-q' 'HEAD' | |
18:55:49.633704 git.c:346 trace: built-in: git 'config' 'pull.ff' |
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
Notifying Redmine about changes to this repository : 'test_1/server_repo' ... | |
HTTP_ERROR : execution expired | |
Looking for additional global post-receive hooks... | |
- Global hooks found : ["hooks/post-receive.d/mail_notifications"] | |
Looking for additional local post-receive hooks... | |
- No local hooks found | |
Calling additional post-receive hooks... |
OlderNewer