- Init the Lineage manifest:
repo init -u ssh://git@github.com/LineageOS/android.git -b cm-14.1
(or cm-13.0 if you prefer that) - Update your local manifest (.repo/local_manifests/roomservice.xml), if it exists - find and replace "CyanogenMod" with "LineageOS" globally.
- Move the git objects:
mv .repo/project-objects/CyanogenMod .repo/project-objects/LineageOS
curl https://gist.github.com/fourkbomb/0d94e286dc6f173eb9053c0d75e84783/raw/cc1bb94337eab5e30efa689fe1d050db25a1124a/fixlinks.sh > ~/fixlinks.sh
chmod +x ~/fixlinks.sh
cd .repo/projects
find . -name '*.git' -exec ~/fixlinks.sh {} \;
- And finally, fix the actual tree:
This file contains 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
// stop quasselcore | |
select pg_get_indexdef('sender_sender_realname_avatarurl_uindex'::regclass); | |
alter table backlog alter constraint backlog_senderid_fkey deferrable; | |
set session_replication_role = replica; | |
begin; | |
create or replace temp view foo | |
as select min.senderid min_senderid, other.* | |
from | |
(select min(senderid) senderid, sender, realname, avatarurl |
This file contains 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
#!/bin/bash | |
declare -A fileinfo | |
# Resets the fileinfo map | |
fileinfo_reset() { | |
fileinfo[year]="0000" | |
fileinfo[month]="00" | |
fileinfo[day]="00" | |
fileinfo[hour]="00" |
This file contains 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
<VirtualHost *:80> | |
ServerName kiwiirc.example.com | |
ServerAdmin webmaster@example.com | |
# Kiwi IRC client files are located here | |
DocumentRoot /usr/share/kiwiirc | |
DirectoryIndex index.html | |
# Reverse proxy websocket connections |
This file contains 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
<script> | |
kiwi.plugin('gecos', function(kiwi, log) { | |
kiwi.on('network.new', function(event) { | |
var queryGecos = kiwi.exports.helpers.Misc.queryStringVal('gecos'); | |
event.network.gecos = queryGecos || "Fallback Gecos"; | |
}); | |
}); | |
</script> |
This file contains 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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
#PersonalToolbar, | |
#BookmarksToolbar, | |
#MenuToolbar, | |
#nav-bar{ display: none !important; } | |
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox { | |
min-height: 0 !important; | |
} | |
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] { |
This file contains 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
///bin/true;COMPILER_OPTIONS="-g -Wall -Wextra --std=c99 -O1 -fsanitize=address,undefined";THIS_FILE="$(cd "$(dirname "$0")"; pwd -P)/$(basename "$0")";OUT_FILE="/tmp/build-cache/$THIS_FILE";mkdir -p "$(dirname "$OUT_FILE")";test "$THIS_FILE" -ot "$OUT_FILE" || $(which clang || which gcc) $COMPILER_OPTIONS -xc "$THIS_FILE" -o "$OUT_FILE" || exit;exec "$OUT_FILE" "$@" | |
#include <stdio.h> | |
int main() { | |
printf("Hello world!\n"); | |
return 0; | |
} |
This file contains 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
javascript: | |
document.querySelectorAll('.load-diff-button').forEach(node => node.click()) |
Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:
Permalink: git.io/vps
Provider | Type | RAM | Cores | Storage | Transfer | Network | Price |
---|
Daniel Oaks daniel@danieloaks.net
People like to use IRC to roleplay. In other words, to act out characters as part of a channel and between clients. Often, this means it's desirable to send messages with names other than the client's nickname, and to send messages not explicitly attached to a name at all.