Skip to content

Instantly share code, notes, and snippets.

{
"type": "IndoorMapBottomSheet",
"content": {
"id": "building-1",
"title": "Gebäude Eins",
"blocks": [
{
"type": "Text",
"text": "Sehr schön!",
"id": "c05d0f9b-b0c2-4e4d-8832-da49e8630d7a"
@dbarden
dbarden / strings.rb
Created June 4, 2020 15:05
Small ruby script that reads all the keys in Localizable.strings and make sure that all have the same keys
#!/usr/bin/env ruby
require 'set'
files = `find . -name Localizable.strings`.split("\n")
# Builds a list of keys
keys = Set.new
MATCH_FORMAT = /\"(.*)\"[ ]*=[ ]*\".*\"/
files.each do | file |
@dbarden
dbarden / json.py
Last active November 21, 2020 06:34
json chisel command
#!/usr/bin/python
# Example file with custom commands, located at /magical/commands/example.py
import lldb
import fbchisellldbbase as fb
def lldbcommands():
return [ JSON() ]
class JSON(fb.FBCommand):