- Install QPDF (http://qpdf.sourceforge.net/)
choco install qpdf
- Encrypt single PDF file (http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.encryption-options)
choco install qpdf
Use Disk2Vhd and create a VHD for the partition you want to convert. (If using VirtualBox, disable Vhdx option)
Open Windows 10's native Disk Management
tool (Run > diskmgmt.msc
). Attach VHD (Action > Attach VHD).
Convert to MBR Disk
using AOMEI Partition Assistant Demo (if there's another way please post a comment)
Detach VHD
Just a really simple guide on using S3 aws-sdk-js-v3 / @aws-sdk/client-s3
Assuming @aws-sdk/client-s3
is installed:
How to stream file from S3 to Express
import { S3 } from "@aws-sdk/client-s3"
express.get(`/file/:id`, async (req, res) => {
const s3 = new S3({
<!-- Example #1 - no styling --> | |
Made with ❤ in Switzerland | |
Made with ♥ in Switzerland | |
Made with ♡ in Switzerland | |
Made with ❤️ in Switzerland | |
Made with ♥️ in Switzerland | |
<!-- Example #2 - inline-styled ❤ --> | |
Made with <span style="color: #e25555;">♥</span> in Switzerland | |
Made with <span style="color: #e25555;">♥</span> in Switzerland |
This is a helper function that will convert a given PDF file blob into text, as well as offering options to save the original PDF, intermediate Google Doc, and/or final plain text files. Additionally, the language used for Optical Character Recognition (OCR) may be specified, defaulting to 'en' (English).
Note: Updated 12 May 2015 due to deprecation of DocsList. Thanks to Bruce McPherson for the getDriveFolderFromPath()
utility.
// Start with a Blob object
var blob = gmailAttchment.getAs(MimeType.PDF);
# Watermarking image with another image using Imagemagick 'composite', 'watermark' and 'dissolve'. | |
require "RMagick" | |
# Read the image in the memory with RMagick | |
img = Magick::Image.read("/home/aditya/Pictures/old_england_pic.jpg").first | |
# the original image was in jpg format | |
# need to make the white background color transparent | |
# also changed the format to png since JPG does not support transparency. | |
# run the command below to create an image with transparent background using ImageMagick |
#--------------------------------------------------------------------------------- | |
#The sample scripts are not supported under any Microsoft standard support | |
#program or service. The sample scripts are provided AS IS without warranty | |
#of any kind. Microsoft further disclaims all implied warranties including, | |
#without limitation, any implied warranties of merchantability or of fitness for | |
#a particular purpose. The entire risk arising out of the use or performance of | |
#the sample scripts and documentation remains with you. In no event shall | |
#Microsoft, its authors, or anyone else involved in the creation, production, or | |
#delivery of the scripts be liable for any damages whatsoever (including, | |
#without limitation, damages for loss of business profits, business interruption, |
Credits to https://developer.apple.com/forums/thread/702220
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
E.g.
mkdir -p ./ios-dd/ && wget -qO- https://github.com/iGhibli/iOS-DeviceSupport/raw/master/DeviceSupport/15.4(FromXcode_13.3(13E113)).zip | bsdtar -xvf- -C ./ios-dd/ && mv ./ios-dd/* /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ && rm -rf ./ios-dd
Pre requisitos: USB formateado en NTFS Live CD de alguna distro de linux (probe con macOS, pero no parece funcionar) f680 v2 o v4 con version de firmware T18 o anterior (no se si funcionará con futuras versiones)
Al lio:
Formateamos el USB en NTFS y desde linux creamos un symlink con el siguiente comando: ln -s /var/samba/lib/smb.conf .
Lo enchufamos al USB del router y nos metemos en la interfaz web, en el apartado de aplicaciones nos aseguramos de que el servidor samba este activado y funcionando, ahi mismo encontraremos las instrucciones para conectarnos