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
function parseDict($str) { | |
preg_match_all("/<key>(.*)<\/key>.*(<false\/>|<true\/>|<.*>(.*)<\/.*>)/iUs",$str,$m); | |
$parsedInfo = array(); | |
foreach($m[0] as $k=>$v) { | |
$parsedInfo[$m[1][$k]] = trim($m[3][$k]); | |
} | |
return $parsedInfo; | |
} |
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
Add-Type -Path "C:\Program Files\AWS SDK for .NET\bin\AWSSDK.dll" | |
$secretKeyID="secretkeyid" | |
$secretAccessKeyID="accesskeyid" | |
$client=[Amazon.AWSClientFactory]::CreateAmazonS3Client($secretAccessKeyID,$secretKeyID) | |
$backup_directory="C:\target\" | |
foreach($file in Get-ChildItem -Path $backup_directory){ |
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
intitle:index.of .bash_history | |
intitle:index.of .sh_history | |
intitle:”Index of” index.html.bak | |
intitle:”Index of” index.php.bak | |
intitle:”Index of” index.jsp.bak | |
intitle:”Index of” “.htpasswd” htpasswd.bak | |
inurl:backup intitle:index.of inurl:admin | |
“Index of /backup” | |
intitle:”Index of” index.html~ |
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
#!/bin/sh | |
random() { | |
tr </dev/urandom -dc A-Za-z0-9 | head -c5 | |
echo | |
} | |
array=(1 2 3 4 5 6 7 8 9 0 a b c d e f) | |
gen64() { | |
ip64() { | |
echo "${array[$RANDOM % 16]}${array[$RANDOM % 16]}${array[$RANDOM % 16]}${array[$RANDOM % 16]}" |
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
apt-get install -y git build-essential software-properties-common | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | |
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash - | |
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - | |
add-apt-repository -y ppa:nginx/stable && add-apt-repository -y ppa:ondrej/php |
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
#/bin/bash | |
sudo sed -i '/ swap / s/^/#/' /etc/fstab | |
sed -i '/preserve_hostname: false/preserve_hostname: true/g' /etc/cloud/cloud.cfg | |
swapoff -a | |
modprobe overlay | |
modprobe br_netfilter | |
cat > /etc/sysctl.d/99-kubernetes-cri.conf <<EOF | |
net.bridge.bridge-nf-call-iptables = 1 | |
net.ipv4.ip_forward = 1 |
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
[kho] | |
user = $pool | |
group = $pool | |
listen = /run/php/fpm.$pool.sock | |
listen.owner = www-data | |
listen.group = www-data | |
;listen.mode = 0660 | |
;listen.allowed_clients = 127.0.0.1 |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRbeOC1xB5TKfEpf0XPoeXwX7GIr71tFJ2m1RA/U87SUOzPw78agW6u1lu4F5Hi6+e1WJV7PIOYTIc1S1B9DqQDTMjuMoDLecOff3RkhWMteF9GWPhsgssKd6/xaM3qiY58dSnrgLXyIHqrlQiDA6OHyy3uWgmiCQ9gReGxqUgxy+R8O52FtR2Ln1ZbLscu5Zgi5UNl8kYwegka9T8kssfUVdHjVo/miC6w9RB13nEqbN+rHlj3UJ7DKqJCxZbp+FpiAo4ilxKBjUaBWB1nxKZuVE8lcI/kQQVpT8lJxWJfu3bgbm0zzBRVOJf+RMqDETgLcW3fIOx8Nb3phk0982h |
- https://github.com/mfrachet/rn-placeholder
- https://github.com/i6mi6/react-native-parallax-scroll-view
- https://github.com/bamlab/react-native-image-header-scroll-view
- https://github.com/saleel/react-native-super-grid
- https://github.com/wix/react-native-ui-lib
- https://github.com/madhavanmalolan/awesome-reactnative-ui
NewerOlder