Skip to content

Instantly share code, notes, and snippets.

none of your business


none of your business
  • Germany/Croatia
Block or report user

Report or block dalu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dalu /
Created Sep 27, 2019 — forked from mrbar42/
bash scripts to create VOD HLS stream with ffmpeg almighty (tested on Linux and OS X)


bash beach.mkv

will produce:

      |- playlist.m3u8
      |- 360p.m3u8
View google-plus.css.html
<style type="text/css" data-late-css="">.MCcOAc{bottom:0;left:0;position:absolute;right:0;top:0;overflow:hidden;z-index:1}.MCcOAc>.pGxpHc{flex-shrink:0;box-flex:0;flex-grow:0}.IqBfM>.HLlAHb{align-items:center;display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:60px;position:absolute;right:16px;top:0;z-index:9999}.VUoKZ{display:none;position:absolute;top:0;left:0;right:0;height:3px;z-index:1001}.TRHLAc{position:absolute;top:0;left:0;width:25%;height:100%;background:#68e;transform-origin:0 0}.mIM26c .VUoKZ{display:block}.mIM26c .TRHLAc{animation:boqChromeapiPageProgressAnimation 1s infinite;animation-timing-function:cubic-bezier(0.4,0.0,1,1);animation-delay:.1s}.ghyPEc .VUoKZ{position:fixed}@keyframes boqChromeapiPageProgressAnimation{0%{transform:scaleX(0)}50%{transform:scaleX(5)}to{transform:scaleX(5) translateX(100%)}}@keyframes quantumWizBoxInkSpread{0%{-moz-transform:translate(-50%,-50%) scale(.2);transform:translate(-50%,-50%) scale(.2)}to{-moz-transform:trans
dalu / output.txt
Created Oct 23, 2018
angular ng upgrade 6 -> 7 erros
View output.txt
ng update @angular/core
Your global Angular CLI version (7.0.2) is greater than your local
version (6.0.8). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Updating package.json with dependency @angular/language-service @ "7.0.0" (was "6.1.10")...
Updating package.json with dependency @angular/core @ "7.0.0" (was "6.1.10")...
Updating package.json with dependency @angular/forms @ "7.0.0" (was "6.1.10")...
Updating package.json with dependency @angular/platform-browser-dynamic @ "7.0.0" (was "6.1.10")...
Updating package.json with dependency @angular/animations @ "7.0.0" (was "6.1.10")...
View gist:c9405362cf7011823f5293e230ce7d6d
cd $HOME
virtualenv --python=/usr/bin/python2.7 pgadmin4
source pgadmin4/bin/activate
pip2.7 install
echo "# coding: utf-8
from config import *
dalu / ingredient-section-input.component.html
Created Sep 5, 2018
Angular 6 dynamic components and children and accessing their values
View ingredient-section-input.component.html
<div class="form-row border mt-2 pt-2" style="border: 1px dot-dash #333333">
<div class="form-group col-12">
<label for="name">Name</label>
<input id="name" class="form-control" placeholder="name" [(ngModel)]="">
<div class="form-group col-12">
<ng-container #ingredientWrapper></ng-container>
<div class="form-group col-12">
<button class="btn btn-light btn-block btn-sm" (click)="addIngredient()">Add Ingredient</button>
View angular-locales.ts
const locales = [
{ name: "Arabic", value: ar},
{ name: "Bengali/Bangladesh", value: bn},
{ name: "German", value: de},
{ name: "English", value: en},
{ name: "Spanish", value: es},
{ name: "French", value: fr},
{ name: "Hindi", value: hi},
{ name: "Croatian", value: hr},
{ name: "Italian", value: it},
dalu /
Last active May 2, 2018
Chromium Headless Startup Options
chromium \
--disable-client-side-phishing-detection \
--disable-cloud-import \
--disable-default-apps \
--disable-dinosaur-easter-egg \
--disable-new-tab-first-run \
--disable-offer-upload-credit-cards \
--disable-signin-promo \
--disable-sync \
--disable-translate \
dalu / claims.ts
Created Oct 10, 2017
Claims object in ts
View claims.ts
export interface Claims {
jti: string;
exp: Date;
nbf: Date;
iat: Date;
iss: string;
aud: string;
sub: string;
typ: string;
azp: string;
dalu / centos-php-7-remi-packages
Created Oct 8, 2017
CentOS7 remi extra packages
View centos-php-7-remi-packages
php-bcmath php-cli php-common php-fpm php-gd php-intl php-json php-mbstring php-mcrypt php-mysqlnd php-opcache php-pdo php-pear php-pecl-imagick php-pecl-zip php-process php-soap php-tidy php-xml
dalu / keycloack-install
Created Aug 25, 2017 — forked from mottyc/keycloack-install
Keycloak server installtion script
View keycloack-install
#description :The script to install Wildfly 10.x
#more :
#author :Dmitriy Sukharev
#date :2016-06-18T02:45-0700
#usage :/bin/bash
#tested-version1 :10.0.0.CR3
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22
#tested-version2 :10.0.0.Final
You can’t perform that action at this time.