This is a compilation of information I found in different postings on the net.
tmux can be invoked in command mode using tmux -CC. The simplest way to get a remote tmux session into a window of iterm is to invoke it on the remote host
| import { defineComponent, computed, ref } from '@vue/composition-api' | |
| interface User { | |
| firstName: string | |
| lastName: number | |
| } | |
| export default defineComponent({ | |
| props: { | |
| user: { |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, | |
| sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; | |
| font-size: 16px; | |
| line-height: 1.5; | |
| word-wrap: break-word; | |
| color: #24292e; | |
| background-color: #fff; | |
| } |
This is a compilation of information I found in different postings on the net.
tmux can be invoked in command mode using tmux -CC. The simplest way to get a remote tmux session into a window of iterm is to invoke it on the remote host
| //dijkstra solve graph starting at s | |
| function solve(graph, s) { | |
| var solutions = {}; | |
| solutions[s] = []; | |
| solutions[s].dist = 0; | |
| while(true) { | |
| var parent = null; | |
| var nearest = null; | |
| var dist = Infinity; |
| ''' | |
| Basic tail command implementation | |
| Usage: | |
| tail.py filename numlines | |
| ''' | |
| import sys | |
| import linecache |
| #!/bin/bash | |
| sudo pkill -9 OneDrive | |
| sudo rm -rf /Applications/OneDrive.app/ | |
| sudo rm /Library/LaunchAgents/com.microsoft.OneDriveStandaloneUpdater.plist | |
| sudo rm /Library/LaunchDaemons/com.microsoft.OneDriveStandaloneUpdaterDaemon.plist | |
| sudo rm /Library/LaunchDaemons/com.microsoft.OneDriveUpdaterDaemon.plist | |
| sudo rm -rf /Library/Logs/Microsoft/OneDrive | |
| sudo rm /private/var/db/receipts/com.microsoft.OneDrive-mac.bom |
see https://developers.google.com/youtube/iframe_api_reference
const id = getChannelID() || getOriginalAlbumID
$('ytmusic-app').navigate_(id)note: albumID needs to be in original format, like in this link https://music.youtube.com/browse/MPREb_QzG0rdjYht1
and not like the address that it redirects to (https://music.youtube.com/playlist?list=OLAK5uy_kbMeriANLfv4JxNm5KlbyPwq1GmgCjmkY)