.times
: execute block x number of times - Ex:5.times { puts "executed" }
- execute if true statements can be added to the end of a line:
puts "true" if true
slmgr -ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D | |
slmgr -skms kms.03k.org | |
slmgr -ato | |
slmgr -dlv |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\shell\Check Hash] | |
"SubCommands"="MACTripleDES;MD5;RIPEMD160;SHA1;SHA256;SHA384;SHA512" | |
"MUIVerb"="Check Hash" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MACTripleDES] |
#!/bin/bash | |
modprobe tcp_bbr | |
echo "tcp_bbr" | sudo tee --append /etc/modules-load.d/modules.conf | |
echo "net.core.default_qdisc=fq" | sudo tee --append /etc/sysctl.conf | |
echo "net.ipv4.tcp_congestion_control=bbr" | sudo tee --append /etc/sysctl.conf | |
sysctl -p | |
sysctl net.ipv4.tcp_available_congestion_control | |
sysctl net.ipv4.tcp_congestion_control | |
lsmod | grep bbr |
#!/usr/bin/env ruby | |
#CHEATSHEET_DIR = ".cheatsheets" | |
cheatsheet = File.open("#{CHEATSHEET_DIR}/rails_cheatsheet.txt", "r") | |
reader = ->line { puts line } | |
cheatsheet.each_line &reader |
<?xml version="1.0" encoding="utf-8"?> | |
<spnOverrides> | |
<!-- Afghanistan --> | |
<spnOverride numeric="41201" spn="AWCC" /> | |
<spnOverride numeric="41240" spn="Areeba" /> | |
<spnOverride numeric="41250" spn="Etisalat" /> | |
<spnOverride numeric="41220" spn="Roshan" /> | |
<!-- Albania --> | |
<spnOverride numeric="27601" spn="AMC" /> |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<plist version="1.0"> | |
<dict> | |
<key>iTunesMacVersion</key> | |
<string>12.8</string> | |
<key>iPodSoftwareVersions</key> | |
<dict> | |
<key>24</key> | |
<dict> |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<plist version="1.0"> | |
<dict> | |
<key>iTunesMacVersion</key> | |
<string>12.8</string> | |
<key>iPodSoftwareVersions</key> | |
<dict> | |
<key>24</key> | |
<dict> |
{ | |
"version" : 1, | |
"initialAssetCount" : 4, | |
"assets" : [ | |
{ | |
"id" : "829E69BA-BB53-4841-A138-4DF0C2A74236", | |
"url-1080-SDR" : "https://sylvan.apple.com/Aerials/2x/Videos/LA_A006_C008_2K_SDR_HEVC.mov", | |
"url-1080-HDR" : "https://sylvan.apple.com/Aerials/2x/Videos/LA_A006_C008_2K_HDR_HEVC.mov", | |
"url-4K-SDR" : "https://sylvan.apple.com/Aerials/2x/Videos/LA_A006_C008_4K_SDR_HEVC.mov", | |
"url-4K-HDR" : "https://sylvan.apple.com/Aerials/2x/Videos/LA_A006_C008_4K_HDR_HEVC.mov", |
[ | |
{ | |
"id" : "73F3F654-9EC5-4876-8BF6-474E22029A49", | |
"assets" : [ | |
{ | |
"url" : "http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/comp_GL_G004_C010_v03_6Mbps.mov", | |
"accessibilityLabel" : "Greenland", | |
"type" : "video", | |
"id" : "D388F00A-5A32-4431-A95C-38BF7FF7268D", | |
"timeOfDay" : "day" |