Skip to content

Instantly share code, notes, and snippets.

View jxy's full-sized avatar
🍵
journey before destination

Xiao-Yong Jin jxy

🍵
journey before destination
  • Argonne National Laboratory
View GitHub Profile
@jxy
jxy / gp
Created February 22, 2017 02:09
#!/bin/bash
# Copyright (C) 2017 Xiao-Yong Jin
# MIT License [https://opensource.org/licenses/MIT]
set -ue
declare setup=""
declare read_statements=N
while (($# > 0)); do
case $1 in
-s)
@jxy
jxy / qf
Last active February 27, 2017 22:12
qf (Qstat Filter) 1.0, Copyright (C) 2017 Xiao-Yong Jin, License MIT [https://opensource.org/licenses/MIT]
#!/bin/bash
help(){ cat;}<<'EOF'
qf (Qstat Filter) 1.0
Copyright (C) 2017 Xiao-Yong Jin
License MIT [https://opensource.org/licenses/MIT]
usage: qf [help | FILTERS]
Print out jobs satisfying all the filter categories specified.
A job satisfies a category, if it satisfies any filter in the category.

Keybase proof

I hereby claim:

  • I am jxy on github.
  • I am jxy (https://keybase.io/jxy) on keybase.
  • I have a public key ASChzmdPyC_y291X8ajlSoHX5CP4J0BAC1bMor52avVuago

To claim this, I am signing this object:

Note'Copyright'
Copyright (C) 2017 Xiao-Yong Jin. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@jxy
jxy / 2du1.ipynb
Created February 21, 2019 16:24
2DU1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jxy
jxy / 2du1.ipynb
Created March 7, 2019 19:10
2DU1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jxy
jxy / bq
Created April 26, 2019 14:26
bash work queue
#!/usr/bin/env bash
COPYRIGHT='
Copyright (C) 2018-2019 Xiao-Yong Jin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
# Copyright (c) 2021 Xiao-Yong Jin
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all