Creating a new PHPExcel Object.
$this->PHPExcel = new PHPExcel();
Creating a new sheet:
#!/usr/bin/env node | |
require('fs').readFile('image.png',function(err, data){ | |
console.log(require('crypto').createHash('sha1').update(data).digest('hex')) | |
}) |
Press minus + shift + s
and return
to chop/fold long lines!
/** | |
* plugin.js | |
* | |
* Copyright, Moxiecode Systems AB | |
* Released under LGPL License. | |
* | |
* License: http://www.tinymce.com/license | |
* Contributing: http://www.tinymce.com/contributing | |
*/ |
#!/usr/bin/env bash | |
# names of latest versions of each package | |
export VERSION_PCRE=pcre-8.38 | |
export VERSION_OPENSSL=openssl-1.0.2d | |
export VERSION_NGINX=nginx-1.9.7 | |
# URLs to the source directories | |
export SOURCE_OPENSSL=https://www.openssl.org/source/ | |
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
(function() { | |
"use strict"; | |
var toggles = document.querySelectorAll(".cmn-toggle-switch"); | |
for (var i = toggles.length - 1; i >= 0; i--) { | |
var toggle = toggles[i]; | |
toggleHandler(toggle); | |
}; |
@mixin font-smoothing($value: on) { | |
@if $value == on { | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
@else { | |
-webkit-font-smoothing: subpixel-antialiased; | |
-moz-osx-font-smoothing: auto; | |
} | |
} |
const { applyMiddleware, createStore } = Redux; | |
const createSagaMiddleware = ReduxSaga.default; | |
const { put, call } = ReduxSaga.effects; | |
const { takeLatest } = ReduxSaga; | |
const { connect, Provider } = ReactRedux; | |
// GitHub API | |
const gitHubApi = (username) => { | |
return fetch(`https://api.github.com/users/${username}`) | |
.then(response => { |
cmake_minimum_required(VERSION 3.7) | |
project(esp_vt100_firmware) | |
set(CMAKE_CXX_STANDARD GNU99) | |
set(SOURCE_FILES | |
include/uart_hw.h | |
include/user_config.h | |
user/io.c | |
user/io.h |