- Get all of these files into the target folder
- Run the following commands:
chmod +x *.sh
./nginx-start.sh
// ==UserScript== | |
// @name annotate | |
// @namespace annotate | |
// @include * | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js | |
// @require http://assets.annotateit.org/annotator/v1.2.9/annotator-full.min.js | |
// @resource UI_CSS http://assets.annotateit.org/annotator/v1.2.9/annotator.min.css | |
// @grant GM_addStyle | |
// @grant GM_getResourceText | |
// @run-at document-start |
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> |
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> |
// ==UserScript== | |
// @name Xerosanyam's script to convert UL to OL | |
// @description This script converts all ul tags to ol on GeeksforGeeks.org Domain. | |
// @namespace http://www.geeksforgeeks.org/ul-to-ol | |
// @include http://www.geeksforgeeks.org/* | |
// @grant None | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js | |
// ==/UserScript== | |
$($('.wrapper').find('ul').get().reverse()).each(function(){ |
chmod +x *.sh
./nginx-start.sh
sudo add-apt-repository ppa:nginx/stable | |
sudo apt-get update | |
sudo apt-get install nginx | |
nginx -v | |
http://app.mindmapmaker.org/#m:mm494aabe32c8e4144829c631c0870a230 | |
To start nginx (Linux) | |
sudo /etc/init.d/nginx start |
// on page load, search for & display a random gif matching your search term using the Giphy API. | |
// usage: | |
// include giphy.js in your <head> | |
// set q to your search term (e.g. "brunch") | |
// add <span id = "giphyme"></span> wherever you want to display the image. -- FYI, it will be centered. | |
// big ups to the Giphy crew (giphy.com) | |
// 2014 - Neal Shyam [@nealrs | nealshyam.com] | |
document.addEventListener('DOMContentLoaded', function () { | |
q = "finger guns"; // search query |
<!-- Contains auth ui --> | |
<template lang="html"> | |
<div id="firebaseui-auth-container"></div> | |
</template> | |
<script> | |
import firebase from 'firebase' | |
import firebaseui from 'firebaseui' | |
import {config} from '../helpers/firebaseConfig'; |
<!-- contains what to do on signin succss --> | |
<template> | |
<div> | |
<h1>Signup succeeded</h1> | |
<button @click='logOut'>Log out</button> | |
<hr> | |
<img :src="photo" style='height: 120px'> <br> | |
<p>{{name}}</p> | |
<p>{{email}}</p> | |
<p>{{userId}}</p> |
{ | |
"eslint.enable": true, | |
"eslint.validate": [ | |
{ //list of extensions to validate | |
"language": "html", | |
"autoFix": true | |
}, | |
{ | |
"language": "vue", | |
"autoFix": true //Autofix any fixable errors when linting |