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
# Example usage of state machine class | |
# | |
# | |
# | |
class ns_MouseAction: | |
def __init__(self, action): | |
self.action = action | |
def __str__(self): |
Using google calendar, create a calendar entry. Invite members by email. Assuming you know the email of all members who RSVP for meetup. Use the message function in meetup.com to ask for email if you don't know someone who has RSVP.
In the calendar invite, for the conference location specify hangouts. You do not need GSuite for this currently. For the location specify "online".
Voila! You have a scheduled an online meeting.
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
root@raspberrypi:~# ls -l /usr/src/ | |
total 16 | |
drwxr-xr-x 24 root root 4096 Feb 19 11:46 linux-headers-4.19.97+ | |
drwxr-xr-x 24 root root 4096 Feb 19 11:46 linux-headers-4.19.97-v7+ | |
drwxr-xr-x 24 root root 4096 Feb 19 11:46 linux-headers-4.19.97-v7l+ | |
drwxr-xr-x 3 root root 4096 Feb 13 11:02 sense-hat |
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
Using two wifi access points on debian | |
(Do this to copy and paste to github gist xclip -sel c < file ) | |
Thanks to tds on freenode. | |
Using this guide | |
https://www.shellvoide.com/wifi/setup-wireless-access-point-hostapd-dnsmasq-linux/ | |
Do this as root. It appears i am not in a group for networking. I'll |
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
Using two wifi access points on debian | |
Using this guide | |
https://www.shellvoide.com/wifi/setup-wireless-access-point-hostapd-dnsmasq-linux/ | |
Do this as root. It appears i am not in a group for networking. I'll | |
try to do this again as user davis and update the notes later. | |
Regarding the hardware. I have built in wifi adapter on |
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
# from | |
# https://www.tensorflow.org/beta/tutorials/estimators/boosted_trees | |
# TODO: 2.0 is out now | |
#!pip install tensorflow==2.0.0-rc1 | |
#try: | |
# %tensorflow_version 2.x | |
#except Exception: | |
# pass | |
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
# from | |
# https://www.tensorflow.org/beta/tutorials/estimators/boosted_trees | |
# TODO: 2.0 is out now | |
#!pip install tensorflow==2.0.0-rc1 | |
#try: | |
# %tensorflow_version 2.x | |
#except Exception: | |
# pass | |
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
CREATE TEMP FUNCTION | |
my_corr(x FLOAT64, y FLOAT64) | |
RETURNS FLOAT64 | |
AS ( | |
(x*y) | |
); | |
WITH | |
cte1 (feat, colname, bc) AS ( | |
SELECT col1, 'col1', bc |
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
# from | |
# https://www.tensorflow.org/beta/tutorials/estimators/boosted_trees | |
import numpy as np | |
import pandas as pd | |
from IPython.display import clear_output | |
from matplotlib import pyplot as plt | |
import platform | |
try: | |
%tensorflow_version 2.x | |
except Exception: |