- PHP 7 Day by thePHP.cc
- From Legacy to Event-Driven by Stefan Priebsch
- The Myth of Untestable Code by Sebastian Bergmann and Sebastian Heuer
- PHP 7: Reality Check by Sebastian Bergmann
- Setting up HTTPS is easy: what are you waiting for? by Arne Blankerts
- Test-Driven Refactoring by Stefan Priebsch
- [UX in Motion: Princ
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
const { src, dest, watch, series, task } = require('gulp'); | |
const postcss = require('gulp-postcss'); | |
const autoprefixer = require('autoprefixer'); | |
const cssnano = require('cssnano'); | |
const sass = require('gulp-sass'); | |
const { postcssRTLCSS } = require('postcss-rtlcss'); | |
const rename = require('gulp-rename'); | |
const rtl_support = require('postcss-rtl-support'); | |
const cleanCss = require('gulp-clean-css'); | |
var processors = [ |
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
const { src, dest, watch, series, task } = require('gulp'); | |
const postcss = require('gulp-postcss'); | |
const autoprefixer = require('autoprefixer'); | |
const cssnext = require('cssnext'); | |
const precss = require('precss'); | |
const cssnano = require('cssnano'); | |
const sass = require('gulp-sass'); | |
const fontMagician = require('postcss-font-magician'); | |
const rtlcss = require('rtlcss'); | |
const rename = require('gulp-rename'); |
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
<?php | |
// Simple HTTP static file server using Swoole | |
$host = $argv[1] ?? '127.0.0.1'; | |
$port = $argv[2] ?? 9501; | |
$http = new swoole_http_server($host, $port); | |
// The usage of enable_static_handler seems to produce errors | |
// $http->set([ |
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 | |
# Just Setup Script | |
#chmod +x filename.sh | |
#COLORS | |
Color_Off='\033[0m' # Text Reset | |
# Regular Colors | |
Red='\033[0;31m' # Red | |
Green='\033[0;32m' # Green | |
Yellow='\033[0;33m' # Yellow | |
Purple='\033[0;35m' # Purple |
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
var $byID = document.getElementById.bind(document); | |
var $byAll = document.querySelectorAll.bind(document); | |
var $byTag = document.getElementsByTagName.bind(document); | |
var $ = (elm, event, call) => { | |
var $selecetd; | |
var type = elm.substr(0, 1); | |
if(type == '#'){ | |
$selecetd = $byID(elm.substr(1)); | |
if(event){ | |
$selecetd.addEventListener(event, (e) => { |