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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Knockout</title> | |
<script src="jquery-1.7.1.js"></script> | |
<script src="knockout-2.0.0.js"></script> | |
<script> | |
function SeatReservation(name, meal) { | |
var self = this; | |
self.name = ko.observable(name); |
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
#!/bin/bash | |
# Use the newline character | |
# as the field separator. | |
IFS=$'\n' | |
# The folder to watch. | |
dir="/home/bbf/upload/" | |
# Get the folder's content, recurively. |
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
angular.module("Poster", []).directive("datepicker", function () { | |
return function (scope, element, attributes) { | |
element.datepicker({ | |
autoSize: true, | |
dateFormat: "dd MM yy", | |
onSelect: function (dateText) { | |
scope[$(this).attr("data-ng-model")] = dateText; | |
scope.$apply(); | |
} | |
}); |
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
diff UwB Z:/BBF/Kami-sama no memo chou/Sub tradotti/Kami-sama no memo-chou - 04 - Dialogues v1.ass Z:/BBF/Kami-sama no memo chou/Sub tradotti/Kami-sama no memo-chou - 04 - Dialogues v2.ass | |
--- Z:/BBF/Kami-sama no memo chou/Sub tradotti/Kami-sama no memo-chou - 04 - Dialogues v1.ass Sun Oct 07 22:39:21 2012 | |
+++ Z:/BBF/Kami-sama no memo chou/Sub tradotti/Kami-sama no memo-chou - 04 - Dialogues v2.ass Sun Oct 07 22:39:58 2012 | |
@@ -44 +44 @@ | |
-Dialogue: 4,0:00:02.63,0:00:03.31,Default,,0,0,0,,Sì. {oppure "va bene" o "capito" che secondo me non centra molto} | |
+Dialogue: 4,0:00:02.63,0:00:03.31,Default,,0,0,0,,Va bene. | |
@@ -48 +48 @@ | |
-Dialogue: 4,0:00:14.63,0:00:15.74,Default,,0,0,0,,oh, va bene! | |
+Dialogue: 4,0:00:14.63,0:00:15.74,Default,,0,0,0,,Oh, va bene! | |
@@ -54,3 +54,3 @@ |
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 bs4 | |
import re | |
import urllib2 | |
class Project: | |
project_page_url = None | |
download_page_url = None | |
title = None | |
is_download_page_working = False |
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
package it.penpen.android.passphrase_generator; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.List; | |
import android.content.Context; |
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
package it.penpen.android.passphrase_generator; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.view.Menu; | |
public class MainActivity extends Activity { | |
@Override |
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
package it.penpen.android.passphrase_generator; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.List; | |
import android.app.Activity; |
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
#!/usr/bin/env python | |
import bs4 | |
import re | |
import urllib2 | |
import logging | |
class Resource(object): | |
url = None |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Code</title> | |
<script> | |
"use strict"; | |
var Konami = function (handler) { | |
var self = this; | |
self.code = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65]; | |
self.status = 0; |