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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFVwoygBEADPrzQqfGJqe0mcyLV86A9qHqZpmAcE7hrnPBHIjrqFL0y5mSWj | |
sZSnAY49zqBHs1t7SiNGfFE1F8tY+pYLfcJ4/lUxkK+Ti4kNEvSViEtGamiW5T8d | |
oe/XUz5PwLKrjnqt3F5CVHk+sfNoQY8PxIpfkR/QXBrCOOE7T0+dYzjECP/na26e | |
TC7fAnjSLbp0tSyU5aNpmk5plXL/tyC7SP/L/bCNihSKmwP3la8kt0JmY4p+OqqA | |
FM3xbn8vAkpZepa5H1pN7C/uDN2Th7v8nMfYIj9/Frl1WTJ5hhQSE1E93DX9ooJ5 | |
aS3w4U3vbN+YPGsy/kIPnVfSobW40boK/Ad4Tnc/CEjzw3uueLnLg4BgpcMHHGzb | |
tgOK7MVDt4YcBs0z2Bi2Wd5ai8JGi00V5rIbtctH9cmiNDu/naDfxNduVC/QsPpu | |
AeaMZ6XXF//1uPF8R5Q0ROrKGzNmcuLO0jyj9tZiwmjEIuadKBviiva6swcReSis |
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(int w = 0; w < width; w++) { | |
for(int h = 0; h < height; h++) { | |
maskPos = w * height + h; | |
colorPos = h * width + w; | |
colorMask[colorPos] = mask[maskPos]; | |
} | |
} |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQGNBFx+qG0BDADE045yW13qvYZKn3nuNwGWcnHTPMbmDpFVOXtyYz2C3wFfQoKB | |
sEjig4Njxg8L3Uy7Mb3WfHYQjsYmU+WbblSdA0JFdshblbp8KgZWvcxcOQg6rxcG | |
tfSfLonHxtaf4FEXGJyq1HM8VsS4rhIRWcemQ4pP+8e4ZOJ4SAMEn+2g3xndvOOw | |
xgHxZGDNWlZN6wvI69qRbzmAaHEitgm1luIY0UIo3Olhakp5WosLT4Z+N5rMsON9 | |
HynjRJAklWAcFesibuyPUdoe775opnbIAUiQt/yA2t2aDK3/w/hDmGpRtNorxl2e | |
4DLk+jQ5r7mzDaWGw4za3Z7A+aDXHh7j5ufIYZ8okuWF6NYTKgNZfIA8CQ0W4No+ | |
nP7Dcl2RzvsEKPR/EJBrhKypMckrMOLQMVRQSoR1E75aTdFylfbJjYzyuzFZLkXz | |
v1Nvn0zNFo4sOaQQuXpJ2u30JMDZZRAev/2IClgQjnjrvqKFUUec5BRitTBj/LUI |
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
import React, {Component} from 'react'; | |
import ReactDOM from 'react-dom'; | |
import {observer} from "mobx-react"; | |
@observer | |
class TodoListView extends Component { | |
render() { | |
return <div> | |
<ul> | |
{this.props.todoList.todos.map(todo => |
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
cmd = powershell_out("Get-NetFirewallRule -DisplayName 'Block AWS Metadata'") | |
case cmd.exitstatus | |
when 1 | |
powershell_out!("New-NetFirewallRule -DisplayName 'Block AWS Metadata' -Action Block -Direction 'outbound' -RemoteAddress '169.254.169.254' -RemotePort '80' -Protocol 'tcp' | Get-NetFirewallSecurityFilter | Set-NetFirewallSecurityFilter -LocalUser 'O:LSD:(D;;CC;;;SY)(D;;CC;;;LA)'") | |
when 0 | |
powershell_out!("Set-NetFirewallRule -DisplayName 'Block AWS Metadata' -Action Block -Direction 'outbound' -RemoteAddress '169.254.169.254' -RemotePort '80' -Protocol 'tcp' ") | |
powershell_out!("Get-NetFirewallRule -DisplayName 'Block AWS Metadata' | Get-NetFirewallSecurityFilter | Set-NetFirewallSecurityFilter -LocalUser 'O:LSD:(D;;CC;;;SY)(D;;CC;;;LA)' ") | |
end |
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
2014/01/29 10:15:09 [node1] panic: runtime error: invalid memory address or nil pointer dereference | |
2014/01/29 10:15:09 [node1] [signal 0xb code=0x1 addr=0x40 pc=0x4682b6] | |
2014/01/29 10:15:09 [node1] | |
2014/01/29 10:15:09 [node1] goroutine 5 [running]: | |
2014/01/29 10:15:09 [node1] runtime.panic(0x6d89e0, 0xa94ec8) | |
2014/01/29 10:15:09 [node1] /usr/local/go/src/pkg/runtime/panic.c:266 +0xb6 | |
2014/01/29 10:15:09 [node1] stripe-ctf.com/sqlcluster/server.(*Server).Join(0xc21000a1e0, 0x7fff76f8438c, 0xc, 0x65c480, 0xc210036bb0) | |
2014/01/29 10:15:09 [node1] /home/gzapp/go/src/stripe-ctf.com/sqlcluster/.build/src/stripe-ctf.com/sqlcluster/server/raft.go:27 +0x356 | |
2014/01/29 10:15:09 [node1] stripe-ctf.com/sqlcluster/server.(*Server).ListenAndServe(0xc21000a1e0, 0x7fff76f8438c, 0xc, 0xc, 0xc21000a1e0) | |
2014/01/29 10:15:09 [node1] /home/gzapp/go/src/stripe-ctf.com/sqlcluster/.build/src/stripe-ctf.com/sqlcluster/server/server.go:103 +0x4b3 |
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
============================================================ | |
Key: pau | |
==================== | |
Here is the head of your output: | |
1E4BR9GE/6HFPJUGQ/10NJXS1E/1VUD0AZ5/1COJXYHI:1007 | |
1E4BR9GE/6HFPJUGQ/10NJXS1E/1VUD0AZ5/1COJXYHI:1044 | |
1E4BR9GE/6HFPJUGQ/10NJXS1E/1VUD0AZ5/1COJXYHI:107 | |
1E4BR9GE/6HFPJUGQ/10NJXS1E/1VUD0AZ5/1COJXYHI:1143 | |
1E4BR9GE/6HFPJUGQ/10NJXS1E/1VUD0AZ5/1COJXYHI:2 | |
1E4BR9GE/6HFPJUGQ/10NJXS1E/1VUD0AZ5/1COJXYHI:370 |
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
// level0 project main.go | |
package main | |
import ( | |
"bytes" | |
"io/ioutil" | |
"log" | |
"math" | |
"os" | |
"reflect" |
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
// level1 project main.go | |
package main | |
import ( | |
"crypto/sha1" | |
//"fmt" | |
"bytes" | |
"encoding/binary" | |
"encoding/hex" | |
"fmt" |
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
nounce_slice := message[len(message)-8:] | |
var nounce_window uint64 | |
hdrp := (*reflect.SliceHeader)(unsafe.Pointer(&nounce_window)) | |
hdrp.Data = (*reflect.SliceHeader)(unsafe.Pointer(&nounce_slice)).Data | |
hdrp.Len = 1 | |
hdrp.Cap = 1 | |
nounce_window = 10 |
NewerOlder