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
node { | |
checkout scm | |
stage("Hello") { | |
echo "Hello" | |
echo "world!" | |
} | |
} |
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
APT { | |
Architecture "amd64"; | |
Get { | |
Download-Only "true"; | |
}; | |
}; | |
Dir { | |
State "./dir/apt" { | |
Status "./status"; |
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
D/SurveyDiscoveryService(18943): surveys : { | |
D/SurveyDiscoveryService(18943): "version" : "0.1" | |
D/SurveyDiscoveryService(18943): } | |
W/System.err(18943): org.json.JSONException: No value for surveys | |
W/System.err(18943): at org.json.JSONObject.get(JSONObject.java:354) | |
W/System.err(18943): at org.json.JSONObject.getJSONArray(JSONObject.java:544) | |
W/System.err(18943): at net.mreunionlabs.kudata.service.SurveyDiscoveryService.storeSurveys(SurveyDiscoveryService.java:145) | |
W/System.err(18943): at net.mreunionlabs.kudata.service.SurveyDiscoveryService.discoverSurvey(SurveyDiscoveryService.java:96) | |
W/System.err(18943): at net.mreunionlabs.kudata.service.SurveyDiscoveryService.onHandleIntent(SurveyDiscoveryService.java:71) | |
W/System.err(18943): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) |
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
class M(object): | |
def __init__(self, posisi, asam_amino): | |
self.posisi = posisi | |
self.asam_amino = asam_amino | |
def __repr__(self): | |
return "%s%s" % (self.posisi, self.asam_amino) | |
def __eq__(self, o): |
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
public class M4 { | |
private int posisi; | |
private String asamAmino; | |
public M4(int posisi, String asamAmino) { | |
this.posisi = posisi; | |
this.asamAmino = asamAmino; | |
} | |
public int getPosisi() { |
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
# Blogger's backup file to WordPress' WXR converter. | |
# | |
# Only tested with posts and comments, and NOT with pages. | |
# May not be efficient for huge blogs since the script keep | |
# all content in the memory during conversion. | |
# | |
# Released as public domain. | |
# | |
# Please note that I converted the labels in Blogspot | |
# as tags in WordPress. I also hardcoded two categories for the |
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
* Now talking on #uvt | |
* Topic for #uvt is: "Diskusi Kelompok Program Python 2012" | |
* Topic for #uvt set by basic123 at Fri Sep 14 14:50:54 2012 | |
-ChanServ- [#uvt] "Selamat Datang di Kelas UVT" | |
* #uvt :http://www.uvt.web.id | |
* fr4w4_ has quit (Quit: Page closed) | |
* basic123 ([email protected]) has joined #uvt | |
* ChanServ gives channel operator status to basic123 | |
<basic123> wah, belum pada datang ya | |
<basic123> Pak fajran: assalamualaikum |
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
*.swp | |
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
import sys | |
import pyproj | |
extents = 122115.0, 485775.0 # lower left coordinate of science park map | |
cellsize = 5, 5 # cell size of science park map | |
src = pyproj.Proj(proj='latlong',datum='WGS84') # regular GPS coordinate system (used in google maps) | |
dst = pyproj.Proj(init='EPSG:28992') # coordinate system of NL/science park map |
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
<script type="text/javascript"> | |
function compute() { | |
var a = $('#value_a')[0].value; | |
var b = $('#value_b')[0].value; | |
$.ajax({ | |
url: '/compute/?a=' + a + '&b=' + b, | |
success: function(data) { | |
$('#result').html(data); | |
} |
NewerOlder