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
<Directory /var/www/html/secret> | |
SSLRequireSSL | |
SSLVerifyClient require | |
SSLUserName SSL_CLIENT_S_DN_CN | |
Satisfy Any | |
Allow from All | |
SSLRequire %{SSL_CLIENT_S_DN_CN} in {"yone", "foo", "bar"} | |
</Directory> |
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
println System.getenv("HOME") | |
println "ls /Users/A110421-03/Library/MobileDevice/".execute().text | |
println "xcodebuild -list".execute().text | |
println "pwd".execute().text | |
println "ls".execute().text | |
println "=============================================" | |
def sout = new StringBuilder(), serr = new StringBuilder() | |
println(["ls",'/Users/A110421-03/Library/MobileDevice/Provisioning Profiles'].execute().text) | |
["ls",'/Users/A110421-03/Library/Keychains'].execute().consumeProcessOutput(sout, serr) | |
println "out> $sout err> $serr" |
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
#include <iostream> | |
#include <stdexcept> | |
using namespace std; | |
class my_exception_t : public exception | |
{ | |
const char * str; | |
public: | |
int data = 10; |
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
https://jodal.no/2015/03/08/building-arm-debs-with-pbuilder/ |
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" | |
"reflect" | |
"github.com/coreos/go-iptables/iptables" | |
) | |
func contains(list []string, value string) bool { |