Skip to content

Instantly share code, notes, and snippets.

View skulumani's full-sized avatar

Shankar Kulumani skulumani

View GitHub Profile
@skulumani
skulumani / conda_build.md
Last active March 14, 2024 03:09
Conda Build from PyPi
  1. Use conda skeleton to copy a pypi package
conda skeleton pypi pyinstrument
conda-build pyinstrument
  1. Can install locally using if you copy the tar ball to the ~/anaconda3/conda-bld
conda install --use-local pyinstrument
  1. Build for Python 2.7, 3.4, 3.5 at a minimum
@skulumani
skulumani / 01-basic-vim-setup.md
Last active September 23, 2023 02:12
A minimal vimrc setup for LaTeX on mac and linux

Vim configuration

You can spend lots of time getting vim setup to your liking, and probably never finish customizing. My suggestion is to start small and stick to the basics before going crazy with plugins. While I've included some plugins, the hope is that you can easily get started with LaTeX with a minimal of effort and/or Googling.

Here is a small section of some of the things I've figured out to have vim working for editing LaTeX files easily.

  1. Copy the file below to a file vimrc and start vim vim -u vimrc to use the file. After all your customization if you are happy then save your configuration to ~/.vimrc.

  2. You can then start vim and install the plugins using the command :PlugInstall

#!/bin/bash
# Take a bunch of images and draw an overlay, then form a video
#
# Some useful links:
# https://superuser.com/questions/717103/burn-filenames-of-single-images-into-ffmpeg-output-videou
# https://stackoverflow.com/questions/24961127/how-to-create-a-video-from-images-with-ffmpeg
# https://video.stackexchange.com/questions/21905/how-to-set-pts-time-format-when-using-ffmpeg-filter-to-add-timestamp
# https://video.stackexchange.com/questions/12105/add-an-image-overlay-in-front-of-video-using-ffmpeg
# https://itimagination.com/ffmpeg-image-sequence-video-date-overlay-based-timestamps/
@skulumani
skulumani / README.md
Last active March 7, 2021 23:56
CID Insurgency map download
@skulumani
skulumani / README.md
Last active February 15, 2021 14:46
Counter Strike Configs
-tickrate 128 +fps_max 0 -novid -nojoy +exec autoexec.cfg

Mouse sensitivity

  • Logitech G305 800 DPI - higher DPI is better according to BattleNonsense
  • 12 inches per 180 deg turn
@skulumani
skulumani / readme.md
Created June 8, 2020 01:32
PopOS Dual Boot
  1. Ensure systemd boot menu shows up
sudo vim /boot/efi/loader/loader.conf

Add the following line - for 5 second timeout

@skulumani
skulumani / DxDiag.txt
Created April 12, 2019 16:19
DXDIAG System Specs
------------------
System Information
------------------
Time of this report: 4/12/2019, 12:10:29
Machine name: DESKTOP-45QII02
Machine Id: {A77E1724-52B9-4329-B6FE-4D990CAA54B0}
Operating System: Windows 10 Education 64-bit (10.0, Build 17763) (17763.rs5_release.180914-1434)
Language: English (Regional Setting: English)
System Manufacturer: To Be Filled By O.E.M.
System Model: To Be Filled By O.E.M.
@skulumani
skulumani / .travis.yml
Last active December 7, 2018 20:00
miniconda with travis ci
language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "2.7"
- "3.5"
- "3.6"
install:
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
@skulumani
skulumani / log.gist
Created November 26, 2018 13:30
20181126_signal_desktop log
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Signal/1.18.0 Chrome/61.0.3163.100 Electron/2.0.8 Safari/537.36 node/8.9.3 env/production
INFO 2018-11-26T12:40:36.153Z app ready
INFO 2018-11-26T12:40:36.159Z key/initialize: Generating new encryption key, since we did not find it on disk
INFO 2018-11-26T12:40:37.238Z config/set: Saving user config to disk
INFO 2018-11-26T12:40:37.244Z updateSchema: Current schema version: 0; Most recent schema version: 5; SQLite version: 3.20.1; SQLCipher version: 3.4.2;
INFO 2018-11-26T12:40:37.245Z updateToSchemaVersion1: starting...
INFO 2018-11-26T12:40:38.352Z updateToSchemaVersion1: success!
INFO 2018-11-26T12:40:38.352Z updateToSchemaVersion2: starting...
INFO 2018-11-26T12:40:38.378Z updateToSchemaVersion2: success!
INFO 2018-11-26T12:40:38.378Z updateToSchemaVersion3: starting...
@skulumani
skulumani / README.md
Last active October 21, 2018 19:15
PGP Public Keys

To move to a new system

  • Install dependencies
sudo apt-get install -y gnupg2 gnupg-agent scdaemon pcscd

or for MacOS