- Get all of these files into the target folder
- Run the following commands:
chmod +x *.sh
./nginx-start.sh
{{Front}} | |
<hr> | |
{{Back}} |
function countDigits(digits){ | |
var i = 0; | |
while(digits>0){ | |
i++ | |
digits = parseInt(digits/10) | |
} | |
console.log(i) | |
} |
// The Vue build version to load with the `import` command | |
// (runtime-only or standalone) has been set in webpack.base.conf with an alias. | |
import Vue from 'vue' | |
import App from './App' | |
import router from './router' | |
window.$ = window.jQuery = require('jquery') | |
require('semantic-ui-css/semantic.css') | |
require('semantic-ui-css/semantic.js') | |
Vue.config.productionTip = false |
{ | |
"eslint.enable": true, | |
"eslint.validate": [ | |
{ //list of extensions to validate | |
"language": "html", | |
"autoFix": true | |
}, | |
{ | |
"language": "vue", | |
"autoFix": true //Autofix any fixable errors when linting |
<!-- 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> |
<!-- 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'; |
// 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 |
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 |
chmod +x *.sh
./nginx-start.sh
// ==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(){ |