start new:
tmux
start new with session name:
tmux new -s myname
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git hg
brew install osxfuse
(see Mac issues to troubleshoot common errors)#!/bin/sh | |
# copyright 2016 Ratijas & Mac-J studio | |
# WTF Public Licence | |
# sadly, XLD still does not support .ogg files decoding out of the box. | |
# there's instruction with outdated download link: https://hydrogenaud.io/index.php/topic,81239.0.html, | |
# so here we'll recreate all necessary steps needed to patch up your XLD installation. | |
# we will need git, svn and Xcode (with command line tools) | |
# REWRITE following line if your XLD.app is not at /Applications |
# Note: You MUST have curl 7.47+ with http/2 support compiled in | |
curl -v \ | |
-d '{"aps":{"alert":"<message>","badge":42}}' \ | |
-H "apns-topic: <bundle id>" \ | |
-H "apns-priority: 10" \ | |
--http2 \ | |
--cert <certificate file> \ | |
https://api.development.push.apple.com/3/device/<device token> |
browser = 'wdgaB1CilGA-S_s2' # Streams HIGH/LOW Quality over RTMP, FLAC and Videos over HTTP, but many Lossless Streams are encrypted. | |
android = 'kgsOOmYk3zShYrNP' # All Streams are HTTP Streams. Correct numberOfVideos in Playlists (best Token to use) | |
ios = '_DSTon1kC8pABnTw' # Same as Android Token, but uses ALAC instead of FLAC | |
native = '4zx46pyr9o8qZNRw' # Same as Android Token, but FLAC streams are encrypted | |
audirvana = 'BI218mwp9ERZ3PFI' # Like Android Token, supports MQA, but returns 'numberOfVideos = 0' in Playlists | |
amarra = 'wc8j_yBJd20zOmx0' # Like Android Token, but returns 'numberOfVideos = 0' in Playlists | |
# Unkown working Tokens | |
token1 = 'P5Xbeo5LFvESeDy6' # Like Android Token, but returns 'numberOfVideos = 0' in Playlists | |
token2 = 'oIaGpqT_vQPnTr0Q' # Like token1, but uses RTMP for HIGH/LOW Quality | |
token3 = '_KM2HixcUBZtmktH' # Same as token1 |
cask_args appdir: "/Applications" | |
tap "homebrew/cask-fonts" | |
brew "mas" | |
#### LAPTOPS #### | |
#cask "tripmode" | |
#### LAPTOPS #### | |
mas "Boop", id: 1518425043 |
// | |
// PagerView.swift | |
// | |
// Created by Majid Jabrayilov on 12/5/19. | |
// Copyright © 2019 Majid Jabrayilov. All rights reserved. | |
// | |
import SwiftUI | |
struct PagerView<Content: View>: View { | |
let pageCount: Int |
#!/bin/bash | |
rev="12" | |
_log(){ | |
echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log | |
} | |
_log_para(){ | |
echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log |