ipmitool -I lanplus -H <iDRAC-IP> -U <iDRAC-USER> -P <iDRAC-PASSWORD> sensor reading "Ambient Temp" "FAN 1 RPM" "FAN 2 RPM" "FAN 3 RPM"
| { | |
| "currencies": [ | |
| { | |
| "symbol": "€", | |
| "name": "Euro", | |
| "symbol_native": "€", | |
| "code": "EUR", | |
| "emoji": "🇪🇺" | |
| }, | |
| { |
SOLID represents 5 principles of object-oriented programming: Single responsibility, Open-closed, Liskov Substitution, Interface Segregation and Dependency Inversion.
These principles is to solve the main problems of a bad architecture:
| # addSubview | |
| UIView.transition(with: self.view, duration: 0.25, options: [.transitionCrossDissolve], animations: { | |
| self.view.addSubview(view) | |
| }, completion: nil) | |
| # removeFromSuperview | |
| UIView.transition(with: self.view, duration: 0.25, options: [.transitionCrossDissolve], animations: { | |
| subview.removeFromSuperview() | |
| }, completion: nil) |
| # This code is based on tutorial by slicktechies modified as needed to use oauth token from Twitch. | |
| # You can read more details at: https://www.junian.net/2017/01/how-to-record-twitch-streams.html | |
| # original code is from https://slicktechies.com/how-to-watchrecord-twitch-streams-using-livestreamer/ | |
| import requests | |
| import os | |
| import time | |
| import json | |
| import sys | |
| import subprocess |
| import Foundation | |
| import WebKit | |
| final class WebCacheCleaner { | |
| class func clean() { | |
| HTTPCookieStorage.shared.removeCookies(since: Date.distantPast) | |
| print("[WebCacheCleaner] All cookies deleted") | |
| WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in |
| /* <![CDATA[ */ | |
| //============================================================ | |
| // ZALGO text script by tchouky | |
| //============================================================ | |
| // data set of leet unicode chars | |
| //--------------------------------------------------- | |
| //those go UP | |
| var zalgo_up = [ |