Skip to content

Instantly share code, notes, and snippets.

View pfefferle's full-sized avatar
😴
zzZZzzzZzzZZzZZZ

Matthias Pfefferle pfefferle

😴
zzZZzzzZzzZZzZZZ
View GitHub Profile
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
#!/usr/bin/env bash
#==========================================================================================
# Original Script from Clemens Lang, neverpanic.de
# https://neverpanic.de/blog/2014/03/19/downloading-google-web-fonts-for-local-hosting/
# Modified by Chris Jung, campino2k.de
# * Rename Files to be compatible with Windows File System (remove spaces and colon)
# * Add "local()" to src like Google does to skip downloading if System has font installed
# Modified by Robert
# * Fix Mac execution
{CompositeDisposable} = require 'atom'
{BufferedProcess} = require 'atom'
module.exports = PhpCsFixer =
subscriptions: null
config:
phpExecutablePath:
type: 'string'
default: 'php'
description: 'the path to the `php` executable'
<div class="vcard">
<img class="fn org photo" src="/photo.jpg" alt="Organisation-Name" />
</div>
value-class-pattern:
<dl class="vevent">
<dt>Wann:</dt>
<dd class="dtstart"><span class="value-title" title="2010-02-29">29.02.2010</span></dd>
</dl>
abbr-design-pattern:
<dl class="vevent">
<Link rel='http://xmlns.com/foaf/0.1/' type='text/html' href='http://blog.example.com/author/steve' />
<html>
<head>
<title>Google XAuth Demo</title>
<script type="text/javascript" src="http://xauth.org/xauth.js"></script>
<script type="text/javascript">
function doLogin(doneUrl) {
/* Tell XAuth.org that a user has just signed into Google on this browser. */
XAuth.extend({
// Just reveals "someone is logged into Google" but no personally identifiable info.
<html xmlns:og="http://opengraphprotocol.org/schema/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>The Rock (1996)</title>
<meta property="og:title dc:title" content="The Rock"/>
...
</head>
...
</html>
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>The Rock (1996)</title>
<meta property="og:title
dc:title" content="The Rock" />
<meta property="og:type" content="movie" />
<meta property="dc:description og:description" content="Alcatraz. Only one man has ever broken out. Now five million lives depend on two men breaking in." />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
</head>
<html xmlns:ogp="http://opengraphprotocol.org/schema/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>The Rock (1996)</title>
<meta property="ogp:title dc:title" content="The Rock" />
<meta property="ogp:type" content="movie" />
<meta property="ogp:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="ogp:image" content="http://ia.media-imdb.com/images/rock.jpg" />
</head>
<body>
</body>