Skip to content

Instantly share code, notes, and snippets.

to 🪐

Lukas Jocham lukasjoc

to 🪐
Block or report user

Report or block lukasjoc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lukasjoc / ibooks_location.txt
Created May 19, 2020
Where the f***ck are my Ibooks?
View ibooks_location.txt
Create a simlink in $HOME and your done
ln -s $HOME/Library/Containers/ books
lukasjoc /
Last active Apr 21, 2020
get deltas from other frame and keep incoming frame
import pandas as pd
db_data = [
{"id": 1, "name": "Luads", "number": "000000000000", "number_active": 1},
{"id": 2, "name": "Luads", "number": "000000000000", "number_active": 1},
{"id": 3, "name": "Luads", "number": "000000000000", "number_active": 1},
{"id": 4, "name": "Lukas", "number": "000000000000", "number_active": 1},
{"id": 5, "name": "Luisd", "number": "000000000000", "number_active": 1},
{"id": 6, "name": "Jocham", "number":"000000000000", "number_active": 1},
lukasjoc /
Created Apr 20, 2020
Get delta of 2 data frames in python and pandas
import pandas as pd
# Test to get the delta of 2 dataframes
if __name__ == "__main__":
json = [{"name":"Lukas", "lastname": "jocham"}]
json1 = [{"name":"Lukas", "lastname": "jocham"}]
data = pd.json_normalize(json)
data1 = pd.json_normalize(json1)
lukasjoc /
Last active Mar 11, 2020
How to fix internet on arch vm when dhcp is not installed


1. networkctl
2. Create new in /etc/systemd/network/
3. Paste in file content below
4. su - root
5. rm /etc/resolv.conf
6. systemctl enable systemd-networkd
7. systemctl enable systemd-resolved
8. systemctl start systemd-networkd
You can’t perform that action at this time.