Abstraction Layer | Physical Layer | Uses Namespace | Description |
---|---|---|---|
Pod | Container | ✅ | A Pod is the minimal work unit of Kubernetes, it is generally equivalent to one applicative container but it can be composed of multiple ones. |
Replicaset |
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
/* | |
Autoscroll your 9gag and save time! | |
*/ | |
function NineGagAutoScroller() { | |
// User parameters | |
var AVG_TIME_PER_POST = 10000; | |
var TIME_TO_SCROLL_TO_NEXT_POST = 1500; | |
var TIME_TO_SCROLL_THROUGH_LONG_POST = 10000; | |
var TIME_BEFORE_SCROLLING_LONG_POST = 4000; |
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
#!/bin/sh | |
## | |
# Usage: | |
# ./convert.sh /path/to/framework /path/to/out $apiVersion $arch | |
# | |
# $arch is mandatory only in case of an ART system and defines the boot folder to use (arm, x86, x86_64). | |
## | |
frameworkDir=$1 | |
# Final output directory |
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
afwall | ukanth/afwall | |
---|---|---|
AmazeFileManager | arpitkh96/AmazeFileManager | |
andFHEM | klassm/andFHEM | |
android-cache-cleaner | Frozen-Developers/android-cache-cleaner | |
Android-IMSI-Catcher-Detector | CellularPrivacy/Android-IMSI-Catcher-Detector | |
Android-Password-Store | zeapo/Android-Password-Store | |
Android-Remote | clementine-player/Android-Remote | |
andstatus | andstatus/andstatus | |
Anki-Android | ankidroid/Anki-Android | |
AnyMemo | helloworld1/AnyMemo |
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 test.app; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.support.annotation.Nullable; | |
import android.util.Log; | |
import javax.script.ScriptEngine; | |
import javax.script.ScriptEngineManager; |
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
#!/bin/bash | |
cat apps-todo.csv | wc -l^C | |
./finished_projects.sh > ../apps-selection/paprika-finished | |
cd - | |
cat paprika_finished | xargs -iX grep -e "^X," all.csv > apps-todo.csv | |
# Todo: create tandoori_finished |
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
curl -i "localhost:8080/hello/jack?amount_exclamation=4" | |
HTTP/1.1 200 | |
{"message":"Hello jack!!!!"} | |
# -d automatically creates a POST request. | |
$ curl -i "localhost:8080/hello" -d '{"name": "Bob"}' -H "Content-Type: application/json" | |
HTTP/1.1 200 | |
{"message":"Hello Bob"} |
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
def current_time(): | |
# Centralized method to retrieve the current datetime | |
return arrow.get() | |
def compute_stats(): | |
# Compute some statistics about stored data | |
month = current_time().floor('month') | |
data = retrive_data(month) | |
return len(data) |
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 static void main(String[] args) { | |
// Creating the injection module configured above. | |
Injector injector = Guice.createInjector(new WeatherModule()); | |
// We ask for the injection of a WeatherContract, | |
// which will create an instance of ThermometerContract | |
// with the named TemperatureUnit under the hood. | |
WeatherContract weather = injector.getInstance(WeatherContract.class); | |
} |
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
$ curl 'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds/GetBuild' \ | |
-H 'authority: cr-buildbucket.appspot.com' \ | |
-H 'accept: application/json' \ | |
-H 'dnt: 1' \ | |
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36' \ | |
-H 'content-type: application/json' \ | |
-H 'origin: https://ci.chromium.org' \ | |
-H 'sec-fetch-site: cross-site' \ | |
-H 'sec-fetch-mode: cors' \ | |
-H 'sec-fetch-dest: empty' \ |
OlderNewer