- Press the Windows key.
- Type Notepad in the search field.
- In the search results, right-click Notepad and select Run as administrator.
- From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts
- Make the necessary changes to the file.
- Click File > Save to save your changes.
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
Host some-alias-a | |
... | |
Host some-alias-b | |
... | |
Host * | |
Compression yes | |
AddressFamily inet | |
Ciphers blowfish-cbc |
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
kern.maxfiles=50000 | |
kern.maxfilesperproc=50000 | |
# 10GBe tuning (recommended: https://studionetworksolutions.zendesk.com/hc/en-us/articles/218325983?input_string=globalsan+trial%3A+disk+utility+reports+iscsi+drives+as+larger+than+they+are) | |
net.inet.tcp.sendspace=2097152 | |
net.inet.tcp.recvspace=2097152 | |
net.inet.tcp.delayed_ack=0 | |
# 10GB, Yosemite+ recommended: https://fasterdata.es.net/host-tuning/osx/ | |
net.inet.tcp.win_scale_factor=8 | |
net.inet.tcp.autorcvbufmax=33554432 |
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
ATOM BIOS Rom: | |
SubsystemVendorID: 0x1043 SubsystemID: 0x044c | |
IOBaseAddress: 0x0000 | |
Filename: AS01U3.bin | |
BIOS Bootup Message: | |
6798HB.15.23.0.1.AS01.U3 | |
PCI ID: 1002:6798 | |
Connector at index 0 | |
Type [@offset 45454]: DisplayPort (10) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ACPI</key> | |
<dict> | |
<key>DSDT</key> | |
<dict> | |
<key>Debug</key> | |
<false/> |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by rtorrent configure 0.9.6, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --prefix=/opt/lsw/stack/tools/rtorrent-0.9.6 | |
## --------- ## | |
## Platform. ## |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by rtorrent configure 0.9.6, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure --with-gnu-ld --with-xmlrpc-c=/export/home/tomj/.local/rtorrent/0.9.6-PS-1.2-dev/bin/xmlrpc-c-config CXXFLAGS=-O2 -m64 -Wno-deprecated-declarations -Wno-terminate LDFLAGS=-Wl,-rpath,/export/home/tomj/.local/rtorrent/0.9.6-PS-1.2-dev/lib -L/export/home/tomj/.local/rtorrent/0.9.6-PS-1.2-dev/lib LIBS= CPPFLAGS=-I /export/home/tomj/.local/rtorrent/0.9.6-PS-1.2-dev/include -I/usr/include/ncurses CFLAGS=-O2 -m64 -Wno-deprecated-declarations PKG_CONFIG_PATH=/export/home/tomj/.local/rtorrent/0.9.6-PS-1.2-dev/lib/pkgconfig --no-create --no-recursion | |
## --------- ## | |
## Platform. ## |
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
--- /export/home/tomj/ps-orig/patches/ui_pyroscope.cc 2018-09-02 01:18:51.671665731 +0000 | |
+++ src/ui_pyroscope.cc 2018-09-08 03:16:15.598931795 +0000 | |
@@ -176,14 +176,14 @@ | |
// convert absolute timestamp to approximate human readable time diff (5 chars wide) | |
std::string elapsed_time(unsigned long dt, unsigned long t0) { | |
- if (dt == 0) return std::string("⋆ ⋆⋆ "); | |
+ if (dt == 0) return std::string(". .. "); | |
- const char* unit[] = {"”", "’", "h", "d", "w", "m", "y"}; |
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
MemTotal: 511928 kB | |
MemFree: 75764 kB | |
MemAvailable: 408068 kB | |
Buffers: 6524 kB | |
Cached: 365860 kB | |
SwapCached: 0 kB | |
Active: 323280 kB | |
Inactive: 56296 kB | |
Active(anon): 9064 kB | |
Inactive(anon): 164 kB |
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
#include <fcntl.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define BUFFSIZE 512 | |
#define err(mess) { fprintf(stderr,"Error: %s.", mess); exit(1); } |
OlderNewer