Hi:
perl -e 'print "hello world!\n"'
A simple filter:
perl -ne 'print if /REGEX/'
Filter out blank lines (in place):
diff --git a/package/kernel/qca-ssdk/Makefile b/package/kernel/qca-ssdk/Makefile | |
index bbe9f12051..85f5493027 100644 | |
--- a/package/kernel/qca-ssdk/Makefile | |
+++ b/package/kernel/qca-ssdk/Makefile | |
@@ -1,13 +1,13 @@ | |
include $(TOPDIR)/rules.mk | |
PKG_NAME:=qca-ssdk | |
-PKG_RELEASE:=6 | |
+PKG_RELEASE:=1 |
build/000-fix_kconfig.patch | |
build/001-fix_build.patch | |
build/002-change_allconfig.patch | |
build/003-remove_bogus_modparams.patch | |
build/004-fix-kconf-compiling.patch | |
build/012-kernel_build_check.patch | |
build/060-no_local_ssb_bcma.patch | |
build/070-remove-broken-wext-select.patch | |
build/080-resv_start_op.patch | |
build/090-bcma-otp.patch |
# copy to `.config` and run `make defconfig` | |
# This builds for all ipq807x targets. | |
# To use this config, you must build from https://github.com/qosmio/openwrt-ipq | |
# | |
# 1. `git clone https://github.com/qosmio/openwrt-ipq` | |
# 2. `cd openwrt-ipq` | |
# 3. Dowload this config to `openwrt-ipq`, name it ".config" | |
# 4. `make defconfig` | |
# | |
# use `make menuconfig` to further customize building just for your target or adding custom packages. |
# Run the last command as root | |
sudo !! | |
# Serve current directory tree at http://$HOSTNAME:8000/ | |
python -m SimpleHTTPServer | |
# Save a file you edited in vim without the needed permissions | |
:w !sudo tee % | |
# change to the previous working directory | |
cd - | |
# Runs previous command but replacing | |
^foo^bar |
#!/bin/bash | |
# Let's "secure" even the script for you :) | |
sudo -v | |
function ok() { | |
echo -e "[OK] "$1 | |
} | |
function bot() { |
#!/bin/zsh | |
#Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3 | |
#Disabling unwanted services on macOS 13 Ventura | |
#Disabling SIP is required ("csrutil disable" from Terminal in Recovery) | |
#Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist | |
#To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist & disabled.501.plist and reboot | |
# user |
diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15 | |
index c2e4eb2d99..30ec7d78ff 100644 | |
--- a/target/linux/generic/config-5.15 | |
+++ b/target/linux/generic/config-5.15 | |
@@ -1378,7 +1378,7 @@ CONFIG_DEBUG_KERNEL=y | |
# CONFIG_DEBUG_ZBOOT is not set | |
# CONFIG_DECNET is not set | |
# CONFIG_DEFAULT_CODEL is not set | |
-CONFIG_DEFAULT_CUBIC=y | |
+CONFIG_DEFAULT_BBR=y |
Loading: T T T ################################################################# | |
################################################################# | |
################################################################# | |
################################################################# | |
################################################################# | |
################################################################# | |
################################################################# | |
################################################################# | |
################################################################# | |
################################################################# |
#!/usr/bin/awk -f | |
# Coded by: Vladislav Grigoryev <vg[dot]aetera[at]gmail[dot]com> | |
# License: GNU General Public License (GPL) version 3+ | |
# Description: Select wireless channel automatically | |
function get_iwphy() { | |
cmd = "iw phy" | |
while(cmd | getline) { | |
if($0 ~ /^\s*Wiphy\s/) |
Hi:
perl -e 'print "hello world!\n"'
A simple filter:
perl -ne 'print if /REGEX/'
Filter out blank lines (in place):