This file contains hidden or 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
| postFile(uri: string, data: any, file: any = null): Observable<any>{ | |
| if(file) { | |
| let t = data; | |
| let formData: FormData = new FormData(); | |
| console.log(file); | |
| formData.append('file', file.originFileObj, file.name); | |
| Object.keys(data).forEach((key)=>{formData.append(key,data[key])}); | |
| data = formData; | |
| } |
This file contains hidden or 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
| fuck | |
| shit | |
| damn | |
| motherfucker | |
| shitting | |
| shitty | |
| fucking | |
| fucker | |
| fucks | |
| damnit |
This file contains hidden or 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 StringKeyGenerator(object): | |
| def __init__(self, len=64): | |
| self.lenght = len | |
| def __call__(self): | |
| return ''.join(random.choice(string.ascii_letters + string.digits) for x in range(self.lenght)) | |
| def salt(self): | |
| return ''.join(random.choice(string.ascii_uppercase) for x in range(self.lenght)) |
This file contains hidden or 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"> | |
| /* <![CDATA[ */ | |
| var _gaq = _gaq || []; | |
| _gaq.push(['_setAccount', 'UA-33315451-1']); | |
| _gaq.push(['_trackPageview']); | |
| (function() { | |
| var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
| ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
| var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
This file contains hidden or 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
| ''' | |
| MAVLink protocol implementation (auto-generated by mavgen.py) | |
| Generated from: ardupilotmega.xml,common.xml | |
| Note: this file has been auto-generated. DO NOT EDIT | |
| ''' | |
| import struct, array, mavutil, time, json |
This file contains hidden or 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 TestClass: | |
| def __init__(one,two,three): | |
| self.one = one | |
| self.two = two | |
| self.three = three | |
| def getOne(): | |
| return self.one | |
| def getTwo(): |
This file contains hidden or 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
| HAI | |
| I HAS A SERVAR ITZ "MINECRAFT" | |
| GIMMEH LOCATIONZ BTW I WANT JAR LOCATIONZ | |
| GIMMEH JAVA BTW I WANT JAVA LOCATIONZ | |
| JAVA, WTF? | |
| OMG "/usr/bin/java" BTW YOUR ON LINUX! | |
| VISIBLE SERVAR, GTFO | |
| OMGWTF | |
| VISIBLE "JAVA DOESN'T WANTZ TO PLAYS! D:" |
This file contains hidden or 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.resbah.SimpleGame; | |
| import java.applet.*; | |
| import java.awt.Color; | |
| import java.awt.Event; | |
| import java.awt.Graphics; | |
| import java.awt.Image; | |
| /** | |
| * | |
| * THIS CODE IS SO WRONG BUT WHO CARES \o/ |
This file contains hidden or 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.resbah.assignments.HelloWorld; | |
| /** | |
| * @(#)HelloWorld.java | |
| * | |
| * | |
| * @author Matthew Sowden | |
| * @version 0.0.1-SNAPSHOT 2012/1/25 | |
| * @description JavaDoc Stuff; Hello World application | |
| */ |
NewerOlder