Posts

Showing posts from March, 2018

python venv google assistant

python -m venv c:/venvname  pip install --user pipenv virtualenv  my_project sudo apt-get install portaudio19-dev libffi-dev libssl-dev pip install --upgrade google-assistant-sdk[samples] googlesamples-assistant-pushtotalk --device-model-id 'my-device-model' --device-id 'my-device-identifier' https://pypi.python.org/pypi/google-assistant-sdk/

chrome video popout

https://chrome.google.com/webstore/detail/iridium/gbjmgndncjkjfcnpfhgidhbgokofegbl?utm_source=chrome-ntp-icon

start android studio avd

https://developer.android.com/studio/run/emulator-commandline.html emulator -avd avdname

mute soud by dfault chrome

chrome://settings/content/sound

wifi pwd to txt dump

Set Shell = Wscript.CreateObject("WScript.Shell") Set cmd = Shell.Exec("cmd /c " & command) strOut = "" Do While Not cmd.StdOut.AtEndOfStream strOut = strOut & cmd.StdOut.ReadLine() & "\n" Loop GetOutput=strOut End Function Function saveIt(wifi, passwd) Set objFSO=CreateObject("Scripting.FileSystemObject") Set objFile=objFSO.CreateTextFile(wifi & ".txt") objFile.Write(passwd) objFile.Close End Function strText=Split(GetOutput("netsh wlan show profile"), "\n") i = 0

country list

A Afghanistan Albania Algeria Andorra Angola Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan B Bahamas, The Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bhutan Bolivia Bosnia and Herzegovina Botswana Brazil Brunei Bulgaria Burkina Faso Burma Burundi C Cambodia Cameroon Canada Cabo Verde Central African Republic Chad Chile China Colombia Comoros Congo, Democratic Republic of the Congo, Republic of the Costa Rica Cote d'Ivoire Croatia Cuba Curacao Cyprus Czechia D Denmark Djibouti Dominica Dominican Republic E East Timor (see Timor-Leste ) Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia F Fiji

wifi password reveal

@echo off setlocal enabledelayedexpansion :main     title WiFiPasswordReveal           call :get-profiles r         :main-next-profile         for /f "tokens=1* delims=," %%a in ("%r%") do (             call :get-profile-key "%%a" key             if "!key!" NEQ "" (                 echo WiFi: [%%a] Password: [!key!]             )             set r=%%b         )         if "%r%" NEQ "" goto main-next-profile     echo.     pause     goto :eof :get-profile-key <1 profile-name=""> <2 out-profile-key="">     setlocal     set result=     FOR /F "usebackq tokens=2 delims=:" %%a in (         `netsh wlan show profile name^="%~1" key^=clear ^| findstr /C:"Key Content"`) DO (         set result=%%a         set result=!result:~1!     )     (         endlocal         set %2=%result%     )     goto :eof :get-profiles <1 result-variable="">     setlocal

change ua string in firefox without extension

about:config rt clk>>new string general.useragent.override find string from sites like https://udger.com/resources/ua-list

ram stress test

 write these in notepad ------------------------------------------------------------------------------------------------------------------------------ start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s start s ------------------------------------------------------------------------------------------------------------------------------ save as s.bat run  have fun
Methionylalanylthreonylserylarginylglycylalanylserylarginylcysteinylproly- larginylaspartylisoleucylalanylasparaginylvalylmethionylglutaminylarginyl- leucylglutaminylaspartylglutamylglutaminylglutamylisoleucylvalylglutaminy- llysylarginylthreonylphenylalanylthreonyllysyltryptophylisoleucylasparagi- nylserylhistidylleucylalanyllysylarginyllysylprolylprolylmethionylvalylva- lylaspartylaspartylleucylphenylalanylglutamylaspartylmethionyllysylaspart- ylglycylvalyllysylleucylleucylalanylleucylleucylglutamylvalylleucylserylg- lycylglutaminyllysylleucylprolylcysteinylglutamylglutaminylglycylarginyla- rginylmethionyllysylarginylisoleucylhistidylalanylvalylalanylasparaginyli- soleucylglycylthreonylalanylleucyllysylphenylalanylleucylglutamylglycylar- ginyllysylisoleucyllysylleucylvalylasparaginylisoleucylasparaginylserylth- reonylaspartylisoleucylalanylaspartylglycylarginylprolylserylisoleucylval- ylleucylglycylleucylmethionyltryptophylthreonylisoleucylisoleucylleucylty- rosylphenylalanylglutami