⌘T | go to file |
⌘⌃P | go to project |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
⌃ ` | python console |
⌘⇧N | new window (useful for new project) |
This file contains 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 analytics | |
from piplapis.search import SearchAPIRequest | |
def enhance_segment_user(user): | |
resp = SearchAPIRequest(email=user.email, | |
first_name=user.first_name, | |
last_name=user.last_name, | |
show_sources='matching').send() |
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 42 columns, instead of 22 in line 2.
This file contains 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
Timestamp,First and Last Name,Hummingbird,Bluejay,Dolphin,Squirrel,Mouse,Sheep,Kangaroo,Owl,Cat,Toad,Frog,Ptarmigan,Elephant,Tapir,Gecko,Starling,Whale,Starfish,Pig,Dog,Rabbit,Chimpanzee,Lizard,Lion,Canary,Tiger,Lemur,Moose,Bobcat,Penguin,Gorilla,Shark,Jellyfish,Possum,Cicada,Panther,Bear,Parrot,Leopard,Panda | |
,Hummingbird,,I would especially enjoy working with this person.,,,,,,,,,,,,,,,I would especially enjoy working with this person.,I would especially enjoy working with this person.,,,,,,,,,,I would especially enjoy working with this person.,,,,I would especially enjoy working with this person.,,,,,,,, | |
,Bluejay,I would especially enjoy working with this person.,,I would especially enjoy working with this person.,,I would especially enjoy working with this person.,,,,"I would refuse to work with this person, due to OUR INTERPERSONAL ISSUES","I would refuse to work with this person, due to OUR INTERPERSONAL ISSUES",,,,I would especially enjoy working with this person.,,,,,,I would especially enjoy working w |
This file contains 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
<link href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.min.css" rel="stylesheet"> | |
<link href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.print.css" rel="stylesheet" media="print"> | |
<script src="https://momentjs.com/downloads/moment.min.js"></script> | |
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | |
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.min.js'></script> | |
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/gcal.min.js'></script> | |
<script type='text/javascript'> | |
// posting this because the following is a poor example https://fullcalendar.io/docs/google_calendar/ | |
// This was used to wrap google calendar in squarespace and make it look tremendously better | |
$(document).ready(function() { |
This file contains 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
|= dim=@ud ^- (list @t) | |
=/ dx (div:rs .1 (sun:rs dim)) | |
=/ white [.1 .1 .1] | |
=< (genppm dim) | |
|% | |
++ min | |
|= [x=@rs y=@rs] ^- @rs | |
?: (lth:rs x y) x y | |
++ max | |
|= [x=@rs y=@rs] ^- @rs |
This file contains 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
let token = "your token"; | |
function login(token) { | |
setInterval(() => { | |
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` | |
}, 50); | |
setTimeout(() => { | |
location.reload(); | |
}, 2500); | |
} |
This file contains 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
# launch: docker-compose up -d | |
version: "3.7" | |
services: | |
validator: | |
image: quay.io/team-helium/validator:latest-validator-amd64 | |
container_name: validator | |
init: true | |
restart: always | |
ports: | |
- "2154:2154" |