Skip to content

Instantly share code, notes, and snippets.

@lool
lool / build-cross-gdb.sh
Last active September 16, 2017 23:12
Cross-toolchain build scripts (from hudson.d.o)
#!/bin/sh
set -e
set -x
self="$(basename "$0")"
architecture="$1"
if [ -z "$architecture" ]; then
@lool
lool / snapcraft.yaml
Last active October 24, 2017 08:25
kapua-snap
name: kapua
version: 0.3.0
summary: Modular IoT cloud platform to manage and integrate devices and their data
description: |
Eclipse Kapua is a modular platform providing the services required to manage
IoT gateways and smart edge devices. Kapua provides a core integration
framework and an initial set of core IoT services including a device
registry, device management services, messaging services, data management,
and application enablement.
grade: devel
@lool
lool / snapcraft.yaml
Created December 2, 2019 23:07
pidgin-sipe snap
name: pidgin-sipe-lool
base: core18
version: 1.25.0
summary: SIP/SIMPLE support for Pidgin
description: |
SIPE is a third-party plugin for the Pidgin/Adium/Miranda/Telepathy
multi-protocol instant messaging clients/frameworks. It implements the
extended version of SIP/SIMPLE used by various products:
* Skype for Business
@lool
lool / snapcraft.yaml
Created April 5, 2020 19:50
Molotov.tv snapcraft packaging
name: molotov-lool
base: core18 # the base snap is the execution environment for this snap
version: 4.2.2
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: stable
@lool
lool / snapcraft.yaml
Created April 5, 2020 19:50
Microsoft Teams unofficial snap packaging
name: teams-lool
base: core18 # the base snap is the execution environment for this snap
version: '0.1' # XXX
summary: Microsoft Teams for Linux is your chat-centered workspace in Office 365
description: |
This is an unofficial snap created from the latest Teams .deb package.
Instantly access all your team’s content from a single place where messages, files, people and tools live together.
This is a preview version, so bear with us while we do some fine-tuning.
@lool
lool / mu.py
Created September 10, 2024 19:40
GEB – The MU Puzzle
import unittest
def rule1(string):
"""Adds "U" to the end of a string if it ends with "I".
Args:
string: The input string.
Returns:
The modified string with "U" added if applicable.