User Tools

Site Tools


user:mp010784:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
user:mp010784:start [2016/05/01 14:10] mp010784user:mp010784:start [2016/05/12 13:18] (current) – [Installing and Setting up a Samba Server] mp010784
Line 53: Line 53:
  
 {{youtube>nDLrpG0DCqI?medium}}\\ {{youtube>nDLrpG0DCqI?medium}}\\
 +
 +====Summer of code 2016 plans and shared tmux sessions====
 +After seeing this semester's systems programming playing with some ncurses I was pretty jealous so I decided that over the summer I'm going to start playing with ncurses and learnign and experimentign with it.  I made a new repo solely for my experimentation here on github:
 +{{https://github.com/robgraves/ncursesplay}}
 +
 +Also Tyler and my project, the manage script, located here on github: {{https://github.com/robgraves/manage}} But we won!!!! Sort of...not much competition, but for my purposes we are now calling that script "Award Winner at CCC's 2016 Sustainability Fair"  which is very cool and probably stuff you can throw on a resume, which reminds me I want to sharpen up a decent resume soon.  
 +
 +Tyler and I were talking about keeping our coding chops sharp this summer by working together on something over the summer.  We've brainstormed a few ideas and I know Tyler wants to make a game and specifically use something like SDL and I know I want to make a game too and maybe even with ncurses.  Also after playing with some of the telnet BBS's together I was thinkign I might try to set up a telnet bbs and see what Tyler and I can do with it on my web server< i already have some base Mystic BBS software set up now so someone could:
 +<cli>
 +$ telnet spoonbomb.com
 +</cli>
 +into my server but Im not sure if I have new user registration set up right and I don;t even know imost of the configuration settings so I;m going to have to look into it. 
 +
 +Another thing Tyler and I want to do over the summer is assuming that I get the prize money for winnign teh Sustainability Fair thing, then I know we both were gonna pick up some Raspberry Pi's adn Tyler mentioned an interest in learning some Python programming to go with it, I have some exposure to python from before I came back to CCC but I'm pretty stale with it so we both might venture down that path too over the summer.  We'll see what ewe actually attempt to do if not all of it, but that's where our brainstorming for summer projects took us.\\
 +
 +So Tyler and I made a repository to work on our summer coding at {{https://github.com/robgraves/summerofcode2016}}  I also gave Tyler almost full access on my webserver so we could both collaborate and work on the telnet bbs on it.\\
 +
 +I also successfully got us to share a regular tmux session which I had attempted to do earlier in the semester unsuccessfully but I think it was because I made the socket in my own personal home directory as in this case I put it someplace neutral like /tmp folder.
 +
 +So to do this I created a new tmux session with in /tmp called par with:\\
 +<cli>
 +tmux -S /tmp/pair
 +</cli>
 +
 +Which immediately puts me in the newly created tmux session which I have to extend the persmissions on for Tyler and I to share the session, so I run:\\
 +<cli>
 +sudo chmod 777 /tmp/pair
 +</cli>
 +
 +Tyler also has to have a valid account on the machien which I made one called nullist as he wanted on my webserver for him.  I also have the tendency to use a couple lines on my /etc/ssh/sshd_config  that aren't there by default for security purposes:\\
 +<cli>
 +PermitRootLogin no
 +AllowUsers robgraves
 +</cli>
 +so I had to add Tyler to the whitelisted users like:\\
 +<cli>
 +PermitRootLogin no
 +AllowUsers robgraves nullist
 +</cli>
 +Then I had to restart the ssh daemon, which depending on which machine I did it on was either:\\
 +<cli>
 +sudo service ssh restart
 +</cli>
 +Or:\\
 +<cli>
 +sudo /etc/init.d ssh restart
 +</cli>
 +Then Tyler can now login remotely over ssh by using the command, being that I'm using a much higher port number than ssh's default 22 you have to specify it as such like:\\
 +<cli>
 +ssh nullist@www.spoonbomb.com -p PORTNUMBER
 +</cli>
 +The general form for ssh'ing into any machine with an unusual port number is:\\
 +<cli>
 +ssh USERNAME@HOSTNAMEorIPADDRESS -p PORTNUMBER
 +</cli>
 +After that Tyler was securely logged into my machine, all he needed to do then was attach to the previously created tmux socket that was put in a neutral location and opened up permissions with:\\
 +<cli>
 +tmux -S /tmp/pair attach
 +</cli>
 +Now we both had control over the same terminal and we coudl also chat over the terminal as is refelected by my bash history...probably not the best way to communicate, but its a great way to show someone how you are configuring something.  I should just learn to use wemux.\\  
  
 ==== Playing around with GDB==== ==== Playing around with GDB====
user/mp010784/start.1462126234.txt.gz · Last modified: 2016/05/01 14:10 by mp010784