PS C:\Program Files\7-Zip> ./7z b
7-Zip 22.01 (arm64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
Windows 10.0 22621
ARM64 0 0.0 cpus:8 128T f:1804EB8C1004
LE
1T CPU Freq (MHz): 2983 2818 3036 2990 3024 2985 3011
4T CPU Freq (MHz): 359% 2797 378% 2850
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying | |
# file Copyright.txt or https://cmake.org/licensing for details. | |
# Run this script on a Windows host to generate Qt binaries. | |
# Set the PATH environment variable to contain the locations of cmake and git. | |
if ("$ENV{VSCMD_ARG_TGT_ARCH}" STREQUAL "x64") | |
set(arch "x86_64") | |
elseif ("$ENV{VSCMD_ARG_TGT_ARCH}" STREQUAL "x86") | |
set(arch "i386") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE KeyboardMappingScheme> | |
<!-- Written by Qt Creator 2.5.2, 2012-08-18T19:03:36. --> | |
<mapping> | |
<shortcut id="QtCreator.ReturnToEditor"> | |
<key value="Esc"/> | |
</shortcut> | |
<shortcut id="QtCreator.New"> | |
<key value="Ctrl+N"/> | |
</shortcut> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.16) | |
set(HUNTER_PACKAGES CURL) | |
set(HUNTER_CURL_CMAKE_ARGS | |
CMAKE_USE_SCHANNEL=ON | |
CMAKE_USE_OPENSSL=OFF | |
) | |
include(FetchContent) | |
FetchContent_Declare(SetupHunter GIT_REPOSITORY https://github.com/cpp-pm/gate) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2022 The Qt Company Ltd. | |
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 | |
from stdtypes import qdump__std__array, qdump__std__complex, qdump__std__once_flag, qdump__std__unique_ptr, qdumpHelper__std__deque__libcxx, qdumpHelper__std__vector__libcxx | |
from utils import DisplayFormat | |
from dumper import Children, DumperBase | |
def qform__std____1__array(): | |
return [DisplayFormat.ArrayPlot] |
informit.com after buying the Book is adding watermarking in the pdf
and epub
files.
As it turns out the saving of the new pdf
is compressing the images with jpeg
instead of deflate (zip)
.
Consider the sample pdf and the watermarked pdf.

🤦🏻♂️
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (CMAKE_ARGC LESS 4) | |
message("Usage cmake -P " ${CMAKE_ARGV2} " <platform e.g. gcc;cosmo> \"<module;list>\"") | |
return() | |
endif() | |
if(CMAKE_ARGV3 STREQUAL "cosmo") | |
set(ENV{PATH} $ENV{HOME}/Projects/cosmopolitan/repo/cosmocc/bin:$ENV{PATH}) | |
set(extra_config | |
--toolchain ${CMAKE_CURRENT_LIST_DIR}/cosmo.cmake | |
-DQT_HOST_PATH=${CMAKE_CURRENT_LIST_DIR}/install-gcc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.20) | |
project(deps) | |
file(WRITE ${CMAKE_BINARY_DIR}/library.cpp " | |
#include <fstream> | |
#include <string> | |
std::string message() | |
{ |
On a MacBook Pro with Apple Silicon I have done the following:
% brew install llama.cpp
% llama-server -hf unsloth/Devstral-Small-2505-GGUF:UD-Q4_K_XL --jinja
I have used here the default context value -c 4096
. Devstral can do 128K but I ran out of memory on this MacBook Pro M3 with 36GB, that is when using -c 0
.
Then opened a webbrowser at localhost:8080
and asked the following question:
On a MacBook Pro with Apple Silicon I have done the following:
% brew install llama.cpp
% llama-server -hf unsloth/gpt-oss-20b-GGUF:UD-Q4_K_XL --jinja
I have used here the default context value -c 4096
.
Then opened a webbrowser at localhost:8080
and asked the following question: