I hereby claim:
- I am ab9-er on github.
- I am a_bhi_9 (https://keybase.io/a_bhi_9) on keybase.
- I have a public key ASA8w-fHr1jaMdEDXx7iiEKqUz5yThUIRMZNO-FuN7xdGwo
To claim this, I am signing this object:
from xml.etree import ElementTree as etree | |
import urllib | |
import io | |
import re | |
FEED = "https://patchfriday.com/rss.xml" | |
ERROR_IMG = "https://www.google.com/images/errors/robot.png" | |
def get_patch(): | |
try: |
[ | |
{ | |
"web_pages": [ | |
"https://www.cstj.qc.ca", | |
"https://ccmt.cstj.qc.ca", | |
"https://ccml.cstj.qc.ca" | |
], | |
"name": "Cégep de Saint-Jérôme", | |
"alpha_two_code": "CA", | |
"state-province": null, |
*** Settings *** | |
Library Selenium2Library | |
*** Variables *** | |
${url} https://medium.com/@nottyo/ | |
@{chrome_arguments} --disable-infobars --headless --disable-gpu | |
${page_text} Test Automation Engineer. Let’s make awesome tests | |
${timeout} 10s | |
*** Test Cases *** |
from requests import get | |
from icalendar import Calendar, Event | |
from datetime import date | |
# Get the calendar events in ics format | |
ics_events = get("https://calendar.google.com/calendar/ical/en.indian%23holiday%40group.v.calendar.google.com/public/basic.ics") | |
# Parse the calendar string | |
cal = Calendar.from_ical(ics_events.content) |
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
node { | |
} |
notify: | |
on-complete: | |
data: {} | |
message: "Step complete!" | |
routes: | |
- "#" |
I hereby claim:
To claim this, I am signing this object:
def edit_ace_editor(browser, editor_id, content, editor_ref="ace"): | |
""" | |
browser: Browser instance returned from selenium | |
editor_id: The id of the div that holds the ace editor, most of the times it ends with `-editor` | |
content: The text content that needs to be written in the ace editor | |
editor_ref: Reference to the editor in the code, most of the times it is ace. | |
return: Text with the gutter line numbers | |
""" | |
browser.execute_script('smart_edit = {}.edit("{}");'.format(editor_ref, editor_id)) |
git tag -d 12345 | |
git push origin :refs/tags/12345 |