-
Install MySQL-8.0 from [here].
-
Open Terminal and go to
/MySQL-8.0/bin
directory. -
Run
mysqld --initialize
.This will initialize the mysql data directory at location specified in
/MySQL-8.0/my.ini
file; if not, it will initialize the data directory inside/MySQL-8.0/data
. -
Run
mysqld --console
command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* All flags are thankfuly taken from http://flagpedia.net/ | |
* Flag lovers should definitely check it out.. | |
* | |
* User can modify this list as per his/her need.. | |
* | |
* - Rahul K. Thakare | |
* INDIA | |
* rahulthakare1504@gmail.com | |
* github.com/bantya |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: ie4uinit.exe -show | |
ie4uinit.exe -ClearIconCache | |
taskkill /IM explorer.exe /F | |
del /A /Q "%localappdata%\IconCache.db" | |
del /A /F /Q "%localappdata%\Microsoft\Windows\Explorer\iconcache*" | |
shutdown /r /f /t 00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* object.watch polyfill | |
* | |
* 2012-04-03 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Author: Rahul Thakare | |
:: Email: rahulthakare1504@gmail.com | |
:: Github: www.github.com/bantya | |
:: Purpose: Easy change directory command for cmd | |
:: Created: 23062017 | |
set Dir=%1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ported from Stefan Gustavson's java implementation | |
// http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf | |
// Read Stefan's excellent paper for details on how this code works. | |
// | |
// Sean McCullough banksean@gmail.com | |
/** | |
* You can pass in a random number generator object if you like. | |
* It is assumed to have a random() method. | |
*/ |
Have you ever wanted to get a specific data from another website but there's no API available for it? That's where Web Scraping comes in, if the data is not made available by the website we can just scrape it from the website itself.
But before we dive in let us first define what web scraping is. According to Wikipedia:
{% blockquote %} Web scraping (web harvesting or web data extraction) is a computer software technique of extracting information from websites. Usually, such software programs simulate human exploration of the World Wide Web by either implementing low-level Hypertext Transfer Protocol (HTTP), or embedding a fully-fledged web browser, such as Internet Explorer or Mozilla Firefox. {% endblockquote %}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# A script to automate changelog generation from Git commit messages | |
# | |
# For use with a git-flow workflow, it will take changes from the last tagged release | |
# where commit messages contain NEW, FIXED, and IMPROVED keywords and sort and fromat | |
# them into a Markdown release note list. | |
# | |
# The script takes version information from the macOS command agvtool and bases | |
# the product name on the first matching Xcode Info.plist found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# Brett Terpstra 2013, WTF license <http://www.wtfpl.net/txt/copying/> | |
# Outputs a vertical bar chart from date-based JSON data | |
# Requires the JSON rubygem: `[sudo] gem install json` | |
require 'date' | |
require 'open-uri' | |
require 'rubygems' | |
require 'json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php snippets.php [SNIPPETS_DIRECTORY] | |
e.g. php snippets.php vue | |
SNIPPETS_DIRECTORY: Assuming that the snippets are categorized in directories (preferably by languages) and snippet directories and the script have the same parent directory. | |
e.g. | |
/snippets | |
| | |
+--- snippets.php | |
| | |
+--- /php |
NewerOlder