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 pygtk | |
pygtk.require('2.0') | |
import gtk | |
import os | |
class Podcaster: | |
wTree = 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
import gtk | |
class Podcaster(gtk.Window): | |
def __init__(self): | |
super(Podcaster, self).__init__() |
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 pygst | |
pygst.require("0.10") | |
import gst, pygtk, gtk | |
import sys | |
class Main(object): | |
def __init__(self): | |
self.multimedia_file="" | |
# Create the GUI | |
self.win = gtk.Window() |
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
gst-launch-0.10 playbin2 uri=rtsp://v1.cache6.c.youtube.com/CiILENy73wIaGQngicUMXOqJOxMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp |
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
<h1>Contact</h1> | |
<%= form_tag("/send_to", :method=>'post', :multipart => true) do %> | |
<p> | |
Subject:<br /> | |
<%= text_field_tag "subject" %> | |
</p> | |
<p> | |
Priority: <br /> |
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
<h2>New Message!</h2> | |
<p>Priority:</p> | |
<%=@priority%> | |
<p> | |
<%= image_tag attachments['image.jpg'].url %> | |
</p> | |
<p> | |
<%=@description%> |
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 com.example.single; | |
import java.io.IOException; | |
import java.io.UnsupportedEncodingException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.apache.http.HttpResponse; | |
import org.apache.http.NameValuePair; |
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
<h1>Angular</h1> | |
<div ng-controller="Numbers" ng-cloak> | |
<button ng-click="SaveCookie()">Save Cookie</button> | |
<button ng-click="PrintCookie()">Print Cookie</button> | |
<button ng-click="Increment()">Increment</button> | |
count: {{count}} |
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('myApp', []) | |
.factory('myService', function () { | |
return { | |
say: function () { | |
return "Hello 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
<?xml version="1.0"?> | |
<!-- | |
For more information on how to configure your ASP.NET application, please visit | |
http://go.microsoft.com/fwlink/?LinkId=169433 | |
--> | |
<configuration> | |
<system.web> | |
<compilation debug="true" targetFramework="4.5.1" /> |
OlderNewer