Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| #vim - src : http://linux.startcom.org/docs/en/Introduction%20to%20Linux/sect_06_02.html | |
| Basic operations | |
| ---------------- | |
| n dd - will delete n lines starting from the current cursor position. | |
| n dw - will delete n words at the right side of the cursor. | |
| x - will delete the character on which the cursor is positioned | |
| :n - moves to line n of the file. | |
| :w - will save (write) the file | |
| :q - will exit the editor. | |
| :q! - forces the exit when you want to quit a file containing unsaved changes. |
| Android animation links: | |
| tktutorials - http://www.tktutorials.com/2013/07/animation-in-android-using-xml-files.html | |
| vogella - (http://www.vogella.com/tutorials/AndroidAnimation/article.html#animations_animator) | |
| vogella - http://www.vogella.com/tutorials/android.html | |
| mokasocial - http://www.mokasocial.com/2011/07/7-simple-useful-android-xml-animations/ | |
| -------- | |
| LinearLayout | |
| <LinearLayout android:background="@color/red" | |
| .... /> |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import requests | |
| from StringIO import StringIO | |
| from lxml.html import parse | |
| from urlparse import urlparse |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*-S | |
| # | |
| # beautifulsoup version | |
| import requests | |
| from BeautifulSoup import BeautifulSoup | |
| QUERYURL = "https://play.google.com/store/search?q={0}&c=music&docType=2" |
| from django.conf.urls import patterns, url | |
| from ictpart import views | |
| urlpatterns = patterns('', | |
| url(r'^index/$', views.index, name='index'), | |
| ) |
| """Local settings of this project""" | |
| import os | |
| BASE_DIR = os.path.dirname(os.path.dirname(__file__)) | |
| # PATH settings | |
| TEMPLATE_PATH = os.path.join(BASE_DIR, 'templates') | |
| STATIC_PATH = os.path.join(BASE_DIR, 'static') |
| # south | |
| # convert to south | |
| # http://south.readthedocs.org/en/latest/convertinganapp.html | |
| 0. add south to INSTALLED_APPS | |
| 1. ./manage.py syncdb | |
| 2. ./manage.py convert_to_south app_name | |
| --- | |
| south - create new column | |
| 0. # new app, new models, initial fields | |
| 1. manage.py schemamigration app_name --initial # (only once) |
| ! | |
| function (global, factory) { | |
| "object" == typeof module && "object" == typeof module.exports ? module.exports = global.document ? factory(global, !0) : function (w) { | |
| if (!w.document) throw new Error("jQuery requires a window with a document"); | |
| return factory(w) | |
| } : factory(global) | |
| }("undefined" != typeof window ? window : this, function (window, noGlobal) { | |
| function isArraylike(obj) { | |
| var length = obj.length, | |
| type = jQuery.type(obj); |
| { | |
| "nodes": [ | |
| { | |
| "name": "Client 1", | |
| "group": 1 | |
| }, | |
| { | |
| "name": "Loadbalancer 1", | |
| "group": 2 | |
| }, |