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
let blockedCompanies = [ | |
"Motion Recruitment" | |
"Horizontal Talent" | |
"REI Systems" | |
"Jobot Consulting" | |
"CyberCoders" | |
"Calyptus" | |
"INSPYR Solutions" | |
"TTEC Digital" | |
"Sphera" |
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
document.querySelectorAll('.athing.comtr').forEach(job => { | |
const jobText = job.innerText.toLowerCase(); | |
const rejectWords = ['europe', 'staff', 'sr.', 'senior', 'lead', 'principal', 'uk', 'spain', 'portugal', 'netherlands', 'berlin', 'germany', 'devops', 'eu', 'platform', 'onsite', 'hybrid']; | |
const wantWords = ['react', 'javascript', 'python', 'rails', 'node']; | |
const wanted = wantWords.some(word => jobText.includes(word)); | |
if (wanted) { | |
const rejected = rejectWords.some(word => jobText.includes(word)); | |
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 display | |
import time | |
disp_object = [] | |
def display_article(title, lines): | |
global disp_objects | |
y_pos = 24 |
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 display | |
import time | |
import gc | |
disp_object = [] | |
def clear_display(): | |
for item in disp_objects: | |
del(item) |
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
# main.py --------------------------------------------------------------------------------- | |
f = open('main.py', 'w') | |
f.write('l = 3\n') | |
f.write('a = ""\n') | |
f.write('for f in range(l):\n') | |
f.write(' a = "\n".join(open(f"main_{f}.py").readlines())\n') | |
f.write('exec(a)\n') | |
f.close() |
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
# main.py | |
import helpers | |
import scenes | |
import hn_reader | |
import reddit_reader | |
import time | |
time.sleep(3) | |
scenes.run() |
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 display import * | |
import vgr2d | |
def rectangle_vgr2d(self): | |
v = vgr2d.Rect(self.width, self.height, self.col) | |
return v.position(self.x, self.y) | |
display.Rectangle.vgr2d = rectangle_vgr2d | |
mario_lines = [] |
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 display import * | |
Rectangle(230, 110,240,120, 0xFD0003) | |
Rectangle(240, 110,250,120, 0xFD0003) | |
Rectangle(250, 110,260,120, 0xFD0003) | |
Rectangle(260, 110,270,120, 0xFD0003) | |
Rectangle(270, 110,280,120, 0xFD0003) | |
Rectangle(280, 110,290,120, 0xFD0003) | |
Rectangle(220, 120,230,130, 0xFD0003) | |
Rectangle(230, 120,240,130, 0xFD0003) | |
Rectangle(240, 120,250,130, 0xFD0003) |
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 display | |
display.hline(230, 110, 10, 0xFD0003) | |
display.hline(240, 110, 10, 0xFD0003) | |
display.hline(250, 110, 10, 0xFD0003) | |
display.hline(260, 110, 10, 0xFD0003) | |
display.hline(270, 110, 10, 0xFD0003) | |
display.hline(280, 110, 10, 0xFD0003) | |
display.hline(220, 120, 10, 0xFD0003) | |
display.hline(230, 120, 10, 0xFD0003) | |
display.hline(240, 120, 10, 0xFD0003) |
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 time | |
import touch | |
import display | |
bird_up = True # EricAndre | |
col_pos_x = 600 | |
bird_pos_y = 280 | |
game_over = False | |
def move_up(arg): |
NewerOlder