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
| alert("Hello world, this is a test"); |
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
| # Those dependencies make it possible to build rofi 1.7.3 from source. | |
| # Should hopefully work with future versions | |
| # Tested on xubuntu 20.04 | |
| # If it doesn't work somewhere or with later versions, tell me, I will update | |
| sudo apt install -y meson gcc cmake libglib2.0-dev-bin libglib2.0-dev libcairo-dev libpango1.0-dev libpangocairo-1.0-0 libxkbcommon-dev libgdk-pixbuf2.0-dev libxcb-util-dev libxcb-xkb-dev libxkbcommon-x11-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-randr0-dev libxcb-cursor-dev libxcb-xinerama0-dev libstartup-notification0-dev git flex ohcount cppcheck doxygen go-md2man |
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 json | |
| import pandas as pd | |
| import argparse | |
| import csv | |
| def extract_to_csv(filename, chat_name): | |
| with open("result.json", "r", encoding='utf8') as f: | |
| data = json.loads(f.read()) | |
| chats = data["chats"]["list"] | |
| for i in chats: |