This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A warning occurred (42 apples) | |
| An error occurred |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # fix-xcode | |
| # Rob Napier <[email protected]> | |
| # Script to link in all your old SDKs every time you upgrade Xcode | |
| # Create a directory called /SDKs (or modify source_path). | |
| # Under it, put all the platform directories: | |
| # MacOSX.platform iPhoneOS.platform iPhoneSimulator.platform | |
| # Under those, store the SDKs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Installing OpenCV python libs on mac to work with virtualenv | |
| # OpenCV 2.4.3 | |
| # Python 2.7.3 installed with brew | |
| # assuming you have virtualenv, pip, and python installed via brew | |
| # assuming $WORKON_HOME is set to something like ~/.virtualenvs | |
| # using homebrew - make sure we're current | |
| brew update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Each existing unread and subsequent new emails after the script is started are | |
| passed as Mail objects to "process_email" function.Function header is provided | |
| but processing implementation is left to the user. Error logs are currently sent | |
| to a rotating log file (in the same directory as the script) and to STDOUT. | |
| Instead of polling or checking the server for new emails every now and then, | |
| IMAP IDLE check is utilized. Ensure that the IMAP server supports IDLE command | |
| and allows at least 5 minutes of idling*** and uses the default ports for this | |
| script to work. Tested to work with Gmail and default installations of MS | |
| Exchange Server. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <vector> | |
| #include <string> | |
| #include <fstream> | |
| #include <set> | |
| #include <map> | |
| #include <algorithm> | |
| #include <cassert> | |
| #include <cmath> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try | |
| { | |
| throw new Exception(); | |
| } | |
| catch (Exception ex) | |
| { | |
| // Get stack trace for the exception with source file information | |
| var st = new StackTrace(ex, true); | |
| // Get the top stack frame | |
| var frame = st.GetFrame(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import random | |
| import math | |
| import numpy as np | |
| import logbook | |
| log = logbook.Logger('Optimization') | |
| from neuronquant.network.transport import ZMQ_Dealer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| mt940toOFX.py - Dieses Progrtamm liesst MT940 SWIFT Kontostände und konvertiert sie in OFX. | |
| OFX wurde mit xero.com getestet. | |
| Created by Maximillian Dornseif on 2010-06-05. | |
| Copyright (c) 2010, 2013, 2014 HUDORA. All rights reserved. | |
| """ |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "metadata": { | |
| "name": "", | |
| "signature": "sha256:a04c38d9604adb7eb9ca89860dfa1ef72db66037cc2c07c391ef8e67a31f9254" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "crypto" | |
| "crypto/rsa" | |
| "crypto/sha1" | |
| "crypto/x509" | |
| "encoding/base64" | |
| "fmt" | |
| ) |