Skip to content

Instantly share code, notes, and snippets.

@crazy4pi314
crazy4pi314 / README.md
Created June 12, 2023 19:28
How to get ical feed from embedded Google calendar
  1. On the page with the embedded calendar you want the ical feed for, you use browser tools to inspect the page. Find the iframe element for the calenar and look for the src property:

image

2. Copy that src url and then use the tip [here](https://stackoverflow.com/questions/30766477/google-calendar-ical-url-for-public-calendar) to transform it:

the src address in an embed link - either email or calendar group account (randomhash@group.calendar.google.com) - is part of the ical url

https://calendar.google.com/calendar/embed?src=**info@example.com**

>to

@unoexperto
unoexperto / patch_apk_for_sniffing.md
Last active July 24, 2025 09:02
How to patch Android app to sniff its HTTPS traffic with self-signed certificate

How to patch Android app to sniff its HTTPS traffic with self-signed certificate

  • Download apktool from https://ibotpeaches.github.io/Apktool/
  • Unpack apk file: java -jar /home/expert/work/tools/apktool.jar d net.flixster.android-9.1.3@APK4Fun.com.apk
  • Modify AndroidManifest.xml by adding android:networkSecurityConfig="@xml/network_security_config" attribute to application element.
  • Create file /res/xml/network_security_config.xml with following content:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config>
@jasonwatt
jasonwatt / GAME_MASTER_v0_1.decoded.categorized.json
Last active November 27, 2018 19:39
OUTDATED - v0.29 Client - GAME_MASTER_v0_1.decoded.categorized.json
{
"Badges": [
{
"TemplateId": "BADGE_BATTLE_ATTACK_WON",
"Badge": {
"BadgeType": "BADGE_BATTLE_ATTACK_WON",
"BadgeRanks": 4,
"Targets": [10, 100, 1000]
}
}, {
anonymous
anonymous / GAME_MASTER_v0_1.protobuf
Created July 16, 2016 16:31
Pokemon Go decoded GAME_MASTER protobuf file v0.1
Result: 1
Items {
TemplateId: "BADGE_BATTLE_ATTACK_WON"
Badge {
BadgeType: BADGE_BATTLE_ATTACK_WON
BadgeRanks: 4
Targets: "\nd\350\007"
}
}
Items {
@elisee
elisee / 1-terminal-windows.md
Last active June 8, 2019 21:12
Setting up a great console on Windows

The default console on Windows has many limitations!

  • No tabs, no split screen support
  • File and folder autocomplete doesn't stop when an ambiguity is reached
  • It doesn't append slashes when completing folder names which makes writing paths unnecessarily cumbersome

Solution: ConsoleZ + Clink

@imjasonh
imjasonh / markdown.css
Last active September 3, 2025 22:12
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@specialunderwear
specialunderwear / meta.py
Last active July 22, 2019 12:12
Override model fields of an abstract model baseclass in django, by removing them from the abstract model.
def AbstractClassWithoutFieldsNamed(cls, *excl):
"""
Removes unwanted fields from abstract base classes.
Usage::
>>> from oscar.apps.address.abstract_models import AbstractBillingAddress
>>> from koe.meta import AbstractClassWithoutFieldsNamed as without
>>> class BillingAddress(without(AbstractBillingAddress, 'phone_number')):
... pass