This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@author Cameron Manavian | |
jQuery Style Switcher | |
The MIT License (MIT) | |
Copyright (c) 2014 Cameron Manavian | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(e){var t,n={hasPreview:true,defaultThemeId:"jssDefault",fullPath:"css/",cookie:{expires:30,isManagingLoad:true}},r="jss_selected",i={};i={getItem:function(e){if(!e){return null}return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},setItem:function(e,t,n,r,i,s){if(!e||/^(?:expires|max\-age|path|domain|secure)$/i.test(e)){return false}var o="";if(n){switch(n.constructor){case Number:o=n===Infinity?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:o="; expires="+n;break;case Date:o="; expires="+n.toUTCString();break}}document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+o+(i?"; domain="+i:"")+(r?"; path="+r:"")+(s?"; secure":"");return true},removeItem:function(e,t,n){if(!this.hasItem(e)){return false}document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:"")+(t?"; path="+t:"");return true},hasItem:functi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Documentation: https://docs.djangoproject.com/en/1.6/intro/tutorial01/ | |
$ Install Python | |
$ Install Django | |
$ python -c "import django; print(django.get_version())" | |
$ django-admin.py startproject mysite | |
$ python manage.py runserver | |
/*--- Check: http://127.0.0.1:8000/ ---*/ | |
$ django-admin.py startapp myapp | |
$ python manage.py createsuperuser --username=joe [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Credit By : http://python.web.id | |
Author : Agus Makmun (Summon Agus) | |
Name : Python Downloader. | |
Powered : Python (module wget), Ubuntu 14.04. | |
Tanks to : Rama Patria Himawan for enumerate. | |
''' | |
import wget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
af Afrikaans ko Korean ht Haitian | |
sq Albanian lo Lao ha Hausa | |
ar Arabic la Latin iw Hebrew | |
hy Armenian lv Latvian hi Hindi | |
az Azerbaijani lt Lithuanian hu Hungarian | |
eu Basque mk Macedonian is Icelandic | |
be Belarusian mg Malagasy ig Igbo | |
bn Bengali ms Malay id Indonesian | |
bs Bosnian ml Malayalam ga Irish | |
bg Bulgarian mt Maltese it Italian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
See More: http://python.web.id/instalasi-pyusb-pada-python/ | |
Terminal: | |
$ wget http://downloads.sourceforge.net/project/pyusb/PyUSB%201.0/1.0.0-beta-2/pyusb-1.0.0b2.tar.gz | |
$ tar xvzf pyusb-1.0.0b2.tar.gz | |
$ cd pyusb-1.0.0b2 | |
$ sudo ./setup.py install | |
''' | |
>>> import usb.core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Ini adalah class Mahasiswa sebagai induk utamanya. | |
Lihat sub classnya (Account.java) : https://gist.github.com/agusmakmun/e7d8a4d2a566c5b7058d | |
Lihat pemanggilannya (aksesAccount.java) : https://gist.github.com/agusmakmun/1eaa4ee82bd094a9cf4d | |
@author Summon Agus (L200130113) | |
@blog bloggersmart.net | |
*/ | |
public class Mahasiswa { | |
private String firstName, lastName, NIM, HBD, kelamin, alamat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Ini adalah Account.java yang merupakan sub class dari Mahasiswa.java. | |
Lihat induk classnya (Mahasiswa.java) : https://gist.github.com/agusmakmun/843ca4d91365024a7121 | |
Lihat pemanggilannya (aksesAccount.java) : https://gist.github.com/agusmakmun/1eaa4ee82bd094a9cf4d | |
@author Summon Agus (L200130113) | |
@blog bloggersmart.net | |
*/ | |
public class Account extends Mahasiswa { | |
protected String username; |
OlderNewer