Skip to content

Instantly share code, notes, and snippets.

@ubaid-me
ubaid-me / README.md
Created March 3, 2018 17:08 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.


@ubaid-me
ubaid-me / wechat-server.js
Created January 31, 2018 23:50 — forked from bitristan/server.js
open wechat verify with node js
// run it using ngrok
var url = require('url'),
crypto = require('crypto'),
querystring = require('querystring'),
http = require('http'),
port = 3000;
var token = '***your token';
@ubaid-me
ubaid-me / aem-osgi.md
Last active September 18, 2017 11:01
Adobe AEM 6.0 OSGi Bundle Setup
@ubaid-me
ubaid-me / start.bat
Created June 16, 2017 15:31 — forked from jayankandathil/start.bat
Adobe AEM 6.0 Windows start.bat for MongoDB (DEV environment)
@echo off
:: This script configures the start information for this server.
::
:: The following variables may be used to override the defaults.
:: For one-time overrides the variable can be set as part of the command-line; e.g.,
::
:: SET CQ_PORT=1234 & ./start.bat
::
setlocal
@ubaid-me
ubaid-me / client.html
Created June 15, 2017 18:47 — forked from agrueneberg/client.html
HMAC-SHA256 example for verifying both the data integrity and the authentication of a request in Node.js and web browsers.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HMAC-SHA256 Example</title>
</head>
<body>
<script src="http://crypto.stanford.edu/sjcl/sjcl.js"></script>
<script>
var sharedSecret, query, signature, hmac, xhr;
@ubaid-me
ubaid-me / cron_script.sh
Last active May 21, 2017 13:50
NodeJS - perform an activity between a specific start and end time
# set your crontab cron like this, to check after every 5 minutes let's say
*/5 * * * * /home/ub/local/bin/node /mnt/d/tmp/cron001/cron.js >> /mnt/d/tmp/cron001/activtyOn21-5.log
# for every minute
#* * * * * /home/ub/local/bin/node /mnt/d/tmp/cron001/cron.js >> /mnt/d/tmp/cron001/activtyOn21-5.log
module App {
export class BaseController<T extends Entity> {
// my services
searchService: SearchService;
saveService: SaveService;
authService: AuthService;
url: UrlService;
// my variables
searchRequest: SearchRequest;
@ubaid-me
ubaid-me / client_setup1.jpg
Created September 21, 2016 12:19 — forked from anhar/setting_up_ios_universal_links.md
Setting up iOS Universal Links
client_setup1.jpg