Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
| @echo off | |
| TITLE MySQL Backup Executor | |
| :: Change the values that match your environment | |
| SET backup_dir=D:\mysql_daily_backups\ | |
| SET mysqldb=zxy_mis | |
| SET mysqlpassword=123456 | |
| SET mysqluser=root | |
| SET mysqlpath=mysqldump |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Test App</title> | |
| </head> | |
| <style> | |
| html, body { | |
| height: 100%; |
| { | |
| "name": "jaytaph/security-example", | |
| "require": { | |
| "symfony/security-core": "~2.8" | |
| }, | |
| "authors": [ | |
| { | |
| "name": "Joshua Thijssen", | |
| "email": "jthijssen@noxlogic.nl" | |
| } |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
| import { NgModule, Component, OnInit } from '@angular/core' | |
| import { AngularRxRest, AngularRxRestConfiguration } from './rxrest' | |
| @Component({ | |
| selector: 'prefix-main', | |
| template: '<prefix-foo></prefix-foo>' | |
| }) | |
| export class MainComponent implements OnInit { | |
| loading: boolean = false | |
| loggedIn: boolean = false |
| <?php | |
| namespace Behat\CommonContext; | |
| use Behat\BehatBundle\Context\BehatContext; | |
| use Behat\Behat\Event\ScenarioEvent; | |
| use Doctrine\ORM\Tools\SchemaTool; | |
| /** | |
| * Provides hooks for building and cleaning up a database schema with Doctrine. |
| <?php | |
| /** | |
| * Snowflake implementation in php | |
| * | |
| * @author Roni Saha <roni.cse@gmail.com> | |
| */ | |
| class IdGenerator | |
| { | |
| private static $_instance; |
| "use strict"; | |
| var WindowController = (function () { | |
| function WindowController() { | |
| this.id = Math.random(); | |
| this.callbacks = {}; | |
| window.addEventListener('storage', this, false); | |
| window.addEventListener('unload', this, false); | |
| } | |
| WindowController.prototype.handleEvent = function (event) { | |
| if (event.type === 'unload') { |
| #!/bin/bash | |
| # Author: Erik Kristensen | |
| # Email: erik@erikkristensen.com | |
| # License: MIT | |
| # Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
| # Usage: ./check_docker_container.sh _container_id_ | |
| # | |
| # Depending on your docker configuration, root might be required. If your nrpe user has rights | |
| # to talk to the docker daemon, then root is not required. This is why root privileges are not |