Skip to content

Instantly share code, notes, and snippets.

@abernier
abernier / playground.rs
Created September 22, 2019 13:26 — forked from rust-play/playground.rs
Code shared from the Rust Playground
struct A {
a : i32,
}
impl A {
fn bind_lifetime_mut(&mut self) -> &i32 {
return &self.a;
}
fn legal(&mut self) -> &i32 {
@abernier
abernier / tl.js
Created August 15, 2016 11:39 — forked from anonymous/tl.js
//
// anim1
//
var anim1 = function (duration) {
var tl = new TimelineMax();
//
// Define tweens
//
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title>
<script type="text/javascript" charset="utf-8" src="javascript/jquery-1.4.2.js"></script>
<script type="text/javascript" charset="utf-8">
$(function () {
var extractToken = function(hash) {
@abernier
abernier / btn.css
Created February 20, 2012 13:49 — forked from anonymous/dabblet.css
.monitor
/*
/--------------------------- | |
| I'm lovin' it! |
| |
\---------------------------/
/--------------------------- | |
| I'm lovin' it! | (.fat)
| |
/*
Nice to study. Original here http://www.20thingsilearned.com/js/twentythings.min.js
*/
var TT = TT || {};
TT.PAGE_WIDTH = 800;
TT.PAGE_HEIGHT = 500;
TT.PAGE_MIN_WIDTH = 1000;
TT.PAGE_MIN_HEIGHT = 680;
TT.PAGE_MARGIN_LEFT = 32;