Note: I configured this thinkfan setup for my old Thinkpad w520 on Ubuntu 17.10.
Install lm-sensors
and thinkfan
.
sudo apt-get install lm-sensors thinkfan
brew install ffmpeg | |
ffmpeg -i /path/to/input/file /path/to/output.mp4 |
#Requires AutoHotkey v2.1-alpha.9 | |
; for v2.1.alpha.9 users | |
class RECT { | |
left : i32 | |
top : i32 | |
right : i32 | |
bottom: i32 | |
} |
4U612-DN31H-MJEJ0-0V0Z4-978HD | |
5G44H-ACH50-0J4C9-1VC5P-CY0QD | |
JC000-8G047-MJDF1-0H3E6-8QR5F | |
JV2NU-0XL5N-0J4Q8-0T0E6-8GH56 | |
JZ6E0-4R1E0-HJ1Q0-1R8NH-3AK28 | |
0Z48K-4X29Q-MJE80-113GK-C7K3A | |
HF4H0-46K80-MJ8D9-1KAZP-CKK12 | |
NY69H-2N05P-HJ170-1V1ZM-CG222 | |
4C45A-D8J0H-HJ5T0-1T25H-92A76 | |
0Z4H2-0WK9K-4JE10-0T9G6-9C8M4 |
{ | |
"com.8bit.bitwarden": " ", | |
"com.agilebits.onepassword-ios": "onepassword://", | |
"com.apple.airport.mobileairportutility": "apmanage://", | |
"com.apple.appleseed.FeedbackAssistant": "applefeedback://", | |
"com.apple.AppStore": "itms-apps://itunes.apple.com/", | |
"com.apple.AppStoreConnect": "shortcuts://run-shortcut?name=Icon%20Themer&input=%7B%22launch%22%3A%22Connect%22%7D", | |
"com.apple.artistconnect": "shortcuts://run-shortcut?name=Icon%20Themer&input=%7B%22launch%22%3A%22Artists%22%7D", | |
"com.apple.bnd": "beatsbond://", | |
"com.apple.Bridge": "com.apple.bridge://x", |
(ns aws.s3 | |
(:refer-clojure :exclude [get]) | |
(:use [clojure.walk :only (keywordize-keys stringify-keys)] | |
[clojure.contrib.def :only (defonce-)] | |
[clojure.contrib.json :only (read-json write-json)]) | |
(:import [java.io PrintWriter InputStreamReader ByteArrayInputStream ByteArrayOutputStream] | |
[java.util.zip GZIPInputStream GZIPOutputStream] | |
[com.google.common.base Charsets] | |
[com.amazonaws.services.s3 AmazonS3Client] | |
[com.amazonaws.services.s3.model Region CreateBucketRequest ObjectMetadata |
const anagramWords = (input) => { | |
let sameWord = {}; | |
for (let i = 0; i < input.length; i++) { | |
const sorted = input[i].split(""); | |
for (let j = 0; j < sorted.length; j++) { | |
for (let k = 0; k < sorted.length - j - 1; k++) { | |
if (sorted[k] > sorted[k + 1]) { | |
let temp = sorted[k]; |
// ___ ___ ___ | |
// _____ / /\ ___ ___ / /\ / /\ | |
// / /::\ / /:/_ / /\ / /\ / /:/_ / /::\ | |
// / /:/\:\ / /:/ /\ / /:/ / /:/ / /:/ /\ / /:/\:\ | |
// / /:/~/::\ / /:/ /:/_ / /:/ / /:/ / /:/ /:/_ / /:/~/:/ | |
// /__/:/ /:/\:| /__/:/ /:/ /\ / /::\ / /::\ /__/:/ /:/ /\ /__/:/ /:/___ | |
// \ \:\/:/~/:/ \ \:\/:/ /:/ /__/:/\:\ /__/:/\:\ \ \:\/:/ /:/ \ \:\/:::::/ | |
// \ \::/ /:/ \ \::/ /:/ \__\/ \:\ \__\/ \:\ \ \::/ /:/ \ \::/~~~~ | |
// \ \:\/:/ \ \:\/:/ \ \:\ \ \:\ \ \:\/:/ \ \:\ | |
// \ \::/ \ \::/ \__\/ \__\/ \ \::/ \ \:\ |
# -*- coding: utf8 -*- | |
import socket | |
# host = socket.gethostname() | |
# port = 5000 | |
host = '192.168.0.100' # 對server端為主機位置 | |
port = 5555 | |
address = (host, port) |