# 全て数値(全角)
/^[0-9]+$/
# 全て数値(半角)
/^[0-9]+$/
# 全て数値(全角,半角)
Discover gists
This file contains 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
# -*- coding: utf-8 -*- | |
""" | |
@Time : 2021/10/3 19:18 | |
@Auth : d1rrick DanielGao.eth | |
@File :autochat.py | |
@IDE :vscode | |
""" | |
import requests | |
import json |
This file contains 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
#!/usr/bin/env python3 | |
# A simple script to build 64-bit and 32-bit Mesa and libdrm on amd64 Debian | |
# stable, Debian testing, Debian unstable, and possibly some Ubuntu versions | |
# with some tweaks. | |
# | |
# libdrm is build too, because often version right now in Debian sid and experimental | |
# is too old for current mesa git repo. Also it is nice to build debug | |
# versions of libdrm when troubleshooting some crashes and bugs. | |
# |
This file contains 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
inurl:trainers.php?id= | |
inurl:buy.php?category= | |
inurl:article.php?ID= | |
inurl:play_old.php?id= | |
inurl:declaration_more.php?decl_id= | |
inurl:pageid= | |
inurl:games.php?id= | |
inurl:page.php?file= | |
inurl:newsDetail.php?id= | |
inurl:gallery.php?id= |
This file contains 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
{ | |
"chainify": "https://github.com/liquality/chainify", | |
"solana-chat-app": "https://github.com/jsoneaday/solana-chat-app", | |
"wallet-adapter": "https://github.com/solana-labs/wallet-adapter", | |
"audius-protocol": "https://github.com/AudiusProject/audius-protocol", | |
"raydium-ui": "https://github.com/raydium-io/raydium-ui", | |
"espresso-cash-public": "https://github.com/espresso-cash/espresso-cash-public", | |
"backpack": "https://github.com/coral-xyz/backpack", | |
"projects": "https://github.com/solidproof/projects", | |
"protocol-v1": "https://github.com/drift-labs/protocol-v1", |
This file contains 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
all: egltest | |
egltest: egltest.c | |
cc -O3 -Wall -Werror -I. -o $@ $^ -lOpenGL -lEGL | |
clean: | |
rm -f *.o egltest |
This file contains 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
From https://synocommunity.com add http://packages.synocommunity.com to your NAS package sources. | |
For that, go to NAS->Package Cnter->Click Settings->Package Sources tab. | |
Then from the community, you can see Mosquitto. Install it. | |
After installing, please stop the Mosquitto service before updating configuration. You can start service after changes. | |
Enable Admin login for Synology | |
Enable SSH in NAS | |
Download putty and connect to NAS Server | |
Login using admin | |
Change to root user [sudo -i, {use admin password}] | |
Find mosquitto.conf file [find / -name mosquitto.conf] |
This file contains 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
class MainActivity : ComponentActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
WindowCompat.setDecorFitsSystemWindows(window, false) | |
super.onCreate(savedInstanceState) | |
setContent { | |
P2RTheme { | |
// A surface container using the 'background' color from the theme | |
Surface(modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background) { | |
CompositionLocalProvider( | |
LocalOverscrollConfiguration provides null // Disable overscroll otherwise it consumes the drag before we get the chance |
This file contains 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
@echo off | |
SETLOCAL | |
rem Set your plugin name, should match the .uplugin filename | |
set PLUGIN_NAME=BYGYouTrackFiller | |
rem Always add trailing space please | |
rem Don't put trailing slashes | |
set UNREAL_PATHS=E:\UE_4.25 ^ | |
E:\UE_4.26 ^ |
This file contains 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 plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>FILEHEADER</key> | |
<string> | |
// Copyright © ___YEAR___ ___ORGANIZATIONNAME___. | |
// All Rights Reserved. | |
</string> | |
<key>ORGANIZATIONNAME</key> |
NewerOlder