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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Numerics; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace PrintPI | |
{ | |
class Program |
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 MainPage() | |
{ | |
InitializeComponent(); | |
startBackgroundMusic(); | |
} | |
private void startBackgroundMusic() | |
{ | |
this.Dispatcher.BeginInvoke(() => | |
{ |
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
/*Thanks to @lukehaas all the CSS codes are from him*/ | |
/*=Loader1's CSS code, this is a Facebook loader like loader=*/ | |
.loader1, | |
.loader1:before, | |
.loader1:after { | |
background: #FFF; | |
-webkit-animation: load1 1s infinite ease-in-out; | |
animation: load1 1s infinite ease-in-out; | |
width: 1em; | |
height: 4em; |
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
using System; | |
namespace ASCII_Art | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine(" _ _ ___ ___ __ _____ "); | |
Console.WriteLine(" | | | | |__ \\ / _ \\/_ | ____|"); |
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
๐ ๐ ๐ ๐ โบ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ณ ๐ ๐ ๐ ๐ ๐ ๐ฃ ๐ข ๐ ๐ญ ๐ช ๐ฅ ๐ฐ ๐ ๐ ๐ฉ ๐ซ ๐จ ๐ฑ ๐ ๐ก ๐ค ๐ ๐ ๐ ๐ท ๐ ๐ด ๐ต ๐ฒ ๐ ๐ฆ ๐ง ๐ ๐ฟ ๐ฎ ๐ฌ ๐ ๐ ๐ฏ ๐ถ ๐ ๐ ๐ ๐ฒ ๐ณ ๐ฎ ๐ท ๐ ๐ถ ๐ฆ ๐ง ๐จ ๐ฉ ๐ด ๐ต ๐ฑ ๐ผ ๐ธ ๐บ ๐ธ ๐ป ๐ฝ ๐ผ ๐ ๐ฟ ๐น ๐พ ๐น ๐บ ๐ ๐ ๐ ๐ ๐ฝ ๐ฉ ๐ฅ โจ ๐ ๐ซ ๐ฅ ๐ข ๐ฆ ๐ง ๐ค ๐จ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ โ โ ๐ โ ๐ ๐ ๐ ๐ ๐ ๐ ๐ โ ๐ ๐ช ๐ถ ๐ ๐ ๐ซ ๐ช ๐ฌ ๐ญ ๐ ๐ ๐ฏ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฐ ๐ ๐ ๐ ๐ฉ ๐ ๐ ๐ ๐ ๐ก ๐ ๐ข ๐ ๐ ๐ ๐ ๐ฝ ๐ ๐ ๐ ๐ผ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ โค ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ค ๐ฅ ๐ฌ ๐ฃ ๐ญ ๐ถ ๐บ ๐ฑ ๐ญ ๐น ๐ฐ ๐ธ ๐ฏ ๐จ ๐ป ๐ท ๐ฝ ๐ฎ ๐ ๐ต ๐ ๐ด ๐ ๐ ๐ผ ๐ง ๐ฆ ๐ค ๐ฅ ๐ฃ ๐ ๐ ๐ข ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฌ ๐ณ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฒ ๐ก ๐ ๐ซ ๐ช ๐ ๐ ๐ฉ ๐พ ๐ ๐ธ ๐ท ๐ ๐น ๐ป ๐บ ๐ ๐ ๐ ๐ฟ ๐พ ๐ ๐ต ๐ด ๐ฒ ๐ณ ๐ฐ ๐ฑ ๐ผ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ โญ โ โ โ โก โ โ โ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ป ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฎ ๐ฅ ๐ท ๐น ๐ผ ๐ฟ ๐ ๐ฝ ๐พ ๐ป ๐ฑ โ ๐ ๐ ๐ ๐ก ๐บ ๐ป ๐ ๐ ๐ ๐ ๐ ๐ ๐ข ๐ฃ โณ โ โฐ โ ๐ ๐ ๐ ๐ ๐ ๐ ๐ก ๐ฆ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฟ ๐ฝ ๐ง ๐ฉ ๐จ ๐ช ๐ฌ ๐ฃ ๐ซ ๐ช ๐ ๐ ๐ฐ ๐ด ๐ต ๐ท ๐ถ ๐ณ ๐ธ ๐ฒ ๐ง ๐ฅ ๐ค โ ๐ฉ ๐จ ๐ฏ ๐ซ ๐ช ๐ฌ ๐ญ ๐ฎ ๐ฆ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ โ ๐ ๐ โ โ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฌ ๐ญ ๐ฐ ๐จ ๐ฌ ๐ค ๐ง ๐ผ ๐ต ๐ถ ๐น ๐ป ๐บ ๐ท ๐ธ ๐พ ๐ฎ ๐ ๐ด ๐ ๐ฒ ๐ฏ ๐ ๐ โฝ โพ ๐พ ๐ฑ ๐ ๐ณ โณ ๐ต ๐ด ๐ ๐ ๐ ๐ฟ ๐ ๐ ๐ ๐ฃ โ ๐ต ๐ถ ๐ผ ๐บ ๐ป ๐ธ ๐น ๐ท ๐ด ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ค ๐ฑ ๐ฃ ๐ฅ ๐ ๐ ๐ ๐ ๐ฒ ๐ข ๐ก ๐ณ ๐ ๐ฉ ๐ฎ ๐ฆ ๐จ ๐ง ๐ |
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
Private Function getCurrencyCode(ByVal selectedIndex As Integer) As String | |
Dim str As String = "" | |
selectedIndex += 1 | |
Select Case selectedIndex | |
Case 1 | |
str = "AED" | |
Case 2 | |
str = "ANG" | |
Case 3 | |
str = "ARS" |
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
#ifndef MTK_USB_CUSTOM_H | |
#define MTK_USB_CUSTOM_H | |
/* Force full-speed is not guaranteed with adb function, use it with care! */ | |
//#define USB_FORCE_FULL_SPEED | |
#define USB_MS_PRODUCT_ID 0x0001 | |
#define USB_MS_ADB_PRODUCT_ID 0x0c03 | |
#define USB_RNDIS_PRODUCT_ID 0x0003 | |
#define USB_RNDIS_ADB_PRODUCT_ID 0x0004 |
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 urllib2 | |
#read response for word 'Excitement' | |
response = urllib2.urlopen('http://gcdc2013-easyapisproject.appspot.com/meanings?q=excitement') | |
html = response.read() | |
html = html[1:] #remove first { | |
html = html[:-1] #remove last } | |
html = html.split('}{') #split with '}{' | |
print html[0] #Print 1st result | |
print html[1] #Print 2ns result |
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 urllib2 | |
print "Enter a word:", | |
q = raw_input() #get word from user | |
response = urllib2.urlopen('http://gcdc2013-easyapisproject.appspot.com/meanings?q='+q) | |
html = response.read() | |
html = html[1:] #remove first { | |
html = html[:-1] #remove last } | |
html = html.split('}{') #split and put each resutls to array | |
for meanings in html: | |
print meanings |
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
# -*- coding: utf-8 -*- | |
import urllib | |
import urllib2 | |
def celsius(a): | |
responsex = urllib2.urlopen('http://gcdc2013-easyapisproject.appspot.com/unitconversion?q=' + urllib.quote(a + ' in celsius')) | |
html = responsex.read() | |
responsex.close() | |
html = html[1:] #remove first { | |
html = html[:-1] #remove last } |
OlderNewer