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
ubuntu@gando_theano:~/Tars$ python -m unittest Tars.tests.test_distribution_samles | |
Traceback (most recent call last): | |
File "/home/ubuntu/.pyenv/versions/2.7.10/lib/python2.7/runpy.py", line 162, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "/home/ubuntu/.pyenv/versions/2.7.10/lib/python2.7/runpy.py", line 72, in _run_code | |
exec code in run_globals | |
File "/home/ubuntu/.pyenv/versions/2.7.10/lib/python2.7/unittest/__main__.py", line 12, in <module> | |
main(module=None) | |
File "/home/ubuntu/.pyenv/versions/2.7.10/lib/python2.7/unittest/main.py", line 94, in __init__ | |
self.parseArgs(argv) |
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
# see: http://stackoverflow.com/questions/1350466/preventing-python-code-from-importing-certain-modules | |
>>> import tensorflow | |
>>> tensorflow.contrib | |
<tensorflow._LazyContribLoader object at 0x1130b9050> | |
>>> tensorflow.contrib.layers | |
<module 'tensorflow.contrib.layers' from '/Users/pentiumx/.pyenv/versions/2.7.10/lib/python2.7/site-packages/tensorflow/contrib/layers/__init__.pyc'> | |
>>> import sys | |
>>> del tensorflow.contrib.layers | |
>>> sys.modules['tensorflow.contrib.layers']=None |
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
from manim import * | |
from manim.utils.color import rgb_to_color | |
# Set custom resolution | |
config.pixel_width = 1600 | |
config.pixel_height = 1200 | |
# Tailwind colors | |
teal_correct = rgb_to_color((0.129, 0.588, 0.588)) # Teal for relevant items | |
grey_incorrect = GREY # Grey for irrelevant items |
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
from manim import * | |
import numpy as np | |
config.pixel_width = 1280 | |
config.pixel_height = 720 | |
# Define retrieval sequences | |
retrieval_sequences = [ | |
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0], # High Precision, High Recall | |
[1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1], # Balanced Retrieval |
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
use iced::{ | |
button, Button, Column, Element, Image, Length, Row, Sandbox, Settings, Text, | |
Container | |
}; | |
use iced::alignment::{Horizontal, Vertical}; | |
// Define the application state | |
#[derive(Default)] | |
struct ImageViewer { | |
image_path: String, |
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
Privacy Policy | |
ViewSkater does not collect any personal data. | |
If you have any questions about this privacy policy, please contact us at viewskater@ggando.me. | |
Effective Date: April 29, 2025 |
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
#!/bin/bash | |
set -euo pipefail | |
# Constants — change as needed | |
APP_NAME="<YOUR APP NAME>" | |
BINARY_NAME="<YOUR BINARY NAME>" | |
BUNDLE_ID="<com.yourorgname.appname>" | |
VERSION_SHORT="0.1.0" | |
TEAM_ID="<TEAM ID>" | |
DEV_NAME="3rd Party Mac Developer Application: <YOUR NAME> ($TEAM_ID)" |