Forked from Andrey Shchekin's Pen Wait what.
A Pen by Lanorise Cainion on CodePen.
| /** | |
| * Carrega um script e executa callback | |
| */ | |
| (function(window, document, head) { | |
| if(!window.loadScript) { | |
| window.loadScript = function(url, callback, scope, charset) { | |
| var sc = document.createElement('script'); | |
| sc.type = 'text/javascript'; | |
| sc.async = true; | |
| sc.charset = charset || "utf-8"; |
| /* | |
| Assuming jQuery Ajax instead of vanilla XHR | |
| */ | |
| //Get Github Authorization Token with proper scope, print to console | |
| $.ajax({ | |
| url: 'https://api.github.com/authorizations', | |
| type: 'POST', | |
| beforeSend: function(xhr) { | |
| xhr.setRequestHeader("Authorization", "Basic " + btoa("USERNAME:PASSWORD")); |
| # Begin build properties | |
| # EOL UNIX | |
| # 0.0 644 /system/build.prop | |
| # | |
| # Note: Some changes are Device and OS/ROM independent! | |
| # Note2: Some settings are between | |
| # performance and security <- I prefer last one | |
| # | |
| ro.build.id= ----- | |
| ro.build.display.id= ----- |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| #!/bin/bash | |
| # Clones as usual but creates local tracking branches for all remote branches. | |
| # To use, copy this file into the same directory your git binaries are (git, git-flow, git-subtree, etc) | |
| clone_output=$((git clone "$@" ) 2>&1) | |
| retval=$? | |
| echo $clone_output | |
| if [[ $retval != 0 ]] ; then | |
| exit 1 |
| git archive --format zip --output /full/path/to/zipfile.zip master |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Code Mirror CDN</title> | |
| <link rel="stylesheet" href="http://esironal.github.io/cmtouch/lib/codemirror.css"> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <!-- This page is copyright Elated Communications Ltd. (www.elated.com) --> | |
| <title>JavaScript tabs example</title> | |
| <style type="text/css"> | |
| body { font-size: 80%; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; } |
| <html class="ie" lang="en"> | |
| <![endif]--> | |
| <!--[if gt IE 9]><!--> | |
| <html lang="en" class="cookie_used_true"> | |
| <!--<![endif]--> | |
| <head> | |
| <meta charset="UTF-8"> |
Forked from Andrey Shchekin's Pen Wait what.
A Pen by Lanorise Cainion on CodePen.