Skip to content

Instantly share code, notes, and snippets.

View trendchaser4u's full-sized avatar
🏠
Working from home

Boobalan Muthukumaran trendchaser4u

🏠
Working from home
View GitHub Profile
[{"area_name":"Adambakkam","city_id":3},{"area_name":"Adyar","city_id":3},{"area_name":"Alandur","city_id":3},{"area_name":"Alapakkam","city_id":3},{"area_name":"Alwarpet","city_id":3},{"area_name":"Alwarthirunagar","city_id":3},{"area_name":"Ambattur","city_id":3},{"area_name":"Aminjikarai","city_id":3},{"area_name":"Anna Nagar","city_id":3},{"area_name":"Annanur","city_id":3},{"area_name":"Arumbakkam","city_id":3},{"area_name":"Ashok Nagar","city_id":3},{"area_name":"Avadi","city_id":3},{"area_name":"Ayanavaram","city_id":3},{"area_name":"Besant Nagar","city_id":3},{"area_name":"Basin Bridge","city_id":3},{"area_name":"Chepauk","city_id":3},{"area_name":"Chetput","city_id":3},{"area_name":"Chintadripet","city_id":3},{"area_name":"Chitlapakkam","city_id":3},{"area_name":"Choolai","city_id":3},{"area_name":"Choolaimedu","city_id":3},{"area_name":"Chrompet","city_id":3},{"area_name":"Egmore","city_id":3},{"area_name":"Ekkaduthangal","city_id":3},{"area_name":"Ennore","city_id":3},{"area_name":"Foreshore Estate
@trendchaser4u
trendchaser4u / Countries
Last active September 19, 2018 06:58
Countries
[{"country_name":"Afghanistan","country_abbreviation":"AF","country_code":"93"},{"country_name":"Åland Islands","country_abbreviation":"AX","country_code":"358"},{"country_name":"Albania","country_abbreviation":"AL","country_code":"355"},{"country_name":"Algeria","country_abbreviation":"DZ","country_code":"213"},{"country_name":"American Samoa","country_abbreviation":"AS","country_code":"1684"},{"country_name":"Andorra","country_abbreviation":"AD","country_code":"376"},{"country_name":"Angola","country_abbreviation":"AO","country_code":"244"},{"country_name":"Anguilla","country_abbreviation":"AI","country_code":"1264"},{"country_name":"Antarctica","country_abbreviation":"AQ","country_code":"672"},{"country_name":"Antigua and Barbuda","country_abbreviation":"AG","country_code":"1268"},{"country_name":"Argentina","country_abbreviation":"AR","country_code":"54"},{"country_name":"Armenia","country_abbreviation":"AM","country_code":"374"},{"country_name":"Aruba","country_abbreviation":"AW","country_code":"297"},{"
{"Maharashtra":[{"id":"1","name":"Mumbai","state":"Maharashtra"},{"id":"8","name":"Pune","state":"Maharashtra"},{"id":"13","name":"Nagpur","state":"Maharashtra"},{"id":"16","name":"Thane","state":"Maharashtra"},{"id":"25","name":"Nashik","state":"Maharashtra"},{"id":"29","name":"Kalyan-Dombivali","state":"Maharashtra"},{"id":"30","name":"Vasai-Virar","state":"Maharashtra"},{"id":"50","name":"Solapur","state":"Maharashtra"},{"id":"57","name":"Mira-Bhayandar","state":"Maharashtra"},{"id":"59","name":"Bhiwandi","state":"Maharashtra"},{"id":"62","name":"Amravati","state":"Maharashtra"},{"id":"73","name":"Nanded-Waghala","state":"Maharashtra"},{"id":"77","name":"Sangli","state":"Maharashtra"},{"id":"87","name":"Malegaon","state":"Maharashtra"},{"id":"92","name":"Akola","state":"Maharashtra"},{"id":"99","name":"Latur","state":"Maharashtra"},{"id":"100","name":"Dhule","state":"Maharashtra"},{"id":"106","name":"Ahmednagar","state":"Maharashtra"},{"id":"123","name":"Ichalkaranji","state":"Maharashtra"},{"id":"139","na
@trendchaser4u
trendchaser4u / sonarqube-mysql-docker-compose.yml
Created September 6, 2018 15:26 — forked from batmat/sonarqube-mysql-docker-compose.yml
Working SonarQube + Mysql Dead Simple Docker Compose file
sonarqube:
image: sonarqube:5.1.1
ports:
- "9000:9000"
- "3306:3306"
environment:
- SONARQUBE_JDBC_USERNAME=sonar
- SONARQUBE_JDBC_PASSWORD=sonar
- SONARQUBE_JDBC_URL=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
@trendchaser4u
trendchaser4u / setup-mysql.sh
Created September 1, 2018 15:33 — forked from sheikhwaqas/setup-mysql.sh
Install MySQL Server on Ubuntu (Non-Interactive Installation)
# Download and Install the Latest Updates for the OS
apt-get update && apt-get upgrade -y
# Set the Server Timezone to CST
echo "America/Chicago" > /etc/timezone
dpkg-reconfigure -f noninteractive tzdata
# Enable Ubuntu Firewall and allow SSH & MySQL Ports
ufw enable
ufw allow 22
@trendchaser4u
trendchaser4u / webdev_online_resources.md
Created July 17, 2018 01:36 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@trendchaser4u
trendchaser4u / VAGRANT-COURSE.md
Last active May 26, 2019 12:43 — forked from yeukhon/VAGRANT-COURSE.md
Vagrant crash course

Vagrant crash course

Hints:

Vagrant.configure("2") do |config|

  config.vm.define "foobits"
  config.vm.box = "ubuntu/xenial64"
  config.vm.box_url = "ubuntu/xenial64"
 
@trendchaser4u
trendchaser4u / introrx.md
Created April 30, 2017 14:48 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@trendchaser4u
trendchaser4u / media-queries.scss
Created January 14, 2017 14:58 — forked from chrisl8888/media-queries.scss
All Media Queries breakpoints
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ }
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ }
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ }
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }
var a = [{"name": "1"},{"name": "2"},{"name": "3"},{"name": "4"},{"name": "5"},{"name": "6"},{"name": "7"},{"name": "8"},{"name": "9"},{"name": "10"},{"name": "11"},{"name": "12"},{"name": "13"},{"name": "14"},{"name": "15"},{"name": "16"},{"name": "17"},{"name": "18"
}];
function spell(abracadabra,howMany,resetter){
var source=abracadabra.slice() || [];
var howMany=howMany || 1;
var resetter=resetter || 3;
var wrapper = [];
if(!source.length){
return "Please give valid spell !";