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
for node in node1 node2 node3;do | |
multipass launch -n $node | |
done | |
# Init cluster on node1 | |
multipass exec node1 -- bash -c "curl -sfL https://get.k3s.io | sh -" | |
# Get node1's IP | |
IP=$(multipass info node1 | grep IPv4 | awk '{print $2}') |
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
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Body> | |
<KYCCheckResponse xmlns="http://tempuri.org/"> | |
<KYCCheckResult xmlns:a="http://schemas.datacontract.org/2004/07/NeuromancerLibrary.DataContracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<a:ClientProvidedData> | |
<a:ClientReference i:nil="true"/> | |
<a:ClientSubaccount i:nil="true"/> | |
<a:ClientUser i:nil="true"/> | |
<a:RefersToServiceCallReference i:nil="true"/> | |
</a:ClientProvidedData> |
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
set -e | |
#install go and glide for scanner | |
#create dirs if not exists | |
mkdir -p $HOME/Go | |
mkdir -p $HOME/Go/bin | |
mkdir -p $HOME/Go/src/github.com/user | |
#setup path | |
export GOPATH=$HOME/Go |
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
Ajiths-iPad:~ root# sed -i 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/zzuf | |
Ajiths-iPad:~ root# ldid -S /usr/bin/zzuf | |
Ajiths-iPad:~ root# zzuf -h | |
Usage: zzuf [-aAcdimnqSvx] [-s seed|-s start:stop] [-r ratio|-r min:max] | |
[-f mode] [-D delay] [-j jobs] [-C crashes] [-B bytes] [-a list] | |
[-t seconds] [-T seconds] [-M mebibytes] [-b ranges] [-p ports] | |
[-P protect] [-R refuse] [-l list] [-I include] [-E exclude] | |
[PROGRAM [--] [ARGS]...] | |
zzuf -h | --help | |
zzuf -V | --version |
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
gst-launch-1.0 -v -e uvch264src iframe-period=3000 device=/dev/video1 name=src auto-start=true src.vidsrc ! queue ! video/x-h264,width=1920,height=1080,framerate=30/1 ! \ | |
h264parse ! queue ! tee name=t ! queue ! omxh264dec ! \ | |
video/x-raw,width=320,height=240,framerate=30/1 ! omxh264enc ! video/x-h264,width=320,height=240,framerate=30/1 ! \ | |
h264parse ! flvmux ! filesink location=1.flv t. ! \ | |
h264parse ! flvmux streamable=true name=flvmuxer alsasrc device="plughw:1" ! \ | |
audio/x-raw,format=\(string\)S16LE,rate=44100,channels=2 ! queue ! \ | |
voaacenc bitrate=44100 ! aacparse ! queue ! flvmuxer. flvmuxer. ! filesink location=hd.flv |
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
pi@pi01 ~/gst-omx $ gst-inspect-1.0 eglglessink | |
Factory Details: | |
Rank secondary (128) | |
Long-name EGL/GLES vout Sink | |
Klass Sink/Video | |
Description An EGL/GLES Video Output Sink Implementing the VideoOverlay interface | |
Author Reynaldo H. Verdejo Pinochet <reynaldo@collabora.com>, Sebastian Dröge <sebastian.droege@collabora.co.uk> | |
Plugin Details: | |
Name eglglessink |
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
<?php | |
$array = array('\x4f\160\x65\162\x61\40\x4d\151\x6e\151'); | |
foreach ($array as $key => $value) { | |
// doesn't work. | |
$array[$key] = "$value"; | |
// doesn't work | |
$array[$key] = sprintf($value); | |
} | |
//Why does this display Opera Mini ? |