I hereby claim:
- I am mariotaku on github.
- I am mariotaku (https://keybase.io/mariotaku) on keybase.
- I have a public key ASAyVkc0L_T9ZK-j-ibKFoMz2g022KuFtRc24yuPk_bIIAo
To claim this, I am signing this object:
! 时间轴广告 | |
weibo.com##div[feedtype="ad"] | |
! 不需要的推荐内容 | |
weibo.com###v6_pl_rightmod_hongbao | |
weibo.com###v6_pl_rightmod_rank | |
weibo.com###v6_trustPagelet_recom_member |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
PS_ARGS="" | |
if [ -n "$1" ] && [ -e "$1" ]; then | |
PS_ARGS="-ExecutionPolicy bypass -File $1" | |
fi | |
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe $PS_ARGS |
#Requires -RunAsAdministrator | |
# Fix for https://github.com/microsoft/WSL/issues/4177 | |
$MethodDefinition = @' | |
[DllImport("ws2_32.dll", CharSet = CharSet.Unicode)] | |
public static extern int WSCSetApplicationCategory([MarshalAs(UnmanagedType.LPWStr)] string Path, uint PathLength, [MarshalAs(UnmanagedType.LPWStr)] string Extra, uint ExtraLength, uint PermittedLspCategories, out uint pPrevPermLspCat, out int lpErrno); | |
'@ | |
$Ws2Spi = Add-Type -MemberDefinition $MethodDefinition -Name 'Ws2Spi' -PassThru |
include $(TOPDIR)/rules.mk | |
PKG_NAME:=monaserver | |
PKG_VERSION:=2.750 | |
PKG_RELEASE:=1 | |
PKG_BUILD_DIR:=$(BUILD_DIR)/monaserver-$(PKG_VERSION) | |
PKG_SOURCE_PROTO:=git | |
PKG_SOURCE_URL:=https://github.com/MonaSolutions/MonaServer2 | |
PKG_SOURCE_VERSION:=5490a5814d00528b043da1005d65e08686e212e1 |
It's very annoying to have a lot of crash dumps in storage when a native app crashed. This script disables file output of crash dump.
disable-core-dump.sh
the script with following command:curl -o /var/lib/webosbrew/init.d/disable-core-dump -k https://gist.githubusercontent.com/mariotaku/fab3ee34fae3415c8213d1a1639a6aff/raw/disable-core-dump.sh