Skip to content

Instantly share code, notes, and snippets.

View niksmac's full-sized avatar
🇮🇳
🧜 Merperson

Nikhil M niksmac

🇮🇳
🧜 Merperson
View GitHub Profile
@niksmac
niksmac / google-location-opt-out.md
Last active June 21, 2021 18:23
How to opt out of Google's Location services for your WiFi Router

How do I opt my access point out of Google Location services?

To opt out, change the SSID (name) of your Wi-Fi access point (your wireless network name) so that it ends with _nomap. For example, if your SSID is 12345 you would change it to 12345_nomap.

Follow general steps for many access points

  1. Make a physical connection between your access point and your computer with an Ethernet cable.
  2. Find the default gateway of your connection:
  • On Windows, type "ipconfig" into the command prompt (on the Start menu).
'use strict'
// Refer https://baseweb.design/components/base-provider/#baseprovider-api
const primitives = {
primaryFontFamily: `'B612', sans-serif;`,
accent600: '#059669',
accent700: '#047857',
}
const overrides = {
function titleCase(str) {
let splitStr = str.toLowerCase().split(' ')
for (let i = 0; i < splitStr.length; i++) {
splitStr[i] =
splitStr[i].charAt(0).toUpperCase() + splitStr[i].substring(1)
}
return splitStr
.join(' ')
.replace(/[\u0300-\u036f]/g, '')
.replace(/\s+/g, '')
#!/bin/bash
cd /home/ubuntu/
touch pipeline_trace.txt
sleep 5s
node /home/ubuntu/clpush/index.js &
while true;
do
input_directory=`cat inputpath.txt`
w=`cat wpath.txt`
out_directory=`cat outpath.txt`
#!/bin/bash
cd /home/ubuntu/
touch pipeline_trace.txt
sleep 5s
node /home/ubuntu/clpush/index.js &
while true;
do
input_directory=`cat inputpath.txt`
w=`cat wpath.txt`
out_directory=`cat outpath.txt`
import pandas as pd
import csv
import math
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('input_filename')
parser.add_argument('file_name')
#!/bin/bash
cd /home/ubuntu/
touch pipeline_trace.txt
sleep 5s
node /home/ubuntu/clpush/index.js &
while true;
do
input_directory=`cat inputpath.txt`
w=`cat wpath.txt`
out_directory=`cat outpath.txt`
#!/bin/bash
cd /home/ubuntu/
touch pipeline_trace.txt
sleep 5s
node /home/ubuntu/clpush/index.js &
while true;
do
input_directory=`cat inputpath.txt`
w=`cat wpath.txt`
out_directory=`cat outpath.txt`
#!/bin/bash
cd /home/ubuntu/
touch pipeline_trace.txt
sleep 15s
node /home/ubuntu/clpush/index.js &
while true;
do
input_directory=`cat inputpath.txt`
w=`cat wpath.txt`
out_directory=`cat outpath.txt`
#!/bin/bash
cd /home/ubuntu/
touch pipeline_trace.txt
sleep 15s
node /home/ubuntu/clpush/index.js &
while true;
do
input_directory=`cat inputpath.txt`
w=`cat wpath.txt`
out_directory=`cat outpath.txt`