Skip to content

Instantly share code, notes, and snippets.

lindwurm lindwurm

View GitHub Profile
View 20190307_100058_floko_clover.log
[ 66% 58184/87743] target thumb C++: libaudiopolicyenginedefault_32 <= frameworks/av/services/audiopolicy/enginedefault/src/Engine.cpp
[ 66% 58185/87743] target thumb C++: audioserver <= /nvme1/lindwurm/floko/out/target/product/clover/obj_arm/EXECUTABLES/audioserver_intermediates/aidl-generated/src/dotdot/libaudioclient/aidl/android/media/IAudioRecord.cpp
[ 66% 58186/87743] target thumb C++: libaudiopolicycomponents_32 <= frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioCollections.cpp
[ 66% 58187/87743] build /nvme1/lindwurm/floko/out/target/product/clover/obj/ETC/built_plat_sepolicy_intermediates/built_plat_sepolicy
/nvme1/lindwurm/floko/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /nvme1/lindwurm/floko/out/target/product/clover/obj/ETC/built_plat_sepolicy_intermediates/base_plat_policy.conf
/nvme1/lindwurm/floko/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/nvme1/lindwurm/floko/out/host/linux-x86/bin/checkpolicy: writing CIL to /nvme1/lin
View nightlight_logcat.txt
01-27 23:08:28.612 E/SDM (801): ColorManager::ApplyLinearColorTransform: Apply PCC for SetTransform FAILED
01-27 23:08:28.612 E/SDM (801): HWCDisplay::HandleColorModeTransform: Failed to set Color Transform Matrix
01-27 23:08:28.612 E/SDM (801): HWCDisplay::SetColorTransform: failed for hint = 1
01-27 23:08:28.612 E/SDM (801): HWCDisplayPrimary::SetColorTransform: failed for hint = 1
01-27 23:08:28.613 W/HwcComposer(825): command 0x2000000 generated error 8
View 20181229_113925_floko_cheeseburger.log
This file has been truncated, but you can view the full file.
including vendor/floko/vendorsetup.sh
=============================================================
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-38-generic-x86_64-Ubuntu-18.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
View deploy_non-docker.sh
#!/bin/bash
# example
instance = "mstdn.maud.io"
cd ~/live
echo "へいますたー!" | toot
git pull
View r47.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- 8.1.0_r47 -->
<remove-project name="AICP/build" />
<project path="build/make" name="mordiford/build" groups="pdk" remote="aicp" >
<copyfile src="core/root.mk" dest="Makefile" />
<linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" />
<linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" />
<linkfile src="core" dest="build/core" />
<linkfile src="envsetup.sh" dest="build/envsetup.sh" />
@lindwurm
lindwurm / genwebfonts.py
Last active Sep 15, 2018 — forked from taskie/genwebfonts.py
RobotoのU+EE01が欲しいだけなんです
View genwebfonts.py
#!/usr/bin/env fontforge -lang=py -script
# -*- coding: utf-8 -*-
import fontforge
import sys
import os
def _select_codepoint(codepoint, selection, more=True):
more_str = 'more' if more else 'less'
if isinstance(codepoint, tuple) and len(codepoint) == 2:
View about.html
<style>
.section {
text-align: right;
}
.section strong {
font-weight: 500;
font-size: 32px;
line-height: 48px;
display: block;
View db_migrate
Starting mastodon_db_1 ... done
Starting mastodon_redis_1 ... done
Migrating to FixAccountsUniqueIndex (20180528141303)
rails aborted!
SyntaxError: /mastodon/db/migrate/20180528141303_fix_accounts_unique_index.rb:73: syntax error, unexpected keyword_rescue, expecting keyword_end
rescue ActiveRecord::RecordNotUnique
^
/mastodon/db/migrate/20180528141303_fix_accounts_unique_index.rb:79: syntax error, unexpected keyword_rescue, expecting keyword_end
rescue ActiveRecord::RecordNotUnique
^
@lindwurm
lindwurm / build_opengapps.sh
Created May 8, 2018
https://github.com/opengapps/opengapps をcloneした中に置く想定でAndroid-8.1、arm64向けnano
View build_opengapps.sh
#!/bin/bash
# ビルド用
LANG=C
export ALLOW_MISSING_DEPENDENCIES=true
# download
./download_sources.sh --shallow arm64
make clean
make arm64-27-nano
View dd
root@cloud:~# dd if=/dev/sdc1 of=/dev/sdb1 bs=4K conv=noerror,sync status=progress
470333775872 bytes (470 GB, 438 GiB) copied, 5336.52 s, 88.1 MB/s
dd: '/dev/sdc1' の読み込みエラー: 入力/出力エラーです
114827585+0 レコード入力
114827585+0 レコード出力
470333788160 bytes (470 GB, 438 GiB) copied, 5339.42 s, 88.1 MB/s
470333796352 bytes (470 GB, 438 GiB) copied, 5339.45 s, 88.1 MB/s
dd: '/dev/sdc1' の読み込みエラー: 入力/出力エラーです
114827586+1 レコード入力
114827587+0 レコード出力
You can’t perform that action at this time.