This short explainer goes through
- where to download your Gains and Losses sheet on one E*Trade account.
- how to quickly estimate taxes owned.
ffmpeg -i input.mp4 -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level 3 -an -vf "scale=-1:1440, reverse" -preset veryslow -g 2 output.mp4 | |
// -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level 3 | |
// Encode for web with a good balance of browser compatibility and compression ratio | |
// -an | |
// Strip audio tracks | |
// -vf "scale=-1:1440, reverse" | |
// Scale video to 1440px wide, maintaining aspect ratio |
import time | |
import threading | |
class BaseThread(threading.Thread): | |
def __init__(self, callback=None, callback_args=None, *args, **kwargs): | |
target = kwargs.pop('target') | |
super(BaseThread, self).__init__(target=self.target_with_callback, *args, **kwargs) | |
self.callback = callback | |
self.method = target |
""" | |
A simple example pyside app that demonstrates dragging and dropping | |
of files onto a GUI. | |
- This app allows dragging and dropping of an image file | |
that this then displayed in the GUI | |
- Alternatively an image can be loaded using the button | |
- This app includes a workaround for using pyside for dragging and dropping |
open -n ./emptyExampleDebug.app/ --args --myargs 1 2 3 4 |
# first: | |
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following: | |
# go to /usr/local/lib and delete any node and node_modules | |
cd /usr/local/lib | |
sudo rm -rf node* |
frame | |
[format "%04i" [frame]] |
using UnityEngine; | |
using System.Collections; | |
public delegate void MetronomeEvent(Metronome metronome); | |
public class Metronome : MonoBehaviour { | |
public int Base; | |
public int Step; | |
public float BPM; | |
public int CurrentStep = 1; |