- http://linuxlinx.com/2016/08/fix-no-wireless-on-macbook-after.html for getting wifi working
- https://itsfoss.com/fix-no-wireless-network-ubuntu/ more generic instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=New deals pipeline shiny python app | |
After=network.target | |
StartLimitIntervalSec=0 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=1 | |
User=ec2-user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Jupyter Notebook | |
After=syslog.target network.target | |
Requires=syslog.socket | |
[Service] | |
Type=simple | |
User=wjadams | |
WorkingDirectory=/home/wjadams/Documents | |
PIDFile=/run/jupyter.pid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% lock in script | |
% to run script the NI-488.2 driver is nessary | |
%lockinamp is the stanford research systems model sr810 dsp lock-in | |
%amplifier | |
%funcgen is the rohde & schwarz signal generator smy01 | |
lockinamp = 0; | |
funcgen = 0; | |
lockinamp = visadev("GPIB0::8::INSTR"); | |
funcgen = visadev("GPIB0::28::INSTR"); | |
stfr = 18500; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# This is a simple script that needs the tkinter and pandas libraries | |
# to test pyinstaller correctly wrapping these libraries.ex | |
import pandas as pd | |
from tkinter.filedialog import askopenfilename | |
filename = askopenfilename(initialdir="../data") | |
if filename is None: | |
exit(0) | |
df = pd.read_excel(filename) | |
print(df.head()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
def f(p,t,m,vi): | |
return np.sqrt(2*p*t/m+vi**2) | |
vi=0 # starts at rest | |
m = 1000 # in kg | |
delta_t=0.01 | |
# Peak horsepower at wheel | |
p = 700 * 747 # 700 hp * 747 conversion to Watts | |
total_dist = 0.25 * 1609.344 | |
dist = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo hcitool cmd 0x3F 0x01C 0x01 0x02 0x00 0x01 0x01 |
On SELinux systems (including fedora) you need to allow the system to execute things in the anaconda directory. To do this you need to run (replacing /home/wjadams with your home directory)
sudo semanage fcontext -a -t bin_t '/home/wjadams/anaconda3/bin.*'
sudo chcon -Rv -u system_u -t bin_t '/home/wjadams/anaconda3/bin'
sudo restorecon -R -v '/home/wjadams/anaconda3/bin'
And then the system should allow you to run jupyter-notebook
from that directory
- Install spotify from here:
# 1. Add the Spotify repository signing keys to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
# 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
# 3. Update list of available packages
- Instructions for port forwarding apache to shiny server
#As root do a2enmod rewrite a2enmod headers a2enmod proxy a2enmod proxy_http a2enmod proxy_wstunnel
NewerOlder