Finding Out Hardware Details Without Opening The Computer Case > dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware.
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
#!/bin/bash | |
# Prameters | |
PLAYLIST_ID=$1; | |
TYPE=$2; | |
# Constants | |
FOLDER="$HOME/Youtube"; | |
PROGRAM_DATA="$(pwd)/yt-playlist-downloader" |
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
<code_scheme name="Airbnb"> | |
<option name="RIGHT_MARGIN" value="100" /> | |
<option name="HTML_ATTRIBUTE_WRAP" value="4" /> | |
<option name="HTML_ELEMENTS_TO_INSERT_NEW_LINE_BEFORE" value="" /> | |
<option name="HTML_ENFORCE_QUOTES" value="true" /> | |
<DBN-PSQL> | |
<case-options enabled="false"> | |
<option name="KEYWORD_CASE" value="lower" /> | |
<option name="FUNCTION_CASE" value="lower" /> | |
<option name="PARAMETER_CASE" value="lower" /> |
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
sudo pacman -S bumblebee nvidia primus mesa lib32-virtualgl lib32-nvidia-utils lib32-primus opencl-nvidia lib32-opencl-nvidia |
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
#!/bin/bash | |
# Generate random client name | |
clientName=$(/bin/cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1) | |
# Build client key | |
cd /etc/openvpn/easy-rsa/ | |
source vars | |
/etc/openvpn/easy-rsa/pkitool $clientName | |
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
swagger: '2.0' | |
info: | |
title: EVE Online Crest | |
description: Documentation for EVE Online third-party developers. | |
version: "0.0.1" | |
# the domain of the service | |
host: crest-tq.eveonline.com | |
securityDefinitions: |
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
use OpenCrest\OpenCrest; | |
// -------------- | |
// NEW Async mode | |
// We will monitor time | |
$asyncStart = microtime(true); | |
// Make use of new Async | |
OpenCrest::$async = True; |
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
array (size=100) | |
0 => | |
array (size=2) | |
'id' => int 11000001 | |
'name' => string 'A-R00001' (length=8) | |
1 => | |
array (size=2) | |
'id' => int 11000002 | |
'name' => string 'A-R00002' (length=8) | |
2 => |
NewerOlder