(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <html> | |
| <head> | |
| <title>1Kb HTML5 WYSWYG Editor</title> | |
| <style> | |
| .control { | |
| margin:0 0 8px; | |
| } | |
| #editable { | |
| padding:10px; | |
| border:solid 1px #ccc; |
| var gulp = require('gulp'), | |
| gutil = require('gulp-util'), | |
| sass = require('gulp-sass'), | |
| csso = require('gulp-csso'), | |
| uglify = require('gulp-uglify'), | |
| jade = require('gulp-jade'), | |
| concat = require('gulp-concat'), | |
| livereload = require('gulp-livereload'), // Livereload plugin needed: https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei | |
| tinylr = require('tiny-lr'), | |
| express = require('express'), |
| # coding: utf-8 | |
| # http://forums.fedoraforum.org/showthread.php?t=272322 | |
| import os | |
| import uuid | |
| import fnmatch | |
| import subprocess | |
| CURRENT_DIR = os.path.dirname(__file__) | |
| CFG_DIR = '/etc/NetworkManager/system-connections' |
| // MIT License - Copyright (c) 2016 Can Güney Aksakalli | |
| // https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Net.Sockets; | |
| using System.Net; | |
| using System.IO; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf8"> | |
| <title>Float Label Pattern</title> | |
| <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
| <style type="text/css" media="screen"> | |
| .row { | |
| /*position: relative;*/ | |
| padding-top: 24px; |
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <errno.h> | |
| #include <string.h> | |
| #include <fcntl.h> | |
| #include <signal.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <netinet/in.h> |
| # config/deploy.rb | |
| require 'mina/bundler' | |
| require 'mina/rails' | |
| require 'mina/git' | |
| require 'mina/rvm' | |
| # ter_mode 这个要设置,不然在 mac 下输密码有问题 | |
| set :term_mode, nil | |
| set :rvm_path, '/usr/local/rvm/bin/rvm' |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <!-- fiddle is here http://jsfiddle.net/ondras/hYfN3 --> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <title>Tiny Excel-like app in vanilla JS - jsFiddle demo by ondras</title> | |
| <script type='text/javascript' src='/js/lib/dummy.js'></script> | |