Skip to content

Instantly share code, notes, and snippets.

Vicky Chijwani vickychijwani

Block or report user

Report or block vickychijwani

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
vickychijwani / Output with PyYAML 3.12
Last active Jun 27, 2018
This example (slight modification on this JJB test fixture: works with JJB 2.0.10 + PyYAML 3.12, but not with PyYAML 4.1 (released 12 hours ago)
View Output with PyYAML 3.12
$ jenkins-jobs --flush-cache -l DEBUG --conf ./config.ini test -o /tmp/jjb-test/example . \*
DEBUG:stevedore.extension:found extension EntryPoint.parse('delete = jenkins_jobs.cli.subcommand.delete:DeleteSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('delete-all = jenkins_jobs.cli.subcommand.delete_all:DeleteAllSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('get-plugins-info = jenkins_jobs.cli.subcommand.get_plugins_info:GetPluginsInfoSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('list = jenkins_jobs.cli.subcommand.list:ListSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('test = jenkins_jobs.cli.subcommand.test:TestSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('update = jenkins_jobs.cli.subcommand.update:UpdateSubCommand')
INFO:jenkins_jobs.cli.subcommand.update:Updating jobs in ['/tmp/jjb-test', '/tmp/jjb-test/blah', '/tmp/jjb-test/example'] (['*'])
DEBUG:jenkins_jobs.parser:Parsing YA
vickychijwani / data.geojson
Last active Apr 18, 2018 — forked from awoodruff/index.html
Leaflet: basic #ratmap
View data.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
vickychijwani /
Last active Nov 29, 2016
Conway's Game of Life in Eve

Conway's Game of Life



  [#cell x: 1, y: 1, alive: false]
  [#cell x: 2, y: 1, alive: false]
vickychijwani / kanban.css
Last active Nov 15, 2016
A simple Trello clone in Eve (CSS ripped from Trello itself)
View kanban.css
.board {
width: 100%;
height: 100%;
/* background-color: #0079bf; */
display: flex;
flex-direction: column;
.board textarea {
vickychijwani /
Last active Jan 13, 2016 — forked from nicknisi/
A collection of JavaScript projects with issues labeled beginner-friendly
#! /bin/bash
time1="$(date +%s.%N)"
license="GPL License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
vickychijwani / ghost_api_auth.js
Created Aug 3, 2015
An untested example of how to refresh an access token in the Ghost API.
View ghost_api_auth.js
var accessToken;
var refreshToken;
var accessTokenCreatedAt;
var refreshTokenExpiresIn = 24 * 60 * 60; // taken from ghost core
function hasAccessTokenExpired() {
// consider the token as "expired" 5 minutes earlier, to be safe
return new Date().getTime() > accessTokenCreatedAt + authToken.expires_in - 300;
package com.example.myapp;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MotionEvent;
vickychijwani / ogres-of-hanoi.clj
Last active Aug 29, 2015
Recursive solution to Ogres of Hanoi
View ogres-of-hanoi.clj
(defn move [from to]
(.say this "move" (to-array [from to])))
(defn hanoi [num from to via]
(if (= num 1)
(move from to)
(hanoi (dec num) from via to)
(move from to)
(hanoi (dec num) via to from))))
vickychijwani /
Created Nov 12, 2011 — forked from sumodx/
Download lecture videos of ai-class, with HTTP proxy and basic resume support
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Deepak.G.R."
__credits__ = "Sumod Hajela"
__license__ = 'Public Domain'
Go to command line and type
You can’t perform that action at this time.