Skip to content

Instantly share code, notes, and snippets.

View vladikoff's full-sized avatar
🚀
🧇

Vlad Filippov vladikoff

🚀
🧇
View GitHub Profile
/**
* Uncompressed source can be found at https://login.persona.org/include.orig.js
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
(function() {
var undefined;
// local embedded copy of jschannel: http://github.com/mozilla/jschannel
// watch config
watch: {
options: {
spawn: false // <--- important
},
js: {
files: '*.js',
tasks: []
}
}
module.exports = function (grunt) {
grunt.initConfig({
log: {
foo: [1, 2, 3],
bar: 'hello world',
baz: false
}
});
@vladikoff
vladikoff / Gruntfile.js
Last active January 4, 2016 12:39
Grunt Issue or Question Template :: __Fork this Gist and your details__
/**
* Paste your Gruntfile (or important parts of it) here
*/
@vladikoff
vladikoff / bugzilla.css
Last active August 29, 2015 13:57
GitHub-like CSS override skin for Bugzilla
* {
font-family: Consolas, monospace!important;
}
body {
background: white;
font-size: 11px;
}
.bz_group_visibility_section {

Keybase proof

I hereby claim:

  • I am vladikoff on github.
  • I am vladikoff (https://keybase.io/vladikoff) on keybase.
  • I have a public key whose fingerprint is AC9E A9AE 1759 36B1 3854 F9F1 2A0C 780B 3BDC AC05

To claim this, I am signing this object:

@vladikoff
vladikoff / resource.js
Created April 17, 2014 17:52
Angular $resource and transformResponse
angular.module('itemServices', ['ngResource'])
.factory('Item', ['$resource',
function ($resource) {
return $resource('items/:id',
{id: '@id'},
{
query: {
isArray: true,
method: 'GET',
params: {},
@vladikoff
vladikoff / contentPolicy.js
Created June 19, 2014 22:21
contentPoliciy
/*
* This file is part of Adblock Plus <http://adblockplus.org/>,
* Copyright (C) 2006-2014 Eyeo GmbH
*
* Adblock Plus is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* Adblock Plus is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@vladikoff
vladikoff / doskey.md
Last active March 16, 2025 08:45
Setup Persistent Aliases & Macros in Windows Command Prompt (cmd.exe) using DOSKey

Setup Persistent Aliases & Macros in Windows Command Prompt (cmd.exe) using DOSKey

Saved from Archive.org, Date: May 14, 2010 Author: Jesse Webb

http://web.archive.org/web/20140330024520/http://devblog.point2.com/2010/05/14/setup-persistent-aliases-macros-in-windows-command-prompt-cmd-exe-using-doskey/

Our development machines here at Point2 are not standardized; we have a mixture of Windows XP, 7, and Mac OSX/Unix computers. I find myself constantly switching back and forth between command prompt interfaces when pair programming. As a result, I catch myself using “ls” to list a directories contents regardless of what system I am on. I am currently using a Windows XP machine for my developer box and I wanted to setup an alias to the “ls” command to actually perform a “dir”. Here is how I accomplished it…

There is a command available in a Window’s shell that let’s you “alias” command to whatever you please: DOSKey. It allows you to create “macros” to execute one or more other commands with a custom nam

We couldn’t find that file to show.