This repo's location has changed.
# in order to have icu support in sqlite you need to enable it via compile options. | |
# install the icu dev package on your system and download the source files from sqlite | |
# unpack and enter the source dir | |
# on a mac I had to do this to compile: | |
brew install icu4c | |
CFLAGS=`-I/usr/local/opt/icu4c/include -O3 -DSQLITE_ENABLE_ICU` CPPFLAGS=`icu-config --cppflags` LDFLAGS=`-L/usr/local/opt/icu4c/lib icu-config --ldflags` ./configure | |
# I had to add the path to the icu libs |
<h1>{selected.link || 'No selection'}</h1> | |
<div class="search"> | |
<input bind:value={term} on:keydown={keydown} class="input" on:blur={() => options = []}> | |
<ul class="list"> | |
{#each options as t,i} | |
<li | |
class={`item ${i+1 === pos ? 'active':''}`} | |
value={t.link} | |
on:click={() => select(t)} | |
>{t.value}</li> |
class BaseModel extends Model { | |
static get allRelations() { | |
return '[' + Object.keys(this.relationMappings).join(',') + ']'; | |
} | |
} | |
//And then inherit your models from that instead of Model. | |
class Person extends BaseModel { | |
//... |
Quick demo on how to use Jade and CodeMirror to create a simple Jade editor with live preview.
# This guide is based on https://wiki.archlinux.org/index.php/User:Altercation/Bullet_Proof_Arch_Install | |
# compare for more details on each step. It's a great guide and seems to get frequent updates. | |
# This guide has a few changes that helped me to get thew bootloader running | |
# Start up the Live USB/CD and enable SSH: | |
# set a password for root to enable ssh login | |
# * | |
passwd | |
systemctl start sshd.service |
# Tested Environment | |
# Windows7 x64, MS Access2010/2013, sequel 4.11.0 | |
# Gemfile | |
# source 'https://rubygems.org' | |
# gem 'sequel' | |
# gem 'ruby-odbc' # for ODBC | |
require 'sequel' |
If you'd like to use `"*y` and `"*p` in neovim you have to make sure it works across the stack. | |
These steps are necessary: | |
* Have xsel installed | |
* enable `X11Forward` in your remote sshd.conf | |
* disable `X11Localhost` in the same file | |
Then restart your ssh connction with the -Y flag and make sure to restart tmux otherwise you might get errors because $DISPLAY might not yet be set. |
My tablet runs the latest nightly of cm-13 and twrp. However, a bug in twrp doesn't let me update cm nightlies. So wherever I try to story my nightly I can't access it from twrp. Root doesn't work either for some reason so I'm stuck with a tablet that runs cm-13 but without updates.
After investing some time I tried connecting the tablet to a laptop while in recovery mode. Plugged in a USB cable on both sides and voila I had access to a twrp folder which was also mounted in recovery mode. Copied my cm-13 file there and was successfully able to install the nightly.
Connecting a USB thumb drive didn't work either btw.
Gogs is that great Github clone which is also available as a docker image. Works perfectly if started by the user but since you probably want to run it on your server and without interruption you can add a systemd script to start up Gogs on boot. My script looks like this:
# /etc/systemd/system/docker.gogs.service
[Unit]
Description=Gogs container
Requires=docker.service
Require=postgresql.service