https://help.github.com/articles/changing-a-commit-message/
* git checkout your-branch
* git rebase -i HEAD~N (N is the number of commits)
* use **reword**
* Follow the steps
* git push --force
const collegeList = []; | |
var getAllCollege = document.getElementsByClassName('instituteName'); | |
for (let i = 0; i < getAllCollege.length; i++) { | |
console.log("Total College count:", getAllCollege.length) | |
collegeList.push | |
( | |
{ | |
"name": document.getElementsByClassName('instituteName')[i].innerText, | |
"url": document.getElementsByClassName('instituteLinks')[i].innerHTML |
https://help.github.com/articles/changing-a-commit-message/
* git checkout your-branch
* git rebase -i HEAD~N (N is the number of commits)
* use **reword**
* Follow the steps
* git push --force
const {BrowserWindow} = require('electron'); | |
const win = BrowserWindow.getAllWindows()[0]; | |
const ses = win.webContents.session; | |
ses.clearCache(() => { | |
alert("Cache cleared!"); | |
}); |
const path = require('path'); | |
const { app } = require('electron'); | |
const fs = require('fs-extra'); | |
const appName = app.getName(); | |
// Get app directory | |
// on OSX it's /Users/Yourname/Library/Application Support/AppName | |
const getAppPath = path.join(app.getPath('appData'), appName); | |
fs.unlink(getAppPath, () => { |
# Requirements | |
* Python 2.7 | |
* Google Chrome | |
* ChromeDriver - WebDriver for Chrome | |
- Download the latest chromedrive which is 2.28 from here - https://sites.google.com/a/chromium.org/chromedriver/downloads | |
- Extract and move `chromedriver` file to `/usr/local/bin/chromedriver` | |
- git clone https://github.com/li-xinyang/OS_FrontendMaster-dl | |
- cd OS_FrontendMaster-dl |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Mailchimp Signup form</title> | |
<meta name="description" content="Mailchimp Signup form using Ajax."> | |
<style type="text/css"> | |
body { | |
background-image: linear-gradient(120deg, rgb(209, 219, 233), rgb(240, 250, 243)); | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Helvetica Neue', Arial, sans-serif; |
* Python - v2.7.13 | |
* pip | |
## Installation | |
* pip install -r requirements.txt | |
* python imdb-reviews.py | |
* All reviews will be saved in result.json |
<div class="video-container"> | |
<img src="img/yt-video.jpg"/ id="play-video" class="img-responsive"> | |
<iframe style="display:none" id="video" src="https://www.youtube.com/embed/SzmioR4Dj8E" frameborder="0" allowfullscreen></iframe> | |
</div> |
I hereby claim:
To claim this, I am signing this object:
const electron = require('electron'); | |
const {app} = require('electron'); | |
const isDev = require('electron-is-dev'); // this is required to check if the app is running in development mode. | |
const {appUpdater} = require('./autoupdater'); | |
/* Handling squirrel.windows events on windows | |
only required if you have build the windows with target squirrel. For NSIS target you don't need it. */ | |
if (require('electron-squirrel-startup')) { | |
app.quit(); | |
} |