Skip to content

Instantly share code, notes, and snippets.

View czettnersandor's full-sized avatar

Sándor Czettner czettnersandor

  • Glasgow, United Kingdom
View GitHub Profile
@blazarecki
blazarecki / PopupDictionary.php
Last active November 10, 2021 15:54
Alert, confirm and prompt with mink
<?php
namespace Widop\Mink\Extension;
/**
* Dictionary to manage popups.
*
* @author Benjamin Lazarecki <benjamin.lazarecki@gmail.com>
*/
trait PopupDictionary
@samcday
samcday / ftp_sync.coffee
Created January 21, 2012 12:38
Easy-mode dev work to remote server!
require "sugar"
async = require "async"
fs = require "fs"
path = require "path"
child_process = require "child_process"
FTPClient = require "./ftp"
[watchPath, ftpHost, ftpUser, ftpPass, ftpPath] = process.argv.from 2
conn = new FTPClient
@nathansmith
nathansmith / module_pattern_init.js
Created January 11, 2010 17:08
Init + Module Pattern JS
// JS Module Pattern:
// http://j.mp/module-pattern
// Redefine: $, window, document, undefined.
var APP = (function($, window, document, undefined) {
// Automatically calls all functions in APP.init
$(document).ready(function() {
APP.go();
});