Skip to content

Instantly share code, notes, and snippets.

View asaf400's full-sized avatar

Asaf Levy asaf400

View GitHub Profile
const { VoipList } = require('twilio/lib/rest/api/v2010/account/availablePhoneNumber/voip');
var express = require('express');
require('dotenv').config()
const accountSid = process.env.TWILIO_ACCOUNT_SID;
const authToken = process.env.TWILIO_AUTH_TOKEN;
const twilio_callback_url = process.env.TWILIO_CALLBACK_URL;
const twilio_from = process.env.TWILIO_FROM
# Stop windows update service
Stop-Service -Name wuauserv;
# Remove 'SoftwarePolicies' WU key
Remove-Item `
-Path HKLM:\SoftwarePolicies\Microsoft\Windows\WindowsUpdate `
-Force `
-Recurse `
-ErrorAction SilentlyContinue;
#!/bin/bash
for image in $1; do
IFS='/' read -ra ADDR <<< "$image"
len=${#ADDR[@]}
#echo $(expr $len - 1)
file=${ADDR[$(expr $len - 1)]}
#!/bin/bash
mkdir -p output
for file in `ls -l | grep -v ^d | awk '{print $9}'`; do
md5=`md5sum $file | awk '{print $1}'`
firstletter=${file:0:1}
IFS='-' read -ra ADDR <<< "$file"
IFS='_' read -ra firstword <<< "${ADDR[0]}" #firstword