The spec has moved to a repo: https://github.com/defunctzombie/package-browser-field-spec to facilitate collaboration.
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
/// generate a csr given a key | |
openssl req -new -key somefile.key -out somefile.csr | |
/// order of certificates for positive ssl chain | |
cat domain.crt PositiveSSLCA.crt UTNAddTrustServerCA.crt AddTrustExternalCARoot.crt > domain_chain.crt |
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
# backports | |
# deb http://backports.debian.org/debian-backports squeeze-backports main | |
# install from specific release | |
apt-get -t squeeze-backports install "package" |
Whenever you have a fork of a project which you intend to contribute, you will find it useful to stay up to date with the code from the upstream project you have cloned.
This can be easily accomplished by adding additional "remotes".
Using the engine.io-client repo as the base example.
Assuming you have forked the project on github and then cloned your fork locally.
cd engine.io-client
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
*PPD-Adobe: "4.3" | |
*% | |
*% For information on using this, and to obtain the required backend | |
*% script, consult http://www.openprinting.org/ | |
*% | |
*% This file is published under the GNU General Public License | |
*% | |
*% PPD-O-MATIC (4.0.0 or newer) generated this PPD file. It is for use with | |
*% all programs and environments which use PPD files for dealing with | |
*% printer capability information. The printer must be configured with the |
To limit a CPU to a certain C-state, you can pass the processor.max_cstate=X
option in the kernel
line of /boot/grub/grub.conf
.
Here we limit the system to only C-State 1:
kernel /vmlinuz-2.6.18-371.1.2.el5 ... processor.max_cstate=1
On some systems, the kernel can override the BIOS setting, and the parameter intel_idle.max_cstate=0
may be required to ensure sleep states are not entered:
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
const HID = require("node-hid"); | |
const vendorId = 4617; | |
const productId = 17185; | |
async function main() { | |
const device = new HID.HID(vendorId, productId); | |
device.on("error", (err) => { | |
console.error(err); |
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
{ | |
"action": { | |
"type": "SAVE_PANEL_CONFIGS", | |
"payload": { | |
"configs": [ | |
{ | |
"id": "onboarding.welcome!24okipi", | |
"config": {} | |
} | |
] |
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
"syntax": "proto3", | |
"root": { | |
"name": "", | |
"fullName": "", | |
"syntaxType": "ProtoRoot", | |
"nested": { | |
"Person": { | |
"name": "Person", | |
"fullName": ".Person", |
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
const worker = new Worker(new URL("./worker.js", import.meta.url)); | |
const input = document.createElement("input"); | |
input.type = "file"; | |
document.body.appendChild(input); | |
input.onchange = (ev) => { | |
const file = ev.target.files[0]; | |
worker.postMessage({ file }); | |
}; |
OlderNewer