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
| using UnityEngine; | |
| using System.Collections; | |
| public class HexaGrid : MonoBehaviour | |
| { | |
| public Material mat; | |
| private Vector3 startVertex; | |
| private Vector3 mousePos; | |
| void Start() |
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
| { | |
| "files": ["s3://stemqa-sampledata/csv_import/meter_logs/sample_second.csv"], | |
| "options": {"database": "meter_logs", "table":"monitor_data_minute"} | |
| } |
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 | |
| import sys | |
| import os | |
| for key in os.environ.keys(): | |
| print("%s %s" % (key, os.environ[key])) | |
| import logging | |
| from stem.messaging import messaging |
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
| SHOVEL_NAME=$1 | |
| SRC_URI=$2 | |
| SRC_EXCH=$3 | |
| ROUTING_KEY=$4 | |
| DEST_URI=$5 | |
| DEST_EXCH=$6 | |
| ACK_MODE=on-confirm | |
| SHOVEL_ARG="{\"src-uri\":\""${SRC_URI}"\", \"src-exchange\": \""${SRC_EXCH}"\", \"src-exchange-key\":\""${ROUTING_KEY}"\", \"dest-uri\":\""${DEST_URI}"\", \"dest-exchange\":\""${DEST_EXCH}"\", \"ack-mode\":\""${ACK_MODE}"\", \"reconnect-delay\": 0, \"prefetch-count\": 34460, \"delete-after\": \""never"\" }" | |
| echo rabbitmqctl set_parameter shovel ${SHOVEL_NAME} """${SHOVEL_ARG}""" |
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 gevent.monkey | |
| gevent.monkey.patch_all() | |
| import bmemcached | |
| import threading | |
| from threading import Thread | |
| import time | |
| import uuid |
OlderNewer