Skip to content

Instantly share code, notes, and snippets.

View szaboat's full-sized avatar

Attila Szabo szaboat

  • Budapest, Hungary
View GitHub Profile
@Nurdok
Nurdok / python_conversion.md
Last active February 5, 2025 05:47
Python Conversion

Python Number Conversion Chart

From To Expression
@timruffles
timruffles / jstd-css-expectations.coffee
Created April 24, 2012 21:51
Custom JSTestDriver CSS expectations
(->
assertCssBoolean = (msg, selector, el, boolean) ->
if !el
[selector,el] = [msg, selector]
msg = "Unexpectedly #{if boolean then "didn't find" else "found"} '#{selector}' in #{$(el).html().truncate(400)}"
unless boolean == !!($(el).find(selector).length > 0)
fail msg
assertHasCss = (msg, selector, el) ->
assertCssBoolean msg, selector, el, true
assertHasntCss = (msg, selector, el) ->
@dennisreimann
dennisreimann / manifesto.md
Created April 23, 2012 18:42 — forked from hmans/whatever-manifesto.md
The Manifesto

THE MANIFESTO

Whatever it is that you choose to do, follow these two simple rules:

  1. Be friendly.
  2. Have fun.
@munificent
munificent / HelloDartTest.dart
Created November 22, 2011 06:05
Dart Compilation
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Simple test program invoked with an option to eagerly
// compile all code that is loaded in the isolate.
// Compiled using frog, the in-progress self-hosted compiler:
// dart/frog$ ./frogsh --out=hello.js --compile-only samples/hello.dart
class HelloDartTest {
static testMain() {
@salomvary
salomvary / html5.html
Created November 9, 2011 11:32
minimal html5 boilerplate
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title></title>
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
@mattpodwysocki
mattpodwysocki / jsconf-eu-2011.md
Created October 1, 2011 13:40
JSConf.EU Slides