Skip to content

Instantly share code, notes, and snippets.

View tisaconundrum2's full-sized avatar
🐢
= lambda: [print("🐢", end='') for _ in iter(int, 1)]

Nicholas Finch tisaconundrum2

🐢
= lambda: [print("🐢", end='') for _ in iter(int, 1)]
View GitHub Profile
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Meetup//RemoteApi//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-ORIGINAL-URL:https://www.meetup.com/HUG-Pittsburgh/events/ical/
X-WR-CALNAME:Events - Hadoop Users Group Pittsburgh
BEGIN:VTIMEZONE
TZID:America/New_York
TZURL:http://tzurl.org/zoneinfo-outlook/America/New_York
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Meetup//RemoteApi//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-ORIGINAL-URL:https://www.meetup.com/code-and-coffee-pgh/events/ical/
X-WR-CALNAME:Events - Code & Coffee Pittsburgh
BEGIN:VTIMEZONE
TZID:America/New_York
TZURL:http://tzurl.org/zoneinfo-outlook/America/New_York
We couldn’t find that file to show.
This file has been truncated, but you can view the full file.
-----BEGIN CERTIFICATE-----
UEsDBBQAAAAIAERNbE8ESZjwtwEAAHsDAAAUAAAARGlza1NwYWNlQ2hlY2svMC5q
cGftkTdMHUEQQGdv72737h+YIzk0Fh+wv91YBMfGAuxvQwfGsQNnd+CAbckFmNyR
Q0cOHTlU5NSRU0NOFTkJdOwiQkMB1LzdkVaamdU8jTFkjIFdgNXfCgghSGMHjFHw
AwEhfg/AEubIooglIhPCgyomhVKVEqLaqKpJYxDF9pKNZsvf/BPezrvY1Sih2pkx
GkCncAcFY2QGQUdYR0YLXAdAEtoHDkACFiWZjaSaWEGVHRsfY4ENK4kiy/5jeRB1
yd7Fw0d2CAwh5jBHz8ikHOrqW9boFNS96OYVGh6lqM6Xr1y95n7jpuXWbe+79+4/
ePjI78lT67Pn/gEvgl++ev3m7bv3Hz5++vzl67fvP37+ivj95+//6JjYuPiExOSU
1LT0jMys7Ny8/ILCouKS0vKKyqrqmtq6+qbmlta29o7Orp7evv6BwaHhkfGJyanp
mdm5+YWl5ZXVtfWNza1t7oUAo0NO9NKZl8B2IBLmxZIRvEAXJRcP2d4nkISEOZg9
@tisaconundrum2
tisaconundrum2 / scale-zpl.js
Last active December 5, 2019 17:55 — forked from alethea/scale-zpl.js
(Experimental) Scales a Raw ZPL file from 203 DPI (dots per inch) to 300 DPI
/*
* author: Tres Finocchiaro, updated by Alethea Rose
* date: 2017-07-10
* license: Public Domain; Use as you wish.
* source: http://qz.io
*/
const cmds = {
FO: 2,
PW: null,
This file has been truncated, but you can view the full file.
-----BEGIN CERTIFICATE-----
UEsDBBQAAAAIAEmS2kz+SlE13R4YAACeNAAMAAAAVHN0QXBwMzIuZXhl7Jx/XJTF
9sdn+SHLDwEVBX+CRkk3Qm5a2QtM0ra8XbcWkgJTrybGw/oDIigqUH5oV1owMkqv
1xKEkhQBFZVVlBVQQCDRzCytS0m3xwvWmqhUq3znzOwzq8bOnfv/d18ve2Y/Z+Z9
zpw5M8+zxKKdW4AcEUJO+F9/P0I1iL4i0H9/easQ8vQ/4ImqXdvH16hmt4+fIyW8
EpCUnBifvGh5wOJFK1YkpgS8uCQgOXVFQMKKgMefeTZgeWLckpDBg90CrYyZC5Ld
XaaPiVH+pcz3jx1Nrn6xQ8l1ZGw7uY6KdcNX7Vz/WG9y9Yv1IdeRsXGPgn1sbCBh
jI1Rh4+JGRY7MjZkOlwvxAwiuoFch8WOi4VrVMJiCfzdOSedBqHZKme0YecDLyha
J3JQuas8B6OnJiJUO5hoCT/54wTgxsKJNFvQdkBoELHarijiQZpcYo7IIh29EbJd
2YW8xlRNQhLOKzKHorM+qgGS/gAy3+WIQmcEozkDrEnQzGDkh69rZwTfvoY4zkwP
#!/bin/bash
# [ ] 1. the name or number. If it exists in the directory, then the line should be displayed.
# [ ] 2. both. The entry is displayed if it exists and is added if it doesn’t exist in the file.
# [x] 1. Assign the pathname to the file teledir.txt to a variable, say, TELEDIR.
# [x] For example, if it is in your home directory, you’ll need to assign $HOME/teledir.txt to the variable TELEDIR
# [x] 2. Check that one or two arguments are supplied using $# and the case…esac construct.
# [x] 1. If one or two arguments are supplied, do nothing
# [x] 2. otherwise, Indicate that the usage must be in the form scriptname [name number], then exit
# [x] 3. Using the $# and the case…esac construct,
# You can follow the steps below (not the only way):
#[x] 1. Using the commands who and cut, extract the list of usernames currently
# logged in the system
#[x] 2. To check after a minute, the sleep command can be used: sleep 60
#[x] 3. Get the new list of users logged in after a minute
#[x] 4. For each user in the list;
#[x] 1. check if he is in the second list using if and grep. You can dump the
# output of grep to /dev/null when using it in the as a test for the if
# statement
#[x] 2. If the user is not in the second list, print that the user has logged out
https://askubuntu.com/questions/552503/stop-asking-for-authentication-to-mount-usb-stick
I was able to solve this problem this way.
In the terminal type `gnome-disks`
a UI will pop up with all of your disks
Click on your problem disk
filename = "smal.tsv"
keyname = "someKeyname"
self.data[keyname] = spectral_data(pd.read_csv(filename, header=[0, 1], verbose=True))