This file contains hidden or 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
#![deny(unsafe_code)] | |
#![no_main] | |
#![no_std] | |
use panic_halt as _; | |
use nb::block; | |
use cortex_m_rt::entry; | |
use stm32f1xx_hal::{ | |
delay, |
This file contains hidden or 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
function onSelectionChange() { | |
var s = SpreadsheetApp.getActiveSheet(); | |
if( s.getName() == "Sheet1" ) { //checks that we're on Sheet1 or not | |
var r = s.getActiveCell(); | |
if( r.getColumn() == 4) { //checks that the cell being edited is in column A | |
if( r.getValue() === '' ) //checks if the adjacent cell is empty or not? | |
var today = new Date().getTime(); | |
r.setValue(today); | |
} | |
This file contains hidden or 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
ffmpeg version 3.2.14-1~deb9u1 Copyright (c) 2000-2019 the FFmpeg developers | |
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 | |
configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal |
This file contains hidden or 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
\msg model -> | |
Session.LoggedIn.update msg model | |
|> .model |
This file contains hidden or 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
# LCD | |
def four_bit_init do | |
{:ok, rs} = GPIO.open(22, :output) | |
{:ok, d4} = GPIO.open(25, :output) | |
{:ok, d5} = GPIO.open(24, :output) | |
{:ok, d6} = GPIO.open(23, :output) | |
{:ok, d7} = GPIO.open(18, :output) | |
GPIO.write(rs, 0) |
This file contains hidden or 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
In file included from /Users/zacck/Documents/oss/eosio.contracts/tests/eosio.token_tests.cpp:1: | |
In file included from /usr/local/include/boost/test/unit_test.hpp:18: | |
In file included from /usr/local/include/boost/test/test_tools.hpp:54: | |
In file included from /usr/local/include/boost/test/tools/fpc_op.hpp:19: | |
In file included from /usr/local/include/boost/test/tools/fpc_tolerance.hpp:19: | |
In file included from /usr/local/include/boost/test/tree/decorator.hpp:22: | |
In file included from /usr/local/include/boost/test/tree/fixture.hpp:21: | |
In file included from /usr/local/include/boost/function/function0.hpp:11: | |
In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:15: | |
In file included from /usr/local/include/boost/function/function_template.hpp:13: |
This file contains hidden or 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
#include <iostream> | |
#include <cstdlib> | |
#include <string> | |
#include <vector> | |
#include <numeric> | |
#include <ctime> | |
#include <cmath> | |
#include <algorithm> | |
std::vector<int> GenerateRandVec(int numOfNums, int min, int max); |
This file contains hidden or 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
g++ boost_unit_testing/sampleTest.cpp -o boost_unit_testing/sampleTest -l boost_system | |
Undefined symbols for architecture x86_64: | |
"boost::test_tools::tt_detail::report_assertion(boost::test_tools::assertion_result const&, boost::unit_test::lazy_ostream const&, boost::unit_test::basic_cstring<char const>, unsigned long, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, unsigned long, ...)", referenced from: | |
sample_test::test_method() in sampleTest-c66c77.o | |
bool boost::test_tools::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd, int, int>(boost::test_tools::tt_detail::equal_impl_frwd, boost::unit_test::lazy_ostream const&, boost::unit_test::basic_cstring<char const>, unsigned long, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, int const&, char const*, int const&, char const*) in sampleTest-c66c77.o | |
"boost::unit_test::lazy_ostream::inst", referenced from: | |
boost::unit_test::lazy_ostream::instance() in |
This file contains hidden or 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
'use strict' | |
const autoprefixer = require('autoprefixer') | |
const path = require('path') | |
const webpack = require('webpack') | |
const HtmlWebpackPlugin = require('html-webpack-plugin') | |
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin') | |
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin') | |
const getClientEnvironment = require('./env') | |
const paths = require('../config/paths') |
This file contains hidden or 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
'use strict' | |
const autoprefixer = require('autoprefixer') | |
const path = require('path') | |
const webpack = require('webpack') | |
const HtmlWebpackPlugin = require('html-webpack-plugin') | |
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin') | |
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin') | |
const getClientEnvironment = require('./env') | |
const paths = require('../config/paths') |
NewerOlder