Skip to content

Instantly share code, notes, and snippets.

Sahat Yalkabov sahat

Block or report user

Report or block sahat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wow alexa
/* eslint-disable func-names */
/* eslint quote-props: ["error", "consistent"]*/
/**
* This sample demonstrates a simple skill built with the Amazon Alexa Skills
* nodejs skill development kit.
* This sample supports multiple lauguages. (en-US, en-GB, de-DE).
* The Intent Schema, Custom Slots and Sample Utterances for this skill, as well
* as testing instructions are located at https://github.com/alexa/skill-sample-nodejs-fact
**/
View package.json
{
"name": "hapiapp",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "",
View azure.txt
Time: 58812ms
Asset Size Chunks Chunk Names
bundle.js 690 kB 0 [emitted] main
[0] multi main 28 bytes {0} [built]
+ 680 hidden modules
ERROR in ./~/lodash/lodash.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./100.112.156.64/volume-5-default/96608a00bf0dbc879efe/29786da32b734108a2f6ba4735cc3acc/site/wwwroot/node_modules/webpack/buildin/module.js in D:\home\site\wwwroot\node_modules\lodash
resolve file
D:\home\site\wwwroot\node_modules\lodash\100.112.156.64\volume-5-default\96608a00bf0dbc879efe\29786da32b734108a2f6ba4735cc3acc\site\wwwroot\node_modules\webpack\buildin\module.js doesn't exist
View confirmPassword.js
angular.module('MyApp')
.directive('repeatPassword', function() {
return {
require: 'ngModel',
link: function(scope, elem, attrs, ctrl) {
var otherInput = elem.inheritedData("$formController")[attrs.repeatPassword];
ctrl.$parsers.push(function(value) {
if (value === otherInput.$viewValue) {
ctrl.$setValidity('repeat', true);
@sahat
sahat / functions-of-the-beast.js
Created Dec 17, 2014
index.html with templates
View functions-of-the-beast.js
// -------------------------------------------------------
// -------------------------------------------------------
//
// Copyright © Keith Driessen.
//
// RUNNIN' WITH THE DEVIL SINCE 1985!
// http://madebygrave.com
// -------------------------------------------------------
// -------------------------------------------------------
View new-function-of-the-beast.js
// -------------------------------------------------------
// -------------------------------------------------------
//
// Copyright © Keith Driessen.
//
// RUNNIN' WITH THE DEVIL SINCE 1985!
// http://madebygrave.com
// -------------------------------------------------------
// -------------------------------------------------------
View function-of-the-beast.js
// -------------------------------------------------------
// -------------------------------------------------------
//
// Copyright © Keith Driessen.
//
// RUNNIN' WITH THE DEVIL SINCE 1985!
// http://madebygrave.com
// -------------------------------------------------------
// -------------------------------------------------------
View index.html
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js oldie lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js oldie lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js oldie lt-ie9" lang="en"> <![endif]-->
<!--[if IE 9]> <html class="no-js lt-ie10" lang="en"> <![endif]-->
<!--[if gt IE 9]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<title>RONIIT</title>
<meta charset="utf-8" />
<meta name="description" content="American dark electro-pop artist. Includes biography, discography, tour schedule, gallery, and more." />
View redirect_after_login2.js
app.use(function(req, res, next) {
var path = req.path.split('/')[1];
if (/auth|login|logout|signup|img|fonts|favicon/i.test(path)) {
return next();
}
req.session.returnTo = req.path;
next();
});
You can’t perform that action at this time.