ip addr sh zt0 | grep 'inet' ip a ip addr sh zthnhjmvln | grep 'inet' sudo nems-quickfix sudo sysctl net.ipv4.ip_forward sudo nano /etc/sysctl.conf sudo sysctl -p sudo sysctl net.ipv4.ip_forward ip link show
|= (ZIPFile) =>|
|// expects full path to the ZIP file, only extracts the first data file after getting its size from the central directory|
|//read the entire ZIP file into memory - we'll use it often so this is worth it|
|Source = Binary.Buffer(File.Contents(ZIPFile)),|
|// get the full size of the ZIP file|
|Size = Binary.Length(Source),|
|//Find the start of the central directory at the sixth to last byte|
Route all traffic with a raspberry pi like a VPN.
- get raspbian up and running https://www.raspberrypi.org/downloads/raspbian/
- turn on ssh https://www.raspberrypi.org/documentation/remote-access/ssh/README.md
- maybe update your packages
This is way more complicated than it should be. The following conditions need to be met :
- need to be able to track and merge in upstream changes
- don't want remote commit messages in master
- only interested in sub-directory of another repo
- needs to go in a subdirectory in my repo.
In this particular case, I'm interested in bringing in the 'default' template of jsdoc as a sub-directory in my project so I could potentially make changes to the markup it genereates while also being able to update from upstream if there are changes. Ideally their template should be a separate repo added to jsdoc via a submodule -- this way I could fork it and things would be much easier.... but, it is what it is.
After much struggling with git, subtree and git-subtree, I ended up finding this http://archive.h2ik.co/2011/03/having-fun-with-git-subtree/ -- it basically sets up separate branches from tracking remote, the particular sub-directory, and uses git subtree contrib module to pull it all togther. Following are
|from IPython.lib.display import Audio|
|import numpy as np|
|framerate = 4410|
|play_time_seconds = 3|
|t = np.linspace(0, play_time_seconds, framerate*play_time_seconds)|
|audio_data = np.sin(2*np.pi*300*t) + np.sin(2*np.pi*240*t)|
|Audio(audio_data, rate=framerate, autoplay=True)|
Microsoft office and Chrome not working on catalina patcher (Solution) (self.CatalinaPatcher) submitted 4 months ago by jareza Hi! mandatory introduction: I have a mid 2009 Macbook Pro that has Catalina Installed using Dos dude patcher. Works Great However trying to open Google Chrome gave me an error. That same error was given when trying to open microsoft office.
|' AutoFiltro Macro|
|' Atalho do teclado: Ctrl+Shift+F|