Powerlevel10k config with Tony Lambiris's style
If you want your prompt to look like Tony Lambiris's but without the lag and bugs of Powerlevel9k, this config is for you.
Ported from tonylambiris/dotfiles/dot.zshrc.
; Based on https://superuser.com/a/768060/542406 | |
!`:: ; Next window | |
WinGet, ActiveProcessName, ProcessName, A | |
WinGet, WinClassCount, Count, ahk_exe %ActiveProcessName% | |
IF WinClassCount = 1 | |
Return | |
Else | |
WinSet, Bottom,, A | |
WinActivate, ahk_exe %ActiveProcessName% | |
return |
If you want your prompt to look like Tony Lambiris's but without the lag and bugs of Powerlevel9k, this config is for you.
Ported from tonylambiris/dotfiles/dot.zshrc.
# Clean out MDM registration info from machine, in attempt to fix Intune enrollment problems with Windows 10 | |
# after a user reboots, the enrollment process should kick off again. | |
# This special edition, also disables workplace join, as an attempt to mitigate issues with devices previously AAD Registered. | |
# This script has fixed Error codes 0x80180023 and 0x8018002b at some of my customers sites, even without reboot in some cases. | |
# By Michael Mardahl @ Apento.com - @michael_mardahl | |
# Should be run as system user | |
#Disable workplace join if that is happening beyond your control. | |
#Get-ScheduledTask -TaskName "Automatic-Device-Join" | Disable-ScheduledTask |
// Save this file somewhere as spotify.preload.c | |
// Then build the library: | |
// gcc -fPIC -shared -o ~/spotify.preload.so spotify.preload.c -ldl | |
// When you execute spotify, you need to preload this library, which wraps the "setsockopt" function call with another function that gives spotify the results it expects: | |
// LD_PRELOAD=~/spotify.preload.so spotify | |
// To make the desktop icon work, edit: /usr/share/applications/spotify.desktop | |
// Change Exec=... to: |
. | |
.. | |
........ | |
@ | |
* | |
*.* | |
*.*.* | |
🎠| |
0 |
using System; | |
using System.Threading; | |
using System.Diagnostics; | |
namespace csgo_walls { | |
public class Glow { | |
public static int Client; | |
public static string process = "csgo"; |
# Install ARCH Linux with encrypted file-system and EFI on 8,2 MacBook. | |
# The official installation guide contains a more verbose description: | |
# https://wiki.archlinux.org/index.php/Installation_Guide | |
# Resize "Macintosh HD" to make room for Linux. This works live, including with | |
# whole-disk encryption (WDE, FileVault). Ensure backups are current, of course, | |
# before proceeding | |
diskutil list | |
diskutil cs list | |
# Ensure all data will fit in 250G, with some to spare! |
GNOME's tracker is a CPU and privacy hog. There's a pretty good case as to why it's neither useful nor necessary here: http://lduros.net/posts/tracker-sucks-thanks-tracker/
After discovering it chowing 2 cores, I decided to go about disabling it.
Directories
ffmpeg -i test.mov -vcodec libx264 -vf 'scale=640:trunc(ow/a/2)*2' -acodec aac -vb 1024k -minrate 1024k -maxrate 1024k -bufsize 1024k -ar 44100 -strict experimental -r 30 out.mp4 |
package main | |
import ( | |
"bytes" | |
"fmt" | |
"github.com/gorilla/mux" | |
grpc "github.com/gorilla/rpc" | |
"github.com/gorilla/rpc/json" | |
"log" | |
"net/http" |