Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View macroramesh6's full-sized avatar
:octocat:

Ramesh Murugesan macroramesh6

:octocat:
View GitHub Profile
@jankorbel
jankorbel / dabblet.css
Created April 8, 2012 10:39
CSS animated loading dots
/*
CSS animated loading dots
*/
body
{
background: #5A5C64;
}
.loading_dots
@ahoereth
ahoereth / meteor_reactive_var.html
Last active July 29, 2017 18:10
Minimal meteor reactive variable example. http://meteorpad.com/pad/kajGdYLfTrEkE5NtL
<template name="meteor_reactive_var">
<div>{{count}}</div>
<button>Increment Count</button>
</template>
@navicore
navicore / az_cmds.md
Last active November 6, 2019 11:24
az commands

az commands

get tenant id and subscription id

az account show -o json | jq ".tenantId, .id"

create an application

@DTrejo
DTrejo / .gitignore
Created April 4, 2011 03:32
How to Readline - an example and the beginnings of the docs
node_modules/
@ismail0352
ismail0352 / openvpn.tf
Last active April 8, 2021 05:16
Example of how a vpn server can be created
module "prod-openvpn-sg" {
# source = "../modules/security-group"
source = "github.com/terraform-aws-modules/terraform-aws-security-group"
name = "${var.vpn_name}-sg"
description = "Security Group for openvpn server Prod"
vpc_id = var.vpc_id
ingress_cidr_blocks = ["0.0.0.0/0"] # Actual IP range to support
ingress_ipv6_cidr_blocks = ["::/0"]
ingress_rules = ["openvpn-udp", "openvpn-tcp", "openvpn-https-tcp", "ssh-tcp"]
egress_rules = ["all-all"]
@passionsjin
passionsjin / usage.md
Created May 12, 2020 02:57
부하테스트- artillery

npm install artillery

  • 간단테스트 artillery quick --count 500 -n 20 https://scaleouttest.azurewebsites.net/
  • 500번 카운트를 20명이서 하는 효과(?)
Resources:
ProductsFunction:
Type: AWS::Serverless::Function
Properties:
CodeUri: products/
Handler: app.handler
Layers:
- !Ref CommonLayer
Runtime: nodejs8.10
Events:
@sebandgo
sebandgo / aws-service-principals.txt
Created November 3, 2020 20:04
AWS Service Principals
a4b.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com
apigateway.amazonaws.com
application-autoscaling.amazonaws.com
appstream.application-autoscaling.amazonaws.com
appsync.amazonaws.com
@lukasvan3l
lukasvan3l / blogpost_oauth_meteor_jimmy.md
Last active August 5, 2022 07:50
Any OAuth login service ever created, added to your app within 5 minutes

Adding any OAuth login to your Meteor app

tl;dr: Copy the q42:accounts-microsoft and q42:microsoft package, modify the URLs and service name and it works! Probably anyway...

When creating a commercial application with a wide target audience, you can stumble upon users wanting to login using an unknown and barely used OAuth service. And why deny your users this when you can easily create a login service package?

With only about 400 million active users and only 2nd place as world most valuable brand it makes sense that no developer has created an implementation to log in with your Microsoft account. But believe it or not, some people like logging in with their Microsoft Account. And so, by building on the the default meteor google and [accounts-google](https://atmospherejs.com/me

@enjalot
enjalot / cors_server.py
Created June 10, 2012 06:19
Allow CORS with python simple http server
import SimpleHTTPServer
class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
def send_head(self):
"""Common code for GET and HEAD commands.
This sends the response code and MIME headers.
Return value is either a file object (which has to be copied
to the outputfile by the caller unless the command was HEAD,
and must be closed by the caller under all circumstances), or