Skip to content

Instantly share code, notes, and snippets.

🤖
Roboting

Cosmic Web Services CosmicWebServices

🤖
Roboting
Block or report user

Report or block CosmicWebServices

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/Users/andrewrodebaugh/aqua/node_modules/.bin/npm',
1 verbose cli 'install',
1 verbose cli 'cordova-ios@^4.5.0',
1 verbose cli '--save' ]
2 info using npm@2.15.12
3 info using node@v6.11.3
4 verbose install initial load of /Users/andrewrodebaugh/aqua/package.json
5 verbose installManyTop reading scoped package data from /Users/andrewrodebaugh/aqua/node_modules/JSONStream/package.json
View redirectscratch.js
// ==UserScript==
// @name Redirect scratch.mit.edu to staging.scratch.mit.edu
// @namespace scratchtostaging
// @description On any web page it will check if the clicked links goes to scratch.mit.edu. If so, the link will be rewritten to point to staging.scratch.mit.edu
// @include http://*.*
// @include https://*.*
// @exclude http://scratch.mit.edu/*
// @exclude https://scratch.mit.edu/*
// @version 1.0
// @grant none
View hide2see-bookmarklet.js
javascript:(function()%7Bfunction%20callback()%7B(function(%24)%7Bvar%20jQuery%3D%24%3B%24(%22html%22).find('input%3Apassword').each(function()%20%7B%24(%22%3Cinput%20type%3D'text'%20%2F%3E%22).attr(%7B%20name%3A%20this.name%2C%20value%3A%20this.value%20%7D).insertBefore(this)%3B%7D).remove()%7D)(jQuery.noConflict(true))%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.7.1%2Fjquery.min.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()
View jib.js
javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f=e.jQuery)%7C%7Cg>f.fn.jquery%7C%7Ch(f))%7Bc=a.createElement("script");c.type="text/javascript";c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function()%7Bif(!b&&(!(d=this.readyState)%7C%7Cd=="loaded"%7C%7Cd=="complete"))%7Bh((f=e.jQuery).noConflict(1),b=1);f(c).remove()%7D%7D;a.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,"1.3.2",function($,L)%7B$('%23header, .pagehead, .breadcrumb, .commit, .meta, %23footer, %23footer-push, .wiki-actions, %23last-edit, .actions, .header, .repository-sidebar, .file-navigation, .site-footer, .repository-meta, .overall-summary, .files-bubble').remove(); $('%23files, .file').css(%7B"background":"none", "border":"none"%7D); $('link').removeAttr('media');%7D);void(0);
@CosmicWebServices
CosmicWebServices / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View gist:454f08f47293a6fdf33b
<html>
<head>
<title>Inserting Moblify</title>
<style src="http://cosmicsearch.org/Moblify.css"></style>
</head>
<body>
<h1>Hello Moblify!</h1>
</body>
</html>
You can’t perform that action at this time.