Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| <span>example<span style="display:none">WTF-NONE-SENSE-!@#!$!@$</span>@gmail.com</span> |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| angular.module('app', []) | |
| .controller('ItemsCtrl', function($scope, $http){ | |
| $scope = $http.get('items.json').success(function(data){ | |
| $scope.items = data; | |
| }); | |
| }); |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import urllib2, urllib, random, struct, threading, time | |
| FISRT_NAME_DATA = ( | |
| '赵','钱','孙','李','周','吴','郑','王','冯','陈', | |
| '褚','卫','蒋','沈','韩','杨','朱','秦','尤','许', | |
| '何','吕','施','张','孔','曹','严','华','金','魏', | |
| '陶','姜','戚','谢','邹','喻','柏','水','窦','章', | |
| '云','苏','潘','葛','奚','范','彭','郎','鲁','韦', |
| if(she.getFaceValue() >= 90 && | |
| she.getBreastSize().compare(new BreastSize("36D")) >= 0){ | |
| this.sleepWith(she); | |
| if(this.getHappiness() >= 60){ | |
| this.setGirlFriend(she); | |
| int prevHappiness = this.getHappiness(); | |
| // Wait for 2 months | |
| Thread.sleep(1000 * 3600 * 24 * 30 * 2); | |
| if(this.getHappiness() - prevHappiness >= 15){ |
| void *(mouse_listener)(int, int); | |
| // Print coordinates if mouse is clicked | |
| void on_mouse_clicked(int x, int y){ | |
| printf("%d, %d", x, y); | |
| } | |
| // Tell other code what to do when mouse is clicked by registering a event listener | |
| void register_mouse_listener(void *(func_pointer)(int, int)){ | |
| mouse_listener = func_pointer; |
| var bools = {}; | |
| function check1(){ | |
| // do something | |
| bools['check1'] = condition1; | |
| finalChek(); | |
| } | |
| function check2(){ | |
| // do other things | |
| bool['check2'] = condition2); |
| var async = require('async'); | |
| var bools = {}; | |
| function check1(){ | |
| // do something | |
| bools['check1'] = condition1; | |
| } | |
| function check2(){ | |
| // do other things | |
| bools['check2'] = condition2; |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| type Fetcher interface { | |
| // Fetch returns the body of URL and | |
| // a slice of URLs found on that page. | |
| Fetch(url string) (body string, urls []string, err error) |
| package net.linni.webservice.controller.advice; | |
| import net.linni.webservice.exception.AbstractRestAPIException; | |
| import net.linni.webservice.exception.OperationFailureException; | |
| import net.linni.webservice.exception.UnauthorizedOperationException; | |
| import net.linni.webservice.model.Response; | |
| import net.linni.webservice.util.ResponseCode; | |
| import net.linni.webservice.util.ResponseFactory; | |
| import org.springframework.beans.TypeMismatchException; |