This file contains hidden or 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
| aaaa | |
| bbbb | |
| cccc |
This file contains hidden or 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/php | |
| <?php | |
| // copied from https://gist.github.com/chelmertz/816166 | |
| // authored by Travis Swicegood | |
| // modified by Daniel Pinto and Israel Trindade | |
| class Enable | |
| { | |
| const PHP_LINT = true; |
This file contains hidden or 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
| <?php | |
| class db{ | |
| protected $tabelle = 'leer'; | |
| public function setTabelle($tabelle){ | |
| $this->tabelle = $tabelle; | |
| } | |
| public function getTabelle(){ |
This file contains hidden or 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
| // player_json_schema | |
| { | |
| "type": "object", | |
| "properties": { | |
| "first_name": { "type": "string" }, | |
| "last_name": { "type": "string" }, | |
| "age": { "type": "integer" }, | |
| "club": { | |
| "type": "object", |
This file contains hidden or 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
| -- JSON Array | |
| [ | |
| {"id": 1, | |
| "name": "Milk", | |
| "stock": 25}, | |
| {"id": 2, | |
| "name": "Yogurt", | |
| "stock": 15, | |
| "link": "http://delicious-yogurt.com"} | |
| ] |
This file contains hidden or 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
| update test t set t.email = replace(t.email, 'ww-energie.com', 'blub.com'); | |
| -- select t.email as mail, replace(t.email, 'eon-westfalenweser.com' , 'ww-energie.com') as test from users t where t.email like '%eon-westfalenweser.com' | |
| -- update users t set t.email = replace( t.email, 'eon-westfalenweser.com', 'ww-energie.com' ); | |
| -- select count(*) from esbaccounts t where t.login like '%ww-energie.com'; | |
| -- update esbuserdetails t set t.demail = replace( t.demail, 'eon-westfalenweser.com', 'ww-energie.com' ) where t.demail like '%eon-westfalenweser.com'; |
This file contains hidden or 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 | |
| # | |
| # Automatically add branch name and branch description to every commit message except merge commit. | |
| # | |
| COMMIT_EDITMSG=$1 | |
| addBranchName() { | |
| NAME=$(git branch | grep '*' | sed 's/* //') | |
| DESCRIPTION=$(git config branch."$NAME".description) |
This file contains hidden or 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
| <!-- Bootstrap Bereich --> | |
| <div class="row"> | |
| <div class="col-lg-6"> | |
| <div class="input-group"> | |
| <input id="scanner_input" class="form-control" placeholder="Click the button to scan an EAN..." type="text" /> | |
| <span class="input-group-btn"> | |
| <button class="btn btn-default" type="button" data-toggle="modal" data-target="#livestream_scanner"> | |
| <i class="fa fa-barcode"></i> | |
| </button> |
This file contains hidden or 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
| // Copyright (C) Thorsten Thormaehlen, Marburg, 2013, All rights reserved | |
| // Contact: www.thormae.de | |
| // This software is written for educational (non-commercial) purpose. | |
| // There is no warranty or other guarantee of fitness for this software, | |
| // it is provided solely "as is". | |
| function UIElement(x, y, width, height, type, ref, subref, slotType) { | |
| this.x = x; | |
| this.y = y; |
This file contains hidden or 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
| ^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$. |
NewerOlder