Skip to content

Instantly share code, notes, and snippets.

@iesen
iesen / blog-angularhttp-3
Created October 25, 2014 08:54
blog-angularhttp-3
// /mysite/foo/<fooId>?name=query Eğer fooId non-ascii karakter içeriyor ise encode edilecektir
$http.get("/mysite/foo/" + encodeURIComponent(fooId), {
params: { name : query }
})
.then(function(data) {
});
/*!
* Grunt
* $ npm install grunt-contrib-uglify grunt-autoprefixer grunt-contrib-cssmin grunt-contrib-imagemin grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat grunt-contrib-clean grunt-contrib-jshint grunt-notify --save-dev
*/
module.exports = function(grunt) {
grunt.initConfig({
// Sass
@iesen
iesen / git-change-author-of-single-commit.sh
Last active August 29, 2015 14:15
git-change-author-of-single-commit.sh
#!/bin/sh
#
# Change the author name and/or email of a single commit.
#
# change-author [-f] commit-to-change [branch-to-rewrite [new-name [new-email]]]
#
# If -f is supplied it is passed to "git filter-branch".
#
# If <branch-to-rewrite> is not provided or is empty HEAD will be used.
alias ll='ls -lGaf'
vim ~/.bash_profile