THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
(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.
| /** | |
| * Retrieves all the rows in the active spreadsheet that contain data and logs the | |
| * values for each row. | |
| * For more information on using the Spreadsheet API, see | |
| * https://developers.google.com/apps-script/service_spreadsheet | |
| */ | |
| function readRows() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var rows = sheet.getDataRange(); | |
| var numRows = rows.getNumRows(); |
| [ | |
| "Automotive", | |
| "Budgeting", | |
| "HVAC", | |
| "Heaters", | |
| "Hydraulics", | |
| "Logistics Management", | |
| "Management", | |
| "Negotiation", | |
| "Project Planning", |
| """ | |
| This creates the following GIF, where the text appears to be "embedded" | |
| in the video and "disappears" behind rapunzel. | |
| http://i.imgur.com/gxEHfLX.gif | |
| """ | |
| from moviepy.editor import * | |
| import numpy as np | |
| import skimage.morphology as skm |
| import { Component } from "React"; | |
| export var Enhance = ComposedComponent => class extends Component { | |
| constructor() { | |
| this.state = { data: null }; | |
| } | |
| componentDidMount() { | |
| this.setState({ data: 'Hello' }); | |
| } | |
| render() { |
| #!/bin/bash | |
| # | |
| # Creates a signed and zipaligned APK from your Ionic project | |
| # | |
| # Place your keystore in the root of your project and name it <company>.keystore | |
| # Use this script as following : | |
| # $ ./release.sh [company] [version] | |
| # | |
| # Don't forget to gitignore your key and your compiled apks. | |
| # |
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var autoprefixer = require('gulp-autoprefixer'); | |
| var minify = require('gulp-minify-css'); | |
| var uglify = require('gulp-uglify'); | |
| var concat = require('gulp-concat'); | |
| var plumber = require('gulp-plumber'); | |
| var browserSync = require('browser-sync'); | |
| var reload = browserSync.reload; |