Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
#include <iostream> | |
struct TypeA { | |
int data; | |
TypeA() { } | |
virtual void foo() { std::cout << "TypeA::foo()" << std::endl; } | |
}; | |
struct TypeB { | |
int notData; |
class Suite { | |
constructor(name, value) { | |
this.name = name; | |
this.value = value; | |
} | |
} | |
class Rank { | |
constructor(name, value) { | |
this.name = name; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
application: inline-upload | |
version: 1 | |
runtime: python27 | |
api_version: 1 | |
threadsafe: yes | |
handlers: | |
- url: /favicon\.ico | |
static_files: favicon.ico | |
upload: favicon\.ico |
application: inline-upload | |
version: 1 | |
runtime: python27 | |
api_version: 1 | |
threadsafe: yes | |
handlers: | |
- url: /favicon\.ico | |
static_files: favicon.ico | |
upload: favicon\.ico |
#!/usr/bin/env python | |
# | |
# Copyright 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 | |
# |
using System; | |
using System.ComponentModel; | |
using System.Windows; | |
using System.Windows.Media; | |
using FarseerPhysics.Dynamics; | |
namespace FarseerTransforms | |
{ | |
public class BodyViewModel : INotifyPropertyChanged | |
{ |
void MainPageLoaded(object sender, RoutedEventArgs e) | |
{ | |
float aspectRatio = (float)(_worldControl.ActualWidth / _worldControl.ActualHeight); | |
float width = 10.0f * aspectRatio; | |
float height = 10.0f; | |
float borderDepth = 0.01f; | |
double scaleFactor = _worldControl.ActualHeight / 10.0f; | |
// create transform between world and canvas | |
_worldToCanvas = new CompositeTransform(); |
using System; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Windows; | |
using System.Windows.Media; | |
using System.Windows.Threading; | |
using FarseerPhysics.Common; | |
using FarseerPhysics.Dynamics; | |
using FarseerPhysics.Factories; | |
using Microsoft.Phone.Controls; |
<phone:PhoneApplicationPage | |
x:Class="FarseerTransforms.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" | |
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768" | |
FontFamily="{StaticResource PhoneFontFamilyNormal}" |