{"action":"created","comment":{"url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/comments/57479336","id":57479336,"diff_hunk":"@@ -0,0 +1,55 @@\n+---\n+---\n+\n+pbcopy\n+-------\n+\n+`pbcopy` is used to copy text from the terminal into the clipboard.\n+\n+~~~ bash\n+#Copies the contents of a file into the clipboard\n+$ pbcopy < example.txt\n+~~~\n+\n+<!--more-->\n+\n+### Useful Options / Examples\n+\n+#### `<command> | pbcopy`\n+~~~ bash\n+#Directs the output of commands into the clipboard\n+\n+#Another way to copy the contents of a file into the clipboard\n+$ cat example.txt | pbcopy\n+\n+#Copies 'Hello World!' into your clipboard buffer\n+$ echo 'Hello World!' | pbcopy\n+\n+#Pipes the grep results into the clipboard\n+$ grep hello helloworld.txt | pbcopy\n+\n+#Pipes the 'ps aux' results into the clipboard\n+$ ps aux | pbcopy\n+~~~\n+\n+##### Break it down\n+\n+* The output of the commands run is being redirected into the clipboard\n+with the combination of the pipe ( | ) and pbcopy\n+\n+#### `pbcopy -pboard {general | ruler | find | font}`\n+\n+~~~ bash\n+#Copies the contents of example.txt into the clipboard\n+$ pbcopy -pboard general < example.txt\n+\n+#Pipes the contents of the echo command into the search clipboard\n+#Running cmd+f after this command will pre-populate the search bar with 'hello'\n+$ echo 'hello' | pbcopy -pboard find\n+~~~\n+\n+##### Break it down\n+~~~","path":"_commands/os_x/pbcopy.md","position":52,"original_position":52,"commit_id":"f36afcce73745922aeac663f25cbbdb9039eb937","original_commit_id":"f36afcce73745922aeac663f25cbbdb9039eb937","user":{"login":"rapreib","id":9685853,"avatar_url":"https://avatars.githubusercontent.com/u/9685853?v=3","gravatar_id":"","url":"https://api.github.com/users/rapreib","html_url":"https://github.com/rapreib","followers_url":"https://api.github.com/users/rapreib/followers","following_url":"https://api.github.com/users/rapreib/following{/other_user}","gists_url":"https://api.github.com/users/rapreib/gists{/gist_id}","starred_url":"https://api.github.com/users/rapreib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapreib/subscriptions","organizations_url":"https://api.github.com/users/rapreib/orgs","repos_url":"https://api.github.com/users/rapreib/repos","events_url":"https://api.github.com/users/rapreib/events{/privacy}","received_events_url":"https://api.github.com/users/rapreib/received_events","type":"User","site_admin":false},"body":"I'm sorry, I don't understand what code block you are referring to.  Can you please give me specific lines that you would like me to break up?","created_at":"2016-03-25T19:14:19Z","updated_at":"2016-03-25T19:14:19Z","html_url":"https://github.com/c4cs/c4cs.github.io/pull/204#discussion_r57479336","pull_request_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/204","_links":{"self":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/comments/57479336"},"html":{"href":"https://github.com/c4cs/c4cs.github.io/pull/204#discussion_r57479336"},"pull_request":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/204","id":64144401,"html_url":"https://github.com/c4cs/c4cs.github.io/pull/204","diff_url":"https://github.com/c4cs/c4cs.github.io/pull/204.diff","patch_url":"https://github.com/c4cs/c4cs.github.io/pull/204.patch","issue_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/204","number":204,"state":"open","locked":false,"title":"Add pbcopy to OSX commads","user":{"login":"rapreib","id":9685853,"avatar_url":"https://avatars.githubusercontent.com/u/9685853?v=3","gravatar_id":"","url":"https://api.github.com/users/rapreib","html_url":"https://github.com/rapreib","followers_url":"https://api.github.com/users/rapreib/followers","following_url":"https://api.github.com/users/rapreib/following{/other_user}","gists_url":"https://api.github.com/users/rapreib/gists{/gist_id}","starred_url":"https://api.github.com/users/rapreib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapreib/subscriptions","organizations_url":"https://api.github.com/users/rapreib/orgs","repos_url":"https://api.github.com/users/rapreib/repos","events_url":"https://api.github.com/users/rapreib/events{/privacy}","received_events_url":"https://api.github.com/users/rapreib/received_events","type":"User","site_admin":false},"body":"# Advanced HW 9 submission\r\n\r\nCloses #153 \r\n\r\nName: Rebecca Preib\r\nUniqname: rapreib\r\n\r\n","created_at":"2016-03-25T09:08:07Z","updated_at":"2016-03-25T19:14:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5656187ba7354f4745a912a2564a8537dea827b5","assignee":{"login":"mterwill","id":5882053,"avatar_url":"https://avatars.githubusercontent.com/u/5882053?v=3","gravatar_id":"","url":"https://api.github.com/users/mterwill","html_url":"https://github.com/mterwill","followers_url":"https://api.github.com/users/mterwill/followers","following_url":"https://api.github.com/users/mterwill/following{/other_user}","gists_url":"https://api.github.com/users/mterwill/gists{/gist_id}","starred_url":"https://api.github.com/users/mterwill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mterwill/subscriptions","organizations_url":"https://api.github.com/users/mterwill/orgs","repos_url":"https://api.github.com/users/mterwill/repos","events_url":"https://api.github.com/users/mterwill/events{/privacy}","received_events_url":"https://api.github.com/users/mterwill/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/204/commits","review_comments_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/204/comments","review_comment_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/204/comments","statuses_url":"https://api.github.com/repos/c4cs/c4cs.github.io/statuses/f36afcce73745922aeac663f25cbbdb9039eb937","head":{"label":"rapreib:master","ref":"master","sha":"f36afcce73745922aeac663f25cbbdb9039eb937","user":{"login":"rapreib","id":9685853,"avatar_url":"https://avatars.githubusercontent.com/u/9685853?v=3","gravatar_id":"","url":"https://api.github.com/users/rapreib","html_url":"https://github.com/rapreib","followers_url":"https://api.github.com/users/rapreib/followers","following_url":"https://api.github.com/users/rapreib/following{/other_user}","gists_url":"https://api.github.com/users/rapreib/gists{/gist_id}","starred_url":"https://api.github.com/users/rapreib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapreib/subscriptions","organizations_url":"https://api.github.com/users/rapreib/orgs","repos_url":"https://api.github.com/users/rapreib/repos","events_url":"https://api.github.com/users/rapreib/events{/privacy}","received_events_url":"https://api.github.com/users/rapreib/received_events","type":"User","site_admin":false},"repo":{"id":54697607,"name":"c4cs.github.io","full_name":"rapreib/c4cs.github.io","owner":{"login":"rapreib","id":9685853,"avatar_url":"https://avatars.githubusercontent.com/u/9685853?v=3","gravatar_id":"","url":"https://api.github.com/users/rapreib","html_url":"https://github.com/rapreib","followers_url":"https://api.github.com/users/rapreib/followers","following_url":"https://api.github.com/users/rapreib/following{/other_user}","gists_url":"https://api.github.com/users/rapreib/gists{/gist_id}","starred_url":"https://api.github.com/users/rapreib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapreib/subscriptions","organizations_url":"https://api.github.com/users/rapreib/orgs","repos_url":"https://api.github.com/users/rapreib/repos","events_url":"https://api.github.com/users/rapreib/events{/privacy}","received_events_url":"https://api.github.com/users/rapreib/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rapreib/c4cs.github.io","description":"Course Homepage for Computing for Computer Scientists","fork":true,"url":"https://api.github.com/repos/rapreib/c4cs.github.io","forks_url":"https://api.github.com/repos/rapreib/c4cs.github.io/forks","keys_url":"https://api.github.com/repos/rapreib/c4cs.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapreib/c4cs.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapreib/c4cs.github.io/teams","hooks_url":"https://api.github.com/repos/rapreib/c4cs.github.io/hooks","issue_events_url":"https://api.github.com/repos/rapreib/c4cs.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/rapreib/c4cs.github.io/events","assignees_url":"https://api.github.com/repos/rapreib/c4cs.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/rapreib/c4cs.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/rapreib/c4cs.github.io/tags","blobs_url":"https://api.github.com/repos/rapreib/c4cs.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapreib/c4cs.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapreib/c4cs.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapreib/c4cs.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapreib/c4cs.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/rapreib/c4cs.github.io/languages","stargazers_url":"https://api.github.com/repos/rapreib/c4cs.github.io/stargazers","contributors_url":"https://api.github.com/repos/rapreib/c4cs.github.io/contributors","subscribers_url":"https://api.github.com/repos/rapreib/c4cs.github.io/subscribers","subscription_url":"https://api.github.com/repos/rapreib/c4cs.github.io/subscription","commits_url":"https://api.github.com/repos/rapreib/c4cs.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapreib/c4cs.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapreib/c4cs.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapreib/c4cs.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapreib/c4cs.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/rapreib/c4cs.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapreib/c4cs.github.io/merges","archive_url":"https://api.github.com/repos/rapreib/c4cs.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapreib/c4cs.github.io/downloads","issues_url":"https://api.github.com/repos/rapreib/c4cs.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/rapreib/c4cs.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/rapreib/c4cs.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/rapreib/c4cs.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapreib/c4cs.github.io/labels{/name}","releases_url":"https://api.github.com/repos/rapreib/c4cs.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/rapreib/c4cs.github.io/deployments","created_at":"2016-03-25T05:50:45Z","updated_at":"2016-03-25T05:50:49Z","pushed_at":"2016-03-25T09:06:17Z","git_url":"git://github.com/rapreib/c4cs.github.io.git","ssh_url":"git@github.com:rapreib/c4cs.github.io.git","clone_url":"https://github.com/rapreib/c4cs.github.io.git","svn_url":"https://github.com/rapreib/c4cs.github.io","homepage":null,"size":20965,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"c4cs:master","ref":"master","sha":"b40a368d11101443296bf475253d1188444c89b8","user":{"login":"c4cs","id":16329160,"avatar_url":"https://avatars.githubusercontent.com/u/16329160?v=3","gravatar_id":"","url":"https://api.github.com/users/c4cs","html_url":"https://github.com/c4cs","followers_url":"https://api.github.com/users/c4cs/followers","following_url":"https://api.github.com/users/c4cs/following{/other_user}","gists_url":"https://api.github.com/users/c4cs/gists{/gist_id}","starred_url":"https://api.github.com/users/c4cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c4cs/subscriptions","organizations_url":"https://api.github.com/users/c4cs/orgs","repos_url":"https://api.github.com/users/c4cs/repos","events_url":"https://api.github.com/users/c4cs/events{/privacy}","received_events_url":"https://api.github.com/users/c4cs/received_events","type":"Organization","site_admin":false},"repo":{"id":48143708,"name":"c4cs.github.io","full_name":"c4cs/c4cs.github.io","owner":{"login":"c4cs","id":16329160,"avatar_url":"https://avatars.githubusercontent.com/u/16329160?v=3","gravatar_id":"","url":"https://api.github.com/users/c4cs","html_url":"https://github.com/c4cs","followers_url":"https://api.github.com/users/c4cs/followers","following_url":"https://api.github.com/users/c4cs/following{/other_user}","gists_url":"https://api.github.com/users/c4cs/gists{/gist_id}","starred_url":"https://api.github.com/users/c4cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c4cs/subscriptions","organizations_url":"https://api.github.com/users/c4cs/orgs","repos_url":"https://api.github.com/users/c4cs/repos","events_url":"https://api.github.com/users/c4cs/events{/privacy}","received_events_url":"https://api.github.com/users/c4cs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/c4cs/c4cs.github.io","description":"Course Homepage for Computing for Computer Scientists","fork":false,"url":"https://api.github.com/repos/c4cs/c4cs.github.io","forks_url":"https://api.github.com/repos/c4cs/c4cs.github.io/forks","keys_url":"https://api.github.com/repos/c4cs/c4cs.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c4cs/c4cs.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c4cs/c4cs.github.io/teams","hooks_url":"https://api.github.com/repos/c4cs/c4cs.github.io/hooks","issue_events_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/c4cs/c4cs.github.io/events","assignees_url":"https://api.github.com/repos/c4cs/c4cs.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/c4cs/c4cs.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/c4cs/c4cs.github.io/tags","blobs_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c4cs/c4cs.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/c4cs/c4cs.github.io/languages","stargazers_url":"https://api.github.com/repos/c4cs/c4cs.github.io/stargazers","contributors_url":"https://api.github.com/repos/c4cs/c4cs.github.io/contributors","subscribers_url":"https://api.github.com/repos/c4cs/c4cs.github.io/subscribers","subscription_url":"https://api.github.com/repos/c4cs/c4cs.github.io/subscription","commits_url":"https://api.github.com/repos/c4cs/c4cs.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/c4cs/c4cs.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/c4cs/c4cs.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/c4cs/c4cs.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/c4cs/c4cs.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c4cs/c4cs.github.io/merges","archive_url":"https://api.github.com/repos/c4cs/c4cs.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c4cs/c4cs.github.io/downloads","issues_url":"https://api.github.com/repos/c4cs/c4cs.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/c4cs/c4cs.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/c4cs/c4cs.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c4cs/c4cs.github.io/labels{/name}","releases_url":"https://api.github.com/repos/c4cs/c4cs.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/c4cs/c4cs.github.io/deployments","created_at":"2015-12-17T00:53:20Z","updated_at":"2016-03-25T19:13:25Z","pushed_at":"2016-03-25T19:12:46Z","git_url":"git://github.com/c4cs/c4cs.github.io.git","ssh_url":"git@github.com:c4cs/c4cs.github.io.git","clone_url":"https://github.com/c4cs/c4cs.github.io.git","svn_url":"https://github.com/c4cs/c4cs.github.io","homepage":null,"size":21399,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":93,"mirror_url":null,"open_issues_count":90,"forks":93,"open_issues":90,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/204"},"html":{"href":"https://github.com/c4cs/c4cs.github.io/pull/204"},"issue":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/204"},"comments":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/c4cs/c4cs.github.io/statuses/f36afcce73745922aeac663f25cbbdb9039eb937"}}}}