Skip to content

Instantly share code, notes, and snippets.

View jansila's full-sized avatar

jansila

View GitHub Profile
use html pretifier to understand the structure - https://htmlformatter.com/
to get:
<td class="action"><span>25</span>
<div class="bubble" id="cal25">
<p><a href="https://ies.fsv.cuni.cz/cs/news/4641">Scheduled shutdown of servers</a></p>
</div>
</td>
<td class="action"><span>26</span>
bf = getSoup('https://ies.fsv.cuni.cz/content/tree/index/lang/en')
int(bf.find('a',text='Scheduled shutdown of servers').parent.parent.parent.find('span').text)
import boto3
import io
import zipfile
import json
from moto import mock_sqs, mock_sns, mock_lambda, mock_iam
import os
def _process_lambda(func_str):
zip_output = io.BytesIO()
<!DOCTYPE html>
<head>
</head>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '210090072943719',
autoLogAppEvents : true,
xfbml : true,
version : 'v3.0'
@jansila
jansila / gist:71455ed67ca97621dfceb327c794e2f7
Last active February 11, 2019 04:48
webchat plugin attempt
<!DOCTYPE html>
<head>
</head>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '210090072943719',
autoLogAppEvents : true,
xfbml : true,