Skip to content

Instantly share code, notes, and snippets.

View breandan's full-sized avatar
📖
I may be slow to respond.

breandan breandan

📖
I may be slow to respond.
View GitHub Profile
@breandan
breandan / .bash_history
Created February 27, 2020 22:43
Bash history Feb. 27th, 2020 17:44
sq
lmod
sq --help
man sq
man squeue
ls
vim example_tensorflow.sh
vim tensorflow-test.py
sbatch exemple_tensorflow.sh
sbatch example_tensorflow.sh
@breandan
breandan / team04_model_output.log
Created February 27, 2020 22:20
Thu Feb. 27th 5:15pm
(base) [guest107@helk80n04 code]$ python evaluator.py "test.csv" "/project/cq-instructors-1/project1/data/test_cfg.json"
preparing data loader & model for station 'BND' (1/7)
2020-02-27 22:13:57.121128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2020-02-27 22:13:57.216688: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235
pciBusID: 0000:14:00.0
2020-02-27 22:13:57.292952: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
2020-02-27 22:14:03.229239: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
2020-02-27 22:14:03.552862: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
2020-02-27 22:14:03.859537: I tensorflow/stream_executor/platform/d
2020-02-26 22:14:30.649866: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Tesla K80, Compute Capability 3.7
0%| | 0/599 [00:00<?, ?it/s]2020-02-26 22:14:31.678574: W tensorflow/core/framework/op_kernel.cc:1610] Unknown: FileNotFoundError: [Errno 2] No such file or directory: b'/project/cq-instructors-1/project1/data/netcdf/GOES2016/GridSat-CONUS.goes13.2016.01.01.0130.v01.nc'
Traceback (most recent call last):
File "/home/guest126/miniconda3/lib/python3.7/site-packages/tensorflow_core/python/ops/script_ops.py", line 221, in __call__
ret = func(*args)
File "/home/guest126/miniconda3/lib/python3.7/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 585, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
@breandan
breandan / annotated_links.tsv
Last active March 14, 2020 17:58
Subset of links annotated with ambiguity.
@breandan
breandan / test.md
Last active January 24, 2020 02:26
Testing SVG in GFM

Image

@breandan
breandan / links_with_candidates.tsv
Last active February 11, 2020 15:56
Anchor texts with top 20 candidate docs sorted by count-search frequency.
@breandan
breandan / sample_source_plus_target_context.csv
Created November 21, 2019 22:33
Sample of source (with context) and target (with context).
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
link_text, context, target_context, source_document, target_document, link_fragment
"""TRUNCATE""", """To delete all the rows from a table, <<LNK>> the table. TRUNCATE is much more efficient""", """truncate date; … Parameters TABLE Optional keyword. table_name A temporary or persistent table. Only the owner of the table or a … (1 row) The DATE table remains empty after the ROLLBACK command because the TRUNCATE command committed automatically. … TRUNCATE Deletes all of the rows from a table without doing a table scan: this operation is a faster alternative to an unqualifie""", """/AWS_Redshift_SQL_Reference.tgz!/AWS_Redshift_SQL_Reference.docset/Contents/Resources/Documents/r_DELETE.html""", """/AWS_Redshift_SQL_Reference.tgz!/AWS_Redshift_SQL_Reference.docset/Contents/Resources/Documents/r_TRUNCATE.html""", """"""
"""TRUNCATE""", """on large tables; see <<LNK>> .""", """truncate date; … Parameters TABLE Optional keyword. table_name A temporary or persistent table. Only the owner of the table or a … (1 row)
@breandan
breandan / home_directory_build_tree
Created April 24, 2019 17:25
Output of `tree -d` on `$HOME/.IntelliJIdeaXX/`
├── config
│   ├── inspection
│   ├── jba_config
│   │   ├── caches
│   │   ├── codestyles
│   │   ├── colors
│   │   └── linux.keymaps
│   ├── options
│   ├── plugins
│   │   ├── AceJump
@breandan
breandan / project_build_tree
Created April 24, 2019 17:21
Output of `tree -d` on `PROJECT/build/idea-sandbox`.
├── config
│   ├── codestyles
│   ├── options
│   └── tasks
├── config-test
│   └── options
├── plugins
│   └── AceJump
│   └── lib
├── plugins-test
@breandan
breandan / when_does_longOp_get_called.kt
Created March 31, 2019 16:40
Lazy properties, nullary functions, and custom getters oh my
object C {
inline fun longOp(): String {
val ms = System.currentTimeMillis()
while (true) if (System.currentTimeMillis() - ms > 30000) break
return "abc"
}
// val zoo = longOp()
val quick = "hello"