Skip to content

Instantly share code, notes, and snippets.

@evgenyneu
evgenyneu / setup_cursor_ubuntu.md
Last active May 9, 2025 14:13
Install Cursor AI code editor on Ubuntu 24.04 LTS

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage
@stefanondisponibile
stefanondisponibile / build.sh
Created October 29, 2019 20:14
Build TensorFlow Serving with Sentencepiece custom ops.
#!/bin/bash
CWD=$(pwd)
GPROTOBUF_URL=https://github.com/protocolbuffers/protobuf/releases/download/v3.7.0/protobuf-cpp-3.7.0.tar.gz
compile_gprotobuf () {
sudo apt-get install autoconf automake libtool curl make g++ unzip &&
wget $GPROTOBUF_URL &&
fname=protobuf-cpp-3.7.0.tar.gz &&
tar xvzf $fname && rm $fname &&
@extrabacon
extrabacon / set-keep-alives.sh
Last active June 22, 2023 20:04
TCP keep-alives on Mac
sudo sysctl -w net.inet.tcp.keepidle=20000
sudo sysctl -w net.inet.tcp.keepintvl=20000
sudo sysctl -w net.inet.tcp.keepinit=20000
sudo sysctl -w net.inet.tcp.always_keepalive=1
@davispuh
davispuh / steam_console_params.txt
Last active May 9, 2025 03:55
Steam client parameters, consoles commands and variables
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-batterytestmode - rapidly cycle battery percentages for testing
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load