Skip to content

Instantly share code, notes, and snippets.

View sahat's full-sized avatar

Sahat Yalkabov sahat

  • SIMON Markets LLC
  • Remote
View GitHub Profile
// -------------------------------------------------------
// -------------------------------------------------------
//
// Copyright © Keith Driessen.
//
// RUNNIN' WITH THE DEVIL SINCE 1985!
// http://madebygrave.com
// -------------------------------------------------------
// -------------------------------------------------------
// -------------------------------------------------------
// -------------------------------------------------------
//
// Copyright © Keith Driessen.
//
// RUNNIN' WITH THE DEVIL SINCE 1985!
// http://madebygrave.com
// -------------------------------------------------------
// -------------------------------------------------------
@sahat
sahat / functions-of-the-beast.js
Created December 17, 2014 18:06
index.html with templates
// -------------------------------------------------------
// -------------------------------------------------------
//
// Copyright © Keith Driessen.
//
// RUNNIN' WITH THE DEVIL SINCE 1985!
// http://madebygrave.com
// -------------------------------------------------------
// -------------------------------------------------------
@sahat
sahat / confirmPassword.js
Created December 27, 2014 05:16
Confirm Password
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);
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
{
"name": "hapiapp",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "",
:global .btn-primary {
color: red;
}
@sahat
sahat / wow alexa
Last active January 11, 2017 06:07
/* 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
**/