This is a sort of demo file for scriptable-pdfjs
First copy scriptable-pdfjs.html into your Scriptable Documents folder.
Then copy paste below in a new script. Run and watch your console !
This is a sort of demo file for scriptable-pdfjs
First copy scriptable-pdfjs.html into your Scriptable Documents folder.
Then copy paste below in a new script. Run and watch your console !
| #!/bin/bash | |
| # args: browser | |
| # example: ./getOpenTabs.sh "Brave Browser" | |
| # credits: | |
| # https://gist.github.com/samyk/65c12468686707b388ec43710430a421 | |
| # TODO: | |
| # validate args | |
| # don't open app if not already open |
| // Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I) | |
| if(!!window.React || | |
| !!document.querySelector('[data-reactroot], [data-reactid]') || | |
| Array.from(document.querySelectorAll('*')).some(e => e._reactRootContainer !== undefined || Object.keys(e).some(k => k.startsWith('__reactContainer'))) | |
| ) | |
| console.log('React.js'); | |
| if(!!document.querySelector('script[id=__NEXT_DATA__]')) | |
| console.log('Next.js'); |
| # shows all url+titles of Chrome along with front window+tab url+title | |
| set titleString to "" | |
| tell application "Google Chrome" | |
| set window_list to every window # get the windows | |
| repeat with the_window in window_list # for every window | |
| set tab_list to every tab in the_window # get the tabs | |
| repeat with the_tab in tab_list # for every tab |
npm install -g jspm@betajspm initjspm install angular2 reflect-metadata zone.js es6-shimThis will create a jspm_packages folder, and a config.js file.
Open the config.js file - this file manages options for the System.js loader - tweak it as appropriate
| # A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis) | |
| # Check our Studio: https://gentlenode.com/ | |
| meteor add iron:router | |
| meteor update iron:router | |
| # Iron Router > Configuration |
| public class EventStorageBootStrap | |
| { | |
| public static void BootStrap() | |
| { | |
| ... | |
| var eventStore = Wireup.Init() | |
| ... | |
| .UsingNewtonsoftJsonSerialization(new VersionedEventSerializationBinder()) | |
| ... | |
| .Build(); |
| #!/bin/sh | |
| repo="https://github.com/theblacksmith/yii-boilerplate.git" | |
| project="" | |
| template="" | |
| function usage | |
| { | |
| echo "\nYii-boilerplate (by theblacksmith)\n\n" | |
| echo "Usage:" |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |