aravindhv10 commited on
Commit
d2bed94
·
1 Parent(s): 0010613

Routine updates

Browse files
Files changed (1) hide show
  1. main.org +36 -31
main.org CHANGED
@@ -17,17 +17,53 @@ cd $HOME/HUGGINGFACE/aravindhv10/Self-Correction-Human-Parsing
17
  (shell-command "git status" "output_log_git_status")
18
  #+end_src
19
 
 
 
 
20
  ** ELISP
21
  #+begin_src elisp
22
  (shell-command "./commit_and_push.sh" "output_log_commit_and_push")
23
  #+end_src
24
 
 
 
 
25
  * Commit and push
26
  #+begin_src sh :shebang #!/bin/sh :results output :tangle ./commit_and_push.sh
27
  git commit -m 'Routine updates'
28
  git push
29
  #+end_src
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  * List of large files
32
  #+begin_src conf :tangle ./git_lfs_track.txt
33
  checkpoints/AEMatter/AEM_RWA.ckpt
@@ -625,34 +661,3 @@ cd $HOME/HUGGINGFACE/aravindhv10/Self-Correction-Human-Parsing
625
  pretrain_model/
626
  commit_and_push.sh
627
  #+end_src
628
-
629
- * Main script to do everything
630
- #+begin_src sh :shebang #!/bin/sh :results output :tangle ./work.sh
631
- do_ignore(){
632
- 'sed' 's@^@/@g' './rm.txt';
633
- 'cat' './gitignore.txt';
634
- }
635
-
636
- do_add(){
637
- 'sed' 's@^@("git" "lfs" "track" "./@g;s@$@");@g' './git_lfs_track.txt' ;
638
- 'cat' './git_add.txt' './git_lfs_track.txt' | \
639
- 'sed' 's@^@("git" "add" "./@g;s@$@");@g' ;
640
- }
641
-
642
- do_rm(){
643
- 'sed' 's@^@("rm" "-vf" "--" "./@g ; s@$@");@g' './rm.txt' ;
644
- }
645
-
646
- all_commands(){
647
- do_add
648
- do_rm
649
- }
650
-
651
- do_all(){
652
- do_ignore > './.gitignore'
653
- all_commands | sh
654
- }
655
-
656
- do_all
657
- #+end_src
658
-
 
17
  (shell-command "git status" "output_log_git_status")
18
  #+end_src
19
 
20
+ #+RESULTS:
21
+ : 0
22
+
23
  ** ELISP
24
  #+begin_src elisp
25
  (shell-command "./commit_and_push.sh" "output_log_commit_and_push")
26
  #+end_src
27
 
28
+ #+RESULTS:
29
+ : 0
30
+
31
  * Commit and push
32
  #+begin_src sh :shebang #!/bin/sh :results output :tangle ./commit_and_push.sh
33
  git commit -m 'Routine updates'
34
  git push
35
  #+end_src
36
 
37
+ * Main script to do everything
38
+ #+begin_src sh :shebang #!/bin/sh :results output :tangle ./work.sh
39
+ do_ignore(){
40
+ 'sed' 's@^@/@g' './rm.txt';
41
+ 'cat' './gitignore.txt';
42
+ }
43
+
44
+ do_add(){
45
+ 'sed' 's@^@("git" "lfs" "track" "./@g;s@$@");@g' './git_lfs_track.txt' ;
46
+ 'cat' './git_add.txt' './git_lfs_track.txt' | \
47
+ 'sed' 's@^@("git" "add" "./@g;s@$@");@g' ;
48
+ }
49
+
50
+ do_rm(){
51
+ 'sed' 's@^@("rm" "-vf" "--" "./@g ; s@$@");@g' './rm.txt' ;
52
+ }
53
+
54
+ all_commands(){
55
+ do_add
56
+ do_rm
57
+ }
58
+
59
+ do_all(){
60
+ do_ignore > './.gitignore'
61
+ all_commands | sh
62
+ }
63
+
64
+ do_all
65
+ #+end_src
66
+
67
  * List of large files
68
  #+begin_src conf :tangle ./git_lfs_track.txt
69
  checkpoints/AEMatter/AEM_RWA.ckpt
 
661
  pretrain_model/
662
  commit_and_push.sh
663
  #+end_src