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
title: 'Event driven communication repeat and dlt' | |
boxes ids: 'component' 'repeat-0' at: [-6,0] size: [2,2] span: 1 | |
box id: account text: 'account' size: [4,1] at: [0,-1] color: black | |
box id: user text: 'balance: 10' size: [4,2] color: black | |
line at: [-7,-1] end: [-1, -1] width: 2 | |
line at: [-5,-1] end: [-5, 0] width: 2 | |
line at: [-2,-1] end: [-2, 0] width: 2 | |
box: 'event broker' at: [-7, -2] size: [3,1] color: white | |
dot id: ch1 at: [-8.5, -1.5] visible: false color: black | |
dot id: ch2 at: [-8.5, -1.5] visible: false color: black |
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
#!/usr/bin/env bash | |
pass $1 | xclip -sel clip |
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/sh | |
sudo /sbin/rmmod i2c_hid_acpi | |
sudo /sbin/modprobe i2c_hid_acpi |
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
version: "3" | |
services: | |
zookeeper: | |
image: 'bitnami/zookeeper:latest' | |
restart: always | |
ports: | |
- '2181:2181' | |
environment: | |
- ALLOW_ANONYMOUS_LOGIN=yes | |
kafka: |
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
version: "2.1" | |
services: | |
code-server: | |
image: lscr.io/linuxserver/code-server:latest | |
container_name: code-server | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=Europe/Warsaw | |
- PASSWORD=MY_SECRET_PASSWORD |
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/sh -e | |
# create executable file at /etc/ppp/ip-up.d/openfortivpn (any name is allow ed, but do not end with .sh) | |
# pass routes to add via pppd-ipparam | |
# eg. put this into your openfortivpn config file: | |
# set-routes=0 | |
# pppd-ipparam=192.168.77.209 192.168.77.233 192.168.77.205 | |
logger "forticlient connection is up $PPP_IFACE connection ip routes: ${6}" | |
IPS="${6}" |
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
setxkbmap -option altwin:swap_lalt_lwin | |
xmodmap -e "clear mod4" && xmodmap -e "add mod4 = Super_L" | |
xmodmap -e "keycode 134 = ISO_Level3_Shift" | |
xmodmap -e "keycode 108 = Control_R" | |
xmodmap -e "remove Control = Control_R" | |
xmodmap -e "add Control = Control_R" |
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 | |
TARGET="/home/git/intermediate_dir_for_build" | |
BUILD_DIR="$TARGET/build" | |
DEPLOY_DIR="/var/www/deploy_site_name" | |
GIT_DIR="/home/git/repo_name.git" | |
BRANCH="master" | |
REF_MATCH="refs/tags/" | |
umask 002 | |
while read oldrev newrev ref | |
do |
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
name: myproj | |
description: myproj ui project | |
version: 0.0.1 | |
environment: | |
sdk: '>=1.23.0 <2.0.0' | |
dependencies: | |
angular2: ^3.1.0 | |
dart_to_js_script_rewriter: ^1.0.1 | |
logging: any | |
chartjs: ^0.4.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
import 'dart:html'; | |
import 'package:angular2/angular2.dart'; | |
import 'package:logging/logging.dart'; | |
@Component(selector: 'combobox-control', | |
template: """ | |
<select [(ngModel)]="selectedValue" > | |
<option *ngFor="let obj of source" [ngValue]="obj">{{displayGetter(obj)}}</option> |
NewerOlder