Guest User

Untitled

a guest
Jan 26th, 2018
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1.  
  2. svn sw ^/branches/8.0/dev/austins-8656
  3.  
  4. svn merge --dry-run -r148770:HEAD ^/branches/8.0/dev/austins-8694
  5.  
  6. svn resolve --accept working Finance/modules/AccountsPayable/Request.php
  7.  
  8. svn co svn://focus-sis.com/focus/branches/8.0/dev/sabrinatrunk
  9.  
  10. svn cp svn://focus-sis.com/focus/branches/8.0/trunk svn://focus-sis.com/focus/branches/8.0/dev/trunk -m "checking out trunk for live dev on the mac"
  11.  
  12. $profiles = Database::get("Select bla from bla") // FORMAT
  13. $profiles = [$a, $b, $c] // Auto-indexed 0 based
  14. $profiles index $a = ['PROFILE_ID' = > 123] // format inside the array of array
  15. $profiles index $a['PROFILE_ID'] = 123 // selected value
  16.  
  17. https://demo.focusschoolsoftware.com/austins/utilities/ResetMemcache.php?reset
  18.  
  19. delete FROM login_history WHERE username='focus';
  20.  
  21. update users set password='focus' where username='focus';
  22.  
  23. psql -h 192.168.122.21 -p 5432 -U martin_focus martin_erptesting
  24.  
  25. grep ^.Database config.inc.php
  26.  
  27. svn st | grep '^?' | awk '{print $2}' | xargs rm -rf
  28.  
  29. scp -P 45678 MetaData.zip austins@demo.focus-sis.com:/mnt/sftp/demo/austins8/Finance/sql/MetaData.zip
  30.  
  31. svn status | grep '^[I?]' | cut -c 9- | xargs -d"\n" -I{} rm -fr {}
  32.  
  33. cat ~/.ssh/id_rsa.pub | xclip -sel clip
  34.  
  35. ssh to server
  36. /home/backups/monroe/monroe/monroe_focus
  37. ls -l (chose a file lets say monroe2.sql)
  38. scp -P 45678 austins@monroe.focusschoolsoftware.com:/home/backups/monroe/monroe/monroe_focus/monroe2.sql /var/www/html/monroe2.sql
  39. cd /usr/psql-10/bin/
  40. ./dropdb monroe
  41. ./createdb monroe
  42. ./pg_restore -d monroe --no-owner /var/www/html/monroe2.sql
  43.  
  44. select pid,state,query from pg_stat_activity;
  45. SELECT pg_terminate_backend(30612);
Add Comment
Please, Sign In to add comment