Reference:
sudo fdisk -l
| // This is a temporary fix until Jimp implements support for webp | |
| // https://github.com/oliver-moran/jimp/issues/144 | |
| // const img = await webpToJimp('https://test.com/img.webp', './tmp') | |
| import fs from 'fs' | |
| import axios from 'axios' | |
| import jimp from 'jimp' | |
| import webp from 'webp-converter' |
| $SQLitePackages = Join-Path -Path $env:USERPROFILE -ChildPath "\.nuget\packages\SQLite" | |
| $latestSQLite3PackageX64 = Join-Path -Path ((Get-ChildItem -Path $SQLitePackages | Sort-Object Fullname -Descending)[0].FullName) -ChildPath "runtimes\win7-x64\native\sqlite3.dll" | |
| $latestSQLite3PackageX86 = Join-Path -Path ((Get-ChildItem -Path $SQLitePackages | Sort-Object Fullname -Descending)[0].FullName) -ChildPath "runtimes\win7-x86\native\sqlite3.dll" | |
| if (!(Test-Path "$PSScriptRoot\Dependencies")){ | |
| New-Item -ItemType Directory -Path "$PSScriptRoot\Dependencies" | |
| } | |
| if (!(Test-Path "$PSScriptRoot\Dependencies\x86")){ | |
| New-Item -ItemType Directory -Path "$PSScriptRoot\Dependencies\x86" | |
| } | |
| if (!(Test-Path "$PSScriptRoot\Dependencies\x64")){ |
| import pytesseract | |
| import sys | |
| import argparse | |
| try: | |
| import Image | |
| except ImportError: | |
| from PIL import Image | |
| from subprocess import check_output | |
Reference:
sudo fdisk -l
| // this allows to send arbitrary messages. The chat conversation you want to send messages to has to be open. | |
| // just run this in the JS console | |
| // http://stackoverflow.com/a/39165137/1249001 | |
| function findReactComponent(dom) { | |
| for (var key in dom) | |
| if (key.startsWith("__reactInternalInstance$")) { | |
| var compInternals = dom[key]._currentElement; | |
| var compWrapper = compInternals._owner; | |
| var comp = compWrapper._instance; |
| Step 1. Make a copy of the spreadsheet in an empty directory. Rename the extension to .zip | |
| Step 2. Extract the zip file. | |
| Step 3. In the extracted contents, goto the folder \xl\worksheets\ | |
| Step 4. There should be one xml file per sheet? I editing "sheet1.xml" with NotePad++. From nearly the very end of the file, remove the tag that starts with: | |
| <sheetProtection | |
| My entire tag was as follows: | |
| <sheetProtection algorithmName="SHA-512" hashValue="ALciNBSIqRcjDiFbCuyWoGk4iOcC/ZRKnEjwEVi1skb6G5JbHhp+QVZ9+rlPVbGILOS7lYiCvJmR4Q7IuSphXA==" saltValue="8OVKXrG0VacLOLVztUpEYw==" spinCount="100000" sheet="1" objects="1" scenarios="1" selectLockedCells="1"/> | |
| Step 5. Save the file. Open the ZIP file in 7zip, find the same file, drag and drop, save, exit, rename the file back to (xlsx) and open |
| <!-- | |
| In Vue, we use v-model for all form bindings, while | |
| Knockout maintains separate binding types, such as | |
| textInput, checked, and options. In some cases, | |
| such as for an input of type "range", Knockout | |
| simply doesn't have an equivalent two-way binding | |
| helper and the more verbose value and valueUpdate | |
| must be used. | |
| --> | |
| <div id="app"> |
/conf/server.xml and find <connector> node <Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="60000"
redirectPort="8543"
useBodyEncodingForURI="true"
socket.txBufSize="64000"| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| wifite | |
| author: derv82 at gmail | |
| Licensed under the GNU General Public License Version 2 (GNU GPL v2), |
You'll need to add a whole slew of hosts for intercom if you've got CSP in place (which you should).
Heres what you'll need to add:
connect-src: https://api-ping.intercom.io https://nexus-websocket-a.intercom.io https://nexus-websocket-b.intercom.io wss://nexus-websocket-a.intercom.io wss://nexus-websocket-b.intercom.io https://api-iam.intercom.io
script-src: https://widget.intercom.io https://js.intercomcdn.com
image-src: https://js.intercomcdn.com