Skip to content

Instantly share code, notes, and snippets.

View dergachev's full-sized avatar

Alex Dergachev dergachev

View GitHub Profile
@dergachev
dergachev / README.md
Last active December 10, 2015 15:38
Testing SVG uploads to Gist
@dergachev
dergachev / README.md
Last active November 9, 2022 05:42
descriptive-url.bookmarklet.js
@dergachev
dergachev / README.md
Last active October 3, 2022 17:13
Cross-domain POST requests
@dergachev
dergachev / index.html
Last active December 11, 2015 03:49
youtube JS API demo. visit http://bl.ocks.org/4540743
<!--
/* Copyright (c) 2007 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@dergachev
dergachev / README.md
Last active December 11, 2015 04:58
pin-screenshot.bookmarklet.js

Pin Screenshot bookmarklet

The Pin Screenshot bookmarklet allows you to post a screenshot of the current page to Pinterest. Requires own screenshot tool, such as github.com/dergachev/copy-public-url.

Placeholder screenshot:

Screenshot

Installation

@dergachev
dergachev / GIF-Screencast-OSX.md
Last active October 31, 2025 16:45
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@dergachev
dergachev / WET-Drupal-WG-Jan25.md
Created January 25, 2013 20:30
Jan 25 WET Drupal Working Group notes

Jan 25 WET Drupal Working Group notes

Drupalcamp Ottawa!

  • http://drupalcampottawa.com/
  • Feb 22 and 23
  • Andrew Hoppin from NYS Senate (keynote)
  • Looking for panelists, speakers.
  • Expecting 200+ people on the Friday, (first day)
@dergachev
dergachev / test-growl.applescript
Created January 28, 2013 19:29
Compile and run this in Applescript Editor to test if Growl is installed and can be called from Applescript.
on run
sendGrowlNotification("Growl works!")
end run
on sendGrowlNotification(message)
--display alert ("Message: " & |message|)
-- see http://growl.info/documentation/applescript-support.php
tell application "System Events"
set isGrowlRunning to (count of (every process whose bundle identifier is "com.Growl.GrowlHelperApp")) > 0
end tell
@dergachev
dergachev / Intro-to-Vagrant-for-Drupal.md
Last active December 12, 2015 02:19
Vagrant Talk (Drupalcamp NJ & Drupalcamp Ottawa)

Vagrant tutorial

  • Slideshow structure
    • About me - Alex Dergachev, co-founder @evolvingweb (follow me gh/twitter: @dergachev)
    • The problem
    • The solution - Chef & Virtualbox & Vagrant
      • Benefits
        • repo + sql dump + cookbooks + ubuntu ISO = Drupal stack
        • prod vs dev consistency
  • sysadmin code reuse
@dergachev
dergachev / Vagrant-BOF-drupalcampNJ.md
Last active December 12, 2015 02:29
Notes from our BOF discussion about Drupal + Chef + Vagrant.