Skip to content

Instantly share code, notes, and snippets.

@okanyenigun
okanyenigun / gaussian.py
Created Aug 15, 2022
gauss naive bayes
View gaussian.py
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.pipeline import make_pipeline
from sklearn.naive_bayes import GaussianNB
from sklearn.preprocessing import QuantileTransformer
from sklearn.metrics import roc_curve, auc
plt.style.use('bmh')
plt.rcParams['figure.figsize'] = (10, 10)
title_config = {'fontsize': 20, 'y': 1.05}
View AndroidShareBitmap-Manifest.xml
/**
* The code below is from https://codestringz.com/share-intent-for-a-bitmap-without-saving-a-file/
*/
<!-- AndroidManifest.xml -->
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.codestringz.mytestapp">
View correspondence-about-nix-learning-journeys.md

@toraritte:

Hey,

As I was afraid, by the time I was able to get to this task, I lost some of the context to my notes... I circled "use case"-oriented approach so just to clarify and recap what should be done:

  • What purpose are the cleaned up user studies intended to serve? Identify the major pain point and where people get derailed quickly? (... and also to give readers a glimpse of the "pathology" of frustrations with Nix in "real-time"?)

  • "to clean" up the notes means:

@prtha112
prtha112 / sample-app
Last active Aug 15, 2022
sample-app-kub
View sample-app
---
apiVersion: apps/v1
kind: Deployment # Type of Kubernetes resource
metadata:
name: sample-app # Name of the Kubernetes resource
spec:
replicas: 3 # Number of pods to run at any given time
strategy:
rollingUpdate:
maxSurge: 25%
View gist:830a31fb3f665d7094cdd8001e608241
import pandas as pd
import pandahouse as ph
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from scipy import stats
connection = {
'host': 'https://clickhouse.lab.karpov.courses',
'password': '**********',
View Potential Maintainers
Maintainers:
costrouc: python39Packages.flask-appbuilder, python39Packages.flask-appbuilder, python39Packages.flask-appbuilder, python310Packages.flask-appbuilder, python310Packages.flask-appbuilder, python310Packages.flask-appbuilder, python310Packages.flask-appbuilder, python39Packages.flask-appbuilder
View Changed Paths
aarch64-darwin python39Packages.apache-airflow
x86_64-linux python310Packages.apache-airflow
aarch64-linux python39Packages.flask-appbuilder
x86_64-darwin python39Packages.apache-airflow
aarch64-linux python39Packages.apache-airflow
x86_64-linux python39Packages.apache-airflow
aarch64-linux apache-airflow
x86_64-linux python39Packages.flask-appbuilder
x86_64-darwin python310Packages.apache-airflow
aarch64-darwin apache-airflow
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Aug 15, 2022
Rimworld output log published using HugsLib
View output_log.txt
This file has been truncated, but you can view the full file.
Log uploaded on Monday, August 15, 2022, 1:19:01 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.4.0.0]: 0Harmony(2.2.2), HarmonyMod(1.4.0)
Core(Ludeon.RimWorld): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Mod Manager(Fluffy.ModManager)[mv:3.8.1038]: 0ColourPicker(av:4.0.0,fv:4.5.1096), FluffyUI(av:4.0.0,fv:4.5.1096), ModManager(av:4.0.0,fv:4.5.1096), SemanticVersioning(2.0.2), YamlDotNet(av:11.0.0,fv:11.2.1)
Humanoid Alien Races(erdelf.HumanoidAlienRaces): 0Harmony(av:2.2.2,fv:2.2.0), AlienRace(1.0.0)
Enable Oversized Weapons(CarnySenpai.EnableOversizedWeapons): EnableOversizedWeapons(1.0.0)
View supervisord.conf
[supervisord]
nodaemon = true
[program:code-server]
command = code-server workspace /app --user-data-dir /app/user-data --auth none --disable-telemetry
stdout_events_enabled = true
stderr_events_enabled = true
View Task_27
namespace Task
{
internal class Program
{
static void Main(string[] args)
{
Random random = new Random();
int[] randomNumbers = new int[10];
int lowRandomLimit = 1;
int highRandomLimit = 10;