Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
'use strict' | |
$injector = angular.injector(['ng']) | |
$injector.invoke(($http, $rootScope, $log)-> | |
$rootScope.$apply(-> | |
$http.get("/api/server") | |
.then((o)-> | |
app = angular.module 'app', [] | |
app.constant 'CONFIGS', |
<?php | |
private $model; | |
public function __construct() | |
{ | |
$this->model = new Post; | |
} | |
public function getPosts($myCache) { | |
<?php | |
class LaracasaController extends BaseController | |
{ | |
public function index() { | |
$result = Laracasa::getAlbum(); | |
return View::make('picasa')->with('albumFeed', $result); | |
} | |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
/** | |
* Created by n0m4dz on 2/06/15. | |
*/ | |
var gulp = require("gulp"), | |
bower = require('main-bower-files'), | |
concat = require("gulp-concat"), | |
gulpFilter = require("gulp-filter"), | |
ngAnnotate = require("gulp-ng-annotate"), | |
uglify = require("gulp-uglify"), | |
minifycss = require("gulp-minify-css"), |
(based on this pastebin i've found via Google, markdownified and adjusted to work with the official Yosemite release)
Yosemite's first developer preview was released right after Monday's WWDC opening keynote. For the general public, an open beta will be available to download later this summer. However, for those who want a sneak peek at the new hotness, there is a way to safely install it without risking your machine, using the free and powerful VirtualBox application from Oracle.
(LEGAL DISCLAIMER: This guide aims to explain how to create a virtual machine on a regularly purchased Apple computer, running a genuine Mac OS X operating system, for testing purposes only.)
<html> | |
<head> | |
<script type="text/javascript"> | |
window.PrintView = function(elem) | |
{ | |
var content = document.getElementById(elem).innerHTML; | |
var mywindow = window.open('', 'my div', 'height=600,width=900'); | |
mywindow.document.write('<html><head><title>my div</title>'); | |
mywindow.document.write('</head><body >'); | |
mywindow.document.write(content); |
# Install apt-get packages: | |
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config | |
# Install chruby: | |
cd | |
wget https://github.com/downloads/postmodern/chruby/chruby-0.2.3.tar.gz | |
tar -xzvf chruby-0.2.3.tar.gz | |
cd chruby-0.2.3 | |
sudo make install |