Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| # coding=UTF-8 | |
| import nltk | |
| from nltk.corpus import brown | |
| # This is a fast and simple noun phrase extractor (based on NLTK) | |
| # Feel free to use it, just keep a link back to this post | |
| # http://thetokenizer.com/2013/05/09/efficient-way-to-extract-the-main-topics-of-a-sentence/ | |
| # Create by Shlomi Babluki | |
| # May, 2013 |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| DO WTF YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Alexey Silin <[email protected]> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WTF YOU WANT TO PUBLIC LICENSE |
| public class Wheel { | |
| private int capacity; | |
| private int[] datas; | |
| private int end; | |
| Wheel(int capacity) { | |
| this.capacity = capacity; | |
| this.datas = new int[capacity]; | |
| this.end = 0; |
| import math | |
| def sieve(to): | |
| to += 1 | |
| primes = [1 for x in range(to)] | |
| for i in range(2, int(math.sqrt(to))): | |
| if primes[i]: | |
| j = i | |
| while j * i < to: | |
| primes[i*j] = False |
| /** | |
| * | |
| * @author Bahrun | |
| */ | |
| class NilaiMatkul { | |
| String nim; | |
| String nama; | |
| String nilai; | |
| /** | |
| * | |
| * @author Bahrun | |
| */ | |
| class NilaiMatkul { | |
| String nim; | |
| String nama; | |
| double nilai; | |
| /** | |
| * | |
| * @author Bahrun | |
| */ | |
| class NilaiMatkul { | |
| String nim; | |
| String nama; | |
| double nilai; |