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/sh | |
node ~/code/sr/esc-pos-jison/run.js $1 |
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 "net" | |
func echoServer(c net.Conn) { | |
for { | |
buf := make([]byte, 512) | |
nr, err := c.Read(buf) | |
if err != nil { | |
return |
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
TsvHttpData-1.0 | |
http://releases.ubuntu.com/vivid/ubuntu-15.04-desktop-amd64.iso 1150844928 53c869eba8686007239a650d903847fd | |
http://releases.ubuntu.com/vivid/ubuntu-15.04-desktop-i386.iso 1188855808 6ea04093b767ad6778aa245d53625612 |
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
[root] | |
name = "staticfile" | |
version = "0.3.0" | |
dependencies = [ | |
"filetime 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |
"hyper 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)", | |
"iron 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"iron-test 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", | |
"mount 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", |
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
.-^-. | |
/ .-. \ | |
/ / . \ \ | |
/ / | | \ \ | |
/ / | | \ \ | |
/ / V \ \ | |
/ / O \ \ | |
/ (_____________) \ | |
\_________________/ |
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
import os | |
import yaml | |
import csv | |
with open('2.csv', 'r') as csv_file: | |
reader = csv.reader(csv_file) | |
for row in reader: | |
title = row[0] | |
description = row[1] |
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 <windows.h> | |
#include <wincrypt.h> | |
#include <stdio.h> | |
#define HP_HASHVALUE HP_HASHVAL | |
/* This program turns the Driver signing Policy On/Off for Windows XP | |
* Written by Stefan `Sec` Zehl <sec@xxxxxx>, 15.11.2004 | |
* | |
* Thanks to sysinternals.com for regmon and apispy |
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
DEBUG:cargo::build: executing; cmd=cargo-build; args=["/Users/nelson/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/cargo", "build"] | |
DEBUG:cargo::core::workspace: find_root - trying /Users/nelson/code/Cargo.toml | |
DEBUG:cargo::core::workspace: find_root - trying /Users/nelson/Cargo.toml | |
DEBUG:cargo::core::workspace: find_root - trying /Users/Cargo.toml | |
DEBUG:cargo::core::workspace: find_root - trying /Cargo.toml | |
DEBUG:cargo::core::workspace: find_members - only me as a member | |
DEBUG:cargo::core::registry: load/missing file:///Users/nelson/code/dsym_demo | |
DEBUG:cargo::sources::config: loading: file:///Users/nelson/code/dsym_demo | |
DEBUG:cargo::core::resolver: initial activation: dsym_demo v0.1.0 (file:///Users/nelson/code/dsym_demo) | |
DEBUG:cargo::core::registry: load/locked file:///Users/nelson/code/dsym_demo |
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/sh | |
OPTS="" | |
OPTS="$OPTS -enable-kvm" | |
OPTS="$OPTS -cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time" | |
OPTS="$OPTS -machine type=pc-i440fx-2.1,accel=kvm" | |
OPTS="$OPTS -m 8G" | |
OPTS="$OPTS -cdrom win10.iso" | |
OPTS="$OPTS -vnc :1" | |
OPTS="$OPTS -device usb-ehci,id=ehci" |
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
x509Certificate2 is a subclass of x509Certificate: | |
https://github.com/dotnet/corefx/blob/b384b309061c050a31dcf2b8f377f5da244fcf7b/src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate2.cs#L15 | |
x509Certificate2 Filename Constructor: | |
https://github.com/dotnet/corefx/blob/b384b309061c050a31dcf2b8f377f5da244fcf7b/src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate2.cs#L82 | |
x509Certificate2 loads file with null password and default key storage: | |
https://github.com/dotnet/corefx/blob/b384b309061c050a31dcf2b8f377f5da244fcf7b/src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate.cs#L111 | |
Default Key Storage Flags: |