Skip to content

Instantly share code, notes, and snippets.

@choco-bot
choco-bot / FilesSnapshot.xml
Created Jun 27, 2021
vim-tux.portable v8.2.3055 - Passed - Package Tests Results
View FilesSnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\vim-tux.portable\vim-tux.portable.nupkg" checksum="47799DBE310E84B5DDDE9C8A16CD5274" />
<file path="C:\ProgramData\chocolatey\lib\vim-tux.portable\vim-tux.portable.nuspec" checksum="6A2E5C9E777FCCB8F461EB8800045A36" />
<file path="C:\ProgramData\chocolatey\lib\vim-tux.portable\tools\chocolateyinstall.ps1" checksum="5E4D5FF9BC91135E1530F32B47884227" />
<file path="C:\ProgramData\chocolatey\lib\vim-tux.portable\tools\chocolateyuninstall.ps1" checksum="C38DC9186C1C1983C9F242E0D5B9CA46" />
<file path="C:\ProgramData\chocolatey\lib\vim-tux.portable\tools\LICENSE.txt" checksum="B6EB9D541DE3933CC8F48125AE0335FE" />
<file path="C:\ProgramData\chocolatey\lib\vim-tux.portable\tools\VERIFICATION.txt" checksum="34A17D3D2B6F8882D434592541039558" />
<file path="C:\ProgramData\chocolatey\lib\vim
@nathanleclaire
nathanleclaire / ffmpeg_dark_magic.md
Created Jun 27, 2021
Encode YouTube compatible video file of just one image with audio using ffmpeg
View ffmpeg_dark_magic.md

Trying to crank out a video which is:

  1. YouTube compatible
  2. Small-ish
  3. Preserves lossless audio
  4. Doesn't crash VLC, etc. (this happened embedding a FLAC direct in a WMV)
  5. Encodes as quickly as possible

So far, the best I've come up with is as follows:

@candeira
candeira / ubuntu-ec2-init.sh
Created Jun 27, 2021 — forked from ned2/ubuntu-ec2-init.sh
A Bash script for initialising a clean Ubuntu installation and user account with a pyenv-based workflow.
View ubuntu-ec2-init.sh
#!/usr/bin/env bash
# Author: Ned Letcher
#
# This bash script is designed to configure a clean Ubuntu installation (eg new
# EC2 instance) with a somewhat opionated set of packages and tools for working
# on Python projects. In addition to installing a range of packages for dev
# work, it installs pyenv for the current user, overwriting the current .profile
# and modifying the existing .bashrc to make sure pyenv is configured correctly.
View python39Packages.pymatgen-lammps
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
View python39Packages.lammps-cython
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
View python38Packages.textacy
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
View python38Packages.pymatgen-lammps
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
View python38Packages.lammps-cython
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
View python38Packages.dftfit
warning: ignoring the user-specified setting 'experimental-features', because it is a restricted setting and you are not a trusted user
warning: ignoring the user-specified setting 'sandbox', because it is a restricted setting and you are not a trusted user
building '/nix/store/8hhiqix978xl44rvv2kvbjwb9rdhy0ab-python3.8-pydantic-1.8.2.drv'...
building '/nix/store/8xly2s67pb7i8rxx2ypwgfa5jn3n1zvq-python3.9-pydantic-1.8.2.drv'...
running post-build-hook '/nix/store/raagz0zljx0j8nlgya0rhlc6xyyn292c-post-build-postgres-0.1.0/bin/post-build-hook'...
running post-build-hook '/nix/store/raagz0zljx0j8nlgya0rhlc6xyyn292c-post-build-postgres-0.1.0/bin/post-build-hook'...
building '/nix/store/p7c3kcpgmdyhpalkcbmxlsy65p8cw46r-python3.8-monty-2021.3.3.drv'...
building '/nix/store/l02p87bgcha8caz8qn15y95nssr3rjzp-python3.8-thinc-8.0.3.drv'...
running post-build-hook '/nix/store/raagz0zljx0j8nlgya0rhlc6xyyn292c-post-build-postgres-0.1.0/bin/post-build-hook'...
View gist:7bd43a0d26b7dd527628583b41aeddc8
// Story point estimation, using Trello API, then exporting to CSV
const fs = require ('fs')
const axios = require('axios')
const key = 'YOUR TRELLO API KEY'
const token = ''YOUR TRELLO TOKEN''
async function getBoards () {
return axios.get('https://trello.com/1/boards/YOURBOARD/cards', {
params: {