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
const express = require('express'); | |
const app = express(); | |
app.get('/', (req, res) => res.send('Hello World!')); | |
app.listen(3000, () => console.log('Example app listening on port 3000!')); |
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
/* | |
Date : 29 Jan 2013 | |
This php script is used to format the contacts in csv or vcf file. | |
For example you may when you out of state you can't call your friends without appending a zero or +91 (in INDIA) to all the numbers you dial. | |
It is very tiresome to edit each one of them. | |
Using this script it all of them are formatted in single second and it saves your time also.(only for India) |
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
:: Just run this wifi.bat as administrator to create an adhoc network in windows 8. | |
:: By default the name of the network will be named as "adhocnet". | |
:: If you want to change that right click on wifi-adhoc.bat and select edit. | |
:: In the first line there is a part ssid=adhocnet. | |
:: Replace the "adhocnet" with your desired name. | |
:: if your name contains spaces please put it in double quotes. | |
netsh wlan set hostednetwork mode=allow ssid=adhocnet key=password1 | |
netsh wlan start hostednetwork |
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 | |
setlocal enabledelayedexpansion enableextensions | |
:: Hide a folder in windows xp, windows 7 or windows 8 with a password. | |
:: Follow the steps as follows : | |
:: 1. Open private.bat file in a text editor say notepad or geany. | |
:: 2. On line 5, you have set "directory=e:\private". | |
:: Change the path from e:\private to your specified folder to hide. | |
:: If the path contains spaces then enclose in double quotes. | |
:: For eg: if your path is "f:\cool Guys" then change the line 5 to set directory="f:\cool Guys". |
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
#!/bin/bash | |
# There are many folders and files which are by default hidden in mac like the .ssh folder, .bash_profile .. etc. | |
# In order for that to show up in your finder you can use this script. | |
# | |
# Download this script and give it the execute permission : $ chmod 764 show-hide-mac.sh | |
# Now click on the script. It will popup a terminal window with 3 options. | |
# 's' for show | |
# 'h' for hide | |
# 'e' for exit |
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
#!/bin/bash | |
# eg : ./spec_runner.sh -n 2 -c "ls -l" | |
# -n => number of times | |
# -c => command to be run | |
repeats=5 | |
command_to_run="echo Hello World" | |
line_break() { | |
echo "-------------------------------------------------------------------" |
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
/* | |
Structure of the spreadsheet | |
Email Name Sending Status Email Send Date Source Lead Created Date Current Status | |
[email protected] Sony Mathew EMAIL_SENT Thu, 21 May 2020 08:20:37 GMT EMAIL_SENT | |
*/ | |
// All Contants here | |
var SPREADSHEET_URL = 'https://docs.google.com/spreadsheets/d/some-random-long-id/edit#gid=0'; |