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 <stdio.h> | |
| #define array_len(x) ((sizeof (x) == 0) ? (0) : (sizeof (x) / sizeof (x[0]))) | |
| char *my_word_list[] = { | |
| "abc", | |
| "bcd", | |
| "def", | |
| "fgh" | |
| }; |
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
| const myWord = "sprot" | |
| const dictionatyOfWords = { | |
| "sport": "pop", | |
| "ports": "pop2", | |
| "port": "A winter sport", | |
| "sports": "A marionette", | |
| "trops": "A marionette", | |
| } | |
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 re | |
| __SYMBOLS_DICTIONARY__ = { | |
| # Greek Letters | |
| "Gamma": "Γ", | |
| "Delta": "Δ", | |
| "Lambda": "Λ", | |
| "Phi": "Φ", | |
| "Pi": "Π", | |
| "Psi": "Ψ", |
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 bash | |
| # Helper script to run blip in a single command. | |
| # Obtain the absolute path of this script. | |
| # Solution from: https://stackoverflow.com/a/246128 | |
| SOURCE="${BASH_SOURCE[0]}" | |
| while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink | |
| DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" | |
| SOURCE="$(readlink "$SOURCE")" |
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 tensorflow | |
| # possible namespace for /root/tensorflow | |
| # /usr/local/lib/python3.4/dist-packages/tensorflow/__pycache__/__init__.cpython-34.pyc matches /usr/local/lib/python3.4/dist-packages/tensorflow/__init__.py | |
| # code object from '/usr/local/lib/python3.4/dist-packages/tensorflow/__pycache__/__init__.cpython-34.pyc' | |
| # /usr/lib/python3.4/__pycache__/__future__.cpython-34.pyc matches /usr/lib/python3.4/__future__.py | |
| # code object from '/usr/lib/python3.4/__pycache__/__future__.cpython-34.pyc' | |
| import '__future__' # <_frozen_importlib.SourceFileLoader object at 0x7f9710ed98d0> | |
| # /usr/local/lib/python3.4/dist-packages/tensorflow/python/__pycache__/__init__.cpython-34.pyc matches /usr/local/lib/python3.4/dist-packages/tensorflow/python/__init__.py | |
| # code object from '/usr/local/lib/python3.4/dist-packages/tensorflow/python/__pycache__/__init__.cpython-34.pyc' | |
| # /usr/lib/python3.4/ctypes/__pycache__/__init__.cpython-34.pyc matches /usr/lib/python3.4/ctypes/__init__.py |
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 tensorflow | |
| # possible namespace for /root/tensorflow | |
| # /usr/local/lib/python3.4/dist-packages/tensorflow/__pycache__/__init__.cpython-34.pyc matches /usr/local/lib/python3.4/dist-packages/tensorflow/__init__.py | |
| # code object from '/usr/local/lib/python3.4/dist-packages/tensorflow/__pycache__/__init__.cpython-34.pyc' | |
| # /usr/lib/python3.4/__pycache__/__future__.cpython-34.pyc matches /usr/lib/python3.4/__future__.py | |
| # code object from '/usr/lib/python3.4/__pycache__/__future__.cpython-34.pyc' | |
| import '__future__' # <_frozen_importlib.SourceFileLoader object at 0x7f7047d4c8d0> | |
| # /usr/local/lib/python3.4/dist-packages/tensorflow/python/__pycache__/__init__.cpython-34.pyc matches /usr/local/lib/python3.4/dist-packages/tensorflow/python/__init__.py | |
| # code object from '/usr/local/lib/python3.4/dist-packages/tensorflow/python/__pycache__/__init__.cpython-34.pyc' | |
| # /usr/lib/python3.4/ctypes/__pycache__/__init__.cpython-34.pyc matches /usr/lib/python3.4/ctypes/__init__.py |
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
| System Information: | |
| OS Version: | |
| Linux Distribution: Ubuntu 16.04 LTS | |
| Kernel Version: 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 | |
| Hardware Info: | |
| Machine Type ASUSTeK COMPUTER INC. X550JK 1.0 | |
| CPU Type GenuineIntel x86_64 | |
| CPU Info Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz | |
| CPU Speed 3500 MHz |
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
| (tensorflow-py3)root@tensorflow:~# python3 -v | |
| import _frozen_importlib # frozen | |
| import imp # builtin | |
| import sys # builtin | |
| # installing zipimport hook | |
| # installed zipimport hook | |
| # /root/tensorflow-py3/lib/python3.4/encodings/__pycache__/__init__.cpython-34.pyc matches /root/tensorflow-py3/lib/python3.4/encodings/__init__.py | |
| # code object from '/root/tensorflow-py3/lib/python3.4/encodings/__pycache__/__init__.cpython-34.pyc' | |
| # /root/tensorflow-py3/lib/python3.4/__pycache__/codecs.cpython-34.pyc matches /root/tensorflow-py3/lib/python3.4/codecs.py | |
| # code object from '/root/tensorflow-py3/lib/python3.4/__pycache__/codecs.cpython-34.pyc' |