AWS have released a new featue called CloudWatch Events, which lets you configure events fired by cloudwatch and direct them to SNS, Lambda functions, etc. Here's the blog post
Here's the motivational image:
# Redirect your site to domain.com, except google123456789.html files | |
RewriteEngine On | |
RewriteRule ^google[0-9a-f]+.html$ - [L] | |
RewriteRule ^(.*)$ http://domain\.com/$1 [L,R=301] |
<?php | |
// [LIB - Crypt Functions] | |
// (c) 2005-2013 unix-world.org - all rights reserved | |
// code release 2013-05-30 | |
//##################################################### PREVENT S EXECUTION | |
if(A_HEADER_EXEC_RUNTIME != 'NetVisionOpenSource') { | |
die('This PHP script: `'.htmlspecialchars(@basename(__FILE__)).'` cannot be executed directly !'); | |
} //end if | |
//##################################################### |
package crappyBird; | |
import java.awt.Graphics; | |
import java.awt.Rectangle; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.awt.image.BufferedImage; | |
import java.io.IOException; | |
import java.net.URL; |
int gap = 20; | |
void setup() { | |
size(1000, 1000); | |
strokeWeight(4); | |
strokeCap(SQUARE); | |
frameRate(0.5); | |
} | |
void draw() { |
Module Module1 | |
Sub Main() | |
'Get the directory path | |
Dim exe_path As String = (Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) & "\atom\") | |
'Variable for the highest version | |
Dim highest_version As New Version("0.0.1") |
AWS have released a new featue called CloudWatch Events, which lets you configure events fired by cloudwatch and direct them to SNS, Lambda functions, etc. Here's the blog post
Here's the motivational image:
React recently introduced an experimental profiler API. This page gives instructions on how to use this API in a production release of your app.
Table of Contents
React DOM automatically supports profiling in development mode for v16.5+, but since profiling adds some small additional overhead it is opt-in for production mode. This gist explains how to opt-in.
# -*- coding: utf-8 -*- | |
# | |
# Author: Vegard Nossum <vegard.nossum@gmail.com> | |
import math | |
import os | |
import sys | |
import cairo |
Description: > | |
Script to create a SSL certificate, S3 bucket and Cloudfront distribution. | |
############################################################################### | |
Parameters: | |
############################################################################### | |
DomainName: | |
Type: String | |
Description: The domain name. |