This file contains hidden or 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 | |
| # Install the following required packages before running this script: | |
| # sudo apt update | |
| # sudo apt install -y python3-gi gir1.2-gstreamer-1.0 gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-gl gstreamer1.0-alsa fbset python3-rpi.gpio | |
| ############################################################################# | |
| # CONFIGURATION | |
| ############################################################################# |
This file contains hidden or 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
| [ 0.000000] Booting Linux on physical CPU 0x0 | |
| [ 0.000000] Initializing cgroup subsys cpuset | |
| [ 0.000000] Initializing cgroup subsys cpu | |
| [ 0.000000] Initializing cgroup subsys cpuacct | |
| [ 0.000000] Linux version 4.4.143-23-rockchip-g394d86b2b38b (root@f8d601a511aa) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Mon Aug 5 12:15:39 UTC 2019 | |
| [ 0.000000] Boot CPU: AArch64 Processor [410fd042] | |
| [ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB | |
| [ 0.000000] On node 0 totalpages: 130560 | |
| [ 0.000000] DMA zone: 2040 pages used for memmap | |
| [ 0.000000] DMA zone: 0 pages reserved |
This file contains hidden or 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
| Client -> Server: | |
| ----------------- | |
| BUTTON SDI_A: | |
| -1 27 | |
| 0 0 | |
| 1 1 | |
| 2 2 | |
| 3 3 | |
| 4 4 | |
| 5 5 |
This file contains hidden or 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 | |
| SET DIR=C:\Program Files (x86)\VideoLAN\VLC | |
| SET DSHOW_SETTINGS=dshow:// :dshow-vdev="Decklink Video Capture" :dshow-adev="Decklink Audio Capture" :dshow-chroma="UYVY" :dshow-fps=50 --dshow-aspect-ratio="16:9" | |
| SET VRATE=600 | |
| SET ARATE=128 | |
| SET VRATE10=6000 | |
| SET ARATE10=128 |
This file contains hidden or 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
| private function getFileContent($value) { | |
| if (strpos($value, 'file:') === 0 && strlen($value) > 5) { | |
| $uid = intval(substr($value, 5)); | |
| return \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance()->getFileObject($uid)->getContents(); | |
| } | |
| return $this->cObj->fileResource($value); | |
| } |
This file contains hidden or 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/php -q | |
| <?php | |
| $threshold = 50; | |
| $count = array(); | |
| $files = glob('/var/log/named/security.*'); | |
| foreach ($files as $file) { |
This file contains hidden or 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
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Security.Cryptography; | |
| namespace CiscoPw | |
| { | |
| public class CiscoDecoder | |
| { | |
| public string DecodePassword(string encodedPassword) |
This file contains hidden or 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
| using System; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Text; | |
| namespace CiscoVpnConnect | |
| { | |
| internal class CiscoVpnClientWrapper | |
| { | |
| private readonly string path; |