This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| package de.kopis.camel.model; | |
| import org.apache.camel.dataformat.bindy.annotation.CsvRecord; | |
| import org.apache.camel.dataformat.bindy.annotation.DataField; | |
| @CsvRecord(separator = ",") | |
| public class CsvBean { | |
| @DataField(pos = 1) | |
| private String first; | |
| @DataField(pos = 2) |
| import javax.crypto.Cipher; | |
| import java.security.NoSuchAlgorithmException; | |
| public class KeyLengthDetector { | |
| public static void main(String[] args) { | |
| int allowedKeyLength = 0; | |
| try { | |
| allowedKeyLength = Cipher.getMaxAllowedKeyLength("AES"); | |
| } catch (NoSuchAlgorithmException e) { |
| The MIT License (MIT) | |
| Copyright (c) 2014 Matteo Rinaudo | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| <!-- by https://gist.github.com/prule/5523826 --> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <beans xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:context="http://www.springframework.org/schema/context" | |
| xmlns:jee="http://www.springframework.org/schema/jee" | |
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd | |
| http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd | |
| http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd"> |
| { | |
| "shell_cmd": ["cat", "$file", "|", "/usr/bin/ruby", "/Users/ttscoff/scripts/update_workflow.rb"] | |
| } |
This gist shows how to create a GIF screencast using only free OS X tools: QuickTime and ffmpeg.
Forked from https://gist.github.com/dergachev/4627207. Updated to use a palette to improve quality and skip gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
Recently CSS has got a lot of negativity. But I would like to defend it and show, that with good naming convention CSS works pretty well.
My 3 developers team has just developed React.js application with 7668 lines of CSS (and just 2 !important).
During one year of development we had 0 issues with CSS. No refactoring typos, no style leaks, no performance problems, possibly, it is the most stable part of our application.
Here are main principles we use to write CSS for modern (IE11+) browsers:
Your blockchain must have all of the following properties:
If your blockchain is missing any of the above properties, it is not a blockchain, it is just a ledger.