There are several approaches
- Mount Google Drive in local Colab VM
- Upload and download via browser
- Use colab_util.py in python script
| function C = getColourfulness( im ) | |
| % | |
| % C = getColourfulness( im ) | |
| % | |
| % MATLAB algorithm implementation of the | |
| % "Measuring colourfulness in natural images" | |
| % (Hasler and Susstrunk, 2003) | |
| % | |
| % Input: | |
| % im - image in RGB |
There are several approaches
| config.omniauth :wordpress_hosted, ENV['SSO_KEY'], ENV['SSO_SECRET'], | |
| strategy_class: OmniAuth::Strategies::WordpressHosted, | |
| client_options: { site: ENV['SSO_URL'] } |
| Copyright (C) 2011 by Colin MacKenzie IV | |
| 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: | |
| The above copyright notice and this permission notice shall be included in |
| CFLAGS = -std=c99 -Wall | |
| main : main.o | |
| .PHONY : test clean | |
| test : main | |
| ./$^ "*regex*" "*vtable*" < main.c | |
| clean : |
| class Fail2banNotifier | |
| def initialize(options) | |
| @default_options = options | |
| @default_options[:logfile] ||= Rails.root.join('log', 'fail2ban.log') | |
| # Roll over every 30M, keep 10 files | |
| @logger ||= Logger.new(@default_options[:logfile], 10, 30*1024*1024) | |
| end | |
| def call(exception, options={}) |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| root /var/www/wordpress; | |
| index index.php index.html index.htm index.nginx-debian.html; | |
| server_name _; |
| #include "stm32f1xx_hal.h" | |
| UART_HandleTypeDef UartHandle; /* UART 핸들러 */ | |
| __IO ITStatus UartReady = RESET; /* UART 상태 지시자 */ | |
| #define RXBUFFERSIZE 10 | |
| uint8_t aRxBuffer[RXBUFFERSIZE]; /* UART 수신 버퍼 */ | |
| int main(void) |
| # get the submodule initially | |
| git submodule add ssh://bla submodule_dir | |
| git submodule init | |
| # time passes, submodule upstream is updated | |
| # and you now want to update | |
| # change to the submodule directory | |
| cd submodule_dir |