Noob access to administer your local area network and wifi access:
http://192.168.254.254
username: user
password: @l03e1t3
package com.company; | |
import retrofit.RestAdapter; | |
import retrofit.http.GET; | |
import retrofit.http.Path; | |
import rx.Observable; | |
import rx.Subscriber; | |
import rx.functions.Action1; | |
import rx.functions.Func1; | |
import rx.functions.Func2; |
package com.gateme3.app.util; | |
import android.location.Location; | |
import android.location.LocationManager; | |
import android.util.Log; | |
import com.gateme3.app.db.PurchasedItem; | |
import com.gateme3.app.db.Venue; | |
import java.io.ByteArrayOutputStream; |
import android.content.Context; | |
import android.os.Build; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.AttributeSet; | |
import android.view.Gravity; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.view.animation.TranslateAnimation; | |
import android.widget.FrameLayout; |
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'aws-sdk' | |
#creates an interface object to AWS S3 | |
AWS.config( :access_key_id => '' , :secret_access_key => '' ) | |
#creates an interface to the S3 | |
s3interface = AWS::S3.new | |
class ChatRoom(roomId: Int, actorSystem: ActorSystem) { | |
private[this] val chatRoomActor = actorSystem.actorOf(Props(classOf[ChatRoomActor], roomId)) | |
def websocketFlow(user: String): Flow[Message, Message, _] = ??? | |
def sendMessage(message: ChatMessage): Unit = chatRoomActor ! message | |
} |
/* | |
* Copyright (c) 2017 Emil Davtyan | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files (the | |
* "Software"), to deal in the Software without restriction, including | |
* without limitation the rights to use, copy, modify, merge, publish, | |
* distribute, sublicense, and/or sell copies of the Software, and to | |
* permit persons to whom the Software is furnished to do so, subject to | |
* the following conditions: |
#!/bin/bash | |
killall Xcode | |
xcrun -k | |
xcodebuild -alltargets clean | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
rm -rf ~/Library/Developer/Xcode/DerivedData/* | |
rm -rf ~/Library/Caches/com.apple.dt.Xcode/* | |
open /Applications/Xcode.app |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.