I hereby claim:
- I am sebbe605 on github.
- I am sebastiannielsen (https://keybase.io/sebastiannielsen) on keybase.
- I have a public key whose fingerprint is 39D8 9CDA 939D DA54 EFCC 830D B170 68C3 6EC4 15BD
To claim this, I am signing this object:
public void registrateService(final String type) { | |
Thread t1 = new Thread(new Runnable() { | |
public void run() { | |
String token = RegistrationIntentService.getGCMToken(); | |
Socket socket = null; | |
try { | |
JSONObject obj = new JSONObject(); | |
obj.put("type", type); | |
obj.put("id", token); | |
obj.put("mast", "1"); |
I hereby claim:
To claim this, I am signing this object:
1a sed 's/\x1B[[0-9;]*[JKmsu]//g;s/.*(0x\([A-Za-z0-9]\+\)\.0x\([a-z0-9]\+\).*/(<Aug>Oct\2\1? Feb:Sep) -/g;s/.*(0x\([a-z0-9]\+\).*/(<Aug>Oct\1? Feb:Sep) -/g;s/.*}/(<Aug>Oct? Feb:Sep) -/' q1data.txt > 1.txt && cat 1.txt | |
1b Stripped away the text that i didn't needed and saved the rest. Then i added saved text. | |
2a sed 's/\x1B[[0-9;]*[JKmsu]//g;s/<....\.\([0-9]\{4\}\)\/[a-z]*\/[a-z]*\/[a-z]*\/\([0-9]\{4\}\).*/\2::331BC::897BC::\1::33BC/;s/<....\.\([0-9]\{4\}\).*/::331BC::897BC::\1::33BC/' q2data.txt > 2.txt && cat 2.txt | |
2b Stripped away the text that i didn't needed and saved the rest. Then i added saved text. | |
3a sed 's/\x1B[[0-9;]*[JKmsu]//g;s/.*\([A-Za-z0-9]\{8\}\)$/(({\1Gwen,0x\1,Gwen}))June/' q3data.txt > 3.txt && cat 3.txt | |
3b Stripped away the text that i didn't needed and saved the rest. Then i added saved text. | |
4a sed 's/\x1B[[0-9;]*[JKmsu]//g;s/.*\(......\)$/\[(\/usr\/include\/foo\/)\]\1/' q4data.txt > 4.txt && cat 4.txt | |
4b Stripped away the text that i didn't needed and saved the rest. Then i add |
1 (1.0 points) | |
1a How do you produce q1hits.txt from q1data.txt using sed? | |
1b Your description | |
Q2 (1.0 points) | |
2a How do you produce q2hits.txt from q2data.txt using sed? | |
2b Your description | |
Q3 (1.0 points) | |
3a How do you produce q3hits.txt from q3data.txt using sed? | |
3b Your description | |
Q4 (1.0 points) |
angular.module("myApp") | |
.controller("signupCtrl", function($scope, $firebaseSimpleLogin, $location){ | |
var ref = new Firebase("https://boostme.firebaseio.com/"); | |
$scope.auth = $firebaseSimpleLogin(ref, function(error, user){ | |
if(error){ | |
console.log(error); | |
} | |
else if(user){ | |
console.log(user); | |
} |
angular.module("myApp", [ | |
"ngRoute", | |
"firebase" | |
]) | |
.config(function($routeProvider) { | |
$routeProvider | |
.when('/template', | |
{ | |
templateUrl:'partials/template.html', controller:'templateCtrl' | |
}) |
angular.module("myApp") | |
.controller("signupCtrl", function($scope, $firebaseSimpleLogin, $location){ | |
var ref = new Firebase("https://boostme.firebaseio.com/"); | |
$scope.auth = $firebaseSimpleLogin(ref, function(error, user){ | |
if(error){ | |
console.log(error); | |
} | |
else if(user){ | |
console.log(user); | |
} |
angular.module("myApp", [ | |
"ngRoute", | |
"firebase" | |
]) | |
.config(function($routeProvider) { | |
$routeProvider | |
.when('/template', | |
{ | |
templateUrl:'partials/template.html', controller:'templateCtrl' | |
}) |
$scope.emailText = "Email" | |
$scope.passwordText = "Password" | |
$scope.confirmPasswordText = "Confirm Password" | |
$scope.createAccount = function(){ | |
console.log("inside createAccount function"); | |
if($scope.password0 == $scope.password1) | |
{ | |
$scope.auth.$createUser($scope.email, $scope.password0) | |
.then(function(user){ |
var myApp = angular.module("myApp", [ | |
"ngRoute", | |
"firebase" | |
]); | |
myApp.config(function($routeProvider) { | |
$routeProvider | |
.when('/template', | |
{ | |
templateUrl:'partials/template.html', controller: 'templateCtrl' |