LUKS2 encrypted BTRFS system partition with Limine/Snapper integration and hybernate to swapfile
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
| <# | |
| .SYNOPSIS | |
| Download VMware Workstation Pro for Windows without a Broadcom Account | |
| .DESCRIPTION | |
| This script allows downloading VMware Workstation installers from either Broadcom's Cloudflare CDN (v12.0.0 - 17.6.3) or from the archive.org VMware Workstation archive (v2.x+). | |
| .PARAMETER KeepCompressed | |
| If specified, prevents extraction of the .exe from the .tar file when using the Cloudflare CDN source (ignored for archive.org downloads) | |
| .PARAMETER Version | |
| Specifies the version of VMware Workstation to download (e.g., "17.6.3"). By default, Cloudflare will be first source checked then fallback to archive.org. | |
| .PARAMETER Source |
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
| /* | |
| Extracted from XT2513-1_KANSAS_RETUS_15_V1VK35.22-125_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC.xml.zip | |
| Kansas v7 Retail Firmware | |
| Use "fastboot getvar cid" to confirm customer ID on secure HW. | |
| Value must be 0 (developer HW) or match this value: | |
| RetailDocomo => 50 (0x0032) | |
| RetailSoftbank => 50 (0x0032) |
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
| // SaaS provider creates different subdomains to handle traffic of different eyeball domains | |
| // Get rid of https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/custom-origin/ | |
| const ORIGINS = { | |
| 'a.com': 'a.cicku.me', | |
| 'b.com': 'b.cicku.me', | |
| 'c.com': 'c.cicku.me', | |
| 'd.com': 'd.cicku.me', | |
| 'e.com': 'e.cicku.me', | |
| 'f.com': 'f.cicku.me' |
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
| import http.client | |
| conn = http.client.HTTPSConnection("api.cloudflare.com") | |
| # Logpush | |
| payload = "{\n \"dataset\": \"http_requests\",\n \"destination_conf\": \"s3://placeholder/logs/placeholder/{DATE}?region=eu-west-1&access-key-id=placeholderaccesskey&secret-access-key=placeholderkey&endpoint=s3.eu-west-1.amazonaws.com\",\n \"enabled\": false,\n \"kind\": \"\",\n \"max_upload_bytes\": 5000000,\n \"max_upload_interval_seconds\": 30,\n \"max_upload_records\": 1000,\n \"name\": \"Testjobapi\",\n \"output_options\": {\n \"CVE-2021-4428\": false,\n \"batch_prefix\": \"\",\n \"batch_suffix\": \"\",\n \"field_delimiter\": \",\",\n \"field_names\": [\n \"ClientASN\",\n \"ClientCountry\",\n \"ClientDeviceType\",\n \"ClientIP\",\n \"ClientIPClass\",\n \"ClientRequestHost\",\n \"ClientRequestMethod\",\n \"ClientRequestPath\",\n \"ClientRequestURI\",\n \"ClientRequestUserAgent\",\n \"ClientRequestProtocol\",\n \"EdgeEndTimestamp\",\n |
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
| # https://www.cloudflare.com/ips-v4/ | |
| define cfv4 = {173.245.48.0/20,103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,141.101.64.0/18,108.162.192.0/18,190.93.240.0/20,188.114.96.0/20,197.234.240.0/22,198.41.128.0/17,162.158.0.0/15,104.16.0.0/13,104.24.0.0/14,172.64.0.0/13,131.0.72.0/22} |
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
| #!/bin/bash -e | |
| . /etc/makepkg.conf | |
| PKGCACHE=$((grep -m 1 '^CacheDir' /etc/pacman.conf || echo 'CacheDir = /var/cache/pacman/pkg') | sed 's/CacheDir = //') | |
| pkgdirs=("$@" "$PKGDEST" "$PKGCACHE") | |
| while read -r -a parampart; do | |
| pkgname="${parampart[0]}-${parampart[1]}-*.pkg.tar.{xz,zst}" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| # 规则配置仅供参考,适用于 Surge Mac (1.3.0) 及其后续版本; | |
| # 包含 Proxy Group、URL Rewrite 特性; | |
| # 包含 Reject 规则,用于拦截广告、行为分析、数据统计; | |
| # 屏蔽 Hao123、百度搜索,放行百度地图、百度外卖、百度音乐、百度云盘、百度百科。 | |
| # Surge for Mac 简明指南 http://bit.ly/1TATRaG | |
| [General] | |
| # warning, notify, info, verbose | |
| skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local | |
| bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
| loglevel = notify |
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
| #include <netdb.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <errno.h> | |
| #define CANARY "in_the_coal_mine" | |
| struct { | |
| char buffer[1024]; |
NewerOlder