Skip to content

Instantly share code, notes, and snippets.

class FlightTable(tables.Table):
class Meta:
model = Flight
class FlightFilter(django_filters.FilterSet):
class Meta:
model = Flight
fields = ['ff_from__fullname']
class FlightTableView(SingleTableMixin, FilterView):
class FlightFilter(django_filters.FilterSet):
class Meta:
model = Flight
fields = ['ff_from']
from django.db import models
class LookUpAirport(models.Model):
code = models.CharField(max_length=4)
fullname = models.CharField(max_length=20)
# Create your models here.
class FlightCo(models.Model):
ff_company_name = models.CharField(max_length=20)
ff_company_short = models.CharField(max_length=4,default="AAL")
<ng-template #content let-modal>
<div class="modal-header">
<h4 class="modal-title" id="modal-basic-title">{{title}}</h4>
<button type="button" class="close" aria-label="Close" (click)="modal.dismiss('Cross click')">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<form name="formData">
<div class="form-group">
<input class="btn btn-login btn-success btn-float" type="submit" value="Login">
<a href="" class="btn btn-login btn-success btn-float"><i class="zmdi zmdi-arrow-forward"></i></a>
--- read data.json with FILTERS ---
DEBUG:root:my desktop: xfce
DEBUG:root:filter :
DEBUG:root:groups : *
DEBUG:root: filter app: Epiphany ['advanced'] <
DEBUG:root: filter app: Falkon ['advanced'] <
DEBUG:root: filter app: Konqueror ['advanced'] <
DEBUG:root: filter app: Midori ['advanced'] <
DEBUG:root: filter app: Netsurf ['advanced'] <
resolving dependencies...
looking for conflicting packages...
:: gtk3 and gtk3-classic are in conflict (gtk3-print-backends). Remove gtk3-classic? [y/N] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing gtk3-classic breaks dependency 'gtk3-classic>=3.24.2+7+g43aeb52b73' required by lib32-gtk3-classic
[monotoko@daniel-pc log]$ pacman -Qs gtk3
local/exo-gtk3 0.12.3-1 (xfce4-gtk3)
Extensions to Xfce by os-cillation
local/garcon-gtk3 0.6.1-4 (xfce4-gtk3)
Implementation of the freedesktop.org menu specification
local/gtk3-classic 3.24.2+7+g43aeb52b73-1
"gtk3-mushrooms"; GTK3 patched for classic desktops. See README.
local/lib32-gtk3-classic 3.24.2+7+g43aeb52b73-1
"gtk3-mushrooms"; GTK3 patched for classic desktops. See README.
local/libxfce4ui-gtk3 4.13.4-3 (xfce4-gtk3)
root@localhost:~# ping 192.168.191.83
PING 192.168.191.83 (192.168.191.83) 56(84) bytes of data.
64 bytes from 192.168.191.83: icmp_seq=1 ttl=64 time=3.86 ms
64 bytes from 192.168.191.83: icmp_seq=2 ttl=64 time=4.73 ms
64 bytes from 192.168.191.83: icmp_seq=3 ttl=64 time=2.64 ms
64 bytes from 192.168.191.83: icmp_seq=4 ttl=64 time=9.71 ms
64 bytes from 192.168.191.83: icmp_seq=5 ttl=64 time=2.92 ms
64 bytes from 192.168.191.83: icmp_seq=6 ttl=64 time=17.3 ms
64 bytes from 192.168.191.83: icmp_seq=7 ttl=64 time=7.05 ms
64 bytes from 192.168.191.83: icmp_seq=8 ttl=64 time=12.10 ms
Here are the various ideas for BiFrost use-cases that have been presented and discussed so far:
note - these are in no particular order
.
1) LarrysM - Trading Bots
“Create a platform with lending trading bots. (meaning you pay a fee every day in :frost:)
The persons coding the bots will host them like https://www.cryptohopper.com/ . The different people offering trading bot hosting have auto avg ROI%. This all works by API - no need for any 3rd party trusting.