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
#!/bin/bash | |
comp=$(echo $1 | awk -F'[/:]+' '{ sub("^github.com\.", "", $2); print $3 }') | |
repo=$(echo $1 | awk -F'[/:]+' '{ sub("^github.com\.", "", $2); print $4 }') | |
git clone $1 ${comp}_${repo} |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"runtime" | |
"time" | |
"golang.org/x/crypto/scrypt" | |
) |
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
Firmware version 3.0.0.4.380_10446 | |
- Release Note - | |
Bug fixes and enhancements: | |
- Fixed information disclosure vulnerability. Thanks to Haitan Xiang and Fand Wang. | |
- Fixed CVE-2018-5721 Stack-base buffer overflow vulnerability | |
- Fixed CVE-2018-8826 remote code code execution vulnerability. Thanks to Chris Wood. | |
- Fixed CVE-2018-5999 HTTP authorization bypass and CVE-2018-6000. | |
An independent security researcher has reported this vulnerability to Beyond Security’s SecuriTeam Secure Disclosure program | |
- Fixed remote code execution vulnerability. Thanks to David Maciejak of Fortinet's FortiGuard Labs |
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
template <class _RandomAccessIterator> | |
inline _LIBCPP_INLINE_VISIBILITY | |
void | |
sort(_RandomAccessIterator __first, _RandomAccessIterator __last) | |
{ | |
_VSTD::sort(__first, __last, __less<typename iterator_traits<_RandomAccessIterator>::value_type>()); | |
} |
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
package main | |
import ( | |
"fmt" | |
"time" | |
"net/http" | |
"net" | |
) | |
const N = 300 |
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
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
const N = 300 | |
const P = 20 | |
const timeFormat = "15:04:05.0000" |
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.Threading; | |
class Program | |
{ | |
ManualResetEvent exit = new ManualResetEvent(false); | |
Thread[] ths; | |
int counter = 0; |
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
package main | |
import ( | |
"fmt" | |
"flag" | |
"sync" | |
"sync/atomic" | |
"time" | |
) |