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
title = "Leave No Trace" | |
category = "The Principles" | |
text = """ | |
Our community respects the environment. We are committed to leaving no physical trace of our activities wherever we gather. We clean up after ourselves and endeavor, whenever possible, to leave such places in a better state than when we found them. | |
Leave No Trace is considered to be the seventh principle.""" |
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
extern crate futures; | |
extern crate tokio_zmq; | |
extern crate zmq; | |
use futures::{Future, Sink, Stream}; | |
use std::sync::Arc; | |
use tokio_zmq::{prelude::*, Multipart as MultipartMessage, Pub}; | |
fn main() { | |
let ctx = Arc::new(zmq::Context::new()); |
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
# $FreeBSD$ | |
LIB= pam_exec | |
SRCS= pam_exec.c | |
SHLIB_MAJOR= 5 | |
WARNS?= 1 | |
.include <bsd.lib.mk> |
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
#!/usr/sbin/dtrace -s | |
#pragma D option quiet | |
io:::start | |
{ | |
self->ok = 0; | |
/* https://lists.freebsd.org/pipermail/freebsd-dtrace/2015-February/000347.html */ | |
self->ok = (args[0] != NULL) ? 1 : 0; |
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
Input = Output | |
============================ | |
00 00 = 0 = 00 00 00 00 | |
00 01 = 196893 = 00 03 01 1d | |
00 02 = 98446 = 00 01 80 8e | |
00 03 = 65631 = 00 01 00 5F | |
00 11 = 11581 = 00 00 2D 3D | |
01 00 = 769 | |
90 0F = 5 = 00 00 00 05 | |
90 FF = 5 = 00 00 00 05 |
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
variable "unique" {} | |
variable "cidr" {} | |
provider "aws" { | |
region="us-east-1" | |
secret_key="" | |
access_key="" | |
} | |
resource "aws_security_group" "default" { |
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
$ ./ds2-dump --port /dev/cu.PL2303-00001014 --probe-all | |
Family Name Part Number Manufacturer Notes | |
------------------------------------------------------------------------------------------------------------------------------- | |
ZKE Central Body Electronics v5 6907663 Delphi PHI faults=1 | |
DME Siemens MS 42.0 7500255 000011 SW mismatch, vin=WBA......YKC..... | |
EWS Electronic Immobiliser v3.3 6905670 UTA faults=3 | |
DSC ATE Dynamic Stability Control III Mk20 6753598 Temic SW mismatch | |
LWS Steering Angle Sensor v5.1b 1096943 Kostal | |
IHKA E46 Auto Climate Control 4106930 Hella |
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
$ bundle exec ./main.rb ~/Downloads/Snap-2_0_0_2.bar | |
>>> Initial login request | |
<<< Response: {"RimTabletResponse"=>{"AuthChallenge"=>{"Status"=>"PasswdChallenge", "Challenge"=>"What's the airspeed velocity of an unladen swallow?U4057364cD2oH9B7V43VPa02p3E6", "Algorithm"=>"2", "Salt"=>"955398CDDECA0F0D", "ICount"=>"5463", "FailedAttempts"=>"0", "RetriesRemaining"=>"5"}}} | |
*** Challenge | |
*** V2 Login | |
<<< Response: {"RimTabletResponse"=>{"Auth"=>{"Status"=>"Success", "Smb"=>{"Credentials"=>{"User"=>"dtm", "Password"=>"[REDACTED]"}, "User"=>"dtm", "Pwd"=>"[REDACTED]", "Workgroup"=>"WORKGROUP", "NetBios"=>"%h"}}}} | |
*** Success | |
>>> Query: {"command"=>"Install", "dev_mode"=>"on", "file"=>#<UploadIO:0x007f9a73083850 @content_type="application/zip", @original_filename="Snap-2_0_0_2.bar", @local_path="/Users/alex/Downloads/Snap-2_0_0_2.bar", @io=#<File:/Users/alex/Downloads/Snap-2_0_0_2.bar>, @opts={}>} |
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
diff --git a/src/gui/text/qfontdatabase_mac.cpp b/src/gui/text/qfontdatabase_mac.cpp | |
index ea16846..35cb03d 100644 | |
--- a/src/gui/text/qfontdatabase_mac.cpp | |
+++ b/src/gui/text/qfontdatabase_mac.cpp | |
@@ -146,7 +146,9 @@ if (QSysInfo::MacintoshVersion >= QSysInfo::MV_10_5) { | |
CTFontDescriptorRef font = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fonts, i); | |
QCFString family_name = (CFStringRef)CTFontDescriptorCopyLocalizedAttribute(font, kCTFontFamilyNameAttribute, NULL); | |
QCFString style_name = (CFStringRef)CTFontDescriptorCopyLocalizedAttribute(font, kCTFontStyleNameAttribute, NULL); | |
- QtFontFamily *family = db->family(family_name, true); | |
+ QCFString ps_name = (CFStringRef)CTFontDescriptorCopyLocalizedAttribute(font, kCTFontNameAttribute, NULL); |
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
$ make | |
gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -headerpad_max_install_names -arch i386 -arch x86_64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I. -I/Library/PostgreSQL/9.2/include/postgresql/server -I/Library/PostgreSQL/9.2/include/postgresql/internal -I/usr/local/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -c -o ip4r_module.o ip4r_module.c | |
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk' | |
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk' | |
clang: warning: argument unused during compilation: '-headerpad_max_install_names' | |
In file included from ip4r_module.c:3: | |
./ipr.h:3:10: fatal err |
NewerOlder