Skip to content

Instantly share code, notes, and snippets.

View chyngyz's full-sized avatar

Chyngyz Arystan chyngyz

View GitHub Profile

Keybase proof

I hereby claim:

  • I am chyngyz on github.
  • I am chyngyz (https://keybase.io/chyngyz) on keybase.
  • I have a public key whose fingerprint is AED1 ED0A B4CA 866E AC07 2AD7 16C6 FFAE 7EAE C8D8

To claim this, I am signing this object:

"devDependencies": {
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.0.2",
"gulp-cache": "^0.3.0",
"gulp-clean": "^0.3.1",
"gulp-concat": "^2.6.0",
"gulp-csso": "^1.0.0",
"gulp-filter": "^3.0.1",
"gulp-gzip": "^1.2.0",
"gulp-imagemin": "^2.3.0",
'use strict';
var gulp = require('gulp');
var notify = require("gulp-notify");
var Path = {
rootDir: 'staticfiles/dev',
rootDist: 'staticfiles/dist',
staticJs: 'staticfiles/dev/js',
staticCSS: 'staticfiles/dev/styles',
@chyngyz
chyngyz / gist:07b6a228e20413a94ff9
Last active February 22, 2016 04:31
Gulpfile.js
'use strict';
var gulp = require('gulp');
var notify = require("gulp-notify");
var Path = {
rootDir: 'dev',
rootDist: 'dist',
staticJs: 'dev/js',
staticCSS: 'dev/styles',
@chyngyz
chyngyz / gist:cef75aed65432b714960
Last active February 16, 2016 13:36
Mouse Scroll Icon
@-webkit-keyframes mouse-wheel {
0% {
-webkit-transform: scaleY(.4)translateY();
transform: scaleY(.4)translateY();
}
20% {
-webkit-transform: scaleY(1)translateY();
transform: scaleY(1)translateY();
}
60% {
@chyngyz
chyngyz / gist:21eca59186e650900f3f
Created December 24, 2015 04:17 — forked from alexcrown/gist:089971889fda0ca4e7b1
Jasig CAS auth in angular webapp
$scope.login = function () {
$http({ // getting TGT (Ticket Granting Ticket)
method: 'POST',
url: 'http://localhost/cas/v1/tickets',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
data: $.param({username: $scope.loginform.username, password: $scope.loginform.password})
}).success(function(data, status, headers) {
// CAS returns location where we can request service ticket
var location = headers('Location');
$http({ //requesting service ticket, rest/app/heartbeat is part of our app
@chyngyz
chyngyz / angularjs-modals.htm
Created November 30, 2015 04:50 — forked from bennadel/angularjs-modals.htm
Creating A Simple Modal System In AngularJS
<!doctype html>
<html ng-app="Demo">
<head>
<meta charset="utf-8" />
<title>
Creating A Simple Modal System In AngularJS
</title>
<link rel="stylesheet" type="text/css" href="./demo.css"></link>
<div class="container">
{% block breadcrumbs %}
<div class="row">
<ul class="breadcrumb">
<li><a href="/">{% trans 'Home' %}</a></li>
<li><a href="#">{% trans 'Library' %}</a></li>
<li class="active">{% trans 'Data' %}</li>
</ul>
</div>
<div class="container">
{% block breadcrumbs %}
<div class="row">
<ul class="breadcrumb">
<li><a href="/">{% trans 'Home' %}</a></li>
<li><a href="#">{% trans 'Library' %}</a></li>
<li class="active">{% trans 'Data' %}</li>
</ul>
</div>
@chyngyz
chyngyz / Tarify
Last active September 29, 2015 15:14
<div class="container">
{% block breadcrumbs %}
<div class="row">
<ul class="breadcrumb">
<li><a href="/">{% trans 'Home' %}</a></li>
<li><a href="#">{% trans 'Library' %}</a></li>
<li class="active">{% trans 'Data' %}</li>
</ul>
</div>